Re: how to send the READ(10) command to usb device by assembler language?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Security]     [Linux C Programming]     [Linux for Hams]     [DCCP]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux