Something I wrote in my last mail gave me an idea..
Daniel Drake wrote:
In this case, both the hp8200 and the flash devices use the ATA access almost entirely (the hp8200 writes to some ISA registers during the init function, not really sure why..).
The hp8200e init function does this:
730 // Write 0x80 to ISA port 0x3F 731 732 if (usbat_write(us, USBAT_ISA, 0x3F, 0x80) != 733 USB_STOR_XFER_GOOD) 734 return USB_STOR_TRANSPORT_ERROR; 735 736 US_DEBUGP("INIT 6\n"); 737 738 // Read ISA port 0x27 739 740 if (usbat_read(us, USBAT_ISA, 0x27, status) != 741 USB_STOR_XFER_GOOD) 742 return USB_STOR_TRANSPORT_ERROR;
The usbat02-flash init doesn't. I was hoping that reading/writing to those registers on the flash device would fail (that would provide an easy distinction) but unfortunately thats not the case.
What do these reads/writes do? I did some searching but couldn't find any ISA specs that didn't require me to pay for them.
On the flash-devices, ISA port 0x27 originally reads 0xEC. After performing the same write as shown above, ISA 0x27 then reads 0x80.
Is there any sniffed data for the HP8200 available? Would anyone be available to test a patch to spit out the values of these registers on the HP8200?
Also, Alan, I did some reading up about ATA/ATAPI. If I understand it right, ATA was only for hard disks, and ATAPI came later to support CD drives, etc. This means that both the HP8200 and the flash devices are ATAPI.
Thanks, Daniel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel