Thanks for helping, the following is what I got.

Peter

Your patch applied to a 2.6.15-rc5 kernel.

From /var/log/messages:

Dec 12 23:58:08 kultorvet kernel: ohci_hcd 0000:00:02.0: wakeup
Dec 12 23:58:09 kultorvet kernel: usb 1-2: new full speed USB device using ohci_hcd and address 6
Dec 12 23:58:09 kultorvet kernel: usb 1-2: Product: ix-30
Dec 12 23:58:09 kultorvet kernel: usb 1-2: Manufacturer: PRIMAX
Dec 12 23:58:09 kultorvet kernel: scsi0 : SCSI emulation for USB Mass Storage devices Dec 12 23:58:14 kultorvet kernel: Vendor: Model: Rev: Dec 12 23:58:14 kultorvet kernel: Type: Direct-Access ANSI SCSI revision: 00 Dec 12 23:58:17 kultorvet kernel: usb 1-2: reset full speed USB device using ohci_hcd and address 6
Dec 12 23:58:19 kultorvet last message repeated 3 times
Dec 12 23:58:19 kultorvet kernel: usb 1-2: USB disconnect, address 6
Dec 12 23:58:19 kultorvet kernel: sda : READ CAPACITY failed.
Dec 12 23:58:19 kultorvet kernel: sda: Write Protect is off
Dec 12 23:58:19 kultorvet kernel: sda : READ CAPACITY failed.
Dec 12 23:58:19 kultorvet kernel: sda: Write Protect is off
Dec 12 23:58:19 kultorvet kernel: sda : READ CAPACITY failed.
Dec 12 23:58:19 kultorvet kernel: sda: Write Protect is off
Dec 12 23:58:19 kultorvet kernel: sda:<3>Buffer I/O error on device sda, logical block 0 Dec 12 23:58:19 kultorvet kernel: sd 0:0:0:0: Attached scsi removable disk sda Dec 12 23:58:19 kultorvet kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0 Dec 12 23:58:20 kultorvet kernel: usb 1-2: new full speed USB device using ohci_hcd and address 7 Dec 12 23:58:20 kultorvet kernel: usb 1-2: new full speed USB device using ohci_hcd and address 8 Dec 12 23:58:21 kultorvet kernel: usb 1-2: new full speed USB device using ohci_hcd and address 9 Dec 12 23:58:21 kultorvet kernel: usb 1-2: new full speed USB device using ohci_hcd and address 10

# cat /proc/bus/usb/devices

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.15-rc5 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.15-rc5 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms

/proc/scsi/scsi is empty

# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000


Alan Stern wrote:
On Mon, 12 Dec 2005, Peter Rasmussen wrote:

I have a cheap digital camera that supposedly supports USB Mass Storage, and I 
attempted without success to connect it to my computer.

I did read the USB-Gide, the FAQ and prowl through the archives, which 
suggested that maybe later versions of Linux have problems with USB, eg. 2.6.7 
was mentioned as being more able than newer kernels. I attempted that, as seen 
below, but didn't notice any difference from the kernel I am otherwise running 
right now, ie. 2.6.15rc5.

I can see the device mentioned in /proc/bus/usb/devices, but never in 
/proc/scsi/scsi, as well as I can't see /proc/bus/usb/drivers, as mentioned in 
the USB Guide.

I disabled USB 2.0 in the BIOS, in order to attempt to simplify.

The info below suggests to me that my box is able to see the USB device, but 
somehow I can't get a (/dev/sda?) device for it. Anyone care to provide a hint?

Am I SOL regarding the device I bought?

The patch below might help. Let me know if it works so I can submit it for inclusion in the kernel.

Alan Stern



Index: usb-2.6/drivers/usb/storage/unusual_devs.h
===================================================================
--- usb-2.6.orig/drivers/usb/storage/unusual_devs.h
+++ usb-2.6/drivers/usb/storage/unusual_devs.h
@@ -145,6 +145,13 @@ UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x
                US_SC_DEVICE, US_PR_BULK, NULL,
                US_FL_NEED_OVERRIDE ),
+/* Reported by Peter Rasmussen <[EMAIL PROTECTED]>
+ * Needed because device reports Class=0xff */
+UNUSUAL_DEV(  0x0461, 0x081a, 0x0110, 0x0110,
+               "PRIMAX",
+               "ix-30",
+               US_SC_DEVICE, US_PR_DEVICE, NULL, 0),
+
 /* Patch submitted by Philipp Friedrich <[EMAIL PROTECTED]> */
 UNUSUAL_DEV(  0x0482, 0x0100, 0x0100, 0x0100,
                "Kyocera",



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to