Wow... this device is really messed up.

Even if the interrupt endpoint processing was messed up in this device,
US_PR_CB should have made it work.  But, according to these logs, _nothing_
is working -- not even the most basic commands.

As far as I can tell, this device is lying in its descriptors about being
mass storage compliant at all.  It might be US_PR_BULK, but that's a long
shot at best.

Without some manufacturers specs, we might as well throw random data at it
until something works.

Matt Dharm

On Wed, Jun 14, 2000 at 07:31:04PM -0700, Ron Forrester wrote:
> On Wed, Jun 14, 2000 at 10:44:27AM -0700, Matthew Dharm wrote:
> > That's about it... the string is arbitrary -- it's just there so that  (a)
> > the driver has something to print, and (b) the list is easier to maintain
> > by people.
> 
> Okay, I put the following entry in the unusual devices list:
> 
>       { 0x07cf, 0x1001, 0x9009,
>         "Casio QV-8000SX Digital Camera", US_SC_SCSI, US_PR_CB, 0}, 
> 
> Things still went awry. It did indicate that it found a match in the
> unusual list though, so my change stuck.
> 
> Attached is the kerndebug.log, and a cat of /proc/bus/usb/devices.
> 
> Further advice on what to investigate would be appreciated.
> 
> Thanks!
> rjf&
> 

> Jun 14 19:25:02 aurora kernel: usb.c: registered new driver usb-storage
> Jun 14 19:25:02 aurora kernel: USB Mass Storage support registered.
> Jun 14 19:25:07 aurora kernel: uhci.c: root-hub INT complete: port1: 493 port2: 5a5 
>data: 2
> Jun 14 19:25:07 aurora kernel: hub.c: port 1 connection change
> Jun 14 19:25:08 aurora kernel: hub.c: portstatus 101, change 1, 12 Mb/s
> Jun 14 19:25:08 aurora kernel: hub.c: portstatus 103, change 0, 12 Mb/s
> Jun 14 19:25:08 aurora kernel: usb.c: USB new device connect, assigned device number 
>3
> Jun 14 19:25:08 aurora kernel: usb.c: kmalloc IF c3f021c0, numif 1
> Jun 14 19:25:08 aurora kernel: usb.c: new device strings: Mfr=0, Product=0, 
>SerialNumber=0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Searching unusual device list for 
>(0x7cf, 0x1001, 0x9009)...
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- found matching device: Casio 
>QV-8000SX Digital Camera
> Jun 14 19:25:08 aurora kernel: usb-storage.c: USB Mass Storage device detected
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Endpoints: In: 0xc78b4500 Out: 
>0xc78b4511 Int: 0xc78b4522 (Period 1)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Result from usb_set_interface is 0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: New GUID 07cf10010000000000000000
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Transport: Control/Bulk
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Protocol: Transparent SCSI
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: scsi1 : SCSI emulation for USB Mass Storage devices
> Jun 14 19:25:08 aurora kernel: scsi : 2 hosts.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Command INQUIRY (6 bytes)
> Jun 14 19:25:08 aurora kernel: usb-storage.c:   12 00 00 00 ff 00 00 00 00 00
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Call to usb_stor_control_msg() 
>returned -32
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- Stall on control pipe. Clearing
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- usb_clear_halt() returns 0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- CB transport device requiring 
>auto-sense
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- transport indicates command failure
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Issuing auto-REQUEST_SENSE
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Call to usb_stor_control_msg() 
>returned -32
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- Stall on control pipe. Clearing
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- usb_clear_halt() returns 0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- auto-sense failure
> Jun 14 19:25:08 aurora kernel: usb-storage.c: scsi cmd done, result=0x70000
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Command INQUIRY (6 bytes)
> Jun 14 19:25:08 aurora kernel: usb-storage.c:   12 00 00 00 ff 00 00 00 00 00
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Call to usb_stor_control_msg() 
>returned -32
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- Stall on control pipe. Clearing
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- usb_clear_halt() returns 0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- CB transport device requiring 
>auto-sense
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- transport indicates command failure
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Issuing auto-REQUEST_SENSE
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Call to usb_stor_control_msg() 
>returned -32
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- Stall on control pipe. Clearing
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- usb_clear_halt() returns 0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- auto-sense failure
> Jun 14 19:25:08 aurora kernel: usb-storage.c: scsi cmd done, result=0x70000
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Command INQUIRY (6 bytes)
> Jun 14 19:25:08 aurora kernel: usb-storage.c:   12 00 00 00 ff 00 00 00 00 00
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Call to usb_stor_control_msg() 
>returned -32
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- Stall on control pipe. Clearing
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- usb_clear_halt() returns 0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- CB transport device requiring 
>auto-sense
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- transport indicates command failure
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Issuing auto-REQUEST_SENSE
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Call to usb_stor_control_msg() 
>returned -32
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- Stall on control pipe. Clearing
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- usb_clear_halt() returns 0
> Jun 14 19:25:08 aurora kernel: usb-storage.c: -- auto-sense failure
> Jun 14 19:25:08 aurora kernel: usb-storage.c: scsi cmd done, result=0x70000
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Bad device number (1/0)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Bad device number (2/0)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Bad device number (3/0)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Bad device number (4/0)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Bad device number (5/0)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Bad device number (6/0)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: us_queuecommand() called
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:25:08 aurora kernel: usb-storage.c: Bad device number (7/0)
> Jun 14 19:25:08 aurora kernel: usb-storage.c: *** thread sleeping.
> Jun 14 19:25:08 aurora kernel: WARNING: USB Mass Storage data integrity not assured
> Jun 14 19:25:08 aurora kernel: USB Mass Storage device found at 3
> Jun 14 19:25:08 aurora kernel: usb.c: usb-storage driver claimed interface c3f021c0
> Jun 14 19:26:01 aurora kernel: uhci.c: root-hub INT complete: port1: 48a port2: 5a5 
>data: 2
> Jun 14 19:26:01 aurora kernel: hub.c: port 1 connection change
> Jun 14 19:26:02 aurora kernel: hub.c: portstatus 100, change 3, 12 Mb/s
> Jun 14 19:26:02 aurora kernel: usb.c: USB disconnect on device 3
> Jun 14 19:26:02 aurora kernel: usb-storage.c: storage_disconnect() called
> Jun 14 19:26:02 aurora kernel: hub.c: port 1 enable change, status 100
> Jun 14 19:26:07 aurora kernel: usb-storage.c: usb_stor_exit() called
> Jun 14 19:26:07 aurora kernel: usb-storage.c: -- calling usb_deregister()
> Jun 14 19:26:07 aurora kernel: usb.c: deregistering driver usb-storage
> Jun 14 19:26:07 aurora kernel: usb-storage.c: -- calling scsi_unregister_module()
> Jun 14 19:26:07 aurora kernel: usb-storage.c: us_release() called for host 
>usb-storage
> Jun 14 19:26:07 aurora kernel: usb-storage.c: -- sending US_ACT_EXIT command to 
>thread
> Jun 14 19:26:07 aurora kernel: usb-storage.c: *** thread awakened.
> Jun 14 19:26:07 aurora kernel: usb-storage.c: -- US_ACT_EXIT command recieved
> Jun 14 19:26:07 aurora kernel: usb-storage.c: -- freeing private host data structure
> Jun 14 19:26:07 aurora kernel: scsi : 1 host.

> 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-alt Root Hub
> S:  SerialNumber=d000
> 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=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=07cf ProdID=1001 Rev=90.09
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=  1ms
> T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  2 Spd=1.5 MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=045e ProdID=0025 Rev= 1.01
> S:  Manufacturer=Microsoft
> S:  Product=Microsoft IntelliMouse � with IntelliEye
> C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
> E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl= 10ms
> T:  Bus=01 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-alt Root Hub
> S:  SerialNumber=d400
> 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


-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Senior Engineer, QCP Inc.                            Work: [EMAIL PROTECTED]

It was a new hope.
                                        -- Dust Puppy
User Friendly, 12/25/1998

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to