LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-21-2015, 06:43 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Rep: Reputation: 28
Keyboard driver reload needed


I'm trying to get g15daemon and libg15 working for my Logitech G510s. What I have so far gives me the main keyboard, keypad, and function keys, but not the extras, and not the 18 Macro keys. Progress is slow.

I had access to the Macro keys with Arch Linux, but that system is no longer available, and the source code (www.russo79.com) is no longer available due to a server crash?

A problem I've had since day one is when g15daemon stops the keyboard is no longer available. When it starts it appears to replace the default driver, but when it stops that driver is not restored.

This happens frequenly during testing. Is it possible to include code in g15daemon.c that will restore the default driver?

Thanks
Jim
 
Old 03-04-2015, 03:30 PM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by CollieJim View Post
I'm trying to get g15daemon and libg15 working for my Logitech G510s. What I have so far gives me the main keyboard, keypad, and function keys, but not the extras, and not the 18 Macro keys. Progress is slow.

I had access to the Macro keys with Arch Linux, but that system is no longer available, and the source code (www.russo79.com) is no longer available due to a server crash?

A problem I've had since day one is when g15daemon stops the keyboard is no longer available. When it starts it appears to replace the default driver, but when it stops that driver is not restored.

This happens frequenly during testing. Is it possible to include code in g15daemon.c that will restore the default driver?

Thanks
Jim
http://sourceforge.net/projects/g15daemon/

Thats the real projects page, I have this keyboard, its not the hard to get working, its doesnt replace any kbd drivers, its just maps the proper codes to the proper event devices.
 
Old 03-04-2015, 08:06 PM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
Once again I am guilty of a less than accurate description. The keyboard is still seen, and the system accepts a character, but then very rapidly repeats that character as though the key were held down. No other keystrokes are seen or used. I do not know if that is because the buffer is flooded or something else. I cannot switch to another VT, and Ctrl-Alt-Del is not recognised. The only recourse is to unplug the keyboard and replug it.

I will check the project site again, but the last time I tried (last month) the multimedia keys were not supported on the G510s.

The question should have been "How do I restore default functionality for the keyboard?"
 
Old 03-05-2015, 01:47 AM   #4
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 582

Original Poster
Rep: Reputation: 28
I've just tried to build g15daemon from souce obtained from the link above. It fails with
Code:
In file included from /usr/include/fcntl.h:302:0,
                 from utility_funcs.c:34:
In function ‘open’,
    inlined from ‘uf_conf_write’ at utility_funcs.c:359:15:
/usr/include/bits/fcntl2.h:50:24: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
    __open_missing_mode ();
                        ^
Makefile:298: recipe for target 'utility_funcs.o' failed
make[2]: *** [utility_funcs.o] Error 1
make[2]: Leaving directory '/data/devel/g15tools/G15-20150305/g15daemon-1.9.5.3/g15daemon'
Makefile:407: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/data/devel/g15tools/G15-20150305/g15daemon-1.9.5.3'
Makefile:213: recipe for target 'all' failed
make: *** [all] Error 2
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can we reload fiber driver ?? sunilpopaliya Red Hat 1 06-06-2013 10:41 PM
How do I reload a kernel driver on an embedded device (i.MX53)? Qw_freak Linux - Kernel 2 09-25-2012 01:50 AM
Cannot reload lpfc driver Donald Blood Linux - Software 1 01-26-2009 02:09 PM
How to automatically reload a driver or module during boot up jeb083079 Linux - Kernel 1 08-23-2006 04:04 AM
Tomcat reload servlet is very slow, but reload jsp is fast and good? gsbarry Programming 2 04-28-2006 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration