Bug#263901: [linux-usb-devel] #263901 kernel-image-2.6.7-2: Kernel 2.6.7 USB-Storage Sony Clie: SCSI Subsystem Errors
On Sat, Aug 28, 2004 at 05:20:44PM -0400, Alan Stern wrote:
Hi!
> > I doubt it needs a multi-targ entry, as that is only for
> > USB to SCSI adaptors which support multiple target
> > devicse on the SCSI bus.
> >
> > It would help to have a better bug report. The log
> > provided doesn't show any real 'errors', other than some
> > unusual returns codes from the device. What, exactly,
> > went wrong here?
> >
> > Matt
>
> Note to the bug reporter: It would help to see
> /proc/bus/usb/devices with the stick plugged in.
Ups sorry, seems that I missed it. As I don't have my hands
right now on the 2.6-box I could provide the same dump for a
2.4-powered box. I believe in this case it is the same
information.
----------------------------------------------------------------------
(2050) ~> cat /proc/bus/usb/devices
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12
MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00
Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12
MxCh= 2
B: Alloc= 60/900 us ( 7%), #Int= 1, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00
Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 5 Spd=12
MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=054c ProdID=0099 Rev= 1.00
S: Manufacturer=Sony
S: Product=Sony PEG Mass Storage
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 6mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=05 Prot=00
Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 64 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
----------------------------------------------------------------------
> Other people have experienced problems with Clies. It may
> help to give the device some time to warm up before using
> it. That is, make sure
[...]
> 30 seconds -- I don't know just how long it needs), then
> modprobe usb-storage. I bet that will work.
Ok, I'll give this a try and report wether it works.
> (BTW, these devices might be a good reason for using that
> new delayed-scanning patch.)
Sorry, I'm not that deep in the matter that I know what
you're talking about here. I could include that patch and
give it a try as well if you give me some pointer where to
get it.
> Alternatively, someone who didn't want to fool around like
> that sent in an unusual_devs.h entry for a Clie model with
> the FIX_INQUIRY flag set, and that helped him. I could
> tell you what needs to be added, but first I have to see
> your /proc/bus/usb/devices file.
If I can be of any help tell me what to do, but I should
say, that I'm no kernel hacker so I'd need some simple
instructions on that end. In other words: for me all this
sounds very professional but I don't really understand what
you're talking about. ;) What I got is that the Clie
connects to the USB and tells "no device".
To Christophs Remark:
> The report at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263901
> looks to me like this device needs an US_FL_SCM_MULT_TARG
> entry? Still wondering why it works in 2.4 then.
When I tried a 2.4 series Kernel I used a RedHat Kernel
2.4.20-31.9, no Vanilla. I'm not sure what patches RedHat
inclueds in their kernels but it might be that they fixed
there something to get it working. I also have a report that
the Clie works fine on a Mandrake 2.6.(3?) kernel. So they
had to include some patches there. (Unfortunatley the person
who send me that report is a lot farer away than I am to
give you or me any clues why it works with the MDK-stuff.
Besides that MDK seems to be maximally away from Vanilla.)
Seems that the device needs at least a 2.4.19 with some
patches or newer. Unfortunately even there the informations
on the net are not that detailed (and/or my japanese is not
that well...)
--
Kind regards, / War is Peace.
| Freedom is Slavery.
Alexander Wagner | Ignorance is Strength.
----------------------------|
Theoretische Physik II | Theory : G. Orwell, "1984"
Universitaet Wuerzburg / In practice: USA, since 2001
Reply to: