[LinuxPPS] Can't get /dev/pps0 to be a pps source, and a lot
of other problems
Rodolfo Giometti
giometti at enneenne.com
Sun Nov 11 11:41:02 CET 2007
On Sat, Nov 10, 2007 at 12:01:09AM -0600, MasonCide wrote:
> I haven't tried a new linuxpps version for a while, and I almost have the
> 2.6.22-rc6 patch working. I can't quite tell what's wrong. Here is some
> info:
>
> debian3:/usr/src/linux/Documentation/pps# ./ppsctl /dev/ttyS0 enable
>
> debian3:/home/tom# ls /dev/pps0
> debian3:/home/tom# ls: /dev/pps0: No such file or directory
>
> debian3:/home/tom# mknod -m 0664 /dev/pps0 c 253 0
> debian3:/home/tom# chown root:dialout /dev/pps0
Use udev for automagic device files creation.
> debian3:/usr/src/linux/Documentation/pps# ./ppsctl /dev/pps0 enable
> open: No such device or address
> debian3:/usr/src/linux/Documentation/pps# ls /dev/pps0
> /dev/pps0
Utility ppsctl must be used only on serial devices, however the above
message mean that you have no PPS devices on the system. Please, read
the wiki.
> debian3:/usr/src/linux/Documentation/pps# ./ppstest /dev/ttyS0
> trying PPS source "/dev/ttyS0"
> found PPS source #0 "serial0" on "/dev/ttyS0"
You are using old LinuxPPS version which is not supported
anymore. Please update your system.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at gnudd.com
Embedded Systems giometti at linux.it
UNIX programming phone: +39 349 2432127
More information about the LinuxPPS
mailing list