View previous topic :: View next topic |
Author |
Message |
klaimath Apprentice

Joined: 18 Jun 2006 Posts: 213
|
Posted: Fri Mar 16, 2007 4:46 pm Post subject: Tasti speciali e pinguino |
|
|
Ciao a tutti, tiro fuori un argomento forse un pò trito e ritrito, ma proprio non riesco a tirarne fuori le gambe.
Posseggo un kit cordless mouse+tastiera usb della MS (Wireless Multimedia Desktop 1.0) ed ho provato a configurare i tasti speciali usando Keytouch, Xmodmap, Xkeybind ecc ecc ecc tuttavia non riesco a farli funzionare correttamente.
Premesso che solamente con Keytouch riesco a far andare qualche funzione (mute, volume up, volume down, amarok, posta e browser web) lo stesso Keytouch smette subito di funzionare appena utilizzo un tasto speciale.
Mi spiego meglio:
Supponiamo che prema il tasto mute/unmute la funzione viene svolta correttamente ma da quel momento in poi keytouch appare come "morto"; nel senso che nessun'altra funzione, compreso lo stesso mute/unmute citato come esempio, funziona.
Avviando il demone ho un errore che non riesco a capire da cosa dipende
Code: |
nabucco init.d # ./keytouch start
* Running keytouch-init ...
keytouch-init: Failed to set keycode:
keycode 148 to scancode 204 (0xcc)
keytouch-init: Failed to set keycode:
keycode 149 to scancode 228 (0xe4)
keytouch-init: Failed to set keycode:
keycode 213 to scancode 188 (0xbc)
keytouch-init: Failed to set keycode:
keycode 113 to scancode 160 (0xa0)
keytouch-init: Failed to set keycode:
keycode 164 to scancode 162 (0xa2)
keytouch-init: Failed to set keycode:
keycode 128 to scancode 164 (0xa4)
keytouch-init: Failed to set keycode:
keycode 115 to scancode 176 (0xb0)
keytouch-init: Failed to set keycode:
keycode 114 to scancode 174 (0xae)
keytouch-init: Failed to set keycode:
keycode 165 to scancode 144 (0x90)
keytouch-init: Failed to set keycode:
keycode 163 to scancode 153 (0x99)
keytouch-init: Failed to set keycode:
keycode 226 to scancode 237 (0xed)
keytouch-init: Failed to set keycode:
keycode 155 to scancode 236 (0xec)
keytouch-init: Failed to set keycode:
keycode 172 to scancode 178 (0xb2)
keytouch-init: Failed to set keycode:
keycode 216 to scancode 133 (0x85)
keytouch-init: Failed to set keycode:
keycode 140 to scancode 161 (0xa1)
keytouch-init: Failed to set keycode:
keycode 174 to scancode 150 (0x96)
keytouch-init: Failed to set keycode:
keycode 142 to scancode 223 (0xdf)
keytouch-init: Failed to set keycode:
keycode 138 to scancode 187 (0xbb)
keytouch-init: Failed to set keycode:
keycode 131 to scancode 136 (0x88)
keytouch-init: Failed to set keycode:
keycode 182 to scancode 135 (0x87)
keytouch-init: Failed to set keycode:
keycode 181 to scancode 190 (0xbe)
keytouch-init: Failed to set keycode:
keycode 134 to scancode 191 (0xbf)
keytouch-init: Failed to set keycode:
keycode 206 to scancode 192 (0xc0)
keytouch-init: Failed to set keycode:
keycode 232 to scancode 193 (0xc1)
keytouch-init: Failed to set keycode:
keycode 159 to scancode 194 (0xc2)
keytouch-init: Failed to set keycode:
keycode 231 to scancode 195 (0xc3)
keytouch-init: Failed to set keycode:
keycode 203 to scancode 163 (0xa3)
keytouch-init: Failed to set keycode:
keycode 234 to scancode 215 (0xd7)
keytouch-init: Failed to set keycode:
keycode 210 to scancode 216 (0xd8)
|
Qualcuno sa darmi qualche consiglio ?
P.S. Domanda proforma. C'è bisogno di settare qualcosa nel kernel, oltre ai supporti usb, per gestire i tasti speciali ?
Ciao
Klaimath |
|
Back to top |
|
 |
mouser Veteran


Joined: 10 Aug 2004 Posts: 1419 Location: Milano
|
Posted: Mon Mar 19, 2007 10:14 am Post subject: |
|
|
Prova a dare un'occhiata a questo thread https://forums.gentoo.org/viewtopic-t-539978.html
Parla di come settare i tasti multimediali per l'audio, ma si può facilmente riadattare a qualsiasi tasto
Ciriciao
mouser  |
|
Back to top |
|
 |
noppy Tux's lil' helper


Joined: 10 Dec 2003 Posts: 103
|
Posted: Mon Mar 19, 2007 11:17 am Post subject: |
|
|
io uso hotkeys
Code: | * x11-misc/hotkeys
Latest version available: 0.5.7.1-r1
Latest version installed: 0.5.7.1-r1
Size of files: 228 kB
Homepage: http://ypwong.org/hotkeys/
Description: Make use of extra buttons on newer keyboards.
License: GPL-2
|
te lo metti all'avvio (nel mio caso di kde per l'utente che uso di solito) hai già dei file di configurazione per un po' di tastiere multimediali ma se la tua non c'e' prendi un file che si avvicina e ti fai le modifiche del caso (è molto semplice a mio avviso) carichi la mappa personalizzata e il gioco è fatto (io lo uso per un notebook Dell D620) |
|
Back to top |
|
 |
102376 l33t


Joined: 19 Mar 2005 Posts: 608
|
Posted: Mon Mar 19, 2007 12:29 pm Post subject: |
|
|
hai guardato in /var/log/acpi qualcosa del genere???
premi un tasto e vedi se in quel log c'è qualcosa |
|
Back to top |
|
 |
klaimath Apprentice

Joined: 18 Jun 2006 Posts: 213
|
Posted: Mon Mar 19, 2007 4:29 pm Post subject: |
|
|
x Mouser
Si avevo letto il tuo post ma niente da fare non riesco a rilevare nessun codice.
x Noppy
Uso hotkeys anche io e la mia tastiera è supportata ma non funziona ugualmente
x Zocram
Non ho nessun supporto acpi installato quindi neanche il log; non penso serva per controllare la tastiera di un desktop
Cya a tutti |
|
Back to top |
|
 |
noppy Tux's lil' helper


Joined: 10 Dec 2003 Posts: 103
|
Posted: Mon Mar 19, 2007 5:57 pm Post subject: |
|
|
l'ACPI è vitale anche su un desktop a mio avviso |
|
Back to top |
|
 |
klaimath Apprentice

Joined: 18 Jun 2006 Posts: 213
|
Posted: Mon Mar 19, 2007 7:03 pm Post subject: |
|
|
noppy wrote: | l'ACPI è vitale anche su un desktop a mio avviso |
Installato e ricompilato il kernel ma non è cambiato niente  |
|
Back to top |
|
 |
randomaze Bodhisattva


Joined: 21 Oct 2003 Posts: 9985
|
Posted: Mon Mar 19, 2007 8:07 pm Post subject: |
|
|
klaimath wrote: | noppy wrote: | l'ACPI è vitale anche su un desktop a mio avviso |
Installato e ricompilato il kernel ma non è cambiato niente  |
hai anche emerso acpid? _________________ Ciao da me! |
|
Back to top |
|
 |
syntaxerrormmm Guru


Joined: 17 Apr 2005 Posts: 449 Location: Romano di Lombardia - BG - ITALY
|
Posted: Tue Mar 20, 2007 1:03 pm Post subject: |
|
|
klaimath wrote: | Uso hotkeys anche io e la mia tastiera è supportata ma non funziona ugualmente | Puoi sempre scrivere un file per la tastiera che usi che sia funzionante. In tutti i pc che ho installato, non c'era una sola volta un file corretto per la tastiera che utilizzavo. La descrizione dei tasti è molto semplice, è un file pseudo-XML. Le keycodes le trovi con xev.
Ciao. _________________ "Every rule can be broken, but no rule may be ignored."
Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3 |
|
Back to top |
|
 |
klaimath Apprentice

Joined: 18 Jun 2006 Posts: 213
|
Posted: Tue Mar 20, 2007 6:29 pm Post subject: |
|
|
randomaze wrote: | klaimath wrote: | noppy wrote: | l'ACPI è vitale anche su un desktop a mio avviso |
Installato e ricompilato il kernel ma non è cambiato niente  |
hai anche emerso acpid? |
emerso, avviato e messo negli script di avvio  |
|
Back to top |
|
 |
klaimath Apprentice

Joined: 18 Jun 2006 Posts: 213
|
Posted: Tue Mar 20, 2007 6:30 pm Post subject: |
|
|
syntaxerrormmm wrote: | klaimath wrote: | Uso hotkeys anche io e la mia tastiera è supportata ma non funziona ugualmente | Puoi sempre scrivere un file per la tastiera che usi che sia funzionante. In tutti i pc che ho installato, non c'era una sola volta un file corretto per la tastiera che utilizzavo. La descrizione dei tasti è molto semplice, è un file pseudo-XML. Le keycodes le trovi con xev.
Ciao. |
Il problema è proprio questo. Di programmi che trovano i keycodes ne ho usati una dozzina ma nessuno funziona.
Ad esempio con xev se premo il tasto corrispondente a "Documenti" non mi torna nessun codice.
Ciao |
|
Back to top |
|
 |
GABBO n00b


Joined: 27 Jul 2006 Posts: 4 Location: Viareggio (Italy)
|
Posted: Fri Nov 02, 2007 9:39 am Post subject: problemi installazione keytouch |
|
|
ciao a tutti, sono un nuovo utente abbastanza inesperto di gentoo, stavo installando delle "rifiniture" per la mia gentoo, quando a un certo punto mi viene in mente dei tasti multimediali della mia tastiera Logitech Cordless Desktop EX110, e mi sono detto: perchè non usarli???
Sicchè cercando ho trovato che un programma valido sarebbe keytouch ma durante l'installazione mi da questo errore:
Code: |
checking for GLIB... yes
checking for inotify_init... no
configure: error: No inotify syscalls in libc found - cannot enable inotify support
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gnome-base/gnome-menus-2.18.3-r1/work/gnome-menus-2.18.3/config.log
*
* ERROR: gnome-base/gnome-menus-2.18.3-r1 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1377: Called gnome2_src_compile
* gnome2.eclass, line 70: Called gnome2_src_configure
* gnome2.eclass, line 66: Called econf '--enable-inotify' '--disable-debug' '--enable-python'
* ebuild.sh, line 632: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/gnome-menus-2.18.3-r1/temp/build.log'.
*
* Messages for package gnome-base/gnome-menus-2.18.3-r1:
*
* ERROR: gnome-base/gnome-menus-2.18.3-r1 failed.
* Call stack:
* ebuild.sh, line 1695: Called dyn_compile
* ebuild.sh, line 1033: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1377: Called gnome2_src_compile
* gnome2.eclass, line 70: Called gnome2_src_configure
* gnome2.eclass, line 66: Called econf '--enable-inotify' '--disable-debug' '--enable-python'
* ebuild.sh, line 632: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/gnome-menus-2.18.3-r1/temp/build.log'.
*
|
Potete aiutarmi??  |
|
Back to top |
|
 |
Onip Advocate


Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Fri Nov 02, 2007 9:47 am Post subject: |
|
|
penso tu debba aggiungere il supporto ad inotify nel kernel. _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
 |
GABBO n00b


Joined: 27 Jul 2006 Posts: 4 Location: Viareggio (Italy)
|
Posted: Fri Nov 02, 2007 10:29 am Post subject: |
|
|
non so cosa sia.....
c'entra qualcosa questo??
Code: |
gabriele@Gabbo ~ $ cat /usr/src/linux/.config |grep CONFIG_INOTIFY_USER
CONFIG_INOTIFY_USER=y
|
e in menuconfig:
Code: |
[*] Inotify file change notification support
[*] Inotify support for userspace
|
sono proprio alle primissime armi...... |
|
Back to top |
|
 |
GABBO n00b


Joined: 27 Jul 2006 Posts: 4 Location: Viareggio (Italy)
|
Posted: Tue Nov 06, 2007 8:38 am Post subject: |
|
|
ehmmm
nessuno mi può dare una mano?  |
|
Back to top |
|
 |
magowiz Veteran


Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Sat Nov 10, 2007 5:30 pm Post subject: |
|
|
GABBO wrote: | ehmmm
nessuno mi può dare una mano?  |
credo ti servano : Code: |
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
|
abilitati nel kernel |
|
Back to top |
|
 |
GABBO n00b


Joined: 27 Jul 2006 Posts: 4 Location: Viareggio (Italy)
|
Posted: Sat Nov 17, 2007 4:56 pm Post subject: |
|
|
ho controllato, ma nel kernel è già cosi... |
|
Back to top |
|
 |
magowiz Veteran


Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Sat Nov 17, 2007 6:48 pm Post subject: |
|
|
GABBO wrote: | ho controllato, ma nel kernel è già cosi... |
allora probabilmente dovresti abilitare globalmente la use flag inotify e dare un bel
|
|
Back to top |
|
 |
|