Hello, I just received a Microtech Zio SmartMedia reader/writer (which came with my digital camera), and I am trying to make it work with Linux, but I am having some difficulties. I am using kernel 2.4.5, and I selected the "Microtech CompactFlash/SmartMedia reader" option for usb-storage. When I try to insert the module (with the reader plugged in), I get the following error (excerpt): Jun 10 14:53:31 mooch kernel: usb.c: USB device 2 (vend/prod 0x4e6/0x3) is not claimed by any active driver. Examining unusual_devs.h, I saw that indeed the DPCM driver expects a device with vend/prod id 0x436/0x5 or 0x4e6/0x5. I then tried to add an entry, mimicing the one for the "eUSB SmartMedia / CompactFlash Adapter": UNUSUAL_DEV( 0x04e6, 0x0003, 0x0000, 0x9999, "SCM Microsystems Inc", "eUSB SmartMedia Adapter", US_SC_SCSI, US_PR_DPCM_USB, NULL, US_FL_START_STOP ), Now, the usb-storage module does claim the device, but there appears to be a problem in the SCSI initialization, and the device does not end up in /proc/scsi/scsi. Here's the log when inserting usb-storage and usb-uhci (my MB is an Abit KT-7): Jun 10 17:12:40 mooch kernel: Initializing USB Mass Storage driver... Jun 10 17:12:40 mooch kernel: usb.c: registered new driver usb-storage Jun 10 17:12:40 mooch kernel: USB Mass Storage support registered. Jun 10 17:12:48 mooch kernel: usb-uhci.c: $Revision: 1.259 $ time 23:23:13 Jun 9 2001 Jun 10 17:12:48 mooch kernel: usb-uhci.c: High bandwidth mode enabled Jun 10 17:12:48 mooch kernel: PCI: Found IRQ 10 for device 00:07.2 Jun 10 17:12:48 mooch kernel: PCI: The same IRQ used for device 00:07.3 Jun 10 17:12:48 mooch kernel: PCI: The same IRQ used for device 00:0b.0 Jun 10 17:12:48 mooch kernel: usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10 Jun 10 17:12:48 mooch kernel: usb-uhci.c: Detected 2 ports Jun 10 17:12:48 mooch kernel: usb.c: new USB bus registered, assigned bus number 1 Jun 10 17:12:48 mooch kernel: usb.c: kmalloc IF cb4c5840, numif 1 Jun 10 17:12:48 mooch kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 Jun 10 17:12:48 mooch kernel: usb.c: USB device number 1 default language ID 0x0 Jun 10 17:12:48 mooch kernel: Product: USB UHCI Root Hub Jun 10 17:12:48 mooch kernel: SerialNumber: d400 Jun 10 17:12:48 mooch kernel: hub.c: USB hub found Jun 10 17:12:48 mooch kernel: hub.c: 2 ports detected Jun 10 17:12:48 mooch kernel: hub.c: standalone hub Jun 10 17:12:48 mooch kernel: hub.c: ganged power switching Jun 10 17:12:48 mooch kernel: hub.c: global over-current protection Jun 10 17:12:48 mooch kernel: hub.c: power on to power good time: 2ms Jun 10 17:12:48 mooch kernel: hub.c: hub controller current requirement: 0mA Jun 10 17:12:48 mooch kernel: hub.c: port removable status: RR Jun 10 17:12:48 mooch kernel: hub.c: local power source is good Jun 10 17:12:48 mooch kernel: hub.c: no over-current condition exists Jun 10 17:12:48 mooch kernel: hub.c: enabling power on all ports Jun 10 17:12:48 mooch kernel: usb.c: hub driver claimed interface cb4c5840 Jun 10 17:12:48 mooch kernel: PCI: Found IRQ 10 for device 00:07.3 Jun 10 17:12:48 mooch kernel: PCI: The same IRQ used for device 00:07.2 Jun 10 17:12:48 mooch kernel: PCI: The same IRQ used for device 00:0b.0 Jun 10 17:12:48 mooch kernel: usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10 Jun 10 17:12:48 mooch kernel: usb-uhci.c: Detected 2 ports Jun 10 17:12:48 mooch kernel: hub.c: port 1 connection change Jun 10 17:12:48 mooch kernel: hub.c: port 1, portstatus 101, change 3, 12 Mb/s Jun 10 17:12:49 mooch kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s Jun 10 17:12:49 mooch kernel: hub.c: USB new device connect on bus1/1, assigned device number 2 Jun 10 17:12:49 mooch kernel: usb.c: new USB bus registered, assigned bus number 2 Jun 10 17:12:49 mooch kernel: usb.c: kmalloc IF cb4c5640, numif 1 Jun 10 17:12:49 mooch kernel: usb.c: kmalloc IF cb4c5f80, numif 1 Jun 10 17:12:49 mooch kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 Jun 10 17:12:49 mooch kernel: usb.c: USB device number 1 default language ID 0x0 Jun 10 17:12:49 mooch kernel: Product: USB UHCI Root Hub Jun 10 17:12:49 mooch kernel: SerialNumber: d800 Jun 10 17:12:49 mooch kernel: hub.c: USB hub found Jun 10 17:12:49 mooch kernel: hub.c: 2 ports detected Jun 10 17:12:49 mooch kernel: hub.c: standalone hub Jun 10 17:12:49 mooch kernel: hub.c: ganged power switching Jun 10 17:12:49 mooch kernel: hub.c: global over-current protection Jun 10 17:12:49 mooch kernel: hub.c: power on to power good time: 2ms Jun 10 17:12:49 mooch kernel: hub.c: hub controller current requirement: 0mA Jun 10 17:12:49 mooch kernel: hub.c: port removable status: RR Jun 10 17:12:49 mooch kernel: hub.c: local power source is good Jun 10 17:12:49 mooch kernel: hub.c: no over-current condition exists Jun 10 17:12:49 mooch kernel: hub.c: enabling power on all ports Jun 10 17:12:49 mooch kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0 Jun 10 17:12:49 mooch kernel: usb.c: USB device number 2 default language ID 0x409 Jun 10 17:12:49 mooch kernel: Manufacturer: SCM Microsystems Inc. Jun 10 17:12:49 mooch kernel: usb.c: hub driver claimed interface cb4c5f80 Jun 10 17:12:49 mooch kernel: usb-uhci.c: v1.251 Georg Acher, Deti Fliegl, Thomas Sailer, Roman Weissgaerber Jun 10 17:12:49 mooch kernel: usb-uhci.c: USB Universal Host Controller Interface driver Jun 10 17:12:49 mooch kernel: Product: eUSB SmartMedia Adapter Jun 10 17:12:49 mooch kernel: usb-storage: act_altsettting is 0 Jun 10 17:12:49 mooch kernel: usb-storage: id_index calculated to be: 5 Jun 10 17:12:49 mooch kernel: usb-storage: Array length appears to be: 48 Jun 10 17:12:49 mooch kernel: usb-storage: Vendor: SCM Microsystems Inc Jun 10 17:12:49 mooch kernel: usb-storage: Product: eUSB SmartMedia Adapter Jun 10 17:12:49 mooch kernel: usb-storage: USB Mass Storage device detected Jun 10 17:12:49 mooch kernel: usb-storage: Endpoints: In: 0xcbfc9cd4 Out: 0xcbfc9cc0 Int: 0xcbfc9ce8 (Period 32) Jun 10 17:12:49 mooch kernel: usb-storage: New GUID 04e600030000000000000000 Jun 10 17:12:49 mooch kernel: usb-storage: Transport: Control/Bulk-EUSB/SDDR09 Jun 10 17:12:49 mooch kernel: usb-storage: Protocol: Transparent SCSI Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: scsi1 : SCSI emulation for USB Mass Storage devices Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Command INQUIRY (6 bytes) Jun 10 17:12:49 mooch kernel: usb-storage: 12 00 00 00 ff 00 45 c1 07 00 00 00 Jun 10 17:12:49 mooch kernel: usb-storage: dpcm_transport: LUN=0 Jun 10 17:12:49 mooch kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jun 10 17:12:49 mooch kernel: usb-storage: usb_stor_transfer_partial(): xfer 255 bytes Jun 10 17:12:49 mooch kernel: usb-uhci.c: interrupt, status 2, frame# 486 Jun 10 17:12:49 mooch kernel: usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/255 Jun 10 17:12:49 mooch kernel: usb-storage: clearing endpoint halt for pipe 0xc0010280 Jun 10 17:12:49 mooch kernel: usb-storage: usb_stor_transfer_partial(): unknown error Jun 10 17:12:49 mooch kernel: usb-storage: CB data stage result is 0x2 Jun 10 17:12:49 mooch kernel: usb-storage: -- CB transport device requiring auto-sense Jun 10 17:12:49 mooch kernel: usb-storage: Issuing auto-REQUEST_SENSE Jun 10 17:12:49 mooch kernel: usb-storage: dpcm_transport: LUN=0 Jun 10 17:12:49 mooch kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jun 10 17:12:49 mooch kernel: usb-storage: usb_stor_transfer_partial(): xfer 18 bytes Jun 10 17:12:49 mooch kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Jun 10 17:12:49 mooch kernel: usb-storage: usb_stor_transfer_partial(): transfer complete Jun 10 17:12:49 mooch kernel: usb-storage: CB data stage result is 0x0 Jun 10 17:12:49 mooch kernel: usb-storage: -- Result from auto-sense is 0 Jun 10 17:12:49 mooch kernel: usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0 Jun 10 17:12:49 mooch kernel: usb-storage: Unit Attention: (unknown ASC/ASCQ) Jun 10 17:12:49 mooch kernel: usb-storage: Fixing INQUIRY data to show SCSI rev 2 Jun 10 17:12:49 mooch kernel: usb-storage: scsi cmd done, result=0x2 Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Bad target number (1/0) Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Bad target number (2/0) Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Bad target number (3/0) Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Bad target number (4/0) Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Bad target number (5/0) Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Bad target number (6/0) Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: usb-storage: queuecommand() called Jun 10 17:12:49 mooch kernel: usb-storage: *** thread awakened. Jun 10 17:12:49 mooch kernel: usb-storage: Bad target number (7/0) Jun 10 17:12:49 mooch kernel: usb-storage: *** thread sleeping. Jun 10 17:12:49 mooch kernel: WARNING: USB Mass Storage data integrity not assured Jun 10 17:12:49 mooch kernel: USB Mass Storage device found at 2 Jun 10 17:12:49 mooch kernel: usb.c: usb-storage driver claimed interface cb4c5640 Jun 10 17:12:49 mooch kernel: hub.c: port 2 connection change Jun 10 17:12:49 mooch kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s Jun 10 17:12:49 mooch kernel: hub.c: port 1 connection change Jun 10 17:12:49 mooch kernel: hub.c: port 1, portstatus 100, change 3, 12 Mb/s Jun 10 17:12:49 mooch kernel: hub.c: port 2 connection change Jun 10 17:12:49 mooch kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s Jun 10 17:12:49 mooch kernel: hub.c: port 2 enable change, status 100 Jun 10 17:12:49 mooch kernel: hub.c: port 1 enable change, status 100 Jun 10 17:12:49 mooch kernel: hub.c: port 2 enable change, status 100 Any ideas on how to proceed from here? Thanks for any help! -Christian _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: http://lists.sourceforge.net/lists/listinfo/linux-usb-users