On 12/26/2013 11:21 AM, Robert Nelson wrote:
On Tue, Dec 24, 2013 at 2:52 PM,  <avon.avonelect...@gmail.com> wrote:
I am having the same issue. Did you ever find a solution?
Care to expand on what issue your having with what specific device you
currently have?

Regards,

Sorry, I had typed up a longer post, but I think it did not get saved. I have a USB endoscope camera I am trying to use with a beagleboard. Admittedly it is an inexpensive unit.

It seems to just hang on the beaglebone black, but works on another ARM linux board I have tried. I will attach some details from a test on both boards with the same USB camera


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
CubieTruck - works ok
Linux cubietruck 3.4.61+ #1 SMP PREEMPT Sat Oct 26 18:34:48 CST 2013 armv7l armv7l armv7l GNU/Linux

Bus 004 Device 007: ID 0bda:5801 Realtek Semiconductor Corp.
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=sw-ehci/1p, 480M
|__ Port 1: Dev 7, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M |__ Port 1: Dev 7, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M


Dec 26 21:43:55 cubietruck kernel: [167010.532861] usb 4-1: new high-speed USB device number 7 using sw-ehci Dec 26 21:43:55 cubietruck kernel: [167011.127731] uvcvideo: Found UVC 1.00 device USB Camera (0bda:5801) Dec 26 21:43:56 cubietruck kernel: [167011.155073] input: USB Camera as /devices/platform/sw-ehci.2/usb4/4-1/4-1:1.0/input/input6


fswebcam test.jpg -v -r 640x480
main,1609: gd has no fontconfig support
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,87: /dev/video0 information:
src_v4l2_get_capability,88: cap.driver: "uvcvideo"
src_v4l2_get_capability,89: cap.card: "USB Camera"
src_v4l2_get_capability,90: cap.bus_info: "usb-sw-ehci-1"
src_v4l2_get_capability,91: cap.capabilities=0x04000001
src_v4l2_get_capability,92: - VIDEO_CAPTURE
src_v4l2_get_capability,103: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,181: /dev/video0: Input 0 information:
src_v4l2_set_input,182: name = "Camera 1"
src_v4l2_set_input,183: type = 00000002
src_v4l2_set_input,185: - CAMERA
src_v4l2_set_input,186: audioset = 00000000
src_v4l2_set_input,187: tuner = 00000000
src_v4l2_set_input,188: status = 00000000
src_v4l2_set_pix_format,541: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,554: 0: [0x56595559] 'YUYV' (YUV 4:2:2 (YUYV))
Using palette YUYV
src_v4l2_set_mmap,693: mmap information:
src_v4l2_set_mmap,694: frames=4
src_v4l2_set_mmap,741: 0 length=614400
src_v4l2_set_mmap,741: 1 length=614400
src_v4l2_set_mmap,741: 2 length=614400
src_v4l2_set_mmap,741: 3 length=614400
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Unable to load font 'sans': Could not find/open font
Disabling the the banner.
Writing JPEG image to 'test.jpg'.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Beaglebone Black - hangs, does not work

Linux arm 3.8.13-bone30 #1 SMP Thu Nov 14 06:23:24 UTC 2013 armv7l armv7l armv7l GNU/Linux

Bus 001 Device 004: ID 0bda:5801 Realtek Semiconductor Corp.
:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M
        |__ Port 3: Dev 4, If 0, Class=Video, Driver=uvcvideo, 12M
        |__ Port 3: Dev 4, If 1, Class=Video, Driver=uvcvideo, 12M


[   11.557231] uvcvideo 1-1.3:1.0: usb_probe_interface
[   11.557263] uvcvideo 1-1.3:1.0: usb_probe_interface - got id
[   11.563261] uvcvideo: Found UVC 1.00 device USB Camera (0bda:5801)
[ 11.599982] input: USB Camera as /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/input/input1
[   11.603713] usbcore: registered new interface driver uvcvideo
[   11.603811] USB Video Class driver (1.1.1)


fswebcam test.jpg -r 640x480 -v
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
src_v4l2_get_capability,87: /dev/video0 information:
src_v4l2_get_capability,88: cap.driver: "uvcvideo"
src_v4l2_get_capability,89: cap.card: "USB Camera"
src_v4l2_get_capability,90: cap.bus_info: "usb-musb-hdrc.1.auto-1.3"
src_v4l2_get_capability,91: cap.capabilities=0x84000001
src_v4l2_get_capability,92: - VIDEO_CAPTURE
src_v4l2_get_capability,103: - STREAMING
No input was specified, using the first.
src_v4l2_set_input,181: /dev/video0: Input 0 information:
src_v4l2_set_input,182: name = "Camera 1"
src_v4l2_set_input,183: type = 00000002
src_v4l2_set_input,185: - CAMERA
src_v4l2_set_input,186: audioset = 00000000
src_v4l2_set_input,187: tuner = 00000000
src_v4l2_set_input,188: status = 00000000
src_v4l2_set_pix_format,541: Device offers the following V4L2 pixel formats:
src_v4l2_set_pix_format,554: 0: [0x56595559] 'YUYV' (YUV 4:2:2 (YUYV))
Using palette YUYV
Adjusting resolution from 640x480 to 160x120.
src_v4l2_set_mmap,693: mmap information:
src_v4l2_set_mmap,694: frames=4
src_v4l2_set_mmap,741: 0 length=38400
src_v4l2_set_mmap,741: 1 length=38400
src_v4l2_set_mmap,741: 2 length=38400
src_v4l2_set_mmap,741: 3 length=38400
--- Capturing frame...
Timed out waiting for frame!
No frames captured.

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to