I have a digital camera which appears as removable drive under Windows (after installing driver).
# lsusb
Bus 001 Device 004: ID 0733:2104 ViewQuest Technologies, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 Interface bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0733 ViewQuest Technologies, Inc. idProduct 0x2104 bcdDevice 0.10 iManufacturer 1 Viewquest Technologies INC iProduct 2 2.1M DigitalCAM iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1
iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 2mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 5 bInterfaceProtocol 1 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 0 Language IDs: (length=4) 0409 English(US) #
Their techsupport told me that camera is somewhat very similar to Casio QV-2100, so I wrote following entry for it:
UNUSUAL_DEV( 0x0733, 0x2104, 0x0000, 0x9009, "Rover",
"RS-2100", US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
Now it's claimed by usb-storage: # dmesg hub.c: new USB device 00:1f.2-1, assigned address 2 usb-storage: act_altsettting is 0 usb-storage: id_index calculated to be: 50 usb-storage: Array length appears to be: 92 usb-storage: Vendor: Rover usb-storage: Product: RS-2100 usb-storage: USB Mass Storage device detected usb-storage: Endpoints: In: 0xc2df4d20 Out: 0xc2df4d34 Int: 0x00000000 (Period 0 ) usb-storage: New GUID 073321040000000000000000 usb-storage: Transport: Control/Bulk usb-storage: Protocol: 8070i usb-storage: *** thread sleeping. scsi2 : SCSI emulation for USB Mass Storage devices usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Faking INQUIRY command usb-storage: scsi cmd done, result=0x0 usb-storage: *** thread sleeping. Vendor: Rover Model: RS-2100 Rev: 0010 Type: Direct-Access ANSI SCSI revision: 02 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad LUN (0/1) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (1/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (2/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (3/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (4/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (5/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (6/0) usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Bad target number (7/0) usb-storage: *** thread sleeping. WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 # (it becomes scsi2 because scsi0 is my SCSI controller and scsi1 is IDE-SCSI emulation host)
But when I try to mount /dev/sda1, it says:
# dmesg Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0 usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 bc c9 usb-storage: Call to usb_stor_control_msg() returned 12 usb-storage: -- CB transport device requiring auto-sense usb-storage: Issuing auto-REQUEST_SENSE usb-storage: Call to usb_stor_control_msg() returned 12 usb-storage: usb_stor_transfer_partial(): xfer 18 bytes usb-uhci.c: interrupt, status 3, frame# 696 usb-storage: usb_stor_bulk_msg() returned -75 xferred 0/18 usb-storage: usb_stor_transfer_partial(): unknown error usb-storage: CB data stage result is 0x2 usb-storage: -- auto-sense failure usb-storage: CB_reset() called usb-storage: CB[I] soft reset failed -110 usb-storage: CB[I] soft reset failed -110 usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 bc c9 usb-storage: Call to usb_stor_control_msg() returned -110 usb-storage: -- transport indicates error, resetting usb-storage: CB_reset() called usb-storage: CB[I] soft reset failed -110 usb-storage: scsi cmd done, result=0x70000 usb-storage: *** thread sleeping. usb-storage: queuecommand() called usb-storage: *** thread awakened. usb-storage: Command TEST_UNIT_READY (6 bytes) usb-storage: 00 00 00 00 00 00 00 00 00 00 bc c9 usb-storage: Call to usb_stor_control_msg() returned -110 usb-storage: -- transport indicates error, resetting
[multiple repeats skipped]
and, if I not switch camera off in about 10-15 seconds, kernel panics. Else it prints some SCSI layer errors (can't read capacity, device not ready, can't read partition table), and mount exits.
If I compile usb-storage with US_PR_CBI in corresponding UNUSUAL_DEV entry, I get "device is not claimed by any active driver" message. If I compile it with US_PR_BULK, switching camera off after beginning of mount doesn't save me from kernel panic.
I think maybe something is wrong with interrupt being generated by device?
Is there anything that can help me with mounting my camera under Linux? Help me please!
I've got SnoopyPro's dump of Windows driver's work and can send it if this will help.
Thanks in advance.
------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
