Skip to contentSkip to conversation

Question: Serial port device drivers...

DISCUSSION Wayne Price 2 participants 2 messages Nov 29, 2000

lore
Share & tools
lore
#0 lore raw

I am trying to develop a device-driver to sit above the standard serial port - in other
words, multiple processes can communicate with the driver which will translate the
information into the required serial datastream for the device. (This could be written
as a separate daemon-type process, I know, but as a kernel driver it will fit into the
scheme of our system in a much neater way).

I haven't found any other drivers in the kernel which quite do what I want, and I don't
particularly want to make a copy of the entire serial driver code and put the mods into
that (seems like a waste of space). Essentially, what I need is to have a relatively
simple driver which just calls the standard serial port routines to send/receive data.

Has this been done before, and does anyone have any sample code or hints as to what I
need to do? We are using kernel 2.2.16 (from RedHat-7.0).

Regards,

Wayne
________________________________________________________________________
Wayne Price [email protected] Acropolis Solutions Ltd
Mobile: +44 (0) 7770 376383 Home: +44 (0) 1483 531235
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 4 lines · Wayne Price

Has this been done before, and does anyone have any sample code or hints as to what I need to do? We are using kernel 2.2.16 (from RedHat-7.0).

You might want to take a look at the Axis Bluetooth stack for Linux (www.axis.com). It lives above the serial driver and sounds like it does what you are looking to do.

Hope this helps,

greg k-h

Signature · 6 lines
greg@(kroah|wirex).com
http://immunix.org/~greg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/