Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Hardware Support > ARCHIVES - Notebooks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Notebooks This is a special forum dedicated to notebook problems.

 
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-Apr-2005, 16:22
svet
Guest
 
Posts: n/a
Default

Hi,

I have HP nx9010 and I want to assign the keys for volume up and down in Kamix.

I have downloaded and installed omnibook module.

i am not sure in which file to put it, so i am inserting it manually right now.

also the readme, it is written to write options apmemu=1 and so on , in /etc/module.conf,

but i do not see any difference when i am doing this.

now when i run xev, i got code key values for the buttons?

so how to assign them, because kamix is not able to get them?

also i have tried lineakd , but it just crashes

  #2 (permalink)  
Old 26-Apr-2005, 16:24
a1phaomega
Guest
 
Posts: n/a
Default

Have you tried "khotkeys" which should be in your KDE Control Centre
  #3 (permalink)  
Old 26-Apr-2005, 16:31
svet
Guest
 
Posts: n/a
Default

yep I have tried, but it also does not recognize them

the output from xev at the terminal is:

for the mute button:

KeyRelease event, serial 30, synthetic NO, window 0x2a00001,
root 0x48, subw 0x0, time 1107840, (-224,307), root454,333),
state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes

for the volume up:

KeyRelease event, serial 30, synthetic NO, window 0x2a00001,
root 0x48, subw 0x0, time 1150993, (51,68), root729,94),
state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
  #4 (permalink)  
Old 26-Apr-2005, 16:35
a1phaomega
Guest
 
Posts: n/a
Default

YOu might have to do some reading up on xmodmap and xev together to reprogram keys - be warned its not trivial - not impossible, but definitely a little work
  #5 (permalink)  
Old 26-Apr-2005, 16:37
svet
Guest
 
Posts: n/a
Default

k i will try to read the man for xmodmap, i hope i will be able to do it.

can you tell me where to put the command modprobe omnibook, so the module will be loaded at startup?

/etc/boot.local or
/etc/module.conf
...

  #6 (permalink)  
Old 26-Apr-2005, 16:40
a1phaomega
Guest
 
Posts: n/a
Default

in 2.6 kernel the file is /etc/modprobe.conf - but you could slap in at the end of boot.local - thats probably the best place...

I did (the xmodmap thing) with an MS Multimedia Keyboard. It only takes a little patience. Get the xev keycodes and then use xmodmap to reprogram them as needed....

A quick google on "xev xmodmap" may help, particularly if you add in the name of the laptop/keyboard concerned - hopefully someone's already done it and been nice enough to tell people how ;-)
  #7 (permalink)  
Old 26-Apr-2005, 18:53
svet
Guest
 
Posts: n/a
Default

ok, up to now I have some progress

the volume up, volume down, and mute keys are working

when i press them a nice windows pops up and increase (decrease) the volume percentage.

the problem that i have is the following

I am using a script in .kde/Autostart to set the keys:

for example:

xmodmap -e "keycode 174 = XF86AudioLowerVolume"

the problem is that if i launch a terminal for example, xmodmap is reset

and when I invoke xmodmap -pke, this key codes are not assigned.

any ideas?
  #8 (permalink)  
Old 27-Apr-2005, 02:35
a1phaomega
Guest
 
Posts: n/a
Default

check the bash startup files (.bashrc, .bash_profile) for anything that could be resetting the keys
  #9 (permalink)  
Old 27-Apr-2005, 03:23
svet
Guest
 
Posts: n/a
Default

nothing wrong in the files that you have mensioned.

but there is no progress

the keys are working for a given time and then do not know, after opening a application ot whatever, the mapping is just removed ....
  #10 (permalink)  
Old 27-Apr-2005, 04:44
a1phaomega
Guest
 
Posts: n/a
Default

Is khotkeys kicking in perhaps?
 
Page 1 of 3 1 23

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2