-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new firmware and RFIC-MOUSE problem #1189
Comments
You say a08ece3d48c3c40bf1b501772af9933249c11c5b is working, but which is the first version of rpi-update firmware that shows the issue? |
Thank you for your answer! I used this website to see the available versions: Nothing works since the Feb 12. 2019 (4.14.98) update. I have tried almost all of them. Do you know if there is anything between 4.14.98 and 4.19.23? Buster seems to work with 4.14 except Chromium. |
In that case it's likely to be an upstream bug, since there were no (or very few) downstream changes other than those required to get 4.19 compiling/booting correctly. In particular there were no downstream changes to the USB host driver. Can you post the output of |
Thank you again for your time, I am really grateful that somebody looks into it. working 4.14.98: not working 4.19.23: You can buy these under several brands and places (offline or online). For example Amazon or Aliexpress. There are different versions, MX3, for example, has fewer keys, I don't know if it has the issue or not. I can replicate the problem with several T3s and Raspberries (Pi3 and Pi3+) and it only occurs when the gyroscope is active. |
If it is a firmware issue, then we would need @JamesH65 or @popcornmix to comment. The kernel should be handling devices and not the firmware (if I'm not wrong)... |
I don't know either, unfortunately I am not a Linux expert :-( I have checked the output of dmesg and it seems that 4.19.23 recognises more devices than 4.14.98. Is it possible to simply disable the extras until somebody can figure out what is wrong? 4.14.98 4.19.23 |
Annoyingly, lsusb doesn't dump the HID report descriptors. Can you run |
Of course. Here. |
Having same issues with freeway mx3 mouse, upgraded stretch had issues with mouse, then installed buster and same issue. On stretch I have SSH and noticed CPU goes very high and runs out of memory and logs out, on buster mouse moves but clicks work. |
Yes, I also noticed the high CPU usage under Stretch. So MX3 is also affected. :-( |
Can you try adding usbhid.mousepoll=0 to cmdline.txt? |
If mousepoll doesn't change the behaviour then can you |
usbhid.mousepoll=0 had no effect at all :-( Here is the log of evtest. The screen is quickly filled with these lines... If it helps I am willing to order a T3 for you. In the school, we have about 30 classrooms with Raspberry based multimedia centres and the teachers operate them with the help of these remotes. Thank you for your time. |
The clue is that the mouse input is spamming scrollwheel events with completely nonsensical offsets - if I plug in a mouse and do the same test, I get one or two +1 / -1 events for each click of the wheel. Yet that device is reporting 6 mousewheel events every 16ms. If you can email info@raspberrypi.org and quote the github issue in the link, we can start a dialogue about getting hold of the problem hardware. |
Email has been sent :-). |
I think that you're posting this in the wrong forum. If it's kernel related (which looks so), then it should be posted here. https://github.com/raspberrypi/linux/issues HID devices are handled by the kernel and not the firmware (for GPU). Please post in the relevant forum to get a reply. |
Dear lwpz, Thank you, I didn't know that. If it is possible I agree to move the whole topic under a different category. Can you help me with that? Because there are several comments here I think it would be a mistake to start it from scratch. P.S.: The link does not work correctly, it points back to the firmware category. |
Hi Bacsom,
I’m not able to move. You’ll need to post again and put a link to this post
Try this link. https://github.com/raspberrypi/linux/issues
You can see it being “Linux” and not “Firmware”.
If the older kernel works for you, I don’t see why you can’t just stick to that?
You might want to consider to speak to your manufacturer of the hardware?
Thanks
Regards,
Wern Pin
… On 20 Jul 2019, at 19:04, bacsom ***@***.***> wrote:
Dear lwpz,
Thank you, I didn't know that. If it is possible I agree to move the whole topic under a different category. Can you help me with that? Because there are several comments here I think it would be a mistake to start it from scratch.
P.S.: The link does not work correctly, it points back to the firmware category.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It has crossed my mind to write to the manufacturer directly, and maybe I will do so, but because these remotes are sold under different brands it is not as easy as it looks. As I mentioned in my first post, older kernel works, but only under Stretch. In Buster, reverting back 4.14.98 brakes Chromium (it doesn't start). Also, maybe it is still easier to hunt this bug down now, then in the future, when Stretch won't be an option at all. I will consider an other topic under the right category, thank you for the suggestion. |
The issue is with the Linux kernel rather than videocore firmware, but there's no point in cross-posting, as the same people watch both repositories. |
I am now in possession of a device kindly provided by @bacsom. Initial observations on latest 4.19 (and a Pi 4):
|
You are welcome, I hope it will help to get to the bottom of this. :-) It definitely has to do something with the gyroscope because when I turn the mouse function off, it works correctly. |
As an immediate workaround, it should be possible to stop X.org from seeing or interpreting the bogus scrollwheel events. This would probably be better configured in userspace rather than as a kernel quirk. As a separate line of investigation, figuring out why the kernel is reporting these events in the first place (in an apparent regression since 4.14) is the way to go. This is likely to take a long time. |
If it is not too complicated, can you tell me how to do that? I am getting better at Linux, but this is beyond my knowledge. |
imwheel looks like a useful program: |
Since yesterday I have tried different methods, unfortunately without much of a success. By remapping button 4 and 5 to button 9 imwheel stops scrolling inside of a window. BUT it also disables the OK button and scrolling still happens outside of the window (like when the cursor is above the taskbar). Using xmodmap (pointer = 1 2 3 0 0 6 7 8 9 10), scrolling still occurs inside of a window, but OK button works and outside of the window everything is fine. |
So on 4.9/4.14, the same endpoint is being polled for data, and the same data is being returned. It appears that Linux is incorrectly decoding the HID report as seen in evtest:
In 4.19 these are decoded as multiple "EV_WHEEL" events. Looking at the raw packet data, it looks like the "wheel" events are actually 16-bit values but Linux is fetching 8-bit values out of the responses - hence the huge offsets for some of these reports. The "wheel" events sort of look like accelerometer data as For now, if we can't find a way of filtering out the event forwarding to Xwindows I'd recommend using 4.14 on Stretch as upstream bugs can take a while to fix. |
This works for me: Edit: but not in Chromium. Because Chromium is special and ignores modified events. |
Thank you! Unfortunately, CLI and LibreOffice are also affected. Xmodmap definitely better than imwheel, but not a solution. :-( |
Also the media keys not working in Kodi either. Most of my life I have used windows and this seems like a driver issue but not 100% sure how Linux drivers works. Oh and I'm still using a rpi 3 and tried with stretch updated Kernal and new buster os, A lot of people seem to use the mx3 mouse with Kodi and surprised not many have complained about this issue yet. |
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
These wireless mouse/keyboard combo remote control devices specify multiple "wheel" events in their report descriptors. The wheel events are incorrectly defined and apparently map to accelerometer data, leading to spurious mouse scroll events being generated at an extreme rate when the device is moved. As a workaround, use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE to mask feeding the extra wheel events to the input subsystem. See: raspberrypi/firmware#1189 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
In our school, we use dozens of T3 AirMouses and since the latest versions of Stretch and Buster they don't work correctly. When I click on something the OS starts registering multiple mouse events (scrolling, clicking, etc...) up to the point that the system almost freeze. It must be a firmware related issue, because reverting back to an older firmware (using the command rpi-update a08ece3d48c3c40bf1b501772af9933249c11c5b (4.14.98)) solves the problem. Unfortunately, this is only a solution under Stretch, because in Buster it brakes Chromium.
Any help would be greatly appreciated!
(Maybe this is related: https://www.spinics.net/lists/linux-input/msg57789.html, similar symptoms)
The text was updated successfully, but these errors were encountered: