usb implementation?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
mcheung63
Member
Member
Posts: 175
Joined: Thu Jun 22, 2006 8:33 am
Location: Hong Kong
Contact:

usb implementation?

Post by mcheung63 »

Hi
Anyone have implemented a USB driver system in your own os? If yes, would you like to tell me which book i need to read to do that too?
thanks
from Peter
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

Send the various USB specifications to your printer, no?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
octavio
Member
Member
Posts: 94
Joined: Wed Oct 25, 2006 5:12 am
Location: Barcelona España
Contact:

Re: usb implementation?

Post by octavio »

mcheung63 wrote:Hi
Anyone have implemented a USB driver system in your own os? If yes, would you like to tell me which book i need to read to do that too?
thanks
from Peter
I have implemented it on Octaos,I don't use books but you can start here:
http://www.usb.org/developers/usbif
There is a forum to ask questions ,links to various resources,and also the usb specs in pdf format that i have readed many times.
In the forum there is a guy that write books about usb.
Implementing usb is not easy,usually when i ask on the forum i get this reply:
"you need to buy a usb analyzer" :)
In this other link there is also a example program:
http://pfranz73.googlepages.com/
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

I agree with octavio, books will be little help, you need the spec, and lots of time and hard work.
I worked so hard on mine, i am not going to give it away (its a key thing in a OS, as to why someone would use one hobby OS, over another), but theres alot nicer people out there that will give you bits of code, eg:
http://www.osdev.org/phpBB2/viewtopic.p ... hlight=usb
Post Reply