Hi everybody, From my Linux (SuSE.8.0), I am trying in vain to access an ISD-200 chip (Vendor=05ab ProdID=0031 Rev= 1.10). The chip is on an external USB-harddisk from Archos (EU MiniHD 6, 6GB, USB 1.1., ArticleNo=500021, P/N= MHD26-2-20U2); driver-revision used is $Id: isd200.c,v 1.14 2002/02/25 00:40:13 mdharm Exp $, which appears to be the newest as far as I understand from http://linuxusb.bkbits.net:8080/usb-2.4/anno/drivers/usb/storage/[EMAIL PROTECTED]
Bjoern Stenberg <[EMAIL PROTECTED]>, the maintainer of the specific ISD-200 driver, replied that it looks like a problem in the general USB code, rather than in the isd200 usb-storage driver specifically. Now I am hoping that somebody might give me some hints how to succeed. Below is listed what I observed. Please, consider that I have no particular experience in debugging kernel modules. Many thanks, Guenter --------------------------------------------------------------------------------- What I observed (my comments, i.e. my tries to understand, are marked with "##"): 0.) The MiniHD works fine with WinME and WinXP-Home on various machines: + The Archos-provided driver-floppy indicates in REL_NOTES_PATRIOT_5_04.txt this driver: Cypress Semiconductor Mass Storage Device Driver Release Notes REL_NOTES_PATRIOT_5_04.txt Windows Driver for all ISD USB mass storage bridges Release Version 5.04 found in "CY_Win_5_04_REL.zip" + WinME::DeviceManager shows: Storage Adapter Bridge Module (TPP) Cypress, 10/12/2001, not signed C:\WINDOWS\SYSTEM\IOSUBSYS\TPPIOSTP.PDR 1.) My pure Linux machine uses: + HW: SCSI harddisks only, hence its SCSI subsystem is proved to work well with my Linux (SuSE.8.0) + Checking configuration of my kernel: - ls -l /usr/src/linux ## excerpted: lrwxrwxrwx 1 root root 17 Mar 14 18:21 /usr/src/linux -> linux-2.4.18.SuSE - grep -i usb /usr/src/linux-2.4.18.SuSE/.config ## excerpted: CONFIG_USB_IRDA=m CONFIG_INPUT_IFORCE_USB=m CONFIG_VIDEO_CPIA_USB=m # USB support CONFIG_USB=m ## looks good # CONFIG_USB_DEBUG is not set # Miscellaneous USB options CONFIG_USB_DEVICEFS=y ## looks good # CONFIG_USB_BANDWIDTH is not set CONFIG_USB_LONG_TIMEOUT=y # USB Host Controller Drivers CONFIG_USB_EHCI_HCD=m CONFIG_USB_UHCI=m ## looks good (cf. below) CONFIG_USB_UHCI_ALT=m CONFIG_USB_OHCI=m # USB Device Class drivers CONFIG_USB_AUDIO=m CONFIG_USB_BLUETOOTH=m CONFIG_USB_STORAGE=m ## looks good # CONFIG_USB_STORAGE_DEBUG is not set CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y ## looks good CONFIG_USB_STORAGE_DPCM=y CONFIG_USB_STORAGE_HP8200e=y CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_JUMPSHOT=y CONFIG_USB_ACM=m CONFIG_USB_SPEEDTOUCH=m CONFIG_USB_PRINTER=m # USB Human Interface Devices (HID) CONFIG_USB_HID=m CONFIG_USB_HIDDEV=y # CONFIG_USB_KBD is not set # CONFIG_USB_MOUSE is not set CONFIG_USB_WACOM=m CONFIG_USB_AIPTEK=m # USB Imaging devices ## all "=m" # USB Multimedia devices ## all "=m" # USB Network adaptors ## all "=m" # USB port drivers CONFIG_USB_USS720=m # USB Serial Converter support ## shortened: ## read "_USA*" as a regular expression; dropped entries are "=m" CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_KEYSPAN_USA*=y # USB Miscellaneous drivers ## all "=m" + Basic testing of my USB subsystem: It works fine with an external FDD (Vendor: TEAC Model: FD-05PUB Rev: 1026) + rpm -qif /lib/modules/2.4.18-4GB/kernel/drivers/usb/storage/usb-storage.o Name : k_deflt Relocations: (not relocateable) Version : 2.4.18 Vendor: SuSE AG, Nuernberg, Germany Release : 58 Build Date: Mit 27 Mar 2002 15:45:02 CET Install date: Don 13 Mar 2003 17:29:51 CET Build Host: Schnell.suse.de Group : System/Kernel Source RPM: k_deflt-2.4.18-58.src.rpm Size : 38203481 License: Linus et al. Packager : [EMAIL PROTECTED] Summary : The standard SuSE kernel Description : The standard SuSE kernel SuSE series: images Distribution: SuSE Linux 8.0 (i386) 2.) MiniHD plugged in before booting Linux. After an awfully long wait: + both /var/log/warn and "dmesg |grep -i usb" show: usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 14:22:01 Mar 27 2002 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 12 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found usb-uhci.c: v1.275:USB Universal Host Controller Interface driver hub.c: USB new device connect on bus1/2, assigned device number 2 ## Archos::Mini-HDD::ISD200 ---vvvvvvvvvv usb.c: USB device 2 (vend/prod 0x5ab/0x31) is not claimed by any active driver. Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi1 : SCSI emulation for USB Mass Storage devices usb.c: USB disconnect on device 2 hub.c: USB new device connect on bus1/2, assigned device number 3 usb-uhci.c: interrupt, status 2, frame# 448 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb.c: error getting string descriptor 0 (error=-6) ## ^-- from usb.c::usb_string() ## from usb_get_string() ## from usb_control_msg(), which sends a simple control message to a ## specified endpoint and waits for the message to complete, or ## timeout. On success it returns 0, else a negative error number ## from usb_internal_control_msg(), which uses depreciated macro ## FILL_CONTROL_URB() instead of usb_fill_control_urb() - but I ## don't consider this critical ## from usb_start_wait_urb() ## ??from usb_submit_urb(urb) ## Rem.: From /usr/src/linux/include/asm/errno.h we have: ## ENXIO 6 ## No such device or address ## ENODEV 19 ## No such device ## ETIMEDOUT 110 ## Connection timed out usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb.c: error getting string descriptor 0 (error=-6) usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb.c: error getting string descriptor 0 (error=-6) usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb.c: error getting string descriptor 0 (error=-6) usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb.c: error getting string descriptor 0 (error=-6) usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb.c: error getting string descriptor 0 (error=-6) usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 usb-uhci.c: ENXIO 80000380, flags 0, urb c53bf8a0, burb c53bf820 scsi2 : SCSI emulation for USB Mass Storage devices + dmesg |grep -i ^scsi SCSI subsystem driver Revision: 1.00 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.5 scsi0:A:0:0: Tagged Queuing enabled. Depth 253 scsi0:A:1:0: Tagged Queuing enabled. Depth 253 SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB) SCSI device sdb: 17916240 512-byte hdwr sectors (9173 MB) scsi1 : SCSI emulation for USB Mass Storage devices scsi: device set offline - not ready or command retry failed after bus reset: host 1 channel 0 id 0 lun 0 scsi2 : SCSI emulation for USB Mass Storage devices + lsmod ## excerpted: usb-storage 48640 0 usb-uhci 20996 0 (unused) usbcore 55136 1 [usb-storage hid usb-uhci] aic7xxx 105824 14 + ls /proc/bus/usb ## seems ok + cat /proc/bus/usb/devices 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 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 T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=05ab ProdID=0031 Rev= 1.10 ## different from Bjorn's ----^^^^ (ISD-200::MainPage mentions Rev= 1.00) S: Manufacturer=In-System Design S: Product=USB Storage Adapter S: SerialNumber=D88868B77DE2FF03 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 98mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none) ##CARE:MISS: usb-storage.o ----^^^^^^ E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl= 32ms + cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IBM Model: DNES-309170W Rev: SA30 Type: Direct-Access ANSI SCSI revision: 03 Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: IBM Model: DNES-309170W Rev: SAH0 Type: Direct-Access ANSI SCSI revision: 03 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: Model: Rev: Type: <NULL> ANSI SCSI revision: ffffffff ##CARE:MISS: Info-Strings + No surprise that mount fails for all /dev/sd[c-h]1 + depmod -e /lib/modules/2.4.18-4GB/kernel/drivers/usb/storage/usb-storage.o depmod: *** Unresolved symbols in usb-storage.o depmod: usb_match_id depmod: usb_deregister depmod: usb_free_dev depmod: usb_free_urb depmod: usb_inc_dev_use depmod: usb_alloc_urb depmod: usb_register depmod: usb_set_configuration depmod: usb_reset_device depmod: usb_string depmod: usb_submit_urb depmod: usb_control_msg depmod: usb_clear_halt depmod: usb_unlink_urb ______________________________________________________________________________ E-Mails verschicken und auf Antwort warten? Mit der Kurier-SMS kann das nicht mehr passieren - http://freemail.web.de/features/?mc=021174 ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users