From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: MacBook2,1 keyboard and touchpad issues on GuixSD Date: Tue, 26 Jan 2016 15:23:43 +0100 Message-ID: <87bn88s9lc.fsf@gnu.org> References: <56A5714B.80804@fripost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO4X8-0007jj-ER for help-guix@gnu.org; Tue, 26 Jan 2016 09:23:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO4X3-0006qz-Jn for help-guix@gnu.org; Tue, 26 Jan 2016 09:23:50 -0500 In-Reply-To: <56A5714B.80804@fripost.org> (albin@fripost.org's message of "Mon, 25 Jan 2016 01:50:19 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: Albin Cc: help-guix@gnu.org Hello! Albin skribis: > 1. The manual doesn't explain how to (in the installer) > (a) list the available keymaps > (b) load a keymap > (c) enable the selected keymap in the system that is to be installed. Right. Currently the installer is rough on the edges as you=E2=80=99ve see= n, but it would be good to a least give pointers to =E2=80=98loadkeys=E2=80=99= and similar commands. Would you like to propose a patch? The manual lives in doc/guix.texi in the repository. > 2. After having figured out the names of the keymaps (by looking at a > different GNU distro) I had another minor problem. I wanted to use > `se-fi-ir209` but it didn't work to load it directly. Instead I had to > first run `loadkeys se-ir209` and then `se-fi-ir209`. An example of > what happened when I tried to load `se-fi-ir209` directly was that the > buttons SHIFT+9 and SHIFT+0 printed `(` and `)` respectively instead of > `)` and `=3D` which are the correct ones. I=E2=80=99m afraid I don=E2=80=99t fully understand what=E2=80=99s supposed= to happen and what doesn=E2=80=99t work here. > 3. After installing the system with full disk encryption I first > couldn't boot the OS properly because the keyboard wasn't recognized in > time---before I was asked to enter the LUKS password. The solution was > to add the following kernel modules to the initial RAM disk: > `hid-generic`, `hid` and `hid-apple`. Great. This issue is being discussed at and we were waiting for confirmation of exactly which modules need to be added to the initrd. The initrd already contains =E2=80=98usbhid=E2=80=99 by default. From what= I can see, all that=E2=80=99s missing is =E2=80=98hid-generic=E2=80=99 and =E2=80=98hi= d-apple=E2=80=99: --8<---------------cut here---------------start------------->8--- $ gunzip -c < /run/current-system/initrd | cpio -tv | grep hid -r--r--r-- 1 root root 207688 Jan 1 1970 ./gnu/store/z0xxbhn8= 3bfiiwwlmxdp7r623p3swnzk-linux-modules/hid.ko -r--r--r-- 1 root root 90880 Jan 1 1970 ./gnu/store/z0xxbhn8= 3bfiiwwlmxdp7r623p3swnzk-linux-modules/usbhid.ko --8<---------------cut here---------------end--------------->8--- Is there a risk of conflict if we load all these drivers? If not, let=E2= =80=99s just add them. > 4. The media keys that control e.g. LCD brightness and sound level don't > work out of the box. I haven't found a solution to this yet but maybe > `pommed` (not yet packaged in GuixSD) could take care of this. OK. Someone=E2=84=A2 should package it, then. > 5. After entering Xfce I discovered that the touchpad behaved strangely. > The cursor could only move in a vertical line for example. When > opening "Session and upstart" I discovered a service named `AT-SPI D-Bus > Bus`. I enabled it and restarted Xfce after which the touchpad had a > better but not ideal behaviour: I could now move the cursor normally but > apart from that only left click was working (using the physical mouse > button). This touchpad should be able to recognize tapping so that one > can also have "right click", "middle click", two finger scrolling and > other gestures. I believe there is a problem with the synaptics driver. > Maybe it's in conflict with another driver. No idea about that one. Could it be that our Xorg is not loading the right input driver(s)? Could you compare /var/log/Xorg.0.log with what you get on a =E2=80=9Cworking=E2=80=9D distro? > As you can see I managed to fix some of the issues but a few remain. > I'd really appreciate any help with the media keys and touchpad. Thanks for sharing your problems and solution=E2=80=94that=E2=80=99s how we incrementally manage to improve things. So you have a fully-encrypted system, with an unencrypted /boot, right? Does the grub.cfg generated by =E2=80=98guix system=E2=80=99 work for you? = Did you have to run the =E2=80=98insmod=E2=80=99 and =E2=80=98cryptomount=E2=80=99 comma= nds in GRUB as reported at ? Thanks, Ludo=E2=80=99.