Re: how to send the READ(10) command to usb device by assembler language?
Frederic Marmond <[email protected]> Mon, 26 Apr 2010 11:47:34 +0200
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
Hi, maybe you could have a look at the bios : some bios consider usb hard drives as 'regular' ide/scsi hard drives, so they can be accessed transparently by boot loader. So, if your bios supports it, you may use its default hd functions. Fred 2010/4/26 Bai Shuwei <[email protected]>: > On 26 April 2010 10:09, Mike R. <[email protected]> wrote: >> I'm no expert, but couldn't you read from the device usb device at /dev/bus/usb? > The /proc/bus/usb is used by the application. But i want to get those > information in the bootloader. > >> --Mike >> >> >> >> On Sun, Apr 25, 2010 at 10:28 AM, Bai Shuwei <[email protected]> wrote: >>> Hi, All: >>> The usb device support READ(10) command, but how i send it to usb >>> device with assembler language? Thanks for you response! >>> >>> Best regards >>> >>> Bai Shuwei >>> >>> -- >>> Love other people, as same as love yourself! >>> Don't think all the time, do it by your hands! >>> >>> E-Mail: [email protected] >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in >>> the body of a message to [email protected] >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in >> the body of a message to [email protected] >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > > > > -- > Love other people, as same as love yourself! > Don't think all the time, do it by your hands! > > E-Mail: [email protected] > -- > To unsubscribe from this list: send the line "unsubscribe linux-assembly" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html