On Mon, 21 Nov 2005, Eyes Blue wrote:

> Gratitude for 'Alan Stern' spend time for me.
> 
> I found the 'onetouch' driver there, and found the
> record in 'unusual_devs.h', It seem not defined by usb
> framework.

What do you mean?  unusual_devs.h is part of the usb-storage driver, which 
is part of Linux's USB framework.

>  I searched the UNUSUAL_DEV keyword on
> google.

It's not a keyword; it's a macro.  Look at drivers/usb/storage/usb.c.

>  It seems used for add vendor/product number
> for unsupported mass storage device.

No.  It's to add vendor/product numbers for devices that have special 
support requirements.

>  I  still didn't
> understand the way of onetouch driver work.

When the usb-storage probe routine runs, the unusual_devs.h entry tells it
to call the onetouch_connect_input() function.

>  Should I
> create a speicial file for map to the function? Can
> you give me document link for start? Thanks for your
> help.

There are no documents to help you any further.  You'll just have to copy 
the approach used by the onetouch driver.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&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