hello I am no expert but I have found qv4l2 a very good tool to help debug webcams. Often I find the default resolutions are to high for these small boards
sudo apt-get install qv4l2 On Friday, 5 September 2014 00:03:41 UTC+2, Alejandro Merello wrote: > > Hello, > Could someone give me a hand? I'm having trouble getting a USB Camera to > work on my BeagleBone Black. > I'm using a 5V@1A adapter (I thought it could be a power issue), but it > didn't solve it. I can provide the following information of my system: > > $ uname -a > Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l > GNU/Linux > > $ lsusb > *Bus 001 Device 002: ID 1871:0101 Aveo Technology Corp. * > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > $ lsmod > Module Size Used by > > *uvcvideo 53354 0 videobuf2_vmalloc 2418 1 uvcvideo* > g_multi 47670 2 > libcomposite 14299 1 g_multi > > $dmesg | less > ... > [ 1196.227457] usb usb1: usb wakeup-resume > [ 1196.227556] usb usb1: usb auto-resume > [ 1196.227607] hub 1-0:1.0: hub_resume > [ 1196.227706] hub 1-0:1.0: port 1: status 0101 change 0001 > [ 1196.329800] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000 > [ 1196.329910] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s > [ 1196.435171] usb 1-1: new high-speed USB device number 3 using musb-hdrc > [ 1196.562835] usb 1-1: skipped 1 descriptor after configuration > [ 1196.562886] usb 1-1: skipped 5 descriptors after interface > [ 1196.562929] usb 1-1: skipped 1 descriptor after endpoint > [ 1196.562967] usb 1-1: skipped 9 descriptors after interface > [ 1196.563301] usb 1-1: default language 0x0409 > [ 1196.564922] usb 1-1: udev 3, busnum 1, minor = 2 > [ 1196.564969] usb 1-1: New USB device found, idVendor=1871, idProduct=0101 > [ 1196.565009] usb 1-1: New USB device strings: Mfr=1, Product=2, > SerialNumber=0 > [ 1196.565044] usb 1-1: Product: USB2.0 Camera > [ 1196.565079] usb 1-1: Manufacturer: AVEO Technology Corp. > [ 1196.566432] usb 1-1: usb_probe_device > [ 1196.566483] usb 1-1: configuration #1 chosen from 1 choice > [ 1196.566782] usb 1-1: adding 1-1:1.0 (config #1, interface 0) > > > > *[ 1196.568276] uvcvideo 1-1:1.0: usb_probe_interface[ 1196.568333] > uvcvideo 1-1:1.0: usb_probe_interface - got id[ 1196.568476] uvcvideo: > Found UVC 1.00 device USB2.0 Camera (1871:0101)[ 1196.574639] input: USB2.0 > Camera as > /devices/ocp.3/47400000.usb/musb-hdrc.1.auto/usb1/1-1/1-1:1.0/input/input2* > [ 1196.575902] usb 1-1: adding 1-1:1.1 (config #1, interface 1) > [ 1196.578270] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 > [ 1196.578369] hub 1-0:1.0: port 1 enable change, status 00000503 > [ 1199.015323] usb 1-1: usb auto-suspend, wakeup 0 > [ 1199.029051] hub 1-0:1.0: hub_suspend > [ 1199.029145] usb usb1: bus auto-suspend, wakeup 1 > > $ ls -al /dev/video0 > crw-rw---T+ 1 root video 81, 0 Sep 4 23:45 /dev/video0 > > But when I try to capture some image it fails. I tried with streamer, > mjpg-streamer and ffmpeg but always get timeout. My impression is that not > all the modules are being loaded. For instance when I plug the camera on my > laptop I get the following modules on lsmod: > > $ lsmod > ... > uvcvideo 80885 0 > videobuf2_vmalloc 13216 1 uvcvideo > > > *videobuf2_memops 13362 1 videobuf2_vmallocvideobuf2_core > 40664 1 uvcvideovideodev 134688 2 uvcvideo,videobuf2_core* > ... > > The 3 last aren't being loaded on the BBB. Do you have any suggestions? > What could it be? > Thanks a lot for any hints! > -- 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/d/optout.