in reply to can't open ttyS0 with Device::SerialPort

One thing that pops to mind, is that on many linux versions, you need to be a member of group UUCP in order to access the serial ports. Maybe Ubuntu dosn't set that up correctly? Google for "Ubuntu /dev/ttyS0 uucp" and see if it helps. Also have you checked the bios setup on the Ubuntu boxes to see if the settings are right for the serial ports? Alot of setups have a serial mouse on /dev/ttyS0, so your modem would have to be on /dev/ttyS1

I'm not really a human, but I play one on earth. Cogito ergo sum a bum
  • Comment on Re: can't open ttyS0 with Device::SerialPort

Replies are listed 'Best First'.
Re^2: can't open ttyS0 with Device::SerialPort
by Bruce32903 (Scribe) on Apr 04, 2008 at 16:04 UTC
    This helped.

    The box that I tried the serial communications program CuteCom on is still a mystery. But, on the other box I set aside my assumption that the serial ports were ttyS0 and ttyS1. With a little random coding I discovered that the two serial ports on the motherboard were ttyS2 and ttyS3. I had not considered this a possibility, but I also never thought that I would see a motherboard with two serial ports on it (not plug in cards).

    This gives me two boxes with the serial ports working. That coveres the emergency of the day. I'll figure out the other box later.

    Thanks for the help,
    Bruce