On 26 April 2010 17:47, Frederic Marmond <fmarmond@xxxxxxxxx> wrote: > 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. 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? > > 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 > -- 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
- Follow-Ups:
- Re: how to send the READ(10) command to usb device by assembler language?
- From: Steffen Solyga
- Re: how to send the READ(10) command to usb device by assembler language?
- References:
- how to send the READ(10) command to usb device by assembler language?
- From: Bai Shuwei
- Re: how to send the READ(10) command to usb device by assembler language?
- From: Mike R.
- Re: how to send the READ(10) command to usb device by assembler language?
- From: Bai Shuwei
- Re: how to send the READ(10) command to usb device by assembler language?
- From: Frederic Marmond
- how to send the READ(10) command to usb device by assembler language?
- 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):