Page 3 of 8
Re: Kernel 5.2
Posted: Sun May 12, 2019 11:03 am
by xeno74
I think the problem with the Logitech wireless USB mouse is somewhere in the file
a/drivers/hid/hid-logitech-dj.c.
Maybe this is the problem:
Code: Select all
struct dj_device {
struct hid_device *hdev;
struct dj_receiver_dev *dj_receiver_dev;
- u32 reports_supported;
+ u64 reports_supported;
u8 device_index;
};
Re: Kernel 5.2
Posted: Sun May 12, 2019 5:56 pm
by xeno74
Hi Ace,
I undid the changes in the file
drivers/hid/hid-logitech-dj.c today. After that I created a new test kernel.
Download:
uImage-hid2
Please test this kernel with your Logitech wireless USB mouse.
Just for info. The kernel developers rewrote the complete code for the Logitech wireless receivers.
They wrote:
logitech-dj has historically been treating devices behind non-unifying receivers as generic devices, using the HID emulation in the receiver. That had several shortcomings (special keys handling, battery level monitoring, etc). The driver has been reworked to enumarate (and directly communicate with) the devices behind the receiver, to avoid the (too) generic HID implementation in the receiver itself. All the work done by Benjamin Tissoires and Hans de Goede.
This is the reason why your outputs of '
xinput list' are so different between the
DRM11 and
alpha2.
DRM11:
Code: Select all
↳ Logitech USB Receiver id=7 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Consumer Control id=8 [slave pointer (2)]
alpha2:
Code: Select all
⎜ ↳ Logitech M280/320/275 id=7 [slave pointer (2)]
Thanks,
Christian
Re: Kernel 5.2
Posted: Mon May 13, 2019 3:41 am
by acefnq
Christian
HID2 boots to Firepro and Logitech mouse works fine.
allan@Amigaone:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 Consumer Control id=7 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 id=9 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Consumer Control id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ SteelSeries SteelSeries Rival 100 Gaming Mouse id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 id=6 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 System Control id=8 [slave keyboard (3)]
allan@Amigaone:~$
Thanks
ace
Re: Kernel 5.2
Posted: Mon May 13, 2019 5:32 am
by xeno74
acefnq wrote:Christian
HID2 boots to Firepro and Logitech mouse works fine.
allan@Amigaone:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 Consumer Control id=7 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 id=9 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver Consumer Control id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ SteelSeries SteelSeries Rival 100 Gaming Mouse id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 id=6 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 System Control id=8 [slave keyboard (3)]
allan@Amigaone:~$
Thanks
ace
Hi Ace,
Thanks a lot for testing!

Now, we definitely know, that the issue is somewhere in the file
a/drivers/hid/hid-logitech-dj.c of the
HID updates.
Cheers,
Christian
Re: Kernel 5.2
Posted: Mon May 13, 2019 5:33 pm
by xeno74
Hi All,
I released the
alpha4 of kernel
5.2 for testing today.
New:
It also includes:
- X5000 and X1000: vgaarb patch for solving the issue with two graphics cards in an AmigaOne. Link to the bug report: Bug 109345 - drm-next-2018-12-14 -Linux PPC
- X1000: pata_of_platform-v2 patch for solving the issues with new CF cards connected to the onboard CompactFlash Card Slot
- X1000: Disabling the kernel config options CONFIG_PATA_PCMCIA, CONFIG_PCMCIA, and CONFIG_ELECTRA_CF for the pata_of_platform-v2 patch
- X1000: compressed kernel (zImage) and uncompressed kernel (vmlinux)
CF cards test thread:
forum.hyperion-entertainment.com
Download:
linux-image-5.2-alpha4-X1000_X5000.tar.gz
Screenshot of Fienix PowerPC with the kernel 5.2-alpha4:
BTW, I created a new PowerPC cross compiling environment on ubuntu MATE 18.04.2 LTS x86_64 (GCC 7.4.0) today. This kernel has been compiled with this new cross compiling environment.
@SailorMH
Please test it with your CF cards.
@Ace
Please test the default kernel (
uImage-5.2) with your two installed graphics cards and the additional test kernel (
uImage-hid3) with your Logitech wireless USB mouse.
Thanks,
Christian
[1] I changed all lines with "
u64 reports_supported;" to "
u32 reports_supported;" in the file "
a/drivers/hid/hid-logitech-dj.c".
Re: Kernel 5.2
Posted: Mon May 13, 2019 8:23 pm
by Skateman
Kernel 5.2 Alpha 4 running on the AmigaOne X5000 with the latest version of ArcticFox 27.9.17
Big picture
http://www.skateman.nl/wp-content/uploa ... 202002.png
Re: Kernel 5.2
Posted: Tue May 14, 2019 5:28 am
by xeno74
Skateman wrote:Kernel 5.2 Alpha 4 running on the AmigaOne X5000 with the latest version of ArcticFox 27.9.17
Many thanks for testing the alpha4!

Re: Kernel 5.2
Posted: Tue May 14, 2019 10:12 am
by acefnq
Christian
Both boot to Firepro but Logitech mouse does not work with either.
ace
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 Consumer Control id=7 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 id=9 [slave pointer (2)]
⎜ ↳ SteelSeries SteelSeries Rival 100 Gaming Mouse id=10 [slave pointer (2)]
⎜ ↳ Logitech Wireless Mouse PID:4040 id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 id=6 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 System Control id=8 [slave keyboard (3)]
allan@Amigaone:~$
Re: Kernel 5.2
Posted: Tue May 14, 2019 10:47 pm
by xeno74
acefnq wrote:Christian
Both boot to Firepro but Logitech mouse does not work with either.
ace
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 Consumer Control id=7 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 id=9 [slave pointer (2)]
⎜ ↳ SteelSeries SteelSeries Rival 100 Gaming Mouse id=10 [slave pointer (2)]
⎜ ↳ Logitech Wireless Mouse PID:4040 id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 id=6 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 System Control id=8 [slave keyboard (3)]
allan@Amigaone:~$
Hi Allan,
Thanks a lot for testing the kernels!
Could you please file a bug report at
https://bugzilla.kernel.org/buglist.cgi?component=Input Devices?
Thanks,
Christian
Re: Kernel 5.2
Posted: Wed May 15, 2019 9:45 am
by xeno74
Hi Allan,
Could you also please create the following xorg.conf (
/etc/X11/xorg.conf) and reboot your X5000 with the
stable kernel
5.1?
Code: Select all
Section "Device"
Identifier "ATI RV620 [FirePro 2260]"
BusID "PCI:5@4096:0:0"
EndSection
Thanks,
Christian