Hi all, On Wed, Oct 06, 2004 at 02:51:21AM -0700, Bruce M Simpson wrote: > Here is the patch I used to hack camcontrol to force the use of > MODE_SENSE_10 and MODE_SELECT_10 for UFI (umass) devices, i.e. > USB floppy drives. El stupido. I didn't realize that the mode page headers were different sizes. Considering I haven't hacked on SCSI proper in 3-5 years this is no big surprise. Here's a revised patch which correctly fetches and displays the Mode Page 0x5 (Flexible Disk Page) from my USB floppy drive (a fairly common-or-garden Y-E Data FlashBuster): empiric# camcontrol modepage 2:0:0 -m 0x05 -s Transfer rate: 500 Number of heads: 2 Sectors per track: 18 Data bytes per sector: 512 Number of cylinders: 80 Starting cylinder-write precompensation: 0 Starting cylinder-reduced write current: 0 Drive step rate: 0 Drive step pulse width: 0 Head settle delay: 0 Motor on delay: 5 Motor off delay: 30 TRDY: 0 SSN: 0 MO: 0 SPC: 0 Write Compensation: 0 Head load delay: 0 Head unload delay: 0 Pin 34: 0 Pin 2: 0 Pin 4: 0 Pin 1: 0 Medium rotation rate: 300 This geometry looks correct. Please let me know your thoughts. Regards, BMS
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC