Patchwork ACPI on m57sli v1.0 - Parport & Floppy Patch

login
register
about
Submitter Harald Gutmann
Date 2009-07-02 18:22:50
Message ID <200907022022.55815.harald.gutmann@gmx.net>
Download mbox | patch
Permalink /patch/2/
State Accepted
Headers show

Comments

Harald Gutmann - 2009-07-02 18:22:50
On Thursday 02 July 2009 17:56:30 Andreas B. Mundt wrote:
> Hi everybody,
>
> just noticed that my parallel port printer unfortunately only works
>
> with the prop. BIOS:
> >From dmesg:
>
> coreboot:
> [   54.388956] lp: driver loaded but no devices found
> [   54.409159] ppdev: user-space parallel port driver
>
> prop. BIOS:
> [  179.494713] lp0: using parport0 (interrupt-driven).
> [  179.516281] ppdev: user-space parallel port driver
>
>
With the attached patch I get the following output on modprobe parport:
[   28.848297] lp0: using parport0 (polling).
[   28.858860] ppdev: user-space parallel port driver

The patch also turns on the floppy device, but I've none here to verify if it 
will work. It would be great if you can test if floppy works, so that we could 
mark the last two "not-working" parts as OK in the wiki, if it the floppy does 
its job


Regards,
Harald
> Regards,
>
> 	Andi
Harald Gutmann - 2009-07-02 18:31:50
On Thursday 02 July 2009 20:22:50 Harald Gutmann wrote:
> On Thursday 02 July 2009 17:56:30 Andreas B. Mundt wrote:
> > Hi everybody,
> >
> > just noticed that my parallel port printer unfortunately only works
> >
> > with the prop. BIOS:
> > >From dmesg:
> >
> > coreboot:
> > [   54.388956] lp: driver loaded but no devices found
> > [   54.409159] ppdev: user-space parallel port driver
> >
> > prop. BIOS:
> > [  179.494713] lp0: using parport0 (interrupt-driven).
> > [  179.516281] ppdev: user-space parallel port driver
>
> With the attached patch I get the following output on modprobe parport:
> [   28.848297] lp0: using parport0 (polling).
> [   28.858860] ppdev: user-space parallel port driver
>
> The patch also turns on the floppy device, but I've none here to verify if
> it will work. It would be great if you can test if floppy works, so that we
> could mark the last two "not-working" parts as OK in the wiki, if it the
> floppy does its job
Sry, I forgot to sign it off:
Signed-off-by: Harald Gutmann <harald.gutmann@gmx.net>

>
> Regards,
> Harald
>
> > Regards,
> >
> > 	Andi

Patch

Index: Config.lb
===================================================================
--- Config.lb	(revision 4371)
+++ Config.lb	(working copy)
@@ -196,7 +196,7 @@ 
                 			device pci 1.0 on # LPC
 						chip superio/ite/it8716f
 							# Floppy and any LDN
-							device pnp 2e.0 off
+							device pnp 2e.0 on
                 	               			# Watchdog from CLKIN, CLKIN = 24 MHz
                 	                 			irq 0x23 = 0x11 
 							# Serial Flash (SPI only)
@@ -213,7 +213,7 @@ 
                 	                 			io 0x60 = 0x2f8
                 	                			irq 0x70 = 3
 							end
-                	        			device pnp 2e.3 off #  Parallel Port
+                	        			device pnp 2e.3 on #  Parallel Port
                 	                 			io 0x60 = 0x378
                 	                			irq 0x70 = 7
 							end