You are not logged in.

#1 2008-04-20 00:51:28

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Logitech G15 Keyboard

Helllo all, thanks in advance for looking at this.

I am trying to get my Logitech G15 keyboard to work (I have the first version). When I try to install libg15 that I got from this website: http://www.g15tools.com/Welcome.html

it tries to do this part:


config.status: executing depfiles commands

And then nothing else happens. Can anyone help me with this issue. When I configure the download I get this output so far:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for main in -lusb... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for an ANSI C-conforming const... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

I appreciate any help you can give me.

Offline

#2 2008-04-20 02:14:35

z0phi3l
Member
From: Waterbury CT
Registered: 2007-11-26
Posts: 278

Re: Logitech G15 Keyboard

You are doing it wrong, install it from this pkgbuild or use yaourt to install it


http://aur.archlinux.org/packages.php?ID=7647

Always use Pacman/Yaourt/Pkgbuild to install on Arch

Offline

#3 2008-04-20 02:57:14

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Thanks man, I really appreciate it! I can always count on your guys smile

Offline

#4 2008-04-20 03:03:24

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

And sorry to be a pain yet again. But I have goten all the dependencies installed and when I try to makepkg I get this:

Validating source files with md5sums...
    g15daemon-1.9.5.3.tar.bz2 ... Passed
    g15daemon ... FAILED
==> ERROR: One or more files did not pass the validity check!


Any ideas?

Offline

#5 2008-04-20 05:20:06

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Logitech G15 Keyboard

It appears that you forgot to download this part:
http://aur.archlinux.org/packages/g15da … /g15daemon

A lot of packages have extra scripts with them, so always check "Files" instead of going straight to the "PKGBUILD" link.

Last edited by elliott (2008-04-20 05:21:34)

Offline

#6 2008-04-20 06:04:52

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

So should I put this in a file and save it as .diff and patch it into the PKGBUILD? Correct?

Offline

#7 2008-04-20 06:19:12

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Logitech G15 Keyboard

No, it should just be named g15daemon and put in the same directory the PKGBUILD is. This will be the script that ends up in /etc/rc.d/.

Last edited by elliott (2008-04-20 06:20:40)

Offline

#8 2008-04-20 15:08:49

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Well here is the kicker. There is already a file named g15daemon. When I went to look at the contents, it is the same as the script I am supposed to add. Any ideas why it is not reading it?

Offline

#9 2008-04-20 15:12:55

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Well I think I may have it. I just went into PKGBUILD and took out the line md5sums and it installed.

Offline

#10 2008-04-21 02:07:55

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

So I have all the necessary dependencies and g15daemon running..... haha umm... what do I do next. Sorry to such a newb question... I would like to start getting the G keys to work.

Offline

#11 2008-04-21 08:21:18

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Logitech G15 Keyboard

btw...

makepkg -g

was what u wanted to run to get the md5sum. The PKGBUILD had the wrong md5sum, so u need to generate new ones and add them back into the PKGBUILD.

Offline

#12 2008-04-21 14:31:06

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Oh, I see, that makes sense. Is it ok that I did it without md5sums though?

Offline

#13 2008-04-21 15:02:05

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Does anyone know where I could find information on where I should go next. I went to Gentoo's wiki on G15 keyboard and I found some things. Sadly, none of it is working for me. Also I get this error when trying to build the lineakd program:

pluginmanager.cpp:466: error: 'strcmp' was not declared in this scope


What does that mean.
Thanks!

Offline

#14 2008-04-21 21:52:38

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

bump

Offline

#15 2008-04-22 00:05:01

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: Logitech G15 Keyboard

I am also a new Arch user with a G15. I installed g15daemon using yaourt but i also can't get the extra G keys working. I tried the ubuntu-way but that doesn't work.

Offline

#16 2008-04-23 17:04:19

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Well, what we need to do in order for the G keys to work, we need to have uinput supported in our kernel. Sadly, I do not have it and would need to recompile the kernel with it. And I have NO idea how to do that. Haha, anyone want to give us a push in the right direction?

Offline

#17 2008-04-23 17:37:28

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: Logitech G15 Keyboard

Thank you for that. I have been sloppy, i haven't read the guide at ubuntu.com properly. If you follow this guide and adapt it a little bit so it fits arch, for example, you have to add uinput to the modules line in /etc/rc.conf instead of /etc/modules. It works fine. All the G keys work except the (the G7 key works just fine;) my bad), G6 and M2 keys. Finally, ik was getting irritated by the fact that my G-keys didn't work.

Last edited by Vintendo (2008-04-23 21:10:11)

Offline

#18 2008-04-24 03:16:05

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Well, I got uinput to work, I am so happy that I do not have to recompile to do this. But sadly, my keys are not working. Perhaps I am not starting my Xmodmap right. You edit it in .xinitc right? Thanks again man!

Offline

#19 2008-04-24 09:20:25

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: Logitech G15 Keyboard

i made a new Xmodmap doing "xmodmap -pke > .Xmodmap"

Offline

#20 2008-04-24 13:58:57

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

So now I cannot access the site to get what you should put in the .Xmodmap folder, could you paste yours here, I would greatly appreciate it.

Offline

#21 2008-04-24 15:23:45

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Actually, the page finally loaded. I did what you say and they still do not work, what do you think I am missing?

Offline

#22 2008-04-25 01:05:24

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: Logitech G15 Keyboard

I don't know wich Dm/WM but if you are using gnome, gnome gives you the option to load an Xmodmap when you login. Openbox, which i am using since an couple of hours, doesn't. You can do this manually by doing xmodmap ~/.Xmodmap.

Offline

#23 2008-04-25 01:27:39

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

I do that and it gives no errors, so I guess the G keys work, i do not know. The m1 light doesn't light up. How can I test that they work?

Offline

#24 2008-04-25 08:51:35

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: Logitech G15 Keyboard

The lights don't work here but al the G-keys do. So you just have one "set" of keys . You can start xev in the terminal and press a g key and read the output...

Last edited by Vintendo (2008-04-25 09:01:24)

Offline

#25 2008-04-27 04:23:12

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Logitech G15 Keyboard

Ok, so the keys are being registered. What would be the easiest way to set these keys. Thank again man!

Offline

Board footer

Powered by FluxBB