Firefly Open Source Community

Title: Cameras with Ubuntu on RK3399 [Print This Page]

Author: xav    Time: 7/1/2017 22:40
Title: Cameras with Ubuntu on RK3399
I tried to plug an USB webcam and it is not assigned to a /dev/video* file. I can see the peripheral with
  1. lsusb
Copy the code
but
  1. dmesg |tail
Copy the code
shows it is not registered. Am I missing something (gspca or uvc drivers..) ?

Also would it eventually be possible to have the CSI Cameras registered under a /dev/video* file  ?


Author: crashoverride    Time: 7/2/2017 04:19
I tested a web cam and it does show up for me:

  1. [   64.144115] usb 1-1.4: new high-speed USB device number 9 using ehci-platform
  2. [   64.499396] usb 1-1.4: New USB device found, idVendor=046d, idProduct=0826
  3. [   64.499425] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=1
  4. [   64.499446] usb 1-1.4: Product: HD Webcam C525
  5. [   64.499464] usb 1-1.4: SerialNumber: [REDACTED]
  6. [   64.783815] usb 1-1.4: set resolution quirk: cval->res = 384
  7. [   64.791051] uvcvideo: Found UVC 1.00 device HD Webcam C525 (046d:0826)
Copy the code

  1. firefly@firefly:~$ ls /dev/video*
  2. /dev/video0
Copy the code


I am using the kernel compiled from the gitlab page as documented in the wiki.  The default .config has the V4L drivers enabled.  I have not tested with the kernel from the flash install image.
Author: xav    Time: 7/2/2017 21:11
crashoverride Posted at 7/2/2017 04:19
I tested a web cam and it does show up for me:

Thanks , I 'll try with the compiled kernel !




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1