On Thu, 15 Jan 2004, Alexander Oltu wrote:

> Hello ,
> Previously, when I used kernel 2.4, I reported new device in unusual_devs.h
> (05e3,0701).
> Now I`m using kernel 2.6.1 and started to get this errors:
>       Jan 15 08:47:40 lifebook kernel: usb-storage: This device (05e3,0701,0002 S
> 06 P 50) has unneeded SubClass and Protocol entries in unusual_devs.h
>       Jan 15 08:47:40 lifebook kernel:    Please send a copy of this message to
> <[EMAIL PROTECTED]>
> 
> I removed this entry from unusual_devs.h and stopped to get this errors. Plus
> I cheked my drive in packet cd mode and it`s working ok.

> As you can see it detects my drive in right way.
> I think this entry is obsolete for kernel 2.6.
> I attached patch for removing it.
> Shoud I send it to [EMAIL PROTECTED]

The entry probably is obsolete for 2.6.  You can eliminate the error
messages by changing the subclass and protocol fields in the entry to
US_SC_DEVICE and US_PR_DEVICE.  (That will also work with 2.4.)

However, 2.4 uses the MODE_XLATE flag.  You could try removing it and see 
if the device continues to work under 2.4.  Although that flag is unused 
in 2.6, we are keeping unusual_devs.h consistent between the two kernel 
versions.  So if the flag is needed in 2.4, the entry will have to remain 
in 2.6.

Alan Stern



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to