comp.lang.ada
 help / color / mirror / Atom feed
From: "Rupert Pigott" <darkboo-remove-this-ng.@hotmail.com>
Subject: Re: USB I/O
Date: Wed, 8 Jan 2003 21:05:52 -0000
Date: 2003-01-08T21:05:52+00:00	[thread overview]
Message-ID: <avi3rd$rb4$1$8302bc10@news.demon.co.uk> (raw)
In-Reply-To: apjbi9$hk0$1@slb7.atl.mindspring.net

"Marin David Condic" <mcondic.auntie.spam@acm.org> wrote in message
news:apjbi9$hk0$1@slb7.atl.mindspring.net...
> I have not done this yet. (Day ain't over, yet!) However, I'd suggest
this:
> Whatever is happening at either end of the USB port, you've *probably* got
> some kind of OS calls to deal with it. Either it looks like a file (in
which

I use OpenBSD, which inherits NetBSD's USB API... www.netbsd.org. From
what I can gather having a brief skim of the man page you ticklet USB via
ioctls
on a /dev/usb... file.

[SNIP]

> If you don't have an OS and you're trying to write low level driver code,
> then your first stop is the hardware reference manual for the device
you're
> looking at. Somewhere between that and the hardware reference for the

I'd say the first place to look is at the USB specs at : www.usb.org. The
specs appear to be free for download at http://www.usb.org/developers/docs/

Even after all that you might well need to resort to extracting information
from
the manufacturer too. The first place I'd look would be at the 'open source'
drivers & applications that talk to USB, so any BSD UNIX or Linux site
would be a good starting place. I'm not sure which site I can recommend for
that kind of info for Linux, but www.netbsd.org, www.freebsd.org and
www.openbsd.org work for the BSD ones. :)

Cheers,
Rupert





  reply	other threads:[~2003-01-08 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-27 13:13 USB I/O FranciKait
2002-10-28 12:45 ` Marin David Condic
2003-01-08 21:05   ` Rupert Pigott [this message]
2003-01-09 16:50     ` OT : mail-server hiccup ? (WasRe: USB I/O) sk
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox