2009-06-04 09:10:15

by Ozan Çağlayan

[permalink] [raw]
Subject: [BUG] Loading parport_pc kills the keyboard if ACPI is enabled

Hi,

I was having this issue since 2.6.30_rc1 (if I remember correctly) but I
didn't have time to analyze and report here until today.

If I don't give acpi=off during boot, the keyboard becomes unusable when
udev starts. The connection type of the keyboard don't matter at all, I
tried with a USB and a PS/2 one.

I was using the system with acpi=off, today I've booted into initramfs
and loaded all the modules that seem to be loaded after a normal startup.

I inserted parport.ko and then parport_pc.ko and the keyboard is gone,
here are the last lines:

# insmod newroot/lib/modules/2.6.30_rc8-120/kernel/drivers/parport.ko
# insmod newroot/lib/modules/2.6.30_rc8-120/kernel/drivers/parport_pc.ko
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-Style at 0x378, irq 7 [PCSPP, TRISTATE]
#


Thanks,
Ozan Caglayan


2009-06-04 09:14:35

by Ozan Çağlayan

[permalink] [raw]
Subject: Re: [BUG] Loading parport_pc kills the keyboard if ACPI is enabled

Ozan Çağlayan wrote On 04-06-2009 12:12:
> Hi,
>
> I was having this issue since 2.6.30_rc1 (if I remember correctly) but I
> didn't have time to analyze and report here until today.
>
> If I don't give acpi=off during boot, the keyboard becomes unusable when
> udev starts. The connection type of the keyboard don't matter at all, I
> tried with a USB and a PS/2 one.
>

Note that the fact that the keyboard working when acpi=off seems to be
that udev don't probe parport* stuff in that case. I inserted parport by
hand and the keyboard is gone again as well:

[ 30.696938] parport_pc 00:0d: reported by Plug and Play BIOS
[ 30.697000] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 30.780388] lp0: using parport0 (interrupt-driven).
[ 30.804130] ppdev: user-space parallel port driver