Bug#504012: Add support for Eee PC volume buttons

2009-02-22 Thread Francois Gouget

This is essentially a duplicate of bug 515707 (or other way around), 
except this one is about if-asus-eee.sh not recognizing model 901, while 
bug 515707 is about it not recognizing model 1000H.

So both bugs can probably be fixed at the same time.

-- 
Francois Gouget fgou...@free.fr  http://fgouget.free.fr/
 The software said it requires Win95 or better, so I installed Linux.



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



Bug#504012: Add support for Eee PC volume buttons

2008-10-30 Thread Per Olofsson
Package: acpi-support
Version: 0.109-9
Severity: wishlist

Hi,

On an Eee PC 901, the volume buttons don't do anything by default with
acpi-support installed. Apparently they are not bound to anything in
/etc/acpi/events. The following files can be added to fix it:

eeepc-volume-mute:
--
event=hotkey ATKD 0013
action=/etc/acpi/mutebtn.sh 
--

eeepc-volume-down:
--
event=hotkey ATKD 0014
action=/etc/acpi/voldownbtn.sh
--

eeepc-volume-up:
--
event=hotkey ATKD 0015
action=/etc/acpi/volupbtn.sh
--


Note that these are similar to the asus-volume-* files, which I looked
at. The only difference is the key number and the fact that my system
only says ATKD and not HOTK when I press the buttons. Perhaps the
codes can be added as alternatives in the asus-volume-* files instead
using the (...|...) syntax.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages acpi-support depends on:
ii  acpi-support-base 0.109-9scripts for handling base ACPI eve
ii  acpid 1.0.6-13   Utilities for using ACPI power man
ii  dmidecode 2.9-1  Dump Desktop Management Interface 
ii  finger0.17-12user information lookup program
ii  hdparm8.9-2  tune hard disk parameters for high
ii  laptop-detect 0.13.7 attempt to detect a laptop
ii  libc6 2.7-13 GNU C Library: Shared libraries
ii  lsb-base  3.2-20 Linux Standard Base 3.2 init scrip
ii  powermgmt-base1.30+nmu1  Common utils and configs for power
ii  vbetool   1.0-3  run real-mode video BIOS code to a
ii  x11-xserver-utils 7.3+5  X server utilities

Versions of packages acpi-support recommends:
ii  dbus  1.2.1-3simple interprocess messaging syst
ii  hal   0.5.11-3   Hardware Abstraction Layer
ii  nvclock   0.8b3-1Allows you to overclock your nVidi
ii  pm-utils  1.1.2.4-1  utilities and scripts for power ma
ii  radeontool1.5-5  utility to control ATI Radeon back
ii  toshset   1.73-2 Access much of the Toshiba laptop 

Versions of packages acpi-support suggests:
ii  laptop-mode-tools 1.45-1 Scripts to spin down hard drive an

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#504012: Add support for Eee PC volume buttons

2008-10-30 Thread Bart Samwel
Hi Per,

Per Olofsson wrote:
 On an Eee PC 901, the volume buttons don't do anything by default with
 acpi-support installed. Apparently they are not bound to anything in
 /etc/acpi/events. The following files can be added to fix it:
 
 eeepc-volume-mute:
 --
 event=hotkey ATKD 0013
 action=/etc/acpi/mutebtn.sh 
 --
 
 eeepc-volume-down:
 --
 event=hotkey ATKD 0014
 action=/etc/acpi/voldownbtn.sh
 --
 
 eeepc-volume-up:
 --
 event=hotkey ATKD 0015
 action=/etc/acpi/volupbtn.sh
 --
 
 
 Note that these are similar to the asus-volume-* files, which I looked
 at. The only difference is the key number and the fact that my system
 only says ATKD and not HOTK when I press the buttons. Perhaps the
 codes can be added as alternatives in the asus-volume-* files instead
 using the (...|...) syntax.

This should be handled by asus-eee-volume-down and -up... Oh wait, that
only detects model 701. Could you change /etc/acpi/if-asus-eee.sh so
that the line:

if [ $model = 701 ] ; then

reads

if [ $model = 701 -o $model = 901 ] ; then

and try again? If that works, I'll commit that change.

Cheers,
Bart



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#504012: Add support for Eee PC volume buttons

2008-10-30 Thread Per Olofsson
Hi Bart,

Bart Samwel wrote:
 This should be handled by asus-eee-volume-down and -up... 

Oops, missed those files :-)

 Oh wait, that
 only detects model 701. Could you change /etc/acpi/if-asus-eee.sh so
 that the line:
 
 if [ $model = 701 ] ; then
 
 reads
 
 if [ $model = 701 -o $model = 901 ] ; then
 
 and try again? If that works, I'll commit that change.

Yes, works great!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]