On Sat, 26 Jan 2008, ian wrote: > I'd like to use one of the serial ports on my embedded device from a > module (so I can write an input driver for the buttonpad on my PDA). > > I need to be able to set the data type to 8O1 and set the port speed, > and send and receive data. > > Whats the proper way to do this? Ideally I'd want to prevent userspace > being able to use the port which has the keypad connected, but not touch > the other two ports. You need to write a line discipline... have a look here: http://www.linux.it/~rubini/docs/serial/serial.html Thanks Guennadi --- Guennadi Liakhovetski - To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html