Vendor syntax error

Net Llama! netllama
Mon May 17 12:02:09 PDT 2004


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 ?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

  13:35:01  up 153 days, 17:06,  1 user,  load average: 0.13, 0.15, 0.07



More information about the Linux-users mailing list