Help with pcmcia on an acer aspire 1400LC with 2.6.31 (possible regression?)

Dominik Brodowski linux at dominikbrodowski.net
Thu Jan 7 05:36:23 EST 2010


Hey,

On Thu, Jan 07, 2010 at 11:23:08AM +0100, Sergio Callegari wrote:
> >>7) dmesg stops at the pcmcia 0.0: registering new device (printed twice, 
> >>both
> >>for pcmcia 0.0 and 0.1), but does not say anything like 0.0: ttyS0 at I/0 
> >>0x3F8
> >>(irq = 19) is a 16550A as other laptops do with the same card.
> >>8) ttyS0 remains not responsive.
> >>    
> >
> >Could you post the output of "lspcmcia -vvv" (executed as root), please? I
> >suspect that this laptop does need more resources available (using a
> >resource database etc.)...
> >
> >  
> Sure.  Sorry for the delay, but I had to put my hands physically on that 
> laptop in order to be able to make the check
> Here is the result
> 
> Socket 0 Bridge:       [yenta_cardbus]     (bus ID: 0000:02:00.0)
>            Available IRQs: 3, 4, 10

Nothing obvious here -- but what surprises me is that the serial driver is
bound to the device, but does not print out the tty line... So here's some
more things I'd like to ask you to try:

(1) cat /proc/interrupts both for the working and the non-working case
(2) cat /proc/iomem and /proc/ioports (for both)
(3) complete dmesg for the non-working case
(4) try out to use a different IRQ for the card:
	to limit to IRQ 4:

	# echo "0x0010" > /sys/class/pcmcia_socket/pcmcia_socket0/card_irq_mask

	to limit to IRQ 10 (need to reboot or "modporbe -r pcmcia && modprobe -r yenta_socket && modprobe yenta_socket && modprobe pcmcia") in between

	# echo "0x0400" > /sys/class/pcmcia_socket/pcmcia_socket0/card_irq_mask

	to limit to IRQ 3:

	# echo "0x0008" > /sys/class/pcmcia_socket/pcmcia_socket0/card_irq_mask

Best,
	Dominik



More information about the linux-pcmcia mailing list