[LinuxPPS] CentOS 6 issues with pps device

Skunk Worx skunkworx at verizon.net
Sun Sep 18 23:26:44 CEST 2011


Hi Nick,

<snip>
> ldattach -d -8 -n -1 -s 4800 18 /dev/ttyS0
>
> ldattach:opened /dev/ttyS0
>
> ldattach:set to raw 4800 8n1: cflag=0x8bc
>
> ldattach: cannot set line discipline: Invalid argument
<snip>

strace shows :

ioctl(3, TIOCSETD, [18])                = -1 EINVAL (Invalid argument)

The LinuxPPS install Wiki says full support wasn't integrated into the 
linux kernel 2.6.34, and Centos 6 is running 2.6.32.

The kernel likely needs patching.

---
John

Ref :

http://wiki.enneenne.com/index.php/LinuxPPS_installation

http://lxr.linux.no/linux+v2.6.34/drivers/pps/clients/pps-ldisc.c



More information about the LinuxPPS mailing list