Hi, I have a Minolta Dimage S414 camera which worked fine with 2.4.22+ but broke when I upgraded to 2.6.8+.
I tracked the problem down to a change in drivers/usb/storage/transport.c's usb_stor_Bulk_max_lun(). In 2.4 it returns 0 by default, but in 2.6 it returns -1 if there is no answer and no stall. The problem is my camera doesn't return an answer or stall but works fine regardless. What was the reason for this change in 2.6 and could it be special-cased as needed or reverted? More syslog info below... -- James %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Sep 5 17:38:09 shiri kernel: usb 2-2.1: new full speed USB device using address 4 Sep 5 17:38:09 shiri kernel: usb 2-2.1: new device strings: Mfr=1, Product=2, SerialNumber=0 Sep 5 17:38:09 shiri kernel: usb 2-2.1: default language 0x0409 Sep 5 17:38:09 shiri kernel: usb 2-2.1: Product: DIMAGE CAMERA Sep 5 17:38:09 shiri kernel: usb 2-2.1: Manufacturer: MINOLTA DIMAGE CAMERA Sep 5 17:38:09 shiri kernel: usb 2-2.1: hotplug Sep 5 17:38:09 shiri kernel: usb 2-2.1: adding 2-2.1:1.0 (config #1, interface 0) Sep 5 17:38:09 shiri kernel: usb 2-2.1:1.0: hotplug Sep 5 17:38:09 shiri kernel: usb-storage 2-2.1:1.0: usb_probe_interface Sep 5 17:38:09 shiri kernel: usb-storage 2-2.1:1.0: usb_probe_interface - got id Sep 5 17:38:09 shiri kernel: usb-storage: USB Mass Storage device detected Sep 5 17:38:09 shiri kernel: usb-storage: -- associate_dev Sep 5 17:38:09 shiri kernel: usb-storage: Vendor: 0x0686, Product: 0x4014, Revision: 0x0001 Sep 5 17:38:09 shiri kernel: usb-storage: Interface Subclass: 0x06, Protocol: 0x50 Sep 5 17:38:09 shiri kernel: usb-storage: Vendor: MINOLTA DIMAGE CAMERA , Product: DIMAGE CAMERA Sep 5 17:38:09 shiri kernel: usb-storage: Transport: Bulk Sep 5 17:38:09 shiri kernel: usb-storage: Protocol: Transparent SCSI Sep 5 17:38:09 shiri kernel: usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1 Sep 5 17:38:09 shiri kernel: usb-storage: GetMaxLUN command result is 0, data is 0 Sep 5 17:38:09 shiri kernel: usb-storage: storage_probe() failed Sep 5 17:38:09 shiri kernel: usb-storage: -- usb_stor_release_resources Sep 5 17:38:09 shiri kernel: usb-storage: -- dissociate_dev Sep 5 17:38:09 shiri kernel: usb-storage: probe of 2-2.1:1.0 failed with error -1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ------------------------------------------------------- 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
