LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to start with programming serial device drivers in Linux (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-start-with-programming-serial-device-drivers-in-linux-467722/)

swapnilborg 07-26-2006 01:52 AM

How to start with programming serial device drivers in Linux
 
Hello all,
:newbie:
I'm a newbie to Linux. I have installed Ubuntu 6.06
gcc 4.03

I need to write a device driver for serial card reader. :scratch:

Please help me on what are the things i need to consider or the information that i need to gather to start on this.

I'm able to talk to the device on Hyperterminal.

I currently have the device datasheets.

randyding 07-27-2006 12:40 AM

If all you need to do is send bytes to the card reader and read bytes from the card reader you don't have to create your own device driver. The one supplied with your Linux distro can be used.
I have an example user program that opens the serial port for IO, you can download it here.

swapnilborg 08-21-2006 01:45 AM

Thanks.

I'll get started with it..
and will post if i face difficulties


All times are GMT -5. The time now is 04:00 AM.