On Fri, 15 Jun 2007, Richard Hughes wrote: > > I have a patch that fixes and documents the whole stuff almost ready, it > > will be pushed to the git tree soon. > > So, we still use a hardware mixer? That still makes most sense from my > point of view as the events are still hardware. Yes, we will still get an ALSA mixer, it is the proper way to interface to a mixer, anyway. Only now I know how to get interrupts to know when something changes the mixer :-p Should I filter out the volume up/down and mute hotkeys in the driver, if the mixer is open? Right now, the patch allows userspace to remap them to real keycodes, although it defaults to a very sane KEY_RESERVED. It would be easy enough to never ever generate these keycodes. I *really* don't want to see those keys mapped to something that would go and increase the AC97/HDA mixer volume up, etc... btw. and I *bet* that's just the kind of stupidity people would pull off (because they have already done it in the past numerous times). HAL guys won't do it, I documented it properly to be sure of it, and I trust them to read docs. But what about the authors of the typical "thinkpad helper" crapp or crapplet? Or should I just ignore their existence, and let them break things for the unaware user, if they want to? > > BTW, I also got events for the LID switch on the same code path in a T43, > > now. I will be adding EV_SW to thinkpad-acpi soon :p > > Okay cool. Could you give me a sneak peek at the patch, so I can try it > on my x60? It is in the git tree, in the same input branch you used before. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel