2004-11-07 17:54:36

by Ondrej Zary

[permalink] [raw]
Subject: parport not working in 2.6.9

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


2004-11-08 14:30:14

by Paul Slootman

[permalink] [raw]
Subject: Re: parport not working in 2.6.9

Ondrej Zary <[email protected]> wrote:

>I've noticed that parallel port stopped working for me with 2.6.9. It works with 2.6.8.1

This was already discussed, a fix should be in 2.6.10-rc1.


Paul Slootman

2004-11-08 17:12:14

by Alan

[permalink] [raw]
Subject: Re: parport not working in 2.6.9

On Llu, 2004-11-08 at 14:30, Paul Slootman wrote:
> Ondrej Zary <[email protected]> wrote:
>
> >I've noticed that parallel port stopped working for me with 2.6.9. It works with 2.6.8.1
>
> This was already discussed, a fix should be in 2.6.10-rc1.

And 2.6.9-ac which also has a pile of security holes and other things
fixed versus 2.6.9

2004-11-08 21:10:03

by Ondrej Zary

[permalink] [raw]
Subject: Re: parport not working in 2.6.9

Paul Slootman wrote:
> Ondrej Zary <[email protected]> wrote:
>
>
>>I've noticed that parallel port stopped working for me with 2.6.9. It works with 2.6.8.1
>
>
> This was already discussed, a fix should be in 2.6.10-rc1.

Thanks, 2.6.10-rc1 works fine.

--
Ondrej Zary

2004-11-09 09:50:54

by Shaohua Li

[permalink] [raw]
Subject: RE: parport not working in 2.6.9

Hi,
I don't see ACPI anything related with the problem. The ACPI error message only effects suspend/resume. How about if you disable CONFIG_PARPORT_PC_CML1?
If still saw the issue, please try 'acpi=off'

Thanks,
Shaohua
_______________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Ondrej Zary
Sent: Monday, November 08, 2004 1:53 AM
To: Linux Kernel Mailing List
Subject: parport not working in 2.6.9

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 [email protected]
More majordomo info at? http://vger.kernel.org/majordomo-info.html
Please read the FAQ at? http://www.tux.org/lkml/