- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,i used project of USBVideoClassBulk and work on Windows10,and download firmware to ram of FX3 development board,windows10 camera could displays FX3 output image,but i download the same firmware to EEPROM of FX3 development board,then attached FX3 to ubuntu18.04,camera(cheese) couldn't identified device.
ubuntu18.04 dmesg dispaly as follows:
usb 4-4:new SuperSpeed USB device number 9 using xhci_hcd
usb 4-4:LPM exit latency is zeroed, disabling LPM.
usb 4-4:New USB device found, idVendor = 04b4, idProduct = 4722
usb 4-4:New USB device strings: Mfr = 1, Product = 2, SerialNimber = 0
usb 4-4:Product: FX3
usb 4-4:Manufacturer: Cypress
uvcvideo: Found UVC 1.10 device FX3 (04b4:4722)
input: FX3 as /devices/pci0000:00/0000:00:14.0/usb4/4-4/4-4:1.0/input/input22
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Tags:
- USBVideoClassBulk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try downloading webcamoid host application on your linux machine.
When I programmed FX3 with the firmware you shared, I could see FX3 coming up on the webcamoid application.
$ sudo apt install webcamoid
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1. Could you try programming the firmware to EEPROM, and check if the output image is coming up on Window 10 camera?
2. Could you confirm if you have used the SDK firmware without any modification?
3. Is the device coming up when lsusb is given in the command terminal?
4. Try the following commands and let me know if the device is coming up in the terminal:
$sudo apt-get install v4l-utils
$v4l2-ctl --list-devices
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1.I programed the firmware to EEPROM,the windows10 can dispaly images.
2. I added debug information at end of function CyFxUVCApplnStart (void) and CyFxUVCApplnStop (void),the debug information ard "CyU3PDebugPrint(3, "UVC App Started\r\n");" and "CyU3PDebugPrint(3, "UVC App Stopped\r\n");" respectively.
3. command of lsusb,as follows:
Bus 004 Device 012: ID 04b4:4722 Cypress Semiconductor Corp. ,etc.
4.execute command: v4l2-ctl --list-devices,as follows:
FX3 (usb-0000:00:14.0-5.2)
/dev/video0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you run the commands given below and check if the output is seen.
sudo apt install ffmpeg
ffplay /dev/video0
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,executed command of ffplay /dev/video0,the window display images.
I modified the project myself to use the uncompressed YUV format,1920x1080 60fps,executed command of ffplay /dev/video0,as follows:
ffplay version 3.4.2-2.......
.......
[video4linux2,v4l2 @ 0x7f962c000b80] Dequeued v4l2 buffer contains 65524 bytes,but 4147200 were expected.Flags:0x00012001.
Input #0,video4linux2,v4l2,from '/dev/video0':
Duration:N/A,bitrate:1990656 kb/s
stream #0:0: Video:rawvideo(YUY2 / 0x32595559),yuyv422,1920x1080,1990656 kb/s,60fps,60tbr,1000k tbn,1000k tbc
[video4linux2,v4l2 @ 0x7f962c000b80] Dequeued v4l2 buffer contains 130841bytes,but 4147200 were expected.Flags:0x00012001.
.........
Attached is my project, which is display images on Windows10, but not on Ubuntu18.04. Could you please help me check it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try downloading webcamoid host application on your linux machine.
When I programmed FX3 with the firmware you shared, I could see FX3 coming up on the webcamoid application.
$ sudo apt install webcamoid
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your support,
I installed webcamoid as you said,and programed the my project firmware to fx3,insert fx3 to my pc, execute command of ffplay,the ubuntu18.04 dispaly as follows:
ffplay version 3.4.2-2 ...
.....
[video4linux2,v4l2 @ 0x7f962c000b80] Dequeued v4l2 buffer contains 65524 bytes,but 4147200 were expected.Flags : 0x00012001.
Input #0,video4linux2,v4l2,from '/dev/video0':
Duration:N/A,bitrate:1990656 kb/s
Stream #0:0: Video:rawvideo (YUY2 / 0x32595559),yuyv422,1920x1080,1990656 kb/s,60 fps,60 tbr,1000k tbn,1000k tbc
[video4linux2,v4l2 @ 0x7f962c000b80] Dequeued v4l2 buffer contains 130841bytes,but 4147200 were expected.Flags : 0x00012001.
......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Webcamoid is a UVC host application. After installing webcamoid, open the webcamoid application (not ffplay) and let me know if you can see the fx3 device there, and can you see the output.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh,i am sorry.
I install webcamoid,and execute it,my ubuntu18.04 displays as follows:
Qt:Session management error:None of the authentication protocols specified are supported.
Segment error (core dumped)
And dmesg as follows:
webcamoid[2990]:segfault at 10 ip 0007ff3e4d7b053 sp 00007ffd0f203a90 error in libQt5Core.so.5.9.5[7ff3e4ac1000+53b000]
The cause of this error may be the configuration of my Ubuntu 18.04 environment,I haven't solved it yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are not aware of this failure. Could you check on this either with the host application vendor or in some open forums.
Best Regards,
AliAsgar