I've got an ASUS wl-500gP v2 router with a compiled kamikaze r11000 on it. (the latest SVN version won't boot)
Loaded ohci_hcd, and ehci_hcd, and uvcvideo (SVN r215)
root@OpenWrt:/# lsmod
Module Size Used by Not tainted
uvcvideo 49840 0
videodev 23104 1 uvcvideo
compat_ioctl32 448 1 uvcvideo
v4l1_compat 11280 2 uvcvideo,videodev
v4l2_common 12608 2 uvcvideo,videodev
ehci_hcd 28848 0
ohci_hcd 16656 0
input_core 20208 2 uvcvideo
nf_nat_tftp 480 0
nf_conntrack_tftp 2480 1 nf_nat_tftp
nf_nat_irc 960 0
nf_conntrack_irc 2832 1 nf_nat_irc
nf_nat_ftp 1472 0
nf_conntrack_ftp 5152 1 nf_nat_ftp
ppp_async 9856 0
ppp_generic 20192 1 ppp_async
slhc 5376 1 ppp_generic
crc_ccitt 1024 1 ppp_async
usbcore 106576 4 uvcvideo,ehci_hcd,ohci_hcd
switch_robo 4256 0
switch_core 5088 1 switch_robo
diag 7120 0
Plugged in the webcam, dmesg says:
usb 1-1.2: new full speed USB device using ohci_hcd and address 3
usb 1-1.2: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0991)
input: UVC Camera (046d:0991) as /devices/ssb0:1/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
usbcore: registered new interface driver uvcvideo
USB Video Class driver (SVN r215)
But looking in de usb devices file, it connects only with low speed (Spd=12). Spd should be 480.
root@OpenWrt:/# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 1/900 us ( 0%), #Int= 2, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.23.16 ssb-usb-ohci
S: Product=SSB OHCI Controller
S: SerialNumber=ssb0:1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 2
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=2502 Rev= 0.01
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 9 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ef(unk. ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=046d ProdID=0991 Rev= 0.05
S: SerialNumber=74767CD8
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=0e(video) Sub=03 Prot=00
A: FirstIf#= 2 IfCount= 2 Cls=01(audio) Sub=02 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
E: Ad=87(I) Atr=03(Int.) MxPS= 16 Ivl=16ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I: If#= 1 Alt= 1 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E: Ad=81(I) Atr=05(Isoc) MxPS= 192 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E: Ad=81(I) Atr=05(Isoc) MxPS= 384 Ivl=1ms
I: If#= 1 Alt= 3 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E: Ad=81(I) Atr=05(Isoc) MxPS= 512 Ivl=1ms
I: If#= 1 Alt= 4 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E: Ad=81(I) Atr=05(Isoc) MxPS= 640 Ivl=1ms
I: If#= 1 Alt= 5 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E: Ad=81(I) Atr=05(Isoc) MxPS= 800 Ivl=1ms
I: If#= 1 Alt= 6 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E: Ad=81(I) Atr=05(Isoc) MxPS= 944 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=(none)
I:* If#= 3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
I: If#= 3 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=(none)
E: Ad=86(I) Atr=05(Isoc) MxPS= 68 Ivl=1ms
Without full speed, the cam can't transfer the raw image, instead it switches the highest resolution alvailable in this mode. In this case 176x144
root@OpenWrt:/# mjpg_streamer -i "input_uvc.so -d /dev/video0 -y -r 1600x1200"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 1600 x 1200
i: Frames Per Second.: 5
i: Format............: YUV
i: JPEG Quality......: 80
format asked unavailable get width 176 height 144
o: www-folder-path...: disabled
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled
Using mjpeg, the highest available resolution is 800x600
root@OpenWrt:/# mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 1600x1200"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 1600 x 1200
i: Frames Per Second.: 5
i: Format............: MJPEG
format asked unavailable get width 800 height 600
o: www-folder-path...: disabled
o: HTTP TCP port.....: 8080
o: username:password.: disabled
o: commands..........: enabled
Anyone have a clue, what could be the problem? Why not connects the webcam with full seed? Maybe the new USB controller of the V2?