Hi, okay, before fiddling around with that Windoze driver stuff, I tried your last patch (uhci-hcd.c one liner) and removed all other patches, result: I worked - at least partially. I have a log attached where both cases can be seen. Sometimes (quite often) it seems to work and the cam is detected as storage device. But then, loading the usb-storage driver fails - see minolta-a2-storage.log - there the first attempt to initialize the cam fails, the second one (simply replugged) was okay, but the loading the usb-storage module fails...
On Wednesday 28 July 2004 18:55, Alan Stern wrote: [SNIPSNAP] > > As Windoze98 does not support the USB storage stuff "out-of-the-box", > > KonicaMinolta ships a "dImage Enumerator" driver. > > Isn't that only for Windows 98? Won't the camera run just fine with > Windows 2000 (for example) with no extra drivers? Yes of course. Anyway, looks promising - how can this be merged to the main stream kernel? Thanks for your great help. Gerhard
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.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.8-rc2 uhci_hcd S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB S: SerialNumber=0000:00:07.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 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=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=132b ProdID=0000 Rev= 0.01 S: Manufacturer=KONICA MINOLTA S: Product=DIMAGE CAMERA C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
Jul 28 21:13:07 laeppi kernel: uhci_hcd 0000:00:07.2: wakeup_hc Jul 28 21:13:07 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0083 Jul 28 21:13:07 laeppi kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s Jul 28 21:13:07 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 Jul 28 21:13:07 laeppi kernel: usb 1-1: new full speed USB device using address 4 Jul 28 21:13:07 laeppi kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jul 28 21:13:07 laeppi kernel: usb 1-1: default language 0x0409 Jul 28 21:13:07 laeppi kernel: usb 1-1: Product: DIMAGE CAMERA Jul 28 21:13:07 laeppi kernel: usb 1-1: Manufacturer: KONICA MINOLTA Jul 28 21:13:07 laeppi kernel: usb 1-1: hotplug Jul 28 21:13:07 laeppi kernel: usb 1-1: adding 1-1:1.0 (config #1, interface 0) Jul 28 21:13:07 laeppi kernel: usb 1-1:1.0: hotplug Jul 28 21:13:33 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 008a Jul 28 21:13:33 laeppi kernel: hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s Jul 28 21:13:33 laeppi kernel: usb 1-1: USB disconnect, address 4 Jul 28 21:13:33 laeppi kernel: usb 1-1: usb_disable_device nuking all URBs Jul 28 21:13:33 laeppi kernel: usb 1-1: unregistering interface 1-1:1.0 Jul 28 21:13:33 laeppi kernel: usb 1-1:1.0: hotplug Jul 28 21:13:33 laeppi kernel: usb 1-1: unregistering device Jul 28 21:13:33 laeppi kernel: usb 1-1: hotplug Jul 28 21:13:34 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 Jul 28 21:13:34 laeppi kernel: uhci_hcd 0000:00:07.2: suspend_hc Jul 28 21:13:59 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0082 Jul 28 21:13:59 laeppi kernel: hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s Jul 28 21:13:59 laeppi kernel: uhci_hcd 0000:00:07.2: wakeup_hc Jul 28 21:13:59 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 Jul 28 21:14:01 laeppi kernel: uhci_hcd 0000:00:07.2: suspend_hc Jul 28 21:14:05 laeppi kernel: uhci_hcd 0000:00:07.2: wakeup_hc Jul 28 21:14:05 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0083 Jul 28 21:14:05 laeppi kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s Jul 28 21:14:05 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 Jul 28 21:14:05 laeppi kernel: usb 1-1: new full speed USB device using address 5 Jul 28 21:14:10 laeppi kernel: usb 1-1: control timeout on ep0in Jul 28 21:14:10 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:14:10 laeppi kernel: [cc6a7240] link (0c6a71e2) element (0c6bc040) Jul 28 21:14:10 laeppi kernel: 0: [cc6bc040] link (0c6bc080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f07bc40) Jul 28 21:14:10 laeppi kernel: 1: [cc6bc080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:14:10 laeppi kernel: Jul 28 21:14:11 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:14:11 laeppi kernel: [cc6a7240] link (0c6a71e2) element (0c6bc040) Jul 28 21:14:11 laeppi kernel: 0: [cc6bc040] link (0c6bc080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f07bc40) Jul 28 21:14:11 laeppi kernel: 1: [cc6bc080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:14:11 laeppi kernel: Jul 28 21:14:11 laeppi kernel: usb 1-1: device not accepting address 5, error -71 Jul 28 21:14:11 laeppi kernel: usb 1-1: new full speed USB device using address 6 Jul 28 21:14:16 laeppi kernel: usb 1-1: control timeout on ep0in Jul 28 21:14:16 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:14:16 laeppi kernel: [cc6a7240] link (0c6a71e2) element (0c6bc040) Jul 28 21:14:16 laeppi kernel: 0: [cc6bc040] link (0c6bc080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f07bb20) Jul 28 21:14:16 laeppi kernel: 1: [cc6bc080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:14:16 laeppi kernel: Jul 28 21:14:16 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:14:16 laeppi kernel: [cc6a7240] link (0c6a71e2) element (0c6bc040) Jul 28 21:14:16 laeppi kernel: 0: [cc6bc040] link (0c6bc080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0fc23520) Jul 28 21:14:16 laeppi kernel: 1: [cc6bc080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:14:16 laeppi kernel: Jul 28 21:14:17 laeppi kernel: usb 1-1: device not accepting address 6, error -71 Jul 28 21:14:24 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0082 Jul 28 21:14:24 laeppi kernel: hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s Jul 28 21:14:24 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 Jul 28 21:14:25 laeppi kernel: uhci_hcd 0000:00:07.2: suspend_hc
Jul 28 21:39:25 laeppi kernel: USB Universal Host Controller Interface driver v2.2 Jul 28 21:39:25 laeppi kernel: PCI: Found IRQ 11 for device 0000:00:07.2 Jul 28 21:39:25 laeppi kernel: uhci_hcd 0000:00:07.2: Intel Corp. 82371AB/EB/MB PIIX4 USB Jul 28 21:39:25 laeppi kernel: uhci_hcd 0000:00:07.2: irq 11, io base 00001860 Jul 28 21:39:25 laeppi kernel: uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1 Jul 28 21:39:25 laeppi kernel: uhci_hcd 0000:00:07.2: detected 2 ports Jul 28 21:39:25 laeppi kernel: usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1 Jul 28 21:39:25 laeppi kernel: usb usb1: default language 0x0409 Jul 28 21:39:25 laeppi kernel: usb usb1: Product: Intel Corp. 82371AB/EB/MB PIIX4 USB Jul 28 21:39:25 laeppi kernel: usb usb1: Manufacturer: Linux 2.6.8-rc2 uhci_hcd Jul 28 21:39:25 laeppi kernel: usb usb1: SerialNumber: 0000:00:07.2 Jul 28 21:39:25 laeppi kernel: usb usb1: hotplug Jul 28 21:39:25 laeppi kernel: usb usb1: adding 1-0:1.0 (config #1, interface 0) Jul 28 21:39:25 laeppi kernel: usb 1-0:1.0: hotplug Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: usb_probe_interface Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: usb_probe_interface - got id Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: USB hub found Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: 2 ports detected Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: standalone hub Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: no power switching (usb 1.0) Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: individual port over-current protection Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: power on to power good time: 2ms Jul 28 21:39:25 laeppi kernel: hub 1-0:1.0: local power source is good Jul 28 21:39:27 laeppi kernel: uhci_hcd 0000:00:07.2: suspend_hc Jul 28 21:40:55 laeppi kernel: e100: eth0: e100_watchdog: link down Jul 28 21:40:58 laeppi kernel: uhci_hcd 0000:00:07.2: wakeup_hc Jul 28 21:40:58 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0082 Jul 28 21:40:58 laeppi kernel: hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s Jul 28 21:40:58 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 Jul 28 21:41:00 laeppi kernel: uhci_hcd 0000:00:07.2: suspend_hc Jul 28 21:41:04 laeppi kernel: uhci_hcd 0000:00:07.2: wakeup_hc Jul 28 21:41:04 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0083 Jul 28 21:41:04 laeppi kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s Jul 28 21:41:04 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 Jul 28 21:41:04 laeppi kernel: usb 1-1: new full speed USB device using address 2 Jul 28 21:41:09 laeppi kernel: usb 1-1: control timeout on ep0in Jul 28 21:41:09 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:41:09 laeppi kernel: [c9e44240] link (09e441e2) element (09e53040) Jul 28 21:41:09 laeppi kernel: 0: [c9e53040] link (09e53080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f46fb00) Jul 28 21:41:09 laeppi kernel: 1: [c9e53080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:41:09 laeppi kernel: Jul 28 21:41:10 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:41:10 laeppi kernel: [c9e44240] link (09e441e2) element (09e53040) Jul 28 21:41:10 laeppi kernel: 0: [c9e53040] link (09e53080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0ec79a20) Jul 28 21:41:10 laeppi kernel: 1: [c9e53080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:41:10 laeppi kernel: Jul 28 21:41:10 laeppi kernel: usb 1-1: device not accepting address 2, error -71 Jul 28 21:41:10 laeppi kernel: usb 1-1: new full speed USB device using address 3 Jul 28 21:41:15 laeppi kernel: usb 1-1: control timeout on ep0in Jul 28 21:41:15 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:41:15 laeppi kernel: [c9e44240] link (09e441e2) element (09e53040) Jul 28 21:41:15 laeppi kernel: 0: [c9e53040] link (09e53080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0ec79a20) Jul 28 21:41:15 laeppi kernel: 1: [c9e53080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:41:15 laeppi kernel: Jul 28 21:41:15 laeppi kernel: uhci_hcd 0000:00:07.2: uhci_result_control: failed with status 440000 Jul 28 21:41:15 laeppi kernel: [c9e44240] link (09e441e2) element (09e53040) Jul 28 21:41:15 laeppi kernel: 0: [c9e53040] link (09e53080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0f46fba0) Jul 28 21:41:15 laeppi kernel: 1: [c9e53080] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=69(IN) (buf=00000000) Jul 28 21:41:15 laeppi kernel: Jul 28 21:41:15 laeppi kernel: usb 1-1: device not accepting address 3, error -71 Jul 28 21:41:22 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0082 Jul 28 21:41:22 laeppi kernel: hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s Jul 28 21:41:22 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 Jul 28 21:41:23 laeppi kernel: uhci_hcd 0000:00:07.2: suspend_hc Jul 28 21:41:29 laeppi kernel: uhci_hcd 0000:00:07.2: wakeup_hc Jul 28 21:41:29 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0082 Jul 28 21:41:29 laeppi kernel: hub 1-0:1.0: port 1, status 0100, change 0001, 12 Mb/s Jul 28 21:41:29 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 Jul 28 21:41:31 laeppi kernel: uhci_hcd 0000:00:07.2: suspend_hc Jul 28 21:41:35 laeppi kernel: uhci_hcd 0000:00:07.2: wakeup_hc Jul 28 21:41:35 laeppi kernel: uhci_hcd 0000:00:07.2: port 1 portsc 0093 Jul 28 21:41:35 laeppi kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s Jul 28 21:41:35 laeppi kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 Jul 28 21:41:35 laeppi kernel: usb 1-1: new full speed USB device using address 4 Jul 28 21:41:35 laeppi kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Jul 28 21:41:35 laeppi kernel: usb 1-1: default language 0x0409 Jul 28 21:41:35 laeppi kernel: usb 1-1: Product: DIMAGE CAMERA Jul 28 21:41:35 laeppi kernel: usb 1-1: Manufacturer: KONICA MINOLTA Jul 28 21:41:35 laeppi kernel: usb 1-1: hotplug Jul 28 21:41:35 laeppi kernel: usb 1-1: adding 1-1:1.0 (config #1, interface 0) Jul 28 21:41:35 laeppi kernel: usb 1-1:1.0: hotplug Jul 28 21:41:53 laeppi kernel: Initializing USB Mass Storage driver... Jul 28 21:41:53 laeppi kernel: usb-storage 1-1:1.0: usb_probe_interface Jul 28 21:41:53 laeppi kernel: usb-storage 1-1:1.0: usb_probe_interface - got id Jul 28 21:41:53 laeppi kernel: usb-storage: USB Mass Storage device detected Jul 28 21:41:53 laeppi kernel: usb-storage: altsetting is 0, id_index is 122 Jul 28 21:41:53 laeppi kernel: usb-storage: -- associate_dev Jul 28 21:41:53 laeppi kernel: usb-storage: Transport: Bulk Jul 28 21:41:53 laeppi kernel: usb-storage: Protocol: Transparent SCSI Jul 28 21:41:53 laeppi kernel: usb-storage: Endpoints: In: 0xc13bc474 Out: 0xc13bc460 Int: 0x00000000 (Period 0) Jul 28 21:41:53 laeppi kernel: usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1 Jul 28 21:41:53 laeppi kernel: usb-storage: GetMaxLUN command result is 0, data is 0 Jul 28 21:41:53 laeppi kernel: usb-storage: storage_probe() failed Jul 28 21:41:53 laeppi kernel: usb-storage: -- usb_stor_release_resources Jul 28 21:41:53 laeppi kernel: usb-storage: -- dissociate_dev Jul 28 21:41:53 laeppi kernel: usb-storage: probe of 1-1:1.0 failed with error -1 Jul 28 21:41:53 laeppi kernel: usbcore: registered new driver usb-storage Jul 28 21:41:53 laeppi kernel: USB Mass Storage support registered.