Need USB driver .asm listing
Posted: Thu Nov 21, 2002 12:00 am
I'm trying to write a USB device driver for an 'oddball' OS, but the 400 page usb specification is confusing and nonspecific. In short I need a turbo assembler listing for a USB driver.
I've managed to determine if a device is connected to a particular usb port, but when it comes to the get_descriptor SETUP/DATA/STATUS transactions I'm setting the run/stop bit in the command register (after setting up 3 tokens, frame lists, frame list pointers) and NOT getting the suposed 18 byte device descriptor back.
If anyone has a concise .asm (prefer turbo assembler) listing of how to implement a ''get_device_descriptor'' command for USB, then could you send me the listing via email. Ideally I'd like to get data from devices such as webcams/joysticks/etc over USB and would appreciate any .asm programs that do this.
email to [email protected]
I've managed to determine if a device is connected to a particular usb port, but when it comes to the get_descriptor SETUP/DATA/STATUS transactions I'm setting the run/stop bit in the command register (after setting up 3 tokens, frame lists, frame list pointers) and NOT getting the suposed 18 byte device descriptor back.
If anyone has a concise .asm (prefer turbo assembler) listing of how to implement a ''get_device_descriptor'' command for USB, then could you send me the listing via email. Ideally I'd like to get data from devices such as webcams/joysticks/etc over USB and would appreciate any .asm programs that do this.
email to [email protected]