[LinuxPPS] Patches for kernel 2.6.26-rc8

Rodolfo Giometti giometti at enneenne.com
Sun Jul 6 10:58:59 CEST 2008


On Sun, Jul 06, 2008 at 01:31:38AM -0700, Hal V. Engel wrote:

>    I have tested this setup and I am seeing a number of issues. I even
>    started over with fresh images just to make sure I had everything correct.
> 
>    First I still have to run setserial on the port to get things to work.
>    If I don't the OnCore driver can't communicate with the GPS.

Please, report the setserial command you used.

Also, please, add these printk()s into file drivers/serial/8250.c as
follow:

static void
serial8250_set_ldisc(struct uart_port *port)
{
        int line = port->line;
 
printk("TEST serial8250_set_ldisc line %d\n", line);
        if (line >= port->info->tty->driver->num)
                return;
 
        if (port->info->tty->ldisc.num == N_PPS) {
printk("TEST enable MS ldisc %d\n", port->info->tty->ldisc.num);
               serial8250_enable_ms(port);
	}
}

You should see the above messages when you enable the N_PPS ldisc.

Ciao,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail: giometti at enneenne.com
Linux Device Driver                          giometti at linux.it
Embedded Systems                     phone:  +39 349 2432127
UNIX programming                     skype:  rodolfo.giometti



More information about the LinuxPPS mailing list