I've installed everything using this tutorial and tried some of the hints posted here.
Despite many attempts I still have problems with the permissions.
Code: Select all
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
Code: Select all
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
It would be great if one of you could check what needs to be done to make it work.
Thanks a lot in advance!
Here you will find some more detailed information from my console:
Code: Select all
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
[size=150]pi@raspberrypi:~ $ sudo rpi-update 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f[/size]
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13403 100 13403 0 0 66734 0 --:--:-- --:--:-- --:--:-- 67015
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** We're running for the first time
*** Backing up files (this will take a few minutes)
*** Backing up firmware
*** Backing up modules 4.9.41-v7+
This update bumps to rpi-4.1.y linux tree
Be aware there could be compatibility issues with some drivers
Discussion here:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=113753
##############################################################
*** Downloading specific firmware revision (this will take a few minutes)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 168 0 168 0 0 242 0 --:--:-- --:--:-- --:--:-- 242
100 49.4M 0 49.4M 0 0 957k 0 --:--:-- 0:00:52 --:--:-- 583k
*** Updating firmware
*** Updating kernel modules
*** depmod 4.1.21+
*** depmod 4.1.21-v7+
*** Updating VideoCore libraries
*** Using HardFP libraries
*** Updating SDK
*** Running ldconfig
*** Storing current firmware revision
*** Deleting downloaded files
*** Syncing changes to disk
*** If no errors appeared, your firmware was successfully updated to 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f
*** A reboot is needed to activate the new firmware
pi@raspberrypi:~ $ sudo reboot
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
^C
pi@raspberrypi:~ $ libusb_open failed with error: Access denied (insufficient permissions) libusb_open failed with error: Access denied (insufficient permissions) libusb_open failed with error: Access denied (insufficient permissions)^C
pi@raspberrypi:/lib/udev/rules.d $ sudo nano 50-udev-default.rules
pi@raspberrypi:/lib/udev/rules.d $ [size=150]sudo chmod 666 /dev/uhi[/size]d
pi@raspberrypi:/lib/udev/rules.d $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)^C
pi@raspberrypi:/lib/udev/rules.d $ gimx-launcher
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
/usr/bin/xdg-open: 709: /usr/bin/xdg-open: : Permission denied
pi@raspberrypi:/lib/udev/rules.d $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:480 claim_device: libusb_open failed with error: Access denied (insufficient permissions)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
pi@raspberrypi:/lib/udev/rules.d $ sudo reboot
pi@raspberrypi:~ $ sudo gimx-launcher
PuTTY X11 proxy: Unsupported authorisation protocol
20:32:45: Error: Unable to initialize GTK+, is DISPLAY set properly?
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
[size=150]linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung[/size]
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
[size=150]/usr/bin/xdg-open: 709: /usr/bin/xdg-open: : Permission denied[/size]
-bash: udo: Kommando nicht gefunden.
pi@raspberrypi:~ $ sudo chmod 666 /dev/uhid
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
pi@raspberrypi:~ $ gimx-launcher
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
pi@raspberrypi:~ $ gimx-launcher
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
(gimx-config:1660): Gtk-WARNING **: Attempting to store changes into `/home/pi/.local/share/recently-used.xbel', but failed: Datei »/home/pi/.local/share/recently-used.xbel.6UG97Y« konnte nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
(gimx-config:1660): Gtk-WARNING **: Attempting to set the permissions of `/home/pi/.local/share/recently-used.xbel', but failed: Datei oder Verzeichnis nicht gefunden
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
(gimx-config:1742): Gtk-WARNING **: Attempting to store changes into `/home/pi/.local/share/recently-used.xbel', but failed: Datei »/home/pi/.local/share/recently-used.xbel.KJFG8Y« konnte nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
(gimx-config:1742): Gtk-WARNING **: Attempting to set the permissions of `/home/pi/.local/share/recently-used.xbel', but failed: Datei oder Verzeichnis nicht gefunden
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'
pi@raspberrypi:~ $ sudo shutdown
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
^C
pi@raspberrypi:~ $ sudo chmod 666 /dev/uhid
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
pi@raspberrypi:~ $ ^C
pi@raspberrypi:~ $ cd /lib/udev
pi@raspberrypi:/lib/udev $ cd rules.d
pi@raspberrypi:/lib/udev/rules.d $ sudo nano 50-udev-default.rules
pi@raspberrypi:/lib/udev/rules.d $ sudo rpi-update 771a503cfc2a1130e2df2a4ddfc45ffa0f592b3f
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Your firmware is already up to date
pi@raspberrypi:/lib/udev/rules.d $ sudo service triggerhappy stop
pi@raspberrypi:/lib/udev/rules.d $ sudo update-rc.d triggerhappy disable
pi@raspberrypi:/lib/udev/rules.d $ sudo nano /etc/systemd/system/gimx.service
pi@raspberrypi:/lib/udev/rules.d $ sudo systemctl daemon-reload
pi@raspberrypi:/lib/udev/rules.d $ sudo systemctl enable gimx && sudo systemctl start gimx
Created symlink /etc/systemd/system/multi-user.target.wants/gimx.service → /etc/systemd/system/gimx.service.
pi@raspberrypi:/lib/udev/rules.d $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
libusb/gusbhid.c:524 claim_device: libusb_claim_interface failed with error: Resource busy
^C
pi@raspberrypi:/lib/udev/rules.d $ sudo reboot
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
^C
pi@raspberrypi:~ $ sudo chmod 666 /dev/uhid
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
^C
pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# groupadd -f input
root@raspberrypi:/home/pi# echo "KERNEL==\"event*\", NAME=\"input/%k\", MODE:=\"660\", GROUP=\"input\"" > /etc/udev/rules.d/99-gimx-input.rules
root@raspberrypi:/home/pi# echo "KERNEL==\"js*\", NAME=\"input/%k\", MODE:=\"664\", GROUP=\"input\"" >> /etc/udev/rules.d/99-gimx-input.rules
root@raspberrypi:/home/pi# chgrp -f input /dev/input/event* /dev/input/js*
root@raspberrypi:/home/pi# chmod -f g+rw /dev/input/event* /dev/input/js*chmod -f g+rw /dev/input/event* /dev/input/js*
root@raspberrypi:/home/pi# chgrp input /usr/bin/gimx-config /usr/bin/gimx-fpsconfig /usr/bin/gimx-launcher
root@raspberrypi:/home/pi# chmod g+s /usr/bin/gimx-config /usr/bin/gimx-fpsconfig /usr/bin/gimx-launcher
root@raspberrypi:/home/pi# exit
exit
pi@raspberrypi:~ $ gimx-launcher
native mode is already enabled for HID device 01:01:05:00:00 (PID=c294)
linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
pi@raspberrypi:~ $ linux/uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
-bash: linux/uhidasync.c:249: Datei oder Verzeichnis nicht gefunden
pi@raspberrypi:~ $ uhidasync.c:249 guhid_create: open failed with error: Keine Berechtigung
guhid_create01:01:05:00:00