On Thu, 15 Apr 2004, Robert Schwebel wrote:

> On Thu, Apr 15, 2004 at 02:51:18PM -0400, Alan Stern wrote:
> > For Linux 2.6 you could use module_param instead of MODULE_PARM.  That 
> > will allow you to specify the type as ushort.
> 
> Ah, ok. Hmm, strange - I tried this but, although modinfo says that
> there is a vendor and product parameter, I get this: 
> 
> europa:/usr/src/linux-2.6.5-hynixusbhost1# insmod drivers/usb/serial/usbserial.ko 
> vendor=0x0525 product=0xa4a6
> insmod: error inserting 'drivers/usb/serial/usbserial.ko': -1 Unknown symbol in 
> module
> europa:/usr/src/linux-2.6.5-hynixusbhost1# tail -n 1 /var/log/syslog
> Apr 15 21:43:32 europa kernel: usbserial: Unknown parameter `vendor'
> 
> Strange...

Your code looks right to me.  Maybe depmod has accumulated some stale
data.  That sort of thing can easily happen when you change some part of a
module's interface.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to