On Wed, 24 Nov 2004, Andrea Pusceddu wrote:

> Dear Mr Stern,
> 
> I writing in order to ask your support about a USB pendrive that works
> perfectly on 2.4 kernels, whereas is hanging the hotplug system in a
> 2.6.8 kernel (Ubuntu Linux)
> 
> I had your name and mail from a user I met in the Ubuntu forum; he
> told me you had been very kind and helpful in helping him.
> I hope not to bother or disturb you with this unrequested mail. 
> 
> After noticing the problem, i did several searches and I found out a
> USB bug that was similar to the one I have. Thus I applied the 2.6.8.1
> kernel patch, (https://bugzilla.ubuntu.com/show_bug.cgi?id=3479), but
> now  I have to add a new entry on the unusual_devs.h header before I
> compile the kernel.
> 
> My device is a Medion MP3 256MB player: on the same PC, using a 2.4
> kernel ,  (Debian Woody & Knoppix) it gets nicley mounted on
> /dev/sda1, and is handled by usb-storage module with no problems at
> all.
> 
> The  unusual device header requires several parameters. I already know
> some of them, but for the others I don't know where to find (or
> guess?) them.
> 
> UNUSUAL_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \
>                   vendorName, productName,useProtocol, useTransport, \
>                  initFunction, flags) \
> 
> 
> In my case, I know that;
> 
> id_vendor =  0x66f
> id_product =0x8000
> vendorName ="SigmaTel"
> productName ="MCSN"
> 
> But I have no idea on the following:
> 
> bcdDeviceMin
> bcdDeviceMax
> useProtocol
> useTransport
> initFunction
> flags
> 
> 
> I wonder if you can help me on the discovery of the missing
> parameters. I'm not asking you to do this job on my behalf, just I
> need some hints :)

It's not clear that you need to know these things, since there already is
an entry in unusual_devs.h for your device in the 2.6.9 kernel.  However,
if you still want more information, try asking Phil Dibowitz
<[EMAIL PROTECTED]>.  He's got a document that explains them in some detail.

> For your reference, if you find it useful, please find attached the
> DMESG ouput I get from 2.6 kernel when I plugin the usbdrive. After
> few seconds, the hotplug system hangs, and it cannot be restarted
> again, unless of course rebooting.
> No /dev/sdaN or /sgN entries are available in the /dev/ directory.

Try using a later kernel, 2.6.9 or even 2.6.10-rc2.  It may already
contain all the fixes you need.

If the device still doesn't work, send another dmesg log.  But this time, 
first turn on the usb-storage verbose debugging option in the kernel 
configuration.  Without that option the log doesn't contain enough 
information to pinpoint the problem.

Alan Stern



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to