unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Albin <albin@fripost.org>
Cc: help-guix@gnu.org
Subject: Re: MacBook2,1 keyboard and touchpad issues on GuixSD
Date: Tue, 26 Jan 2016 15:23:43 +0100	[thread overview]
Message-ID: <87bn88s9lc.fsf@gnu.org> (raw)
In-Reply-To: <56A5714B.80804@fripost.org> (albin@fripost.org's message of "Mon, 25 Jan 2016 01:50:19 +0100")

Hello!

Albin <albin@fripost.org> 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’ve seen,
but it would be good to a least give pointers to ‘loadkeys’ 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 `=` which are the correct ones.

I’m afraid I don’t fully understand what’s supposed to happen and what
doesn’t 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 <http://bugs.gnu.org/20433> and
we were waiting for confirmation of exactly which modules need to be
added to the initrd.

The initrd already contains ‘usbhid’ by default.  From what I can see,
all that’s missing is ‘hid-generic’ and ‘hid-apple’:

--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/z0xxbhn83bfiiwwlmxdp7r623p3swnzk-linux-modules/hid.ko
-r--r--r--   1 root     root        90880 Jan  1  1970 ./gnu/store/z0xxbhn83bfiiwwlmxdp7r623p3swnzk-linux-modules/usbhid.ko
--8<---------------cut here---------------end--------------->8---

Is there a risk of conflict if we load all these drivers?  If not, let’s
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™ 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 “working” 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—that’s 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 ‘guix system’ work for you?  Did you have
to run the ‘insmod’ and ‘cryptomount’ commands in GRUB as reported at
<http://bugs.gnu.org/21843>?

Thanks,
Ludo’.

  reply	other threads:[~2016-01-26 14:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25  0:50 MacBook2,1 keyboard and touchpad issues on GuixSD Albin
2016-01-26 14:23 ` Ludovic Courtès [this message]
2016-01-26 19:52   ` Albin
2016-01-28 14:33     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bn88s9lc.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=albin@fripost.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).