LinuxQuestions.org
Help answer threads with 0 replies.
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-09-2007, 04:40 PM   #1
dangerboy
Member
 
Registered: Aug 2003
Distribution: Slackware 12.1, Slackware Current, Ubuntu Hardy Heron 8.04
Posts: 110

Rep: Reputation: 15
Logitech G15 under Slackware 11, g15daemon not working.


Hi all,

I have a box running Slackware 11 (2.6.17.13), with an AMD Athlon 2700+, 1.5GB of RAM, on an ASUS A7V333-X.

I've tried compiling and installing the latest version of everything from the G15tools homepage at http://g15tools.sourceforge.net/, with no luck.

Funny thing is, if I use g15lcd, it works well and then hangs at random, shutting off the keyboard to the point where even the regular keys don't work. It also becomes impossible to kill the process, requiring a restart (if anyone knows how to kill a process that does this, I'm all ears).

I have uinput set to load at startup in my rc.local file and it's loaded into memory:
Code:
bash-3.1$ lsmod | grep uinput
uinput                  7168  0
I can see where g15daemon is grabbing the device in the logs. From /var/log/messages:
Code:
Feb  9 16:13:18 aazwin2k kernel: input: G15 Extra Keys as /class/input/input13
Feb  9 16:13:18 aazwin2k g15daemon[10352]: g15daemon 1.2.6a loaded
And I know that the uinput device is being created in devices... although I don't know if the daemon is looking for the right device.
Code:
bash-3.1# ls /dev/misc
.  ..  agpgart  psaux  rtc  uinput
bash-3.1# ls /dev | grep uinput
uinput
I'm stumped. I've tried the latest svn code. I've tried moving backwards in versions. All to the same results, the g15 only works with g15lcd (not very well... as mentioned), but not with the g15daemon. Also, I've tried using the debug option on the g15daemon but it doesn't output anything useful. Anyone have any ideas? I hope it's just something I'm overlooking.

EDIT: When I meant not working, I mean that the keys do not function under the daemon. The lcd doesn't work under either the daemon or g15lcd, but that doesn't concern me at the moment. I really just want to be able to map all the keys.

Last edited by dangerboy; 02-09-2007 at 05:03 PM.
 
Old 02-09-2007, 08:46 PM   #2
mlampard
LQ Newbie
 
Registered: Dec 2006
Distribution: debian/ubuntu/mandriva
Posts: 4

Rep: Reputation: 0
Hi,
When you say the LCD doesnt work, do you mean you dont even see a clock when g15daemon is running? g15daemon will display a clock when the lcd is not being used. It sounds like the daemon refused to start for some reason - would you mind pasting the output of g15daemon -d here? it might help point me point you in the right direction

The Uinput node is definately in the right place. When running g15daemon in debug mode, does it stay in the foreground or exit immediately?

Last edited by mlampard; 02-09-2007 at 09:51 PM.
 
Old 02-09-2007, 10:08 PM   #3
dangerboy
Member
 
Registered: Aug 2003
Distribution: Slackware 12.1, Slackware Current, Ubuntu Hardy Heron 8.04
Posts: 110

Original Poster
Rep: Reputation: 15
I only see the Logitech logo displayed on the LCD, which stops flashing after the daemon is loaded. It never changes to a clock.

Loading the daemon with the '-d' option gives me:
Code:
g15daemon 1.2.6a loaded
and nothing else.

'g15daemon -v' yields:
Code:
G15Daemon version 1.2.6a - Loaded & Running
compiled with libg15 version 1.201
'ls /proc/bus/usb' yields:
Code:
alex@aazwin2k:~$ ls /proc/bus/usb
.  ..  001  002  003  004  devices
I am wondering if udev has anything to do with this. Are there any permissions that could be standing between the daemon and proper functionality? Also, could this be a hardware change on the part of the manufacturer?

Thank you for your fast reply and all your help.
 
Old 02-10-2007, 12:28 AM   #4
dangerboy
Member
 
Registered: Aug 2003
Distribution: Slackware 12.1, Slackware Current, Ubuntu Hardy Heron 8.04
Posts: 110

Original Poster
Rep: Reputation: 15
Thumbs up

A developer working on the g15 suite was nice enough to give me suggestions. Turns out that the keyboard was attached through a USB hub. I removed the hub and the friggin thing sprung to life. Thank you so much Mike!

Moral of the story: always check the hub when troubleshooting. Doh!
 
Old 04-06-2007, 04:28 PM   #5
Patrick59
LQ Newbie
 
Registered: Apr 2007
Location: North France
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Hello,

I also have a G15 on a Slackware box with kernel 2.6.20.
uinput is loaded and device uinput is existing. When i start g15daemon, i got this error :
An Error Occurred - 3 : ( Unable to configure the linux kernel UINPUT driver ) received

Starting g15daemon with -d give me this :
/# g15daemon -d
usb_set_debug: Setting debugging level to 1 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
libg15: Found 1 supported devices
libg15: Trying to find Logitech G15
libg15: Found Logitech G15, trying to open it
libg15: Device has 1 possible configurations
libg15: Device has 1 Alternate Settings
libg15: Interface 0 has 2 Endpoints
libg15: Found "Extra Keys" endpoint 1 with address 0x81 maxtransfersize=32
libg15: Found "LCD" endpoint 2 with address 0x2 maxtransfersize=32
libg15: Done opening the keyboard
Unable to create UINPUT device.
Unable to setup the UINPUT device. Exiting

I trid differents things, none are running

Any idea ??

Thanks

Last edited by Patrick59; 04-06-2007 at 04:32 PM.
 
Old 04-21-2007, 10:11 AM   #6
Downlord
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Patrick59

Unable to create UINPUT device.
Unable to setup the UINPUT device. Exiting

Thanks
Hi

I had the same problem. Just execute "modprobe uinput" and it works.
 
Old 04-29-2007, 05:38 AM   #7
Patrick59
LQ Newbie
 
Registered: Apr 2007
Location: North France
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by Downlord
Hi

I had the same problem. Just execute "modprobe uinput" and it works.
Hi, Sorry for late answer but i wrote :

Quote:
Originally Posted by Patrick59
uinput is loaded and device uinput is existing.
Bye, ^_^
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
The Logitech G15 Keyboard and Ubuntu 4.10 zivs Linux - Hardware 4 12-21-2006 08:32 PM
Setting up G15 Logitech Keyboard on Slackware. Problems! Tiepo Slackware 0 10-08-2006 12:11 AM
Suse 10.0 + Logitech G15 fatum112 Linux - Software 0 09-07-2006 12:30 PM
Logitech G15 TuxToaster Linux - Hardware 3 03-07-2006 03:57 AM
Logitech USB Mouse Wheel not working on Slackware 9.1 Ken Ju-On Linux - Hardware 9 04-11-2004 11:39 PM


All times are GMT -5. The time now is 03:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration