The device is reporting Direct-Access type, when it should be reporting
CD-ROM type.

Looking at the logs you provided, actually, it looks like it barely can
answer an INQUIRY at all.

To get something like this working, you'd have to rewrite the INQUIRY
response data to set the type to CD-ROM.  Before we go down that path,
rebuild the driver with USB Mass Storage Verbose Debug turned on so we can
see if something is going wrong with the INQUIRY or (more likely) the
device is just busted.

Matt

On Tue, Mar 02, 2004 at 01:18:29AM -0500, Kipp Cannon wrote:
> Hi,
> 
> I've got an external cd-rom drive branded a "Microtech MicroCD" that I'm
> having trouble getting to work with Linux 2.6.3 (the only version I've
> tried it with).  The drive attaches to a USB port on the host machine
> through a cable that, at the drive end, has what looks like a "VHDCI"
> high-density SCSI connector but is only about half the size.
> 
> usbview reports the drive as a "eUSB ATA/ATAPI adapter" manufactured by
> "SCM Microsystems Inc."  (vendor/product/rev = 04e6/0101/2.00).  Some
> searching on Google revealed that SCM Microsystems manufactured a
> USB-ATAPI bridge cable that has been used to attach various ATAPI drives
> to USB ports, in particular the HP 8200e/8210e CD-Writer Plus.
> 
> I suppose that's what I've got:  a parallel-port ATAPI drive that's been
> retrofitted to work with USB ports.
> 
> Anyway...
> 
> When I plug in the drive, the usb subsystem loads a bunch of stuff and
> sets the drive up on /dev/sda with the following being put in
> /var/log/messages
> 
> --- begin /var/log/messages ---
> Feb 26 19:44:45 localhost kernel: usb 1-1: new full speed USB device using address 3
> Feb 26 19:44:45 localhost kernel: SCSI subsystem initialized
> Feb 26 19:44:45 localhost kernel: Initializing USB Mass Storage driver...
> Feb 26 19:44:45 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage devices
> Feb 26 19:44:45 localhost kernel:   Vendor:           Model:                   Rev:
> Feb 26 19:44:45 localhost kernel:   Type:   Direct-Access                      ANSI 
> SCSI revision: 02
> Feb 26 19:44:45 localhost kernel: drivers/usb/core/usb.c: registered new driver 
> usb-storage
> Feb 26 19:44:45 localhost kernel: USB Mass Storage support registered.
> Feb 26 19:44:45 localhost scsi.agent[4486]: disk at 
> /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/host0/0:0:0:0
> Feb 26 19:44:45 localhost kernel: sda : sector size 0 reported, assuming 512.
> Feb 26 19:44:45 localhost kernel: SCSI device sda: 1 512-byte hdwr sectors (0 MB)
> Feb 26 19:44:45 localhost kernel:  sda:<7>usb-storage: queuecommand called
> Feb 26 19:44:45 localhost kernel:  unknown partition table
> Feb 26 19:44:45 localhost kernel: Attached scsi disk sda at scsi0, channel 0, id 0, 
> lun 0
> --- end /var/log/messages ---
> 
> If I place a disk in the drive, when I try to mount it the attempt fails
> with the following being placed in /var/log/messages:
> 
> --- begin /var/log/messages ---
> Feb 26 19:46:58 localhost kernel: attempt to access beyond end of device
> Feb 26 19:46:58 localhost kernel: sda: rw=0, want=66, limit=1
> Feb 26 19:46:58 localhost kernel: isofs_fill_super: bread failed, dev=sda, 
> iso_blknum=16, block=32
> --- end /var/log/messages ---
> 
> Does somewhat have some idea how to get this drive working?  Thanks.
> 
>                                                       -Kipp
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

A:  The most ironic oxymoron wins ...
DP: "Microsoft Works"
A:  Uh, okay, you win.
                                        -- A.J. & Dust Puppy
User Friendly, 1/18/1998

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to