HID device not working in Trisquel

5 Antworten [Letzter Beitrag]
callmeclean
Offline
Beigetreten: 03/31/2016

This is my first time using a mailing list, so please let me know if I'm
doing anything wrong.

I've got an 'Aimon XB Elite' which while primarily for xbox 360,
functions as a HID mouse & keyboard. It doesn't work on Trisquel
(doesn't even get to stage of showing in lsusb), here is the dmesg
output:

[ 3776.652445] usb 3-10: new full-speed USB device number 9
using xhci_hcd
[ 3781.667520] usb 3-10: device descriptor read/8, error -110
[ 3781.780167] usb 3-10: device descriptor read/8, error -71
[ 3782.033850] usb 3-10: new full-speed USB device number 10
using xhci_hcd
[ 3782.034053] usb 3-10: Device not responding to set address.
[ 3782.235166] usb 3-10: Device not responding to set address.
[ 3782.436113] usb 3-10: device not accepting address 10, error
-71
[ 3782.589235] usb 3-10: new full-speed USB device number 11
using xhci_hcd
[ 3782.589435] usb 3-10: Device not responding to set address.
[ 3782.790614] usb 3-10: Device not responding to set address.
[ 3782.991556] usb 3-10: device not accepting address 11, error
-71
[ 3783.144683] usb 3-10: new full-speed USB device number 12
using xhci_hcd
[ 3783.144897] usb 3-10: Device not responding to set address.
[ 3783.346072] usb 3-10: Device not responding to set address.
[ 3783.547010] usb 3-10: device not accepting address 12, error
-71
[ 3783.547113] hub 3-0:1.0: unable to enumerate USB device on
port 10

However it works perfectly fine on Ubuntu and librepup (which uses the
linux libre kernel, correct?). So my issue seems specific to Trisquel
7.0. Here is the successful dmesg output from librepup-6.0.2.2:

usb 3-10: USB disconnect, device number 5
usb 3-10: new full-speed USB device number 6 using xhci_hcd
usb 3-10: ep 0x81 - rounding interval to 64 microframes, ep desc
says 80 microframes
input: HID 0866:0001
as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/0003:0866:0001.0006/input/input16
hid-generic 0003:0866:0001.0006: input,hidraw3: USB HID v1.10
Keyboard [HID 0866:0001] on usb-0000:00:14.0-10/input0
input: HID 0866:0001
as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.1/0003:0866:0001.0007/input/input17
hid-generic 0003:0866:0001.0007: input,hiddev0,hidraw4: USB HID
v1.10 Mouse [HID 0866:0001] on usb-0000:00:14.0-10/input1

Any ideas? If I ever get it functioning, I'd like to have a go at
creating a free driver for it -- it's proprietary driver on Windows
allows you to change what keys are sent from the HID keyboard interface
for the various custom buttons, among other things.

lembas
Offline
Beigetreten: 05/13/2010

You might want to try this https://trisquel.info/en/wiki/update-linux-libre-kernel

Those instructions might be out of date but I'm sure you'll get the idea.

callmeclean
Offline
Beigetreten: 03/31/2016

Thanks for the link!
Upgrading the stack/kernel to 3.16 in the first half of that page, and
then rebooting made the mouse work. It also added a GUI to enter my
crypt passphrase on boot, which is nice.

callmeclean
Offline
Beigetreten: 03/31/2016

I should warn that using the first command from
https://trisquel.info/en/wiki/update-linux-libre-kernel has screwed a
few things up for me such as graphics for a 3D game (Unvanquished),
uninstalled some programs (eg Wine) & Trisquel now hangs/freezes on
poweroff. The last issue also occurred for Debian Jessie, both times
I've had it on this laptop.

I'll create a new thread if I can't figure these things out myself.

callmeclean
Offline
Beigetreten: 03/31/2016

I "downgraded" using the command:
sudo apt-get install --install-recommends linux-generic xserver-xorg \
libgl1-mesa-glx libegl1-mesa-drivers

All the issues seem to be gone, and my mouse still works. Very strange,
hopefully it holds up.

I suppose the xserver & gl driver packages were not even necessary, as I
wouldn't think they have anything to do with HID support?

callmeclean
Offline
Beigetreten: 03/31/2016

The freezing came back. Turning off graphics acceleration in the BIOS
(which essentially means disabling the discrete NVidia graphics card I
think) fixed the issue.