As the problem only appeared to happen when my modem was actively
transmitting/receiving, I thought it might be something to do with
IRQs, `setserial' or 'irqtune'. Elimination of each of these factors
had no effect. I also tried killing `gpm' when under X.
In hindsight it is a little embarassing that I didn't happen upon
this before, but I use a program callled `netkbd' to flash my
keyboard's leds when there is activity over my modem - killing this
has seemingly fixed the problem!
`netkbd' flashes the keyboard leds via calls to ioctl:
void capson(void)
{
ioctl(ttyfd,KDGETLED,&savedleds);
ioctl(ttyfd,KDSETLED,savedleds^LED_CAP);
}
void capsoff(void)
{
ioctl(ttyfd,KDGETLED,&savedleds);
ioctl(ttyfd,KDSETLED,savedleds&~LED_CAP);
}
As yet I'm still very wet behind the ears as regards the kernel
sources, but is this maybe something to do with spinlock/IRQ
mechanisms being bypassed when the keyboard is read from/written to in
this way?
Any pointers much appreciated.
-- Mike. .- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/