PDA

View Full Version : gspca_vicam error after firmware loads



DAVitali
08-07-2012, 01:11 AM
Getting error :
[ 286.440015] usb 4-2: new full-speed USB device number 6 using uhci_hcd
[ 286.615611] usb 4-2: New USB device found, idVendor=04c1, idProduct=009d
[ 286.615619] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 286.615624] usb 4-2: Product: 3Com HomeConnect USB Camera
[ 286.615629] usb 4-2: Manufacturer: 3Com
[ 286.615632] usb 4-2: SerialNumber: 23G6B1IAJPSO
[ 291.694534] Linux media interface: v0.10
[ 291.819782] Linux video capture interface: v2.00
[ 291.870393] gspca_main: v2.14.0 registered
[ 291.914839] gspca_main: vicam-2.14.0 probing 04c1:009d
[ 293.653013] gspca_vicam: Failed to load "vicam/firmware.fw": -2
[ 293.653035] vicam: probe of 4-2:1.0 failed with error -2
[ 293.653082] usbcore: registered new interface driver vicam

Then loaded firmware.fw to /lib/firmware/vicam folder
Did unplug:
[ 403.836668] usb 4-2: USB disconnect, device number 6

Now Plugged Back In:

[ 409.673339] usb 4-2: new full-speed USB device number 7 using uhci_hcd
[ 409.848930] usb 4-2: New USB device found, idVendor=04c1, idProduct=009d
[ 409.848938] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 409.848943] usb 4-2: Product: 3Com HomeConnect USB Camera
[ 409.848948] usb 4-2: Manufacturer: 3Com
[ 409.848952] usb 4-2: SerialNumber: 23G6B1IAJPSO
[ 409.851099] gspca_main: vicam-2.14.0 probing 04c1:009d
[ 410.904759] gspca_vicam: control msg req FF error -110
[ 410.904810] vicam: probe of 4-2:1.0 failed with error -110



I need to know:
Where to go for support on gspca_vicam module ?
What is error code -110 mean with variable "FF"?
Anyone Know where is gspca source code?? (gspca_vicam)

Thanks for any help
Dennis A. Vitali

klaus2008
08-07-2012, 05:02 PM
Which version of Knoppix do you use?

Do you have any other Knoppix version you could try out?


Then loaded firmware.fw to /lib/firmware/vicam folder Have you installed a missing firmware file?

DAVitali
08-07-2012, 06:24 PM
Which version of Knoppix do you use?

Do you have any other Knoppix version you could try out?

Have you installed a missing firmware file?

Will try other live Knoppix Live cd, and yes fw installed i.e. no -2 error.. can you confirm error code -110 is a timeout??

klaus2008
08-07-2012, 07:35 PM
Anyone Know where is gspca source code?? (gspca_vicam)You can find the source code for vicam.c (http://lxr.linux.no/#linux+v3.4.4/drivers/media/video/gspca/vicam.c) at lxr.linux.no (the Linux Cross Reference)

The error code -110 is the return value of the function usb_control_msg. You can find its source code in message.c (http://lxr.linux.no/#linux+v3.4.4/drivers/usb/core/message.c).

DAVitali
08-09-2012, 12:45 AM
You can find the source code for vicam.c (http://lxr.linux.no/#linux+v3.4.4/drivers/media/video/gspca/vicam.c) at lxr.linux.no (the Linux Cross Reference)

The error code -110 is the return value of the function usb_control_msg. You can find its source code in message.c (http://lxr.linux.no/#linux+v3.4.4/drivers/usb/core/message.c).

Yes the Vicam Author, Hans de Goede, verifed the FF as Firmware load request and code -110 is a time out.
I did download Knoppix 7.xx+ Kernel 3.4.4 #14 SMP with the same results, i.e Formware load timeout.
I then fired up old debain Lenny where the Vicam firmware would load and have /dev/vide0 active, but Dmesg complained of control problems accessing the camera, i.e no led light at all!. I did a compare on both firmwares and they are exact no differences. I suspect something broke that firmware load from kernel 2.6-26-2 till 3.4.4. Now that I have a link to Gspca source code I can tinker with it. Hopefully more info to follow!
Thanks for all your help. If you have any other thoughts please post them.
Dennis

DAVitali
08-19-2012, 01:31 AM
Got it working , Used a Ubuntu Lucid .deb V4l Media-install package with updated V4l from GIT Tree. Looks like there were changes in poll.h and gspca.c and two firmware's , firmware.fw and firmware.H16. Thanks for all the help.
Dennis