Speaking of the serial port...is it possible to use the serial port normally, while "sniffing" the data being transmitted back and forth? For example I have a pda connected to my system, and while I sync I want to see what data is traveling over the wire? Or I connected my GSM phone, and want to see the information that is being passed back and forth when connected to my computer. I think it would be really cool to pipe the "info dump", change some info around, and then send it to the pda or phone? Any ideas, or knowledge??? -----Original Message----- From: Seth Arnold [mailto:sarnold@wirex.com] Sent: Thursday, February 13, 2003 7:58 AM To: kernelnewbies@nl.linux.org Subject: Re: Serial port device driver On Thu, Feb 13, 2003 at 12:05:01AM -0500, dylan_huang@yahoo.com wrote: > I wanna write a device driver for a device connecting to a serial > port. How should I start. Any code example or document for this? If this were my problem, I'd start by looking at setserial, uucp, and minicom. All handle intimate serial details and likely provide excellent examples of handling serial ports. (You can get source for setserial, uucp, and minicom via "apt-get source", finding your distribution's .src.rpm files on their ftp/web sites, or asking google to help find the main distribution sites. :) -- Demand voting integrity: http://verify.stanford.edu/evote.html -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/