Re: how to send the READ(10) command to usb device by assembler language?
Steffen Solyga <[email protected]> Mon, 26 Apr 2010 23:34:58 +0200
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
I never heard of a (standard) interface to the bios usb stack. So either you build your own driver(s) or you have to live with the old interfaces, namely int 13. Does the hpa bootloader work for for your drive? Then you may check ah=48h; at least it looks like some ata identify drive information. http://linux.xulin.de/asm/boot/mbr.asm http://www.ctyme.com/intr/int-13.htm Steffen On Mon, Apr 26, 2010 at 12:16 PM, Bai Shuwei <[email protected]> wrote: > The BIOS support int 13h to access the disk, but only same as sector > read/write. I want to know how to get the command to read the disk > serial number. I don't whether there are some commands can be used to > get the usb-disk serial number?