Vendor syntax error
Harry G
hg57
Mon May 17 12:02:09 PDT 2004
On Sat, 2004-05-08 at 19:35, Net Llama! wrote:
> On 05/08/04 14:23, Harry G wrote:
> > On Sat, 2004-05-08 at 16:39, Net Llama! wrote:
> >
> >>On 05/08/04 12:34, Harry G wrote:
> >>
> >>>On Sat, 2004-05-08 at 12:17, Net Llama! wrote:
> >>>
> >>>
> >>>>On 05/08/04 08:58, Harry G wrote:
> >>>>
> >>>>
> >>>>>I am installing a HP scanner on my wifes system. I do a cat
> >>>>>/proc/bus/usb/devices, and it returns the following info for the
> >>>>>scanner:
> >>>>>P: Vendor=03f0 ProdID=2b11 Rev= 1.00
> >>>>>S: Manufacturer=Hewlett-Packard
> >>>>>S: Product=PSC 2170 Series
> >>>>>S: SerialNumber=MY38OF85N873
> >>>>>
> >>>>>But when I try to do a insmod command using the given specs, I get:
> >>>>>
> >>>>>Harry:/# insmod scanner vendor=03f0 product=2b11
> >>>>>Using /lib/modules/2.4.24-x1/kernel/drivers/usb/scanner.o
> >>>>>/lib/modules/2.4.24-x1/kernel/drivers/usb/scanner.o: invalid argument
> >>>>>syntax for vendor: 'f'
> >>>>>
> >>>>>Any ideas why it returns the error?
> >>>>
> >>>>perhaps the value that you're supplying for the vendor parameter of the
> >>>>scanner module isn't valid? what if you leave out the vendor parameter?
> >>>
> >>>
> >>>It will work only if I leave both the vendor and product= parameter:
> >>>Using /lib/modules/2.4.24-x1/kernel/drivers/usb/scanner.o
> >>>
> >>>But then I try to do a scanimage --list-devices, I get:
> >>>
> >>>No scanners were identified. If you were expecting something different,
> >>
> >>what do you get if you run that scanner module through modinfo ?
> >
> >
> > modinfo -d scanner
> > "USB Scanner Driver 0.4.15"
>
> Try without -d
OK.
Harry:/home/harry# modinfo scanner
filename: /lib/modules/2.4.24-x1/kernel/drivers/usb/scanner.o
description: "USB Scanner Driver 0.4.15"
author: "Henning Meier-Geinitz, henning at meier-geinitz.de"
license: "GPL"
parm: vendor int, description "User specified USB idVendor"
parm: product int, description "User specified USB idProduct"
parm: read_timeout int, description "User specified read timeout
in seconds"
Harry G
More information about the Linux-users
mailing list