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 <baishuwei@xxxxxxxxx>: > On 26 April 2010 10:09, Mike R. <noodlesgc@xxxxxxxxx> 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 <baishuwei@xxxxxxxxx> 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: baishuwei@xxxxxxxxx >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in >>> the body of a message to majordomo@xxxxxxxxxxxxxxx >>> 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 majordomo@xxxxxxxxxxxxxxx >> 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: baishuwei@xxxxxxxxx > -- > To unsubscribe from this list: send the line "unsubscribe linux-assembly" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- References:
- Prev by Date: Re: how to send the READ(10) command to usb device by assembler language?
- Next by Date: Re: how to send the READ(10) command to usb device by assembler language?
- Previous by thread: Re: how to send the READ(10) command to usb device by assembler language?
- Next by thread: Re: how to send the READ(10) command to usb device by assembler language?
- Index(es):