Mandriva (HP zv5420) volume keys control master mono, NOT MASTER!
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
Mandriva (HP zv5420) volume keys control master mono, NOT MASTER!
Alright, it's really a simple problem, but it's annoying me. The volume controls just won't use the master channel.. they always use master mono (which doesn't really do anything for my box).
Here's what I know:
scancodes set correctly
keycodes set correctly
keysyms set correctly
--USING KMIX!!!--
hotkeys are set for master
no hotkeys are set for master mono
BIOS has absolutely zero options for controlling the keys
I have mandriva 2008.0, just installed. I had 2007.0 which did exactly the same thing. I'm using kernel ... 2.6.22.something. Doesn't matter. Any ideas on how to fix this?
So where do you guys think the hotkey is being intercepted?
Have you set your keyboard layout to reflect HP? If you haven't, first go into Kcontrol and edit the keyboard layout to be "HP Pavillion ZT11XX". This will enable use of the multimedia keys. Then, try the volume controls. If they aren't what you want, I would say open KMix and configure the shortcuts. But, I've never had a problem after setting up the keyboard to reflect the HP layout. Let me know if that helps at all...
The most simple answer is usually the correct one. THANK YOU! Works perfectly... I hadn't had the ZT driver configured... I was using some multimedia thing. Works fine. THANK YOU. SERIOUSLY.
The most simple answer is usually the correct one. THANK YOU! Works perfectly... I hadn't had the ZT driver configured... I was using some multimedia thing. Works fine. THANK YOU. SERIOUSLY.
yep, issue's back. I had run kmix as root, which doesn't have the problem - but I had to reinstall... now running kmix as root has no keys working, while running kmix as my normal user has the keys working for master mono, again. It's got to be a setting in my user profile... but where? what?
Map the keys in /etc/X11/Xmodmap. Doesn't matter what name I gave them, as long as they're mapped. After I did that everything worked fine.... weird.
Also, using the ZT11XX driver was needed. Now I know at least.
You can create a .Xmodmap in your /home/username folder with the proper mappings in it. Then, I copied /etc/X11/xinit/xinitrc (which is a script) to /home/username/.kde/Autostart (I'm pretty sure that's right!) and edited the script to reflect my /home/username/.Xmodmap file. Restart X. Then, when it runs the Autostart stuff, it will execute the script and use the .Xmodmap from your home folder and make those keys mapped! It's worth a shot!!!
Last edited by Agentvenom; 12-27-2007 at 09:27 AM.
It turns out, KDE was mapping those keys to some crazy hotkey function in the control panel. I have no idea why, but that was overriding all my functions for those keys. I erased the hotkeys for volume in khotkeys... remapped them to kmix's DCOP functions... and then restarted X (PS I already tried the hacky way :P). It now works, and I now know how to make hotkeys in KDE. All is well!!
It turns out, KDE was mapping those keys to some crazy hotkey function in the control panel. I have no idea why, but that was overriding all my functions for those keys. I erased the hotkeys for volume in khotkeys... remapped them to kmix's DCOP functions... and then restarted X (PS I already tried the hacky way :P). It now works, and I now know how to make hotkeys in KDE. All is well!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.