The contents of /proc/bus/usb/devices when the unit is attached would be helpful.
It would be even more helpful if you did this without the extra unusual_devs.h entry. Matt On Mon, Oct 13, 2003 at 12:02:28PM +0800, rain.wang wrote: > Hi all, > I bought a Primax digital camera which is not supported by linux, > I tried but I can't drive it still. > I found it use a Datafab MMC reader from its windows driver info > file: > > MSFT="Microsoft" > MfgName="Microsoft" > USB\VID_07C4&PID_B004.DeviceDesc="USB Mass Storage Driver" > GenericBulkOnly.DeviceDesc="USB Mass Storage Device" > USB\VID_0461&PID_081D.DeviceDesc="Photo Power 100 MSD" > USBSTOR.SvcDesc="USB Mass Storage Device" > > so I patched unusual_devs.h under redhat9's 2.4.20-8 kernel > as: > > UNUSUAL_DEV( 0x0461, 0x081d, 0x0000, 0xffff, > "PRIMAX", > "Digital Camera", > US_SC_SCSI, US_PR_DATAFAB, NULL, > US_FL_MODE_XLATE | US_FL_START_CHECK ), > > now, it can be recognized and sda can be attached, but still hung > when mounting. kernel debug messages as: > > USB Mass Storage support registered. > hub.c: new USB device 00:11.2-2, assigned address 2 > usb-storage: act_altsettting is 0 > usb-storage: id_index calculated to be: 77 > usb-storage: Array length appears to be: 97 > usb-storage: Vendor: PRIMAX > usb-storage: Product: Digital Camera > usb-storage: USB Mass Storage device detected > usb-storage: Endpoints: In: 0xc2b94800 Out: 0xc2b94814 Int: 0x00000000 > (Period 0) > usb-storage: New GUID 0461081d0000000000000000 > usb-storage: Transport: Datafab Bulk-Only > usb-storage: Protocol: Transparent SCSI > usb-storage: *** thread sleeping. > scsi0 : SCSI emulation for USB Mass Storage devices > usb-storage: queuecommand() called > usb-storage: *** thread awakened. > usb-storage: Command INQUIRY (6 bytes) > usb-storage: 12 00 00 00 ff 00 ab c2 8b 06 1a c0 > usb-storage: Invoking Mode Translation > usb-storage: datafab_transport: INQUIRY. Returning bogus > response<7>usb-storage: Fixing INQUIRY data to show SCSI rev 2 > usb-storage: scsi cmd done, result=0x0 > usb-storage: *** thread sleeping. > Vendor: PRIMAX Model: Digital Camera Rev: 0110 > Type: Direct-Access ANSI SCSI revision: 02 > 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. > Attached scsi removable disk sda at scsi0, 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 00 00 > usb-storage: Invoking Mode Translation > usb-storage: datafab_transport: TEST_UNIT_READY. > usb-storage: datafab_determine_lun: locating... > usb-storage: datafab_bulk_write: len = 8 > usb-storage: datafab_raw_bulk: Transfered 8 of 8 bytes > usb-storage: datafab_bulk_read: len = 512 > usb-storage: datafab_raw_bulk: Warning. Transferred only 13 bytes > usb-storage: datafab_bulk_write: len = 8 > usb-storage: datafab_raw_bulk: Transfered 8 of 8 bytes > usb-storage: datafab_bulk_read: len = 512 > .. > > How can I drive it, can current usb-storage driver with datafab support > drive it or new codes needed? > > Regards > rain.w > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver I'm a pink gumdrop! How can anything be worse?!! -- Erwin User Friendly, 10/4/1998
pgp00000.pgp
Description: PGP signature