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. I searched the UNUSUAL_DEV keyword on google. It seems used for add vendor/product number for unsupported mass storage device. I still didn't understand the way of onetouch driver work. Should I create a speicial file for map to the function? Can you give me document link for start? Thanks for your help.
--- Alan Stern <[EMAIL PROTECTED]> 說: > 寄件者: Alan Stern <[EMAIL PROTECTED]> > 收件者: Eyes Blue <[EMAIL PROTECTED]> > 副本抄送: [email protected] > 主題: Re: [linux-usb-devel] [Help] How can 2 drivers > drive same 'endpoint' > of USB > 日期: Thu, 17 Nov 2005 10:28:40 -0500 (EST) > > On Thu, 17 Nov 2005, Eyes Blue wrote: > > > Linux distributions : Fedora Core4 > > Kernel : 2.6.11-1.1369_FC4.rootsmp > > Platform : x86 compatable > > > > Hi there. > > We have a device which two function in a same > endpoint > > actuality. one of > > the function is mass storage device, another is a > > linely sensor. The > > hardware designer used the different command for > each > > function in the same > > endpoint. > > > > My question is attach the device to usb hub, the > usb > > core will choose the > > mass storage device driver to drive the device. I > have > > to develop a driver > > for the linely sensor. But it always catch by > mass > > storage driver. Is > > the linely sensor can be develop? > > > > please suggest me. > > Your device is designed badly. Two functions should > not share an > endpoint. Instead the device should have two > different interfaces and > they should use different endpoints. You should > tell the hardware > designer that he made a mistake. > > There is already a Linux driver for another > badly-designed USB mass > storage device: the Maxtor OneTouch disk drive. > It's in the 2.6.14 > kernel. Maybe you can use it as a model. > > 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 > ___________________________________________________ 最新版 Yahoo!奇摩即時通訊 7.0,免費網路電話任你打! http://messenger.yahoo.com.tw/ ------------------------------------------------------- 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
