LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   G15 Keyboard Problems (https://www.linuxquestions.org/questions/linux-newbie-8/g15-keyboard-problems-511469/)

Tiepo 12-17-2006 10:18 PM

G15 Keyboard Problems
 
Hey all,

I have just installed the libg15(latest) and G15Daemon(latest) from http://g15tools.sourceforge.net/ for my g15 logitech keyboard. On slackware 11.

The keyboard sort of works. It allows me to type using the normal keys. But the lcd and extra keys do not work.

I have copied the following script -> http://pastebin.ca/283189 into /root/.kde/Autostart/ folder.

I have tried restarting kde and it doesn't work. Instead the script opens up in a word processor. I have given the file chmod 700 rights to make it executable.

Can anyone tell me what im doing wrong?

Thanks,

-Tiepo

mlampard 12-21-2006 07:29 PM

G15 problems
 
Tiepo:

Try running g15daemon with the -d or --debug options, it will run in the foreground and output some info which should help point us in the right direction. It's possible that the linux uinput driver hasnt been installed into the kernel, you can do this by running "modprobe uinput" then running g15daemon again, like so:

$ sudo modprobe uinput
$ sudo g15daemon -d

The script you're trying to run is an xmodmap script, so you'll need to have xmodmap run it. Try renaming the script to .Xmodmap and putting it in your home folder, and copy the following script to your Autostart folder:

-- cut here --
#!/bin/sh

xmodmap $HOME/.Xmodmap
echo Added key mods in $HOME/.Xmodmap

-- end cutting --

You'll find both these scripts in /usr/share/doc/g15daemon-${G15DAEMON_VERSION}/contrib/

Cheers


All times are GMT -5. The time now is 12:59 AM.