Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 11:32:18 +0200
From:      Natacha =?iso-8859-1?Q?Port=E9?= <natbsd@instinctive.eu>
To:        =?utf-8?B?0JvRjtCx0L7QvNC40YAg0JPRgNC40LPQvtGA0L7Qsg==?= <nm.knife@gmail.com>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: How can I help with thinkpad x220 issues?
Message-ID:  <20120626093217.GA16151@sigil.instinctive.eu>
In-Reply-To: <CAHi1JsdfZKkXH4aiCZEGoZV%2BmL0Jj2cK7=bRkMP2XrVSK%2BW7sw@mail.gmail.com>
References:  <20120523151357.GC97037@sigil.instinctive.eu> <CAHi1JscriYL2AAOe0oxgncdi332Ob3sEvdm%2BZ5AuezmJq-2qpA@mail.gmail.com> <20120529093812.GH97037@sigil.instinctive.eu> <CAN6yY1s0AphtgoqY%2BzNASvgOo8fJM=4PSnBoKm%2BrE34nEC%2BAPw@mail.gmail.com> <20120530080148.GJ97037@sigil.instinctive.eu> <CAHi1JsdfZKkXH4aiCZEGoZV%2BmL0Jj2cK7=bRkMP2XrVSK%2BW7sw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

on Wednesday 30 May 2012 at 01:07, =D0=9B=D1=8E=D0=B1=D0=BE=D0=BC=D0=B8=D1=
=80 =D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=BE=D0=B2 wrote:
> Natacha, have a look at this thread, esp. instructions by Toto:
> http://forums.freebsd.org/showthread.php?t=3D21852&page=3D5

That's actually what I followed, except with merging from current
instead of using external patches.

> In either case if you messed up too much I recommend a clean install.
> Follow Toto's instructions.

That turned out to be the solution. I don't know exactly what was wrong,
but it was somewhere in X: I deleted /usr/local /var/db/ports and
/var/db/pkg and restarted from scratch, and since then video
acceleration.


I still have a few ACPI-related (I think) issues. For each of them,
would you please tell me which ones are supposed to work (and I'm doing
something wrong) and which ones are known not to work (and I'll try to
figure out a solution)?

  *  power button doesn't work: I'm used (on desktops too) to have ACPI
somehow make it so that pressing the power button triggers a clean
system shutdown, but it's not the case on my X220. Pressing the power
button for several seconds does trigger a hard power off, but that's not
what I'm interested in.

  *  "Fn" key is registered as a sleep button: it is interpreted as
XF86Sleep (keycode 150), but even when unbound in X it still triggers a
suspend when pressed for a few seconds. Unintended suspends (e.g. when
missing Ctrl key) are already uncomfortable by themselves, but they are
made even worse by the nonfunctional resume.
     However, when I change sysctl hw.acpi.sleep_button_state to S5
(as a workaround for nonfunctional power button), "Fn" alone has no
longer any effect other than sending XF86Sleep to X, and "Fn"+F4
correctly shuts down the system.

  *  Disk led is never on, even when there is heavy disk activity.
That's a very minor annoyance, but it would still be nice to see it
solved.

  *  "Fn"+"Fsomething" keys don't work, except for "Fn"+F4: I would
consider them as functional if they sent some events to X (like
"Fn"+arrows correctly send XF86AudioPlay, XF86AudioPrev, XF86AudioNext
and XF86AudioStop) or if they were acted upon directly (like "Fn"+PgUp
correctly switches the ThinkLight).

  *  There is no way of selecting a pointing device. That's why I looked
at "Fn"+F8 in the first place, since it's supposed to cycle between
track-point only, touchpad only and both. Usually I'm fine with what I
select from the BIOS, but there has been several times when I wished I
could switch without rebooting. Ideally that would be hooked directly on
"Fn"+F8 and/or through a sysctl, though having it through acpi_call
would already be helpful for me.

  *  The sysctl dev.acpi_ibm.0.wlan is read-only and always 1, no matter
what the position of the physical radio switch is.

  *  Something seems wrong with beeps (system bell): the first beep
after booting sounds normal, but the following ones seem much faster
(higher pitch and shorter), as if the sampling rate was suddenly much
higher.



Thanks for your help,
Natacha Port=C3=A9



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