Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Extra keys working on Keyboard
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Tue Jan 16, 2007 3:22 pm    Post subject: Reply with quote

Kernel.org (I think that was the site) is the linux kernel's website, and on it they have a bug reporting system.

http://bugzilla.kernel.org
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
Diavolo
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 151

PostPosted: Sun Jan 28, 2007 9:18 pm    Post subject: Reply with quote

Any news? :(
Back to top
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Sun Jan 28, 2007 11:03 pm    Post subject: Reply with quote

FYI - I had a similar problem. The Kernel USB driver is slightly broken, but running the keyboard through PS/2 helps.

Using evdev, that should help with some keycodes as well. Beyond that, see if xev reports any keycodes. If it does, you can use xmodmap to map out the keys (or use one of the apps designed to do this sort of thing automatically), and you should be good to go. I've only had problems with a few not generating keycodes, and those are the more obscure ones (this is a problem I had that predated my evdev useage, btw that I havn't messed with since)
_________________
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
Back to top
View user's profile Send private message
djnauk
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 183
Location: Caerphilly, Wales, UK

PostPosted: Mon May 07, 2007 2:00 am    Post subject: Reply with quote

Diavolo wrote:
Any news? :(


The problem here is either going to be the USB driver not recognizing the keyboard correctly, or the keyboard driver (in the Kernel) not configuring the keyboard correctly (and I think probably the latter).

As far as I'm aware, all keyboards with 'extra' keys have two modes - a standard mode where all the keys are available (and hence reported to the system), and a BIOS or Boot mode, where only the basic 101/104/105 keys are enabled and reported to the system. If the keyboard is not being recognized and initialized correctly, the keyboard will never switch from boot to standard mode and hence the keycodes will never be return on an extra key's event.

I've just re-installed my system from a 2006.1 stage, and initially couldn't get the keys to work (xev not recognizing them, etc.), and after patching the kernel with the latest bluez patch, rebuilding and installing bluez-libs and bluez-utils (along with a little configuration), as soon as I put the keyboard into HCI mode from HID, the extra keys were recognized by the system.

A little bit of a long way around, but it does work fine and I have bluetooth working on the system so I can get it to talk to my phone, etc.! :)
_________________
Jonathan Wright (Technical Director, JAB Web Solutions)

UK Hosting & Reseller Hosting from JAB Web Solutions
Back to top
View user's profile Send private message
CoolBeer
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2003
Posts: 76
Location: Alta, Norway

PostPosted: Mon May 07, 2007 3:23 am    Post subject: Reply with quote

This is a issue with the kernel evdev driver I think. Cause if I cat /dev/input/eventX (whichever is my keyboard) I get response for every key exept multimediakeys. Heck, I don't even get response with the evbug module...
Also the evdev driver for xorg is a little interesting. Even if you don't select that one for the keyboard, only for the mouse, it somehow takes over and no multimedia keys are working as intended.
I actually had to revert to using the mouse/kbd drivers to get my keys working properly(although the mouse buttons are a mess now...)
I will look into the bluez patch set however, but hope to see them make it into the kernel tree(or gentoo patchset) in the future.
Back to top
View user's profile Send private message
djnauk
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 183
Location: Caerphilly, Wales, UK

PostPosted: Mon May 07, 2007 1:05 pm    Post subject: Reply with quote

CoolBeer wrote:
I will look into the bluez patch set however, but hope to see them make it into the kernel tree(or gentoo patchset) in the future.


I doubt they will - they never have (as far as I'm aware) over the last two years, as I've always had to patch the kernel myself. Although interestingly I did forget to add the patches first time around and the keyboard was never released from boot mode ('hidd --show' gave me two boot-mode devices).
_________________
Jonathan Wright (Technical Director, JAB Web Solutions)

UK Hosting & Reseller Hosting from JAB Web Solutions
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Mon May 07, 2007 1:45 pm    Post subject: Reply with quote

nice necromancy
Back to top
View user's profile Send private message
djnauk
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 183
Location: Caerphilly, Wales, UK

PostPosted: Mon May 07, 2007 2:05 pm    Post subject: Reply with quote

tarpman wrote:
nice necromancy


:?
_________________
Jonathan Wright (Technical Director, JAB Web Solutions)

UK Hosting & Reseller Hosting from JAB Web Solutions
Back to top
View user's profile Send private message
s4l0m0n
n00b
n00b


Joined: 07 Aug 2007
Posts: 32
Location: Germany

PostPosted: Fri Aug 10, 2007 6:55 pm    Post subject: Reply with quote

well, i think i got a funky problem:

using
Code:
setxkbmap -model logiinkse -layout de

lets me use all the multimedia keys and give them functions in KDE... at least all except one:
when i use the wheel to lower the volume, amarok does what my configuration tells it to do. But raising the volume doesnt work at all with the wheel. Same problem with similiar apps like kmix. The configuration-dialog detects the pressed key correctly, even XF86RaiseVolume. But every function i link to XF86RaiseVolume dont work.

Any ideas?
Back to top
View user's profile Send private message
revilootneg
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2007
Posts: 102
Location: /germany/hannover

PostPosted: Sat Aug 11, 2007 9:40 am    Post subject: Reply with quote

hey s4l0m0n,

did you try the other possible logitech models?

Code:

$ less /usr/share/X11/xkb/rules/base.lst | grep Logi
  logiaccess      Logitech Access Keyboard
  ltcd            Logitech Cordless Desktop
  logicdit        Logitech Cordless Desktop iTouch
  logicdp         Logitech Cordless Desktop Pro
  logicdpa        Logitech Cordless Desktop Pro (alternate option)
  logicdpa2       Logitech Cordless Desktop Pro (alternate option2)
  logicdo         Logitech Cordless Desktop Optical
  logicfn         Logitech Cordless Freedom/Desktop Navigator
  logicdn         Logitech Cordless Desktop Navigator
  logidak         Logitech Deluxe Access Keyboard
  logiitc         Logitech iTouch Cordless Keyboard (model Y-RB6)
  logiik          Logitech Internet Keyboard
  itouch          Logitech iTouch
  logiitc         Logitech iTouch Cordless Keyboard (model Y-RB6)
  logiik          Logitech Internet Keyboard
  logiink         Logitech Internet Navigator Keyboard
  itouchin        Logitech iTouch keyboard Internet Navigator
  logiultrax      Logitech Ultra-X Keyboard


Maybe Cordless Desktop Pro does work.

>> Please report any further success/failure as I'm very interested in the lx710.

revilootneg

EDIT:
Also have a look at Gentoo Wiki: HOWTO Logitech DiNovo and the two references at the end of that article.

EDIT2: Okay forget all the above, didn't read your post carefully. So can you confirm the lx710 is working with all its multimedia keys except the above mentioned trouble with the volume?
Back to top
View user's profile Send private message
s4l0m0n
n00b
n00b


Joined: 07 Aug 2007
Posts: 32
Location: Germany

PostPosted: Tue Aug 14, 2007 6:32 pm    Post subject: Reply with quote

Well, i dont have an lx710, but a Internet Navigator SE.
But yes, i tried several layouts and many of them worked. Except this funky bug with XF86RaiseVolume. So i can confirm this.

I dont think its a problem with the layout, since i can assign XF86RaiseVolume to a function in KDE's config-dialogs. So the button is detected correctly, but only in the config-dialog, not in KDE where i wanna use it...

Im updating kde-meta right now, allthough i got a strong CPU this might take some time... Ill post it here if this fixes my prob.

Years ago, i used the same keyboard with Debian, there the keys worked perfectly... 8O
Back to top
View user's profile Send private message
revilootneg
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2007
Posts: 102
Location: /germany/hannover

PostPosted: Thu Aug 16, 2007 11:17 am    Post subject: Reply with quote

Well, I got myself the lx710. The following keys are not working atm:
- Fn + (F2, F3, Print, Break)
- all five silver keys on the left side
- silver shuffle button on the right side
- black VoIP button between the Fx keys.

The key assignment should work correctly with 2.6.23 kernel as there is a fix for lx500. I didn't have the time to check this in detail with git-sources-2.6.23-rc1-r6 but will try again today evening. I had a short look into drivers/usb/hid-* and compiled HID with debug enabled into the kernel. It seems the right keyassignments are made hid-vise but X receives nothing from the dead keys for now.

@s4l0m0n:

I experienced your problem with XF86AudioVolumeRaise and logiinkse as well. Using pc105 and modifiing ~/.Xmodmap made the XF86AudioVolumeRaise key work again.
Back to top
View user's profile Send private message
s4l0m0n
n00b
n00b


Joined: 07 Aug 2007
Posts: 32
Location: Germany

PostPosted: Thu Aug 16, 2007 4:07 pm    Post subject: Reply with quote

hm... sounds like much work... could u you post your XModmap file?
Back to top
View user's profile Send private message
revilootneg
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2007
Posts: 102
Location: /germany/hannover

PostPosted: Thu Aug 16, 2007 10:07 pm    Post subject: Reply with quote

Quote:
. sounds like much work...


You're using linux, what do you expect :twisted:

Code:

keycode 234 = XF86Back
keycode 233 = XF86Forward
keycode 144 = XF86AudioPrev
keycode 164 = XF86AudioStop
keycode 162 = XF86AudioPlay
keycode 153 = XF86AudioNext
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute
keycode 241 = XF86Word
keycode 161 = XF86Calculator
keycode 135 = XF86New
keycode 138 = XF86Documents
keycode 185 = XF86Launch4
keycode 213 = XF86Save
keycode 223 = XF86Standby
keycode 159 = XF86Launch0
keycode 151 = XF86Launch1
keycode 171 = XF86Launch2
keycode 172 = XF86Launch3
keycode 122 = XF86WWW
keycode 236 = XF86Mail
keycode 129 = XF86AudioMedia


HID-vise the problem seems to be nearly fixed. The S510 is quite similar to the lx710 except for the Fn + (Print, Break) combinations. I got no scancodes using showkey but there are keycodes reported for all except the two mentioned buttons. Unfortunately the keycodes are higher than 255 so they are not recogniced by xev.

For more info have a look at this and this.
Back to top
View user's profile Send private message
s4l0m0n
n00b
n00b


Joined: 07 Aug 2007
Posts: 32
Location: Germany

PostPosted: Fri Aug 17, 2007 5:30 pm    Post subject: Reply with quote

ok, many thanks for the xmodmap idea. I had to make my own .Xmodmap but now everything works smoothly!
But the xev-method is quite annoying... if i had some scripting-skills, i'd make this more comfortable ^^
Back to top
View user's profile Send private message
revilootneg
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2007
Posts: 102
Location: /germany/hannover

PostPosted: Tue Aug 21, 2007 7:12 pm    Post subject: Reply with quote

Some success here with the lx710 (both keyboard an mouse).

As I stated in my last posting every key except Fn + ( Print , Break ) sends a kernel-keycode. Using evdev (see the man-page for more info) I'm now able to receive X-keycodes with xev for all keys except the two mentioned. Unfortunately these keycodes are totally wrong and even the "normal" keyboard keys (e.g. arrows) generate false key events and make the keyboard somewhat unusuable. Some multimedia-keys generate the same keycodes. I suppose the lx500 kernel patch fixes some of these problems so I will investigate further in that direction.

The mouse is working quite well. Buttons 8 + 9 (above the wheel) generate button-events, the wheel works vertically, horizontally key events are generated instead of button events.

I'm quite busy at the moment. If there is some time next week I will try to go on and write down a suitable solution here or at the wiki.
Back to top
View user's profile Send private message
silverjam
n00b
n00b


Joined: 03 Sep 2004
Posts: 70
Location: Haslev, Denmark

PostPosted: Sun Oct 21, 2007 5:28 pm    Post subject: So what's the conclusion? Reply with quote

Got Logitech UltraX keyboard hooked up through USB with evdev. xev returns absolutely nothing on the multimedia keys.

What should I do?

dmesg shows this:

Code:
input: Logitech USB Receiver as /class/input/input5
input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:02.2-4.1.4.1
input: Logitech USB Receiver as /class/input/input6
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:02.2-4.1.4.1


My xorg.conf looks like this:

Code:
Section "InputDevice"
    Identifier  "My Keyboard"
    Driver      "evdev"
    Option      "Device" "/dev/input/event2"
    Option      "XkbLayout" "dk"
    Option      "SendCoreEvents" "true"
EndSection


xorg-server is 1.3.0.0-r1

What's the hack? :roll:
Back to top
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Mon Oct 22, 2007 2:50 am    Post subject: Re: So what's the conclusion? Reply with quote

silverjam wrote:
Got Logitech UltraX keyboard hooked up through USB with evdev. xev returns absolutely nothing on the multimedia keys.

What should I do?

dmesg shows this:

Code:
input: Logitech USB Receiver as /class/input/input5
input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:02.2-4.1.4.1
input: Logitech USB Receiver as /class/input/input6
input: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:02.2-4.1.4.1


My xorg.conf looks like this:

Code:
Section "InputDevice"
    Identifier  "My Keyboard"
    Driver      "evdev"
    Option      "Device" "/dev/input/event2"
    Option      "XkbLayout" "dk"
    Option      "SendCoreEvents" "true"
EndSection


xorg-server is 1.3.0.0-r1

What's the hack? :roll:


A) Linux USB keyboard support is pretty broken atm.
B) I'd grab a USB to PS/2 converter, and use that, and see if it helps.
_________________
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
Back to top
View user's profile Send private message
silverjam
n00b
n00b


Joined: 03 Sep 2004
Posts: 70
Location: Haslev, Denmark

PostPosted: Mon Oct 22, 2007 7:54 am    Post subject: Re: So what's the conclusion? Reply with quote

Dralnu wrote:
A) Linux USB keyboard support is pretty broken atm.
B) I'd grab a USB to PS/2 converter, and use that, and see if it helps.


Cannot do that dude. I'm on a 30 feet USB cable with extenders and everything.

Why did it break anyways? -- AFAIK it worked fine with earlier versions, and will it ever get fixed again? -- The first posts in this thread are quite old...

:(
Back to top
View user's profile Send private message
sg313
n00b
n00b


Joined: 25 Dec 2005
Posts: 34

PostPosted: Mon Oct 22, 2007 11:52 am    Post subject: Revert to xkeyboard-config-0.9 Reply with quote

Hi there,

i had similar problems, on my asus laptop. After the last emerge (yesterday), all ALT+ keys stopped working.
Reverting from xkeyboard-config-1.1 to xkeyboard-0.9 worked for me.
This is doesn't solve the problem, but if you need to work (or just have to type an '@', which i couldn't),
type
Code:

emerge =xkeyboard-config-0.9

and reboot you machine if possible. (restarting the x server didnt do it for me, but i have no time to figure out if behaviour was caused by me beeing in a hurry, or if the reboot is really necessary.

HTH,
sg313
Back to top
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Mon Oct 22, 2007 3:49 pm    Post subject: Re: So what's the conclusion? Reply with quote

silverjam wrote:
Dralnu wrote:
A) Linux USB keyboard support is pretty broken atm.
B) I'd grab a USB to PS/2 converter, and use that, and see if it helps.


Cannot do that dude. I'm on a 30 feet USB cable with extenders and everything.

Why did it break anyways? -- AFAIK it worked fine with earlier versions, and will it ever get fixed again? -- The first posts in this thread are quite old...

:(


The post precedding this may have a solution, but unless the PS/2 spot is taken, plugging a converter into the end of 30' of USB shouldn't be a problem...
_________________
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
Back to top
View user's profile Send private message
silverjam
n00b
n00b


Joined: 03 Sep 2004
Posts: 70
Location: Haslev, Denmark

PostPosted: Tue Oct 23, 2007 5:45 pm    Post subject: Re: Revert to xkeyboard-config-0.9 Reply with quote

sg313 wrote:

emerge =xkeyboard-config-0.9


Turned out that my xkeyboard-config was version 0.8. Emerging to 0.9 leaves my system the same (still no multimedia keys).

Base problem still is that the multimedia keys doesn't generate any events.

I read on the multiseat how-to, that you can put in some additional options in xorg.conf like this:

Code:
Section "InputDevice"
        Identifier  "KeyboardX:1"
        Driver      "evdev"
        Option      "Phys"   "usb-*/input0"    ### matches event device phys string according to /proc/bus/input/devices
        Option      "evBits"  "+1"
        Option      "keyBits" "~1-255 ~352-511"
        Option      "Pass"    "3"      ### Scan Order
        Option      "XkbLayout" "se"   ### Language setting
EndSection


Would options similar to these do any difference?

:(
Back to top
View user's profile Send private message
frankjr
n00b
n00b


Joined: 13 Sep 2002
Posts: 55

PostPosted: Fri Nov 16, 2007 9:35 pm    Post subject: Reply with quote

I'm having a problem with trying to get some of the extra keys working on my Logitech Wave keyboard. For instance, some of them work and some of them do not, and the ones that don't work don't show up in xev. Interestingly enough, if you go into a console outside of X and run showkey, all the buttons have keycodes, but if you use showkey -s, all the ones that don't work in X don't display any scancodes. Which is quite strange, because from what I understand from all that I've read so far, scancodes are supposed to come directly from the keyboard and are then associated to keycodes, but in my scenario the keys display a keycode but no scancode. 8O
Back to top
View user's profile Send private message
Jimmy Jazz
Guru
Guru


Joined: 04 Oct 2004
Posts: 331
Location: Strasbourg

PostPosted: Sun Nov 18, 2007 11:12 pm    Post subject: Reply with quote

frankjr wrote:
I'm having a problem with trying to get some of the extra keys working on my Logitech Wave keyboard. For instance, some of them work and some of them do not, and the ones that don't work don't show up in xev. Interestingly enough, if you go into a console outside of X and run showkey, all the buttons have keycodes, but if you use showkey -s, all the ones that don't work in X don't display any scancodes. Which is quite strange, because from what I understand from all that I've read so far, scancodes are supposed to come directly from the keyboard and are then associated to keycodes, but in my scenario the keys display a keycode but no scancode. 8O


Hello,

I had that issue since evdev 1.2. For instance, Xorg didn't take care about a keyboard different from us or en, whatever you changed in the xorg.conf file. That is particularly annoying if you try to enter your cunning password in gdm/kdm to open a session ;)

You can help xorg and also gdm to take account of your keyboard layout by slightly modifying your /etc/conf.d/xdm and /etc/X11/xdm/Init/Default files to fit your needs. Have a look at Bug#: 199317

Jj
_________________
« La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code:

+----+----+----+
|    |::::|    |
|    |::::|    |
+----+----+----+

motto: WeLCRO
WritE Less Code, Repeat Often
Back to top
View user's profile Send private message
silverjam
n00b
n00b


Joined: 03 Sep 2004
Posts: 70
Location: Haslev, Denmark

PostPosted: Thu Dec 06, 2007 5:17 pm    Post subject: Reply with quote

Hm..... Using evdev 1.1.5-r1 here....

:idea: Should this issue be posted on kernel.org or somewhere similar? :(

Any ideas?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum