Re: psmouse doesn't seem to reinitialize after mem suspend (acpi) when using i8042 on ALi M1553 ISA bridge with 2.6.11.11 or 2.6.12-rc5?

Adam Morley
2005-06-09T02:28:41Z

[-- Attachment #1: Type: text/plain, Size: 1845 bytes --]

On 6/8/05, Adam Morley <adam.morley@gmail.com> wrote:
> Hi Dimitry,
>
> On 6/8/05, Dmitry Torokhov <dmitry.torokhov@gmail.com> wrote:
> > On 6/8/05, Adam Morley <adam.morley@gmail.com> wrote:
> > > Hi Dmitry,
> > >
> > > By Embedded Controller, do you mean CONFIG_ACPI_EC? Because I can't
> > > disable it w/o disable a bunch of ACPI modules, I think.
> >
> > As far as I remember EC is only required for smart battery supports.
> > For testing purposes it is OK to not have it.
>
> It seems that even when I set it to "# CONFIG_ACPI_EC is not set", it
> gets re-enabled by make at some point. I twiddled a couple of ACPI
> modules off (save button), and it was still re-enabled. I think I'd
> have to disable ACPI. I will play around with it some more though.

I'm still poking around trying to figure out how to disable
CONFIG_ACPI_EC. Once I get that done, I will post results. Yeah, I
can't get that to stay unset. Every time I run make, I end up with it
set to Y, even if I've disabled it before.

>
> >
> > > I did enable all the PnP options:
> > >
> > > CONFIG_PNP=y
> > > CONFIG_PNP_DEBUG=y
> > > CONFIG_ISAPNP=y
> > > CONFIG_PNPBIOS=y
> > > CONFIG_PNPBIOS_PROC_FS=y
> > > CONFIG_PNPACPI=y
> > >
> >
> > If you boot this kernel please check attributes in
> > /sys/bus/pnp/devices/* after resuming and see if any marked
> > "disabled".
>
> Ok. I will try this tonight, as I have to go to work.

In /sys/bus/pnp/drivers/i8042 aux/00:05, resources says "state = active"

in /sys/bus/pnp/devices/*, I have a bunch of directories. See the
attached "output.txt" for the output of:

(pwd ; for file in * ; do echo $file ; cat $file/resources; echo "" ;
done) > /var/tmp/output.txt

(the same timeouts for AUX, irq 12 are still happening. and the mouse
doesn't work)

--
adam

[-- Attachment #2: output.txt --]
[-- Type: text/plain, Size: 441 bytes --]

/sys/bus/pnp/devices
00:00
state = active
io 0x72-0x73
io 0x80-0x80
io 0x92-0x92
io 0xb0-0xb3
io 0xea-0xeb
io 0x40b-0x40b
io 0x480-0x48f
io 0x4d0-0x4d1

00:01
state = active
io 0x0-0xf
io 0x81-0x8f
io 0xc0-0xdf
dma 4

00:02
state = active
io 0xf0-0xfe
irq 13

00:03
state = active
io 0x70-0x71
irq 8

00:04
state = active
io 0x61-0x61

00:05
state = active
irq 12

00:06
state = active
io 0x60-0x60
io 0x64-0x64
irq 1

00:07
state = active