Submitted for your approval, attached is a patch to support the JMTek 
USBDrive 2.0 (http://www.usbdrive.com/productinfo.html). The earlier 
"flashdrive" model is not covered by this, as it is not mass storage 
compliant. I tested the 32MB model with kernel 2.4.17, and it works 
fine. Write-protect switch changes require a replug and remodding of 
the usb-storage module, but I haven't tried to setup hotplug support on 
my Mandrake 8.1 box, so it might be more transparent if that was done.

The drive comes from the factory unpartitioned, formatted as FAT16. I 
have mounted it with msdos filesystem and exchanged data with a Windows 
98 PC. I have partitioned it with fdisk with one partition as win95 
lba, reformatted as vfat and exchanged data with a Win98 PC also.

Patch is online at http://www.pcisys.net/~brihall/usbdrive.patch


diff -ruN drivers/usb/storage_orig/unusual_devs.h 
drivers/usb/storage/unusual_devs.h
--- drivers/usb/storage_orig/unusual_devs.h     Sat Jan  5 11:40:09 2002
+++ drivers/usb/storage/unusual_devs.h  Sat Jan  5 12:04:30 2002
@@ -402,3 +402,11 @@
                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
                 0 ),
 #endif
+
+/* Submitted by Brian Hall <[EMAIL PROTECTED]> */
+UNUSUAL_DEV(  0x0c76, 0x0003, 0x0100, 0x0100, 
+               "JMTek",
+               "USBDrive",
+               US_SC_SCSI, US_PR_BULK, NULL, 
+               US_FL_START_STOP ),
+


-- 

http://www.bigfoot.com/~brihall
Linux Consultant

Close only counts in horseshoes and hand grenades!

diff -ruN drivers/usb/storage_orig/unusual_devs.h drivers/usb/storage/unusual_devs.h
--- drivers/usb/storage_orig/unusual_devs.h	Sat Jan  5 11:40:09 2002
+++ drivers/usb/storage/unusual_devs.h	Sat Jan  5 12:04:30 2002
@@ -402,3 +402,11 @@
                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
                 0 ),
 #endif
+
+/* Submitted by Brian Hall <[EMAIL PROTECTED]> */
+UNUSUAL_DEV(  0x0c76, 0x0003, 0x0100, 0x0100, 
+		"JMTek",
+		"USBDrive",
+		US_SC_SCSI, US_PR_BULK, NULL, 
+	        US_FL_START_STOP ),
+

Reply via email to