Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey guys, i'm trying to get my G15 keyboard software to work.. I know i needed to install the g15daemon I know it requires a couple libraries before i can install it. one of the libraries are libg15. Trying to install that library, i noticed it wants libusb installed first. So i'm trying to install that.
Now I don't know if i'm getting an error but from what I can tell its simply asking me to run the configuration then make the install....
Now without coping the entire results of the ./configure command but to show you the last few lines...
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 inline... inline
checking whether gcc and cc understand -c and -o together... yes
checking operating system... Linux
configure: creating ./config.status
config.status: creating libusb-1.0.pc
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
after seeing all that, i'm back at the command prompt.
that seems to be fine to my eyes so i decided to run the make install command and the last few lines are as followed.
test -z "/usr/local/include/libusb-1.0" || /bin/mkdir -p "/usr/local/include/libusb-1.0"
/usr/bin/install -c -m 644 'libusb.h' '/usr/local/include/libusb-1.0/libusb.h'
make[2]: Leaving directory `/home/crathm/Download/libusb-1.0.0/libusb'
make[1]: Leaving directory `/home/crathm/Download/libusb-1.0.0/libusb'
Making install in doc
make[1]: Entering directory `/home/crathm/Download/libusb-1.0.0/doc'
make[2]: Entering directory `/home/crathm/Download/libusb-1.0.0/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/crathm/Download/libusb-1.0.0/doc'
make[1]: Leaving directory `/home/crathm/Download/libusb-1.0.0/doc'
make[1]: Entering directory `/home/crathm/Download/libusb-1.0.0'
make[2]: Entering directory `/home/crathm/Download/libusb-1.0.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libusb-1.0.pc' '/usr/local/lib/pkgconfig/libusb-1.0.pc'
make[2]: Leaving directory `/home/crathm/Download/libusb-1.0.0'
make[1]: Leaving directory `/home/crathm/Download/libusb-1.0.0'
I'll be honest, i am new to this type of install when it comes to installing software. I'm used to installing everything via rpm's. I learned and installed tripwire prior to this install and that installed via ./configure make install without errors. This will be my second attempt at installing like this so i'm not really sure how to approach this but i do know that libusb is not installed.
I have done some reading but I'm getting no where and fast.
Thanks for the quick response, I am actually using RHEL 5 enterprise server (30 day trial). Figured if i'm going to learn unix, i may as well learn by playing with a corp system.
but i did try to play with a few yum install techniques but that didn't work. I was told that some stuff that is compatible with desktop OS isn't compatible with desktops... would that be true in this case?
there's really not much difference between RHEL/CentOS etc besides the package management and level of "official" support channels you can potentially receive. Since most all distros use the same Linux Kernel (2.6.x) and GNU tools one application should run on all distributions.
since you're using redhat try typing (as root) yum install libusb *
that should install the binary packages for all libusb requirements, then compile the G15 drivers as you normally would.
Ok, Well. I was able to install everything i needed in regards to my goal to having a working g15 keyboard. Using following walkthrough on linuxquestions.org, I achieved to get display and audio controls to work. But I don't believe my keys are working, now the one place where I believe I may have made a mistake was when they explained how to bind the keys.
sudo gedit /usr/share/X11/XKeysymDB and I added the following lines after the comment at the beginning -
I hate to bump this thread up but i'm really stuck. I tried the man pages, i read over the Walkthrough on linuxquestions.org and the original site from where the walkthrough was extracted from. I did everything by the book from what i can tell and there is no other postings from where i can google to assist me. Only thing is that the walkthrough is for ubuntu OS and im running RHEL and maybe i need to make an additional step?
I do know is that LCD display works, my media controls work. my 4 M Buttons (MR, M1,M2, M3, M4) don't work and they don't even light up when i click on them. My 18 G keys... nothing. so it has to be an issue with my mapping.
I have tried relocating the mappings in the /usr/share/X11/XKeysymDB file at random locations and still nothing.
anyone got any additional ideas?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.