PDA

View Full Version : Windows driver to Ubuntu driver ???



shg234
June 10th, 2009, 03:31 AM
Hi all,

I'm doing a hobby project with some embedded touch panels. For running a simple demo for my project I have a windows driver and a piece of small demonstration software. It runs quite well in my Windows XP, now as an Ubuntu fan I want to run the same demo software in Ubuntu. But the driver I have is only supported by windows.

Now, can anyone help me to convert my windows driver to Ubuntu driver?? Please enlight something on this topic. I've never experienced linux driver before.

Note: If needed, I can provide the C/C++ source code of my windows driver.

dileepm
June 10th, 2009, 10:18 AM
What kind of driver program is it?

shg234
June 10th, 2009, 04:23 PM
What kind of driver program is it?
Can you please ask more specifically???

PmDematagoda
June 10th, 2009, 05:23 PM
Can you please ask more specifically???

He's asking what kind of driver it is that you created, whether it is an input device driver, graphics card driver, sound card driver or whatever. From what I see in your first post, I'm guessing it's a driver for an input device like a mouse or keyboard?

johnl
June 10th, 2009, 10:22 PM
If your device connects to the PC through a serial port it should be a fairly easy task. You won't need to write an actual 'driver', just setup the linux serial port in the expected mode and write some code to talk to your device.

If your device connects via USB it might be more difficult.

shg234
June 11th, 2009, 02:44 AM
He's asking what kind of driver it is that you created, whether it is an input device driver, graphics card driver, sound card driver or whatever. From what I see in your first post, I'm guessing it's a driver for an input device like a mouse or keyboard?

Yes, you are right, it's an input device.
To be more specific, its an embedded 3inch X 7inch touch panel to take input by touching that panel.

Its encouraging to get reply from such experienced people like you...

shg234
June 11th, 2009, 03:04 AM
If your device connects to the PC through a serial port it should be a fairly easy task. You won't need to write an actual 'driver', just setup the linux serial port in the expected mode and write some code to talk to your device.

How to setup the ubuntu serial port in an expected mode?? where to write those codes? Even though my device has no serial port, I would like to learn the process.



If your device connects via USB it might be more difficult.

Its difficult!! Oh ...no... I'm afraid my device is a USB input device. Now, how to start??

leblancmeneses
June 11th, 2009, 03:16 AM
sweet so you used wdk sdk?

something i've been meaning to do.. http://osrfx2.sourceforge.net/
he has it working in ubuntu

actually i have the hardware but haven't had time to run it....

maybe its time...

shg234
June 12th, 2009, 08:37 AM
something i've been meaning to do.. http://osrfx2.sourceforge.net/
he has it working in ubuntu

actually i have the hardware but haven't had time to run it....

From where I can have this board? if you have no time to run it, send it to me :) ...

shg234
June 23rd, 2009, 04:00 AM
Can anyone tell me about some open source linux driver for USB input device??? please...:popcorn: