[LinuxPPS] ntpd
Rodolfo Giometti
giometti at linux.it
Thu Aug 3 18:52:58 CEST 2006
On Thu, Aug 03, 2006 at 05:59:16PM +0200, Folkert van Heusden wrote:
>
> keetweej:/usr/src/ntp-dev-4.2.1p255-RC# cat /proc/pps/sources
> id mode echo name path
> ---- ------ ---- ---------------- ----------------
> 00 1133 no pps_8250_0 /dev/ttyS0
> 01 1133 no pps_8250_1 /dev/ttyS1
> 02 1133 no pps_8250_2 /dev/ttyS2
> 03 1133 no pps_8250_3 /dev/ttyS3
> 04 1133 no pps_8250_2 /dev/ttyS2
> 05 1133 no pps_8250_3 /dev/ttyS3
> 06 1133 no pps_8250_0 /dev/ttyS0
> 07 1133 no pps_8250_1 /dev/ttyS1
>
> Please note: the motherboard has 2 onboard serial ports. On the second
> (which I can access via /dev/ttyS1 with minicom) is the GPS connected.
> But there's also a plug-in pci board with 2 serial ports on it in the
> system. Maybe that screws things up?
Can you please add this line:
printk("PPS-TEST port line %d\n", port->line);
into file drivers/serial/serial_core.c as follow:
int uart_add_one_port(struct uart_driver *drv, struct uart_port *port)
{
struct uart_state *state;
int ret = 0;
BUG_ON(in_interrupt());
if (port->line >= drv->nr)
return -EINVAL;
printk("PPS-TEST port line %d\n", port->line);
state = drv->state + port->line;
mutex_lock(&port_mutex);
mutex_lock(&state->mutex);
and tell me what you get? You have to recompile the kernel...
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20060803/abab3c1f/attachment.pgp
More information about the LinuxPPS
mailing list