Bug#531074: [Pkg-acpi-devel] Bug#531074: Several keys not working anymore with Sony Vaio SZ2HP

2009-06-11 Thread Florian Vessaz
Le mercredi 10 juin 2009 à 17:16 +0200, Michael Meskes a écrit :
> Also could you
> please try both without running X and preferably without running hal? This
> suspiciously looks like the key is interpreted twice with only one being
> correct and we need to figure out who's interpreting it incorrectly.

In my opinion, without X it would be difficult to see what's happening.
I started X with only a window manager and a terminal to monitor the
event in X with xev.

So here is what's happening when I don't stop anything:
Key volume up: events with keycode 176
Key volume down: events with keycode 160 and keycode 174
Key mute: events with keycode 160 and 241

I think you're right those two last keys must be interpreted twice
because X gets two different keycodes when I press those keys...

Now I stop hal and here's what happens:
Key volume up: events with keycode 176
Key volume down: events with keycode 160 and 174
Key mute: events with keycode 160 and 241

So nothing changed.

Now I stop acpid:
Key volume up: nothing
Key volume down: events with keycode 160
Key mute: events with keycode 241

So I'm pretty sure acpi-support is not at fault for the volume keys. I
have absolutely no idea what it could be; I noticed this bug after I
upgraded acpi-support but it must have been something else in the
upgrade that was related to the keys... Or maybe it was already there by
that time and I didn't noticed it before.

I've noticed that when I press the volume, mute, and brightness keys I
get some output when reading /dev/input/event6.

After a bit of testing I've found something interesting:
When hal is stopped and I unprobe and probe again sony-laptop then the
keys work as expected until I start hal again. So its seems to me that
hal is related with the problem. But I think it's weird that stopping
hal (invoke-rc.d hal stop) isn't sufficient and that I have to reprobe
sony-laptop.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#531074: [Pkg-acpi-devel] Bug#531074: Several keys not working anymore with Sony Vaio SZ2HP

2009-06-10 Thread Michael Meskes
On Fri, May 29, 2009 at 08:53:03PM +0200, Florian Vessaz wrote:
> The following keys are not doing the appropriate action anymore:
> - The key volume down decrease the volume and mute the audio.
> - The key mute mutes and pops up the "Power Information" dialog of
>   gnome-power-manager.

Did either of these work with an older version of acpi-support? Also could you
please try both without running X and preferably without running hal? This
suspiciously looks like the key is interpreted twice with only one being
correct and we need to figure out who's interpreting it incorrectly. Of course
doing it the other way round is also interesting, i.e. stopping acpid while
running under X and pressing the keys again.

> - The brightness up and down keys do nothing.

I will add these files again. Upstream's changelog gives a reason for removing
these files that doesn't seem to fit, so it might have been by accident anyway.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: mes...@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#531074: [Pkg-acpi-devel] Bug#531074: Several keys not working anymore with Sony Vaio SZ2HP

2009-06-02 Thread Florian Vessaz
> Or whatever arch you are using?

I'm using i386. 

> Could you please test this with the following kernel package:
> http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.30-6-generic_2.6.30-6.7_i386.deb

It depends on wireless-crda but this package is not in Debian. So I
installed wireless-crda_1.7_i386.deb from Ubuntu.

This new kernel doesn't change anything to the problem. The behavior is
exactly the same.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#531074: [Pkg-acpi-devel] Bug#531074: Several keys not working anymore with Sony Vaio SZ2HP

2009-05-31 Thread Michael Meskes
On Fri, May 29, 2009 at 08:53:03PM +0200, Florian Vessaz wrote:
> I've copied the following files from acpi-support version 0.109-11
> /etc/acpi/events/sony-brightness-down
> /etc/acpi/events/sony-brightness-up
> /etc/acpi/events/sonybright.sh
> And now the brightness buttons work again.

Could you please test this with the following kernel package:

http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.30-6-generic_2.6.30-6.7_i386.deb

Or whatever arch you are using? I'd like to figure out whether this is just
because our kernel is older/differently configured/patched than upstream's or
whether there is a bug that's of interest for upstream as well.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: mes...@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org