all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: 35574@debbugs.gnu.org
Cc: wisdomlight@protonmail.com
Subject: bug#35574: bcm5974 touchpad is not recognized as touchpad
Date: Mon, 20 Apr 2020 16:47:18 +0200	[thread overview]
Message-ID: <20200420144718.ehopbrz7hzvn5vxx@pelzflorian.localdomain> (raw)
In-Reply-To: <20200116233537.myczkgkwnfpn75hu@pelzflorian.localdomain>

On Fri, Jan 17, 2020 at 12:35:39AM +0100, pelzflorian (Florian Pelz) wrote:
> Indeed for me on good boots, the command `lsusb -t` prints
>     |__ Port 3: Dev 2, If 2, Class=Human Interface Device, Driver=bcm5974, 12M
> while on bad boots it says Driver=usbmouse.

The issue with Macbook bcm5974 touchpads is a race between the bcm5974
kernel module and the usbmouse kernel module, especially on cold
boots.  Indeed a remedy is to run as root

rmmod usbmouse
rmmod bcm5974
modprobe bcm5974

Then the touchpad works again in all directions and not just for
scrolling up-down.  The converse is also true;

rmmod bcm5974
rmmod usbmouse
modprobe usbmouse

breaks the touchpad again.

However I also cannot find the reason why this usbmouse loadable
kernel module gets loaded at all.  How can I debug what loads this
kernel module?  Debian does not show usbmouse in lsmod, and I think
usbmouse should not get loaded in Guix either.  usbmouse is not
required for my external USB mouse to work.

To quote the linux-4.19.95 source file drivers/hid/usbhid/Kconfig

config USB_MOUSE
        tristate "USB HIDBP Mouse (simple Boot) support"
        depends on USB && INPUT
        ---help---
          Say Y here only if you are absolutely sure that you don't want
          to use the generic HID driver for your USB mouse and prefer
          to use the mouse in its limited Boot Protocol mode instead.

          This is almost certainly not what you want.  This is mostly
          useful for embedded applications or simple mice.


Other workarounds I tried were using Wayland instead of X11, but sway
does not run for me, weston does not build and sddm set to Wayland or
a GNOME Wayland session exhibit the same mouse issue.  Building a
kernel with these modules built-in instead of loadable (=y instead of
=m in the kernel config) helped, but I suppose the modules should be
loadable.

Regards,
Florian

  parent reply	other threads:[~2020-04-20 14:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05  6:54 bug#35574: bcm5974 touchpad is not recognized as touchpad pelzflorian (Florian Pelz)
2019-05-05  7:41 ` pelzflorian (Florian Pelz)
     [not found]   ` <20200116233537.myczkgkwnfpn75hu@pelzflorian.localdomain>
2020-04-20 14:47     ` pelzflorian (Florian Pelz) [this message]
2020-04-20 15:59       ` pelzflorian (Florian Pelz)
2020-04-20 22:26         ` Bengt Richter
2020-04-27  0:32           ` pelzflorian (Florian Pelz)
2020-04-27  0:28         ` pelzflorian (Florian Pelz)
2020-04-27  6:36           ` Mathieu Othacehe
2020-04-28  9:45             ` pelzflorian (Florian Pelz)
2020-04-28 14:10               ` Brice Waegeneire
2020-04-29 15:27                 ` pelzflorian (Florian Pelz)
2020-04-29 15:38                   ` Mathieu Othacehe
2020-04-29 16:41                     ` pelzflorian (Florian Pelz)
2020-04-29 16:42                       ` pelzflorian (Florian Pelz)
2020-04-29 18:31                         ` Mathieu Othacehe
2020-04-29 18:46                           ` Brice Waegeneire
2020-05-01  8:57                             ` pelzflorian (Florian Pelz)
2020-05-01  8:33                       ` pelzflorian (Florian Pelz)
2020-05-01  9:15                   ` pelzflorian (Florian Pelz)

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

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

  git send-email \
    --in-reply-to=20200420144718.ehopbrz7hzvn5vxx@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=35574@debbugs.gnu.org \
    --cc=wisdomlight@protonmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.