From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d9114fceeba0630 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-08 13:05:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Rupert Pigott" Newsgroups: comp.lang.ada Subject: Re: USB I/O Date: Wed, 8 Jan 2003 21:05:52 -0000 Message-ID: References: <20021027081311.15858.00000633@mb-ct.aol.com> NNTP-Posting-Host: darkboong.demon.co.uk X-Trace: news.demon.co.uk 1042059949 28004 80.177.7.220 (8 Jan 2003 21:05:49 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 8 Jan 2003 21:05:49 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MSMail-Priority: Normal Xref: archiver1.google.com comp.lang.ada:32774 Date: 2003-01-08T21:05:52+00:00 List-Id: "Marin David Condic" 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