parport not working in 2.6.9

From: Ondrej Zary
Date: Sun Nov 07 2004 - 12:57:09 EST


Hello,
I've noticed that parallel port stopped working for me with 2.6.9. It works with 2.6.8.1 using the same .config - the relevant part:
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_PC_SUPERIO=y
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y

I've noticed that there's "smsc parport" instead of parport0 in /proc/ioports and new smsc_check range but the 0778-077a range is no longer there. My board has SMC Super I/O chip.

Here's "diff ioports-2.6.8.1 ioports-2.6.9" output:
3c3,4
< 0040-005f : timer
---
0040-0043 : timer0
0050-0053 : timer1
19c20
< 0378-037a : parport0
---
0378-037a : smsc parport
22a24
03f0-03f2 : smsc_check
25d26
< 0778-077a : parport0
29c30,33
< 4008-400b : ACPI timer
---
4000-4003 : PM1a_EVT_BLK
4004-4005 : PM1a_CNT_BLK
4008-400b : PM_TMR
400c-400f : GPE0_BLK


I also see some new ACPI errors during 2.6.9 startup:
ACPI: Subsystem revision 20040816
ACPI-0205: *** Error: Return object type is incorrect [\_SB_.PCI0.ISA_.UAR1._PRW] (Node c7f89f40), AE_TYPE
ACPI-0205: *** Error: Return object type is incorrect [\_SB_.PCI0.ISA_.UAR2._PRW] (Node c7f89e20), AE_TYPE
ACPI-0205: *** Error: Return object type is incorrect [\_SB_.PCI0.ISA_.LPT_._PRW] (Node c7f89c40), AE_TYPE


and this:
parport: PnPBIOS parport detected.
pnp: Device 00:0e disabled.


In 2.6.8.1, it's correct:
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
lp0: using parport0 (interrupt-driven).

If more details are needed, just ask.

--
Ondrej Zary
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/