PDA

View Full Version : Writing a device driver




touchscreen
Jan 24, 2008, 01:13 PM
I recently received a Fujitsu 7 wire resistive touch panel from a friend. I am planning on using it for a project with an older modal powerbook. Currently the company does not have a driver for the panel that works with any of the Mac os systems. I am wonder how hard would it be to write a driver for it myself? I am willing to put a lot of time into it. I am currently running OS 10.2.8, but if it looks like it will work am looking at upgrading to leopard. Thanks, all input is welcome.



iSee
Jan 24, 2008, 02:36 PM
That sounds pretty cool.

Here's where you want to start: http://developer.apple.com/referencelibrary/GettingStarted/GS_HardwareDrivers/index.html

How does that connect to the computer? USB?

touchscreen
Jan 24, 2008, 06:47 PM
Yeah, it just has a USB connection.

Cromulent
Jan 25, 2008, 04:40 AM
Your C/C++ programming is going to have to be reasonably good but I wouldn't say it is impossible with a little bit of effort. As long as you know the full hardware technical specifications for the device you are writing a driver for you should be fine.

iSee
Jan 25, 2008, 09:00 AM
Yeah, it just has a USB connection.

In that case, you might want to start with test apps (Id' use command line apps) to initiate USB communication with the device, rather than focusing on a system-level driver right off the bat.

Here might be a better link to start with than my previous one:
http://developer.apple.com/hardwaredrivers/customusbdrivers.html

ccorcos
Dec 3, 2011, 07:24 PM
Hello, I figured this is a similar topic:

I am trying to access the touchpad on my macbook to make some custom swipes, touches, etc. How should I go about doing this?

Can this be done in Xcode?

I am also curious how hard it would be to make a custom keyboard that can use the existing USB driver for keyboards...

Thanks

Chet

truehybridx
Dec 26, 2011, 11:21 PM
I'm interested in this topic too, are there any guides that would take a simple device and show u the process of making a driver in Mac to work with it??