SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 29 | June | 2003 ]


Date: Sun, 29 Jun 2003 23:11:57 PDT7
From: Peter Skye <pskye@peterskye.com >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: Roll-your-own USB drivers

Content Type: text/plain

It's been a few years since I played around with writing OS/2 drivers.
It's really not that complicated (cough).

One of my favorite methods was to take a driver that already existed
(either OS/2 or DOS) and run it through a disassembler, then analyze the
code to see what something that actually worked was doing (the structure
of an OS/2 driver is far different than a DOS driver but the hardware
doesn't care -- it still needs the same register loads and handshakes).
IBM nicely supplies the C source code for some of their drivers and that
helps too.

Anyway, if any of you want to write an OS/2 USB driver you can start
with the DOS USB driver mentioned in the following article:

http://www.theinquirer.net/?article=10215

I haven't checked, but IBM may already offer the source for an OS/2 USB
driver. But what fun is that? Better to screw things up by yourself, I
say, than rely on someone else's miscodings.

(I suppose I should add that a well-known SCOUG member who afaik is no
longer on this list took me to great task a while back for not pointing
out that it's not the driver that's complicated, it's the DLL that sits
between the program and the driver that causes all the hair pulling. So
now you're forewarned, and I'm off the hook.)

- Peter

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


Return to [ 29 | June | 2003 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.