bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-05-01 Thread pelzflorian (Florian Pelz)
Pushed as e06664da02a829c7fa8fd084aac47c837451d57a. Closing.

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-05-01 Thread pelzflorian (Florian Pelz)
On Wed, Apr 29, 2020 at 06:46:51PM +, Brice Waegeneire wrote: > LGTM! I wonder if, as Ubuntu, we should also blacklist “usbkbd” the > counterpart of “usbmouse” or just to wait a bug report about it - if > it ever happen. I will add usbkbd to the blacklist because

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-05-01 Thread pelzflorian (Florian Pelz)
On Wed, Apr 29, 2020 at 06:41:20PM +0200, pelzflorian (Florian Pelz) wrote: > Actually in my tests I no longer need the modprobe.blacklist=radeon on > my AMD PC. I suggest the attached revert instead and will push it if > there are no objections. Reverted as 73ddcab6075f60ef9b3cd72a35fbf7f5d622b6

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-29 Thread Brice Waegeneire
On 2020-04-29 18:31, Mathieu Othacehe wrote: On Wed, Apr 29, 2020 at 06:41:22PM +0200, pelzflorian (Florian Pelz) wrote: I suggest the attached revert instead This patch and the associated revert look fine to me. Let's maybe wait for Brice opinion. In the meantime, if you could give me your o

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-29 Thread Mathieu Othacehe
> On Wed, Apr 29, 2020 at 06:41:22PM +0200, pelzflorian (Florian Pelz) wrote: >> I suggest the attached revert instead This patch and the associated revert look fine to me. Let's maybe wait for Brice opinion. In the meantime, if you could give me your opinion on: https://lists.gnu.org/archive/h

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-29 Thread pelzflorian (Florian Pelz)
On Wed, Apr 29, 2020 at 06:41:22PM +0200, pelzflorian (Florian Pelz) wrote: > I suggest the attached revert instead Forgot attachment. From: Florian Pelz Date: Wed, 29 Apr 2020 18:22:48 +0200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [PATCH] Revert "install:

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-29 Thread pelzflorian (Florian Pelz)
On Wed, Apr 29, 2020 at 05:38:02PM +0200, Mathieu Othacehe wrote: > I know that (for now) having a mouse in the installer is not very > useful. But maybe `kernel-arguments' in (gnu system install) should > inherit from this field? Actually in my tests I no longer need the modprobe.blacklist=radeon

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-29 Thread pelzflorian (Florian Pelz)
On Tue, Apr 28, 2020 at 02:10:58PM +, Brice Waegeneire wrote: > Keeping this module enabled in the kernel seems a good idea, > […] > Passing arguments to the kernel to blacklist a module is the correct way of > doing this currently FWIU; it's already used in gnu/system/install.scm. Thank you.

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-29 Thread Mathieu Othacehe
Hello Florian, > This avoids a race with the bcm5974 kernel module. > Fixes . This seems indeed better than not building the module. I know that (for now) having a mouse in the installer is not very useful. But maybe `kernel-arguments' in (gnu system install) should

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-28 Thread Brice Waegeneire
Hello Florian, On 2020-04-28 09:45, pelzflorian (Florian Pelz) wrote: Danny, Brice, I’m putting you in Cc, maybe you have an opinion on this? I suppose I should not change %default-extra-linux-options. Keeping this module enabled in the kernel seems a good idea, it allows support for mice sol

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-28 Thread pelzflorian (Florian Pelz)
On Mon, Apr 27, 2020 at 08:36:37AM +0200, Mathieu Othacehe wrote: > Thanks for fixing this! This seems like a reasonable choice. However, I > noticed that on Ubuntu, CONFIG_USB_MOUSE is set to 'M'. So maybe they > have some special udev/blacklist rules to handle this case? Interesting. Thank you

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-26 Thread Mathieu Othacehe
Hello Florian, > I tested the patch with linux-libre 5.4 on various x86_64 machines and > I tested 5.4, 4.19 and 4.4 on my Macbook. I did not wait for > compilation to complete on non-Intel architectures, but I doubt the > patch causes problems. Thanks for fixing this! This seems like a reason

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-26 Thread pelzflorian (Florian Pelz)
On Tue, Apr 21, 2020 at 12:26:07AM +0200, Bengt Richter wrote: > Could the module be needed "just in case" in an initrd > but should be unloaded before pivoting in a normal case? I don’t think normal USB mice need the module because they use the usbhid kernel module. Maybe there are exotic mice,

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-26 Thread pelzflorian (Florian Pelz)
On Mon, Apr 20, 2020 at 05:59:08PM +0200, pelzflorian (Florian Pelz) wrote: > I will write and test a patch to disable the module in > %default-extra-linux-options, like the description in linux-5.4.11 > source file drivers/hid/usbhid/Kconfig recommends: The attached patch disables the usbmouse ke

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-20 Thread Bengt Richter
Hi Fllorian, On +2020-04-20 17:59:08 +0200, pelzflorian (Florian Pelz) wrote: > On Mon, Apr 20, 2020 at 04:47:18PM +0200, pelzflorian (Florian Pelz) wrote: > > However I also cannot find the reason why this usbmouse loadable > > kernel module gets loaded at all. How can I debug what loads this C

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-20 Thread pelzflorian (Florian Pelz)
On Mon, Apr 20, 2020 at 04:47:18PM +0200, pelzflorian (Florian Pelz) wrote: > 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

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-04-20 Thread pelzflorian (Florian Pelz)
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 tou

bug#35574: bcm5974 touchpad is not recognized as touchpad

2020-01-16 Thread pelzflorian (Florian Pelz)
Now that I know wisdomlight has the issue too on their Macbook Air I investigated further. >From the Linux kernel docs : > 5.2. USB Race > > The Apple multi-touc

bug#35574: bcm5974 touchpad is not recognized as touchpad

2019-05-05 Thread pelzflorian (Florian Pelz)
Addendum: This never happened during half a year of using Debian 9. It did happen on GuixSD half a year ago. This happens on linux-libre-4.9 (same Linux base version as Debian 9) as well as on what recently was current linux-libre (which I can no longer use with my GPU since a few weeks ago). I t

bug#35574: bcm5974 touchpad is not recognized as touchpad

2019-05-04 Thread pelzflorian (Florian Pelz)
On *some* reboots my Macbook’s touchpad does not work properly; it behaves like mouse wheel, I can only scroll. Only when I press it down, I can move the pointer to the right, but never to the left. This happens both with synaptics and libinput driver. Restarting xorg-server does not help; this