On Wed, Sep 01, 2004 at 04:20:01PM -0400, Alan Stern wrote:
> On Wed, 1 Sep 2004, [EMAIL PROTECTED] wrote:
>
> > Hello,
> >
> > I haven't had the time to do the tests, but during quick try
> > with 2.6.9-rc1 I noticed that the kernel spent much time waiting while
> > cating files from my camera to /dev/null. 'vmstat 5' gave:
>
> <...>
> > Is there something I should look into ?
>
> Does your kernel have the "ub" driver configured? (It's the Device
> Drivers -> Block devices -> Low Performance USB Block driver entry in
> menuconfig -- or you can just check whether lsmod lists ub.)
>
> If yes, then the ub driver will handle communicating with your camera,
> rather than usb-storage. Since ub is a low-performance driver, you might
> prefer not to use it.
>
> Alan Stern
>
You were right, I had the "ub" driver. I recompiled a kernel without
but now, usb storage doesn't work anymore. It works with 2.6.7, but not with
2.6.8 or 2.6.9-rc1. I get:
ehci_hcd 0000:00:03.2: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
hub 3-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
hub 3-0:1.0: port 1 not reset yet, waiting 50ms
ehci_hcd 0000:00:03.2: port 1 full speed --> companion
ehci_hcd 0000:00:03.2: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT
ohci_hcd 0000:00:03.0: wakeup
ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [0] = 0x00010101 CSC PPS CCS
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
ohci_hcd 0000:00:03.0: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PPS PES CCS
usb 1-1: new full speed USB device using address 2
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: default language 0x0409
usb 1-1: Product: DIMAGE CAMERA
usb 1-1: Manufacturer: MINOLTA DIMAGE CAMERA
usb 1-1: hotplug
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usb 1-1:1.0: hotplug
Initializing USB Mass Storage driver...
usb-storage 1-1:1.0: usb_probe_interface
usb-storage 1-1:1.0: usb_probe_interface - got id
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x0686, Product: 0x4014, Revision: 0x0001
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Vendor: MINOLTA DIMAGE CAMERA , Product: DIMAGE CAMERA
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
usb-storage: GetMaxLUN command result is 0, data is 0
usb-storage: storage_probe() failed
usb-storage: -- usb_stor_release_resources
usb-storage: -- dissociate_dev
usb-storage: probe of 1-1:1.0 failed with error -1
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Regards,
Stef
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users