USB Driver
Posted: Sat Apr 30, 2011 6:16 pm
Hi,
Im trying to develop a usb driver in the OS from my university, and I dont have idea about what´s the first step that i need consider.
I read USB Protocol Specification, and i read about the packets that i can send to the bus to comunicate usbdriver--hardware.
I need only make that the OS detect the USB connected on the computer, but, how can i send handshake packet to the usb-bus ? Whats the asm registers that i need know? Can i test the code in win32 disabling usb controller?
Im testing the OS in bochs and i dont have idea if this vm have a bridge for usb .. i dont have idea if i can test this code in bochs.
EDIT: I read http://wiki.osdev.org/USB but don´t have examples in ANSI C or asm ;(
Im trying to develop a usb driver in the OS from my university, and I dont have idea about what´s the first step that i need consider.
I read USB Protocol Specification, and i read about the packets that i can send to the bus to comunicate usbdriver--hardware.
I need only make that the OS detect the USB connected on the computer, but, how can i send handshake packet to the usb-bus ? Whats the asm registers that i need know? Can i test the code in win32 disabling usb controller?
Im testing the OS in bochs and i dont have idea if this vm have a bridge for usb .. i dont have idea if i can test this code in bochs.
EDIT: I read http://wiki.osdev.org/USB but don´t have examples in ANSI C or asm ;(