James Courtier-Dutton :

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 ),

Try
UNUSUAL_DEV( 0x0461, 0x081d, 0x0000, 0xffff,
"PRIMAX",
"Digital Camera",
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_FIX_INQUIRY ),

Hi James,
can not work also.
that's dmesgs

hub.c: new USB device 00:14.2-2, assigned address 3
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: PRIMAX Model: Digital Camera Rev: 0110
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
usb-uhci.c: interrupt, status 3, frame# 1244
usb-uhci.c: interrupt, status 2, frame# 522
usb-storage: host_reset() requested but not implemented
scsi: device set offline - command error recover failed: host 2 channel 0 id 0 lun 0
usb-uhci.c: interrupt, status 2, frame# 484
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
usb-uhci.c: interrupt, status 2, frame# 246
usb-storage: host_reset() requested but not implemented
usb-uhci.c: interrupt, status 2, frame# 198
usb-uhci.c: interrupt, status 2, frame# 2008
usb-storage: host_reset() requested but not implemented
sdb: Unit Not Ready, error = 0x6050000
usb-uhci.c: interrupt, status 2, frame# 1960
usb-uhci.c: interrupt, status 2, frame# 1722
usb-storage: host_reset() requested but not implemented
usb-uhci.c: interrupt, status 2, frame# 1674
usb-uhci.c: interrupt, status 2, frame# 1436
usb-storage: host_reset() requested but not implemented
usb-uhci.c: interrupt, status 2, frame# 1388
usb-uhci.c: interrupt, status 2, frame# 1150
usb-storage: host_reset() requested but not implemented
sdb : READ CAPACITY failed.
sdb : status = 0, message = 00, host = 5, driver = 06
sdb : sense not available.
sdb : block size assumed to be 512 bytes, disk size 1GB.
sdb: I/O error: dev 08:10, sector 0
I/O error: dev 08:10, sector 0
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb-uhci.c: interrupt, status 2, frame# 828
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -84
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -84
usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -84
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sense key Not Ready
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sense key Not Ready
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table



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

Reply via email to