You are not logged in.

#1 2012-06-15 20:54:45

braingram
Member
Registered: 2012-06-15
Posts: 1

Overo, usb stopped working

I'm having a puzzling problem connecting a usb camera to a gumstix overo mounted on a summit breakout board.

In short, I plug in the board, everything looks ok. I try to access the camera (even just v4l2-ctl --list-devices) and /dev/video disappears, and the usb port no longer functions (tested by plugging in a thumb drive that works prior to plugging in the camera). Here is the problem in more detail.

Plugging in the camera I get this from dmesg:

[  672.371398] usb 1-2: new high-speed USB device number 2 using ehci-omap
[  672.656188] Linux video capture interface: v2.00
[  672.710906] usbcore: registered new interface driver snd-usb-audio
[  672.735717] uvcvideo: Found UVC 1.00 device RCM-2655 (060b:8013)
[  672.741912] input: RCM-2655 as /devices/platform/usbhs_omap/ehci-omap.0/usb1/1-2/1-2:1.0/input/input3
[  672.756164] usbcore: registered new interface driver uvcvideo
[  672.756195] USB Video Class driver (1.1.1)

Running lsmod I get this:

Module                  Size  Used by
uvcvideo               61195  0 
videobuf2_vmalloc       2460  1 uvcvideo
snd_usb_audio          91681  0 
videobuf2_memops        2607  1 videobuf2_vmalloc
videobuf2_core         21114  1 uvcvideo
snd_usbmidi_lib        17160  1 snd_usb_audio
videodev               87632  1 uvcvideo
snd_hwdep               5566  1 snd_usb_audio
joydev                  8660  0 
omapdrm                60378  1 
fb_sys_fops             1463  1 omapdrm
syscopyarea             2774  1 omapdrm
sysfillrect             3040  1 omapdrm
sysimgblt               2074  1 omapdrm
drm_kms_helper         29412  1 omapdrm
drm                   212538  2 drm_kms_helper,omapdrm
libertas_sdio           9462  0 
libertas               60896  1 libertas_sdio
cfg80211              174645  1 libertas
rfkill                 17587  1 cfg80211
ads7846                 9683  0 
gpio_keys               7753  0 
binfmt_misc             6672  1

So far so good.

ls -la /dev/ | grep vid return this (I am root):
crw-rw----  1 root video  29,   0 Dec 31 20:06 fb0
crw-rw----  1 root video  81,   0 Dec 31 20:17 video0

Now, if I run:

v4l2-ctl --list-devices

I get:

Failed to open /dev/video0: No such file or directory

dmesg returns:

[  672.756164] usbcore: registered new interface driver uvcvideo
[  672.756195] USB Video Class driver (1.1.1)
[  883.543304] usb 1-2: USB disconnect, device number 2

From this point on, plugging anything into the usb port has no effect. I'm not sure if the usb hub is browning out or what.

Any suggestions on what to try next to debug this? I tried unloading and loading various modules, stopping and starting udev, etc.. to no avail. However, I am a total arch newb so I could have done all of these things wrong.

Thanks in advance for the help.

Offline

Board footer

Powered by FluxBB