[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vicam missing firmware



On Tue, May 19, 2009 at 11:41:47 +0200, Raven wrote:
> On Thu, 2009-05-14 at 22:43 +0200, Florian Kulzer wrote:
> > On Thu, May 14, 2009 at 08:46:33 +0200, Raven wrote:
> > > Hi all. I recently upgraded my desktop box to a more powerful hardware
> > > configuration. Before the upgrade (and the re-install of debian
> > > unstable) I was running a vanilla kernel, but now I switched to the one
> > > from the repositories, "2.6.29-2-amd64".
> > > 
> > > I plugged in a 3com HomeConnect USB webcam and the "vicam" module was
> > > loaded successfully. Unfortunately when I try to grab video from it I
> > > get syslog entries complaining about a missing firmware file:
> > > 
> > > [65770.532020] usb 4-1: new full speed USB device using ohci_hcd and address 2
> > > [65770.701070] usb 4-1: New USB device found, idVendor=04c1, idProduct=009d
> > > [65770.701073] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> > > [65770.701075] usb 4-1: Product: 3Com HomeConnect USB Camera 
> > > [65770.701076] usb 4-1: Manufacturer: 3Com
> > > [65770.701077] usb 4-1: SerialNumber: 23G6BB59D5TM
> > > [65770.701146] usb 4-1: configuration #1 chosen from 1 choice
> > > [65770.817811] Linux video capture interface: v2.00
> > > [65770.829649] ViCam based webcam connected
> > > [65770.829691] ViCam webcam driver now controlling video device 0
> > > [65770.829703] usbcore: registered new interface driver vicam
> > > [66185.544395] usb 4-1: firmware: requesting vicam/firmware.fw
> > > [66185.560383] Failed to load "vicam/firmware.fw": -2
> > 
> > [...]
> > 
> > The firmware seems to have been removed from the Debian kernel. You can
> > download the firmware blob from git.kernel.org
> > 
> > wget -O firmware.fw "http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware-from-kernel.git;a=blob_plain;f=vicam/firmware.fw;hb=HEAD";
> > 
> > and try if copying it to 
> > 
> > /lib/firmware/vicam/firmware.fw
> > 
> > makes the firmware available to the driver.
> > 
> 
> Unfortunately that didn't help. I am still getting errors regarding the
> firmware file
> 
> [53795.620355] usb 4-1: firmware: requesting vicam/firmware.fw
> [53795.649213] usb 4-1: Firmware "vicam/firmware.fw" not valid IHEX
> records
> [53795.649218] Failed to load "vicam/firmware.fw": -22
> 
> Any other suggestions?

I have the impression that the web interface of git.kernel.org may have
a problem with serving binary files. Try to obtain the firmware using
git; in my case this yields a different firmware.fw file. (I cannot test
any of the files, though.)

To get the firmwware file with git, you need the "git-core" package.
Then you can cd to a convenient working directory - you will need about
2.8 MB of disk space - and do this (as your normal user):

git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware-from-kernel.git

If that command is successful then you will find the firmware at

./linux-firmware-from-kernel/vicam/firmware.fw

Copy this file to /lib/firmware/vicam/firmware.fw and try to load the
vicam kernel module again.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: