Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 22:38:35 +0100
From:      isdtor <isdtor@gmail.com>
To:        freebsd-mobile@freebsd.org
Subject:   Re: ThinkPad support
Message-ID:  <20140916213835.GA4575@localhost.localdomain>
In-Reply-To: <CAN6yY1uqYr4PL23DmQFsGXKkV_Taob7W9B_23crsdjaBvvZ1YA@mail.gmail.com>
References:  <CAAupw%2BLLtHKUUdkQ9GWo8Pge7wFMwqvnP-CXr7W1H__pwomVHA@mail.gmail.com> <CAN6yY1uqYr4PL23DmQFsGXKkV_Taob7W9B_23crsdjaBvvZ1YA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have done some more research and I think the problem is that I don't
have a devd configuration that matches my hardware. After discovering :)
and enabling acpi_ibm and setting dev.acpi_ibm.0.events to 1, I found
that any Fn+F[0-9] results in a call to /etc/rc.suspend.

Sep 16 21:44:21 host devd: Executing '/etc/rc.suspend acpi 0x03'
Sep 16 21:44:21 host acpi: suspend at 20140916 21:44:21
...
Sep 16 21:48:23 host devd: notify_clients: send() failed; dropping
unresponsive client
Sep 16 21:48:23 host devd: Executing '/etc/rc.d/moused stop ums0'
Sep 16 21:48:23 host devd: Executing '/etc/rc.resume acpi 0x03'


Stopping devd entirely and pressing just the Fn results in suspend as
well. Adding the acpi_ibm(4) example config for the T41p to devd.conf
doesn't help much. A subsequent service devd stop/service devd start did
not launch devd into the background as I would expect.

Also, related or not, there are a number of syslog entries

Sep 16 21:43:18 host kernel: ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM:
Argument #4 type mismatch - Found [Buffer], ACPI requires [Package]
(20130823/nsarguments-97)

and 

Sep 16 21:48:23 host kernel: pci0: failed to set ACPI power state D2 on
\_SB_.PCI0.EXP1: AE_BAD_PARAMETER




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140916213835.GA4575>