we need a new way to access serial ports

Trevor Astrope astrope at tabbweb.com
Sat Jun 26 23:56:30 EDT 2010


I'm pretty sure this is also the code that fails with a pci express serial 
card if you define the irq and i/o port in the kernel serial.h header with 
earlier kernels.

On Sat, 26 Jun 2010, Chris Brannon wrote:

> Apparently, what we have isn't working for some people, as of the 2.6.34
> kernel.
> Here's the piece of code from src/serialio.c which is failing:
>
> 	if (synth_request_region(ser->port, 8)) {
> 		/* try to take it back. */
> 		printk("Ports not available, trying to steal them\n");
> 		__release_region(&ioport_resource, ser->port, 8);
> 		if (synth_request_region(ser->port, 8))
> 			return NULL;
> 	}
>
> -- Chris
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



More information about the Speakup mailing list