Bonjour à tous
suite à une mise à jour de ma Fedora 25 mon clavier G110 n'est plus reconnu.
Je tente donc de compiler l'outil "gnome15" ( https://doc.ubuntu-fr.org/gnome15 ) a partir des sources.
Malheureusement lors d'un "./configure" j'ai le message suivant :
checking python module: uinput... no
configure: error: Requires Python uinput and libsuinput
or quand je fait un "dnf search uinput" j'ai u
comme réponse :
Vérification de l'expiration des métadonnées effectuée il y a 1:00:42 sur Sat May 27 11:53:36 2017.
===================== Non spécifié, correspond à : uinput ======================
python-uinput.x86_64 : Pythonic API to the Linux uinput kernel module
python3-uinput.x86_64 : Pythonic API to the Linux uinput kernel module
j'ai installé "python-uinput"
mais impossible de trouver le paquet "libsuinput" ?
Quelqu'un a une piste ?
D'avance merci.
Tu ne peux pas revenir en arrière avec dnf history puisque ça fonctionnait avant la mise à jour ?
pour libsuiput j'ai tenté l'installation suivante a partir de:
git clone https://github.com/tuomasjjrasanen/libsuinput.git
[root@linux nicolas]# ./configure && make && make install
bash: ./configure: No such file or directory
[root@linux nicolas]# cd '/home/nicolas/libsuinput' 
[root@linux libsuinput]# ./configure && make && make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/libsuinput.pc
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in src
make[1] : on entre dans le répertoire « /home/nicolas/libsuinput/src »
make[1]: rien à faire pour « all ».
make[1] : on quitte le répertoire « /home/nicolas/libsuinput/src »
make[1] : on entre dans le répertoire « /home/nicolas/libsuinput »
make[1]: rien à faire pour « all-am ».
make[1] : on quitte le répertoire « /home/nicolas/libsuinput »
Making install in src
make[1] : on entre dans le répertoire « /home/nicolas/libsuinput/src »
make[2] : on entre dans le répertoire « /home/nicolas/libsuinput/src »
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libsuinput.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libsuinput.so.4.1.0 /usr/local/lib/libsuinput.so.4.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsuinput.so.4.1.0 libsuinput.so.4 || { rm -f libsuinput.so.4 && ln -s libsuinput.so.4.1.0 libsuinput.so.4; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsuinput.so.4.1.0 libsuinput.so || { rm -f libsuinput.so && ln -s libsuinput.so.4.1.0 libsuinput.so; }; })
libtool: install: /usr/bin/install -c .libs/libsuinput.lai /usr/local/lib/libsuinput.la
libtool: install: /usr/bin/install -c .libs/libsuinput.a /usr/local/lib/libsuinput.a
libtool: install: chmod 644 /usr/local/lib/libsuinput.a
libtool: install: ranlib /usr/local/lib/libsuinput.a
libtool: finish: PATH="/opt/micmac/bin:/opt/micmac/bin:/opt/micmac/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/nicolas/.local/bin:/home/nicolas/bin:/usr/local/cuda-8.0/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 suinput.h '/usr/local/include'
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libsuinput.pc '/usr/local/lib/pkgconfig'
make[2] : on quitte le répertoire « /home/nicolas/libsuinput/src »
make[1] : on quitte le répertoire « /home/nicolas/libsuinput/src »
make[1] : on entre dans le répertoire « /home/nicolas/libsuinput »
make[2] : on entre dans le répertoire « /home/nicolas/libsuinput »
make[2]: rien à faire pour « install-exec-am ».
make[2]: rien à faire pour « install-data-am ».
make[2] : on quitte le répertoire « /home/nicolas/libsuinput »
make[1] : on quitte le répertoire « /home/nicolas/libsuinput »
mais

quand je reviens à l"install de gnome15 :
[root@linux ~]# cd '/home/nicolas/gnome15-0.9.7' 
[root@linux gnome15-0.9.7]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for python2.7... (cached) /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for a version of Python 2.6... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib64 -lpython2.7
checking for Python site-packages path... /usr/lib/python2.7/site-packages
checking python extra libraries...  -lpthread -ldl  -lutil
checking python extra linking flags... -Xlinker -export-dynamic
checking consistency of all components of python development environment... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PYGTK... yes
checking python module: keyring... yes
checking python module: virtkey... yes
checking python module: PIL.Image... yes
checking python module: cairo... yes
checking python module: dbus... yes
checking python module: pyinotify... yes
checking python module: lxml... yes
checking python module: gobject... yes
checking python module: xdg... yes
checking python module: usb... yes
checking python module: gconf... yes
checking python module: rsvg... yes
checking python module: pango... yes
checking python module: uinput... no
configure: error: Requires Python uinput and libsuinput
Alors, en fait le problème est plus complexe que ce que je pensais car certaines touches "exotiques" type touches "G1", "G2" etc fonctionnent mais pas les touches classiques ?

Je ne comprends pas d'où ça vient ?

Je précise que tout ce passe bien avec un autre clavier Logitech ( avec lequel j'écris ici ) modèle K120.

Enfin un "lsusb" donne :
[nicolas@linux ~]$ lsusb 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046d:c048 Logitech, Inc. G9 Laser Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 046d:c22a Logitech, Inc. Gaming Keyboard G110
Bus 001 Device 011: ID 046d:c22b Logitech, Inc. Gaming Keyboard G110 G-keys
Bus 001 Device 010: ID 05e3:0607 Genesys Logic, Inc. Logitech G110 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
enfin la commande "journalctl" me donne les messages d'erreurs suivants :
nov. 22 22:14:15 localhost.localdomain kernel: usbhid 1-6.1:1.1: couldn't find an input interrupt endpoint
nov. 22 22:14:16 localhost.localdomain kernel: usb 1-6.3: new low-speed USB device number 6 using xhci_hcd
nov. 22 22:14:16 localhost.localdomain kernel: usb 1-6.3: New USB device found, idVendor=046d, idProduct=c22a
nov. 22 22:14:16 localhost.localdomain kernel: usb 1-6.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
nov. 22 22:14:16 localhost.localdomain kernel: usb 1-6.3: Product: Gaming Keyboard G110
nov. 22 22:14:16 localhost.localdomain kernel: input: Gaming Keyboard G110 as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3/1-6.3:1.0/0003:046D:C22A.0005/input/input10
nov. 22 22:14:16 localhost.localdomain kernel: hid-generic 0003:046D:C22A.0005: input,hidraw4: USB HID v1.10 Keyboard [Gaming Keyboard G110] on usb-0000:00:14.0-6.3/input0
nov. 22 22:14:16 localhost.localdomain kernel: input: Gaming Keyboard G110 as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.3/1-6.3:1.1/0003:046D:C22A.0006/input/input11
nov. 22 22:14:16 localhost.localdomain kernel: hid-generic 0003:046D:C22A.0006: input,hiddev0,hidraw5: USB HID v1.10 Device [Gaming Keyboard G110] on usb-0000:00:14.0-6.3/input1
ainsi que :
nov. 22 22:14:29 localhost.localdomain systemd-tty-ask-password-agent[487]: Invalid password file /run/systemd/ask-password/ask.VtHd6b
nov. 22 22:14:29 localhost.localdomain systemd-tty-ask-password-agent[487]: Failed to show password: Bad message
nov. 22 22:14:29 localhost.localdomain systemd-tty-ask-password-agent[487]: Invalid password file /run/systemd/ask-password/ask.YXu9Gn
nov. 22 22:14:29 localhost.localdomain systemd-tty-ask-password-agent[487]: Failed to show password: Bad message

nov. 22 22:14:35 debian-nanchen.home gnome-session-binary[1390]: Unrecoverable failure in required component org.gnome.Shell.desktop

nov. 22 22:14:39 debian-nanchen.home spice-vdagent[1575]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0

nov. 22 22:15:13 debian-nanchen.home spice-vdagent[1940]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0

nov. 22 22:23:34 debian-nanchen.home kernel: usb 1-5: 1:1: cannot set freq 48000 to ep 0x3

nov. 22 22:24:04 debian-nanchen.home lvmetad[828]: Failed to accept connection.

nov. 22 22:24:08 debian-nanchen.home systemd[1]: cups.socket: Socket service cups.service already active, refusing.
nov. 22 22:24:08 debian-nanchen.home systemd[1]: Failed to listen on CUPS Scheduler.
Qu'en pensez-vous ?
D'avance merci
Neko62 wrote:... suite à une mise à jour de ma Fedora 25 mon clavier G110 n'est plus reconnu...
Je repose ma question :
Fifi wrote:Tu ne peux pas revenir en arrière avec dnf history puisque ça fonctionnait avant la mise à jour ?
Quelle mise à jour a provoqué le problème ?

Autre question : as tu essayé de brancher ton clavier G110 sur un autre port usb ?
4 jours plus tard
un "dnf histiry" me donne :
[root@linux nicolas]# dnf history
ID     | Ligne de commande        | Date et heure    | Action         | Modifié
-------------------------------------------------------------------------------
   196 | update                   | 2017-05-31 20:43 | Update         |   11 EE
   195 | install libusb-devel     | 2017-05-31 20:40 | Install        |    2   
   194 | install mesa-libGLU-deve | 2017-05-30 21:07 | Install        |    1   
   193 | update                   | 2017-05-29 19:57 | Update         |   11   
   192 | update                   | 2017-05-28 17:37 | Update         |   10   
   191 | install python-uinput    | 2017-05-27 12:36 | Install        |    1   
   190 | install gnome-python2-rs | 2017-05-27 12:34 | Install        |    1   
   189 | install librsvg2-tools   | 2017-05-27 12:34 | Install        |    1   
   188 | install librsvg2-devel   | 2017-05-27 12:33 | Install        |    1   
   187 | install pyusb            | 2017-05-27 12:32 | Install        |    1   
   186 | install python2-inotify  | 2017-05-27 12:31 | Install        |    1   
   185 | install python2-virtkey  | 2017-05-27 12:30 | Install        |    1   
   184 | install python-keyring   | 2017-05-27 12:28 | Install        |    2   
   183 | install pygtk2-devel     | 2017-05-27 12:27 | Install        |    7   
   182 | update                   | 2017-05-27 11:54 | Update         |   85 EE
   181 | -y install --disablerepo | 2017-05-26 23:56 | Update         |    1   
   180 | -y install --disablerepo | 2017-05-26 23:56 | Install        |    1   
   179 | update                   | 2017-05-26 23:54 | E, I, O, U     |   93 EE
   178 | update                   | 2017-05-20 10:44 | Update         |   39 EE
ce qui me permet juste de revenir à la date du 20 mai, jour ou la mise à jour "update" a fait souter la reconnaissance de mon clavier G110.
Mais je ne vois pas comment résoudre cela pour l'instant ?
Si tu es sûr que c'est à la date du 20/05/2017 que le problème est survenu,
# dnf history info 178
te montrera ce qui a été effectué le 20/05/2017.
# dnf history undo 178
te permettra, peut-être, d'annuler l'update de ce 20/05/2017 et donc de revenir en arrière...
un mois plus tard
Même problème avec fedora 26 depuis la béta. Le problème est uniquement sous gnome, sous KDE ou avec le multimédia Kodi, tout fonctionne bien, mais, sous gnome x11 ou Wayland, le G110 ne fonctionne que quelques minutes. Maintenant je suis sur un clavier lambda Logitech pour écrire ce message car le G110 est inutilisable et je suis obligé d’éteindre l'ordi pour récupérer le clavier, ce qui est pour le moins extrêmement génant. ... ou travailler sous KDE...
Je fais un retour sous fedora 25, même problème avec le clavier G110, peut-être un problème de kernel ?
Si cela fonctionne sous KDE, je doute que ce soit un souci de noyau.

Est-ce que tu as été voir chez Gnome si le souci est rapporté ou non?

Perso je n'ai pas de souci avec mon G930 G910 (A part les touches G, mais j'ai une bonne piste en cours), mais bon après je suis avec plasma/KDE, donc c'est peut être pour cela que je ne vois pas de problèmes.

Après en utilisant Plasma/wayland j'ai des bizarrerie avec le clavier, donc test avec gnome/xorg pour voir si ce n'est pas simplement wayland qui pose problème.
22 jours plus tard
Bonjour à tous,

je viens de migrer ma Fedora 25 vers Fedora 26 sans aucun souci si ce n'est toujours ce problème de clavier G110 non reconnu !
Cela a t'il progresser pour vous sur ce sujet ?
D'avance merci.
Utilise xorg à la place de wayland! du moins tant que le problème n'est pas résolut avec wayland.