Jump to content

sonyan11

Members
  • Content Count

    5
  • Joined

  • Last visited

Posts posted by sonyan11


  1. @tooz

    Hello. I followed your instruction about usb-c.

    I use "linux4.4 debian10".

    echo on > /sys/kernel/debug/fe800000.dwc3/vbus
    echo off > /sys/kernel/debug/fe800000.dwc3/vbus

    The result is 

    -bash: /sys/kernel/debug/fe800000.dwc3/vbus: Permission denied

    I cannot find vbus as follows.

    ~# ls /sys/kernel/debug/fe800000.dwc3/
    ep0in   ep1in   ep2in   ep3in   ep4in   ep5in   ep6in       mode     testmode
    ep0out  ep1out  ep2out  ep3out  ep4out  ep5out  link_state  regdump

    I would be grateful if you could help me.


  2. Dear @tooz,

    Thank you very much for your comment.

    I apologize for not presenting my environment first.  I use Kernel 4.4.

    I have done the followings and still the UVC is not recognized as a module.

    1. Installing the build tools

    $ sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf device-tree-compiler gcc-aarch64-linux-gnu mtools parted libssl-dev

    2. Build Kernel

    $ cd [source code]
    $ make ARCH=arm64 tinker2_defconfig
    $ make menuconfig

    Modify USB Video Class to module.

    Device Drivers> Multimedia Support > Media USB Adapters > USB Video Class [*] → [M]

    $ make ARCH=arm64 rk3399-tinker_board_2.img CROSS_COMPILE=aarch64-linux-gnu- -j8

    3. Install Kernel

    $ sudo dd if=boot.img of=/dev/mmcblk1p4 status=progress && sync
    $ sudo reboot

    Please let me know if I am missing a process that we need.

    Best regards,


  3. Hello. I use tinker board 2S.

    Previously, I received following advice about UVC Cam.

    Quote

    uvcvideo is compiled into the kernel, tasks that are module-related cannot be supported as uvcvideo by default is not part of the module.

     

     

    Now I tried to change uvc cam setting to module by following https://github.com/TinkerBoard/TinkerBoard/wiki/Developer-Guide.

    However, I cannot find uvc related topic at

     make menuconfig

    Please tell me the correct way to change .config in order to compiled uvcvideo driver to module.

     

    Best regards,


  4. Hello, I use Tinker board 2S. 

    OS: Tinker Board 2 Debian 10 V2.1.6

     

    I would like to change quirks of uvcvideo driver.

    I tried:

    sudo modinfo uvcvideo

    and got:

    modinfo: ERROR: Module uvcvideo not found.

     

    I also tried

    sudo modprobe uvcvideo quirks=0x80

    ,but cannot find any changes in /sys/module/uvcvideo/parameters/quirks. It looks like it's not working properly.

    Anyone know how to deal with this? Unfortunately, I do not have much experience in Linux Kernel, please let me know if my question is completely out of scope.

     

    Best regards,

     

     

×
×
  • Create New...