Erwin Volz | 20 Jun 2004 21:26
Picon
Favicon

Re: [PATCH 2.6.7] Parallel port detection via ACPI

Hello

I tried my hand at building the module, but so far with no success. I
had a few warnings when building the module, but I don't think thats the
problem:
  CC [M]  /usr/src/linux-2.6.5-7.75/drivers/parport/parport_pc.o
/usr/src/linux-2.6.5-7.75/drivers/parport/parport_pc.c: In function
`acpi_parport_pc_resource':
/usr/src/linux-2.6.5-7.75/drivers/parport/parport_pc.c:2939: warning:
unused variable `status'
/usr/src/linux-2.6.5-7.75/drivers/parport/parport_pc.c: At top level:
include2/asm/parport.h:14: warning: `parport_pc_find_nonpci_ports'
defined but not used
/usr/src/linux-2.6.5-7.75/drivers/parport/parport_pc.c:2834: warning:
`parport_pc_init_superio' defined but not used

Still, the card (VScom 210L) is not reacting (same situation as before).
Any ideas how I could proceed?

Erwin 

Am Fr, den 18.06.2004 schrieb Dino Klein um 21:46:
> Hi,
> I've modified the parport_pc.c file to detect parallel ports via ACPI; it is 
> partially a cut & paste from the serial port (8250) acpi code. It's kinda 
> crude, but it works. It utilizes the ACPI subsystem to get the resources 
> assigned to the port, and then passes them on to the detection routine. I've 
> verified that it is working on my machine by cycling between the modes in 
> the BIOS (spp, epp, ecp+epp), and observing proper detection in the logs.
> I commented out the pnp & non-pci detection calls, since ACPI replaces them. 
(Continue reading)


Gmane