On lördagen den 5 juli 2003 23.20, Ralf Hildebrandt wrote:
> Hi!
>
> For over a year I've been using a DSC-P9 successfully under Linux.
> Now my mother-in-law got a P92, so I thought: "I simply hook it up, it
> will work the same way".
>
> Not so.
> USB and usb-storage modules are loaded, but where the P9 works, the
> P92 is not accessible. I think this may be due to a missing
> vendor/product entry.
>
> When I hook it up on the USB port I get:
>

> Jul  5 20:50:25 shawarma kernel:   DescriptorType      = 01
> Jul  5 20:50:25 shawarma kernel:   USB version         = 1.10
> Jul  5 20:50:25 shawarma kernel:   Vendor:Product      = 054c:0010
> Jul  5 20:50:25 shawarma kernel:   MaxPacketSize0      = 8
> Jul  5 20:50:25 shawarma kernel:   NumConfigurations   = 1
> Jul  5 20:50:25 shawarma kernel:   Device version      = 4.50

I think this is what hurts you...
I compared linux-2.4.19 and linux-2-5-70 /drivers/usb/storage/unusual_devs.h

 /* This entry is needed because the device reports Sub=ff */
-UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0422,
+UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0450,
                "Sony",
-               "DSC-S30/S70/S75/505V/F505/F707",
+               "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
                US_SC_SCSI, US_PR_CB, NULL,
                US_FL_SINGLE_LUN | US_FL_START_STOP | US_FL_MODE_XLATE ),

If I remember correctly the change from 0x0422 to 0x450 is the upper limit 
device version accepted. But in this case it could be the other way around -
depends on what kernel you use...

There are lots of other differences... 
Maybe a change in strategy is needed?
 (question for linux-usb-devel, it was discussed recently...)

Leave the device version open for broken vendor:product pairs...

 /* This entry is needed because the device reports Sub=ff */
-UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0422,
+UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x9999,
                "Sony",
-               "DSC-S30/S70/S75/505V/F505/F707",
+               "DSC-S30/S70/S75/505V/F505/F707/F717/P8/P9/P10/...", /* P92 */
                US_SC_SCSI, US_PR_CB, NULL,
                US_FL_SINGLE_LUN | US_FL_START_STOP | US_FL_MODE_XLATE ),

/RogerL

-- 
Roger Larsson
Skellefteå
Sweden


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to