/dev/ttySx problems... solved

Gene Heskett gene.heskett at verizon.net
Fri Nov 10 03:48:28 UTC 2006


On Thursday 09 November 2006 22:15, Jeff Vian wrote:
>On Thu, 2006-11-09 at 21:33 -0500, Gene Heskett wrote:
>> On Thursday 09 November 2006 21:07, stan mcintosh wrote:
>> >fredex wrote:
>> >>>Stan, have you tried using setserial to examine and change the
>> >>> properties of the serial port?
>> >
>> >I hadn't tried it until I saw your message, but I have now.  setserial
>> > helped me confirm that my ports are active, especially when someone
>> > else suggested that I copy a file to the serial port.  When the pins
>> > started coming alive (yes, a scope still does come in handy), that
>> > confirmed that the problem was not in hardware, BIOS, OS, or
>> > configuration.
>> >
>> >One problem was (possibly) that 'yum install' did not give the most
>> > up_to_date version of PikDev.  When I 'yum removed' the old version
>> > and installed a more recent RPM, pin control was fine.
>> >
>> >Thanks for the help.
>> >
>> >stan
>>
>> Followup to my post of 30 seconds ago:
>> [root at coyote gene]# ls -l /dev/ttyS*
>> crw-rw---- 1 root uucp 4, 64 Nov  9 16:35 /dev/ttyS0
>> crw------- 1 root root 4, 65 Nov  9 16:35 /dev/ttyS1
>> crw------- 1 root root 4, 66 Nov  9 16:35 /dev/ttyS2
>> crw------- 1 root root 4, 67 Nov  9 16:35 /dev/ttyS3
>> [root at coyote gene]# setserial /dev/ttyS1
>> /dev/ttyS1: No such device or address
>>
>> Now I'm really scratching my ancient head, its there, but it ain't,
>> WTH?
>
>Just because the device file exists does not mean the hardware exists.
>How many physical serial ports are installed in that PC?
>
>Many newer mobos only have one serial port, which would usually be
>ttyS0.

Sorry, no treat there. :) It all runs just fine on the same hardware if I 
pull hda, rejumper hdb to be hda, and reboot to FC2 from that drive.  I've 
done that a couple of times today just to check.

The mobo has 2 serial ports, and they are both allocated to external 
hardware stuffs.  ttyS0 for monitoring my UPS, and ttyS1 for running all 
the X10 goodies.  Mobo is a biostar, 2nd generation with good caps, about 
3 years old now.

-- 
Cheers, Gene




More information about the users mailing list