First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 43089
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marco Testarmata <testarmata.marco@tiscali.it>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
acpi4asus-0.27.ebuild New ebuild application/octet-stream Marco Testarmata 2004-02-27 05:27 0000 1.04 KB Details
acpi4asus-0.28.ebuild acpi4asus-0.28.ebuild text/plain MAL 2004-08-29 12:29 0000 924 bytes Details
acpi4asus-0.28.ebuild.txt acpi4asus-0.28.ebuild text/plain MAL 2004-08-30 01:03 0000 927 bytes Details
acpi4asus-0.29.ebuild acpi4asus-0.29.ebuild text/plain Marco Testarmata 2004-09-05 04:48 0000 2.00 KB Details
acpi4asus-0.29.ebuild acpi4asus-0.29.ebuild text/plain Stefan Schweizer 2005-01-29 01:43 0000 1.00 KB Details
acpi4asus-0.29.ebuild_200501290143PST_200505071858GMT.diff patch for acpi4asus-0.29.ebuild (2005-01-29 01:43 PST) patch Ricardo Cordeiro 2005-05-07 11:01 0000 544 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 43089 depends on: Show dependency tree
Bug 43089 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-27 05:25 0000
Acpi daemon to control ASUS Laptop Hotkey
HomePage http://sourceforge.net/projects/acpi4asus
You mast have "ASUS/Medion Laptop Extras" kernel modules

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Marco Testarmata 2004-02-27 05:27:27 0000 -------
Created an attachment (id=26464) [edit]
New ebuild

i suggested sys-apps/acpi4asus

------- Comment #2 From Peter Johanson (RETIRED) 2004-02-28 20:57:32 0000 -------
Okay, ebuild commited. Please test and report success/failure. I updated the
src_install section to use portage's utilities for the installation. Please see
the ebuild once you sync. More info on using these portage shortcuts are in
"man 5 ebuild"

Thanks!

------- Comment #3 From MAL 2004-08-29 12:29:00 0000 -------
Created an attachment (id=38450) [edit]
acpi4asus-0.28.ebuild

Updated ebuild for typos

------- Comment #4 From Doug Goldstein 2004-08-29 22:30:17 0000 -------
*** Bug 49143 has been marked as a duplicate of this bug. ***

------- Comment #5 From MAL 2004-08-30 01:01:12 0000 -------
49143 was the right place for this bug - this is an old version in testing. 
Pls reopen 49143.

------- Comment #6 From MAL 2004-08-30 01:03:00 0000 -------
Created an attachment (id=38472) [edit]
acpi4asus-0.28.ebuild

Updated in case 49143 isn't reopened.

The previous attachment was uploaded as a mistake anyway.

------- Comment #7 From Marco Testarmata 2004-09-05 04:48:42 0000 -------
Created an attachment (id=38970) [edit]
version bump

------- Comment #8 From Marco Testarmata 2004-09-05 05:00:20 0000 -------
(From update of attachment 38970 [edit])
Include kernel modules

------- Comment #9 From Marco Testarmata 2004-09-05 05:01:24 0000 -------
Summary changed from NEW ebuild acpi4asus-0.27 to NEW ebuild acpi4asus.
Please test and report success/failure.

------- Comment #10 From Marco Testarmata 2004-09-05 05:04:08 0000 -------
acpi4asus-0.27 and acpi4asus-0.28 work fine, none problem. ASUS L3400.

------- Comment #11 From Marco Testarmata 2004-09-05 13:24:39 0000 -------
Reopen bug

------- Comment #12 From Marco Testarmata 2004-09-22 15:40:03 0000 -------
acpi4asus-0.29 work fine.

------- Comment #13 From kemir@ifrance.com 2004-11-25 15:25:20 0000 -------
einfo in pkg_postinst is wrong:
replace: "/ush/share/docs/acpi4asus-0.29/README"
(einfo "see /ush/share/docs/${P}/README for details")
by "/usr/share/doc/acpi4asus-0.29/README.gz"
(einfo "see /usr/share/doc/${P}/README.gz for details")

------- Comment #14 From Stefan Schweizer 2005-01-29 01:43:30 0000 -------
Created an attachment (id=49806) [edit]
acpi4asus-0.29.ebuild

New ebuild using linux-mod

Please test and comment.

------- Comment #15 From Henrik Brix Andersen 2005-04-24 09:36:03 0000 -------
*** Bug 72509 has been marked as a duplicate of this bug. ***

------- Comment #16 From Ricardo Cordeiro 2005-05-07 10:55:21 0000 -------
acpi4asus' asus_acpid depends on acpid.

Where's the problem:

pt_lamb@milk pt_lamb $ asus_acpid
connect: Connection refused
asus_acpid: can't open unix domain socket on /var/run/acpid.socket: Illegal seek

Solution:

milk root # emerge acpid
milk root # /etc/init.d/acpid start

and rerun asus_acpid

------- Comment #17 From Ricardo Cordeiro 2005-05-07 11:01:56 0000 -------
Created an attachment (id=58288) [edit]
patch for acpi4asus-0.29.ebuild (2005-01-29 01:43 PST)

added the RDEPEND var and corrected some typos on postinst

------- Comment #18 From Ricardo Cordeiro 2005-05-07 11:22:52 0000 -------
I did the following tests on my Asus M6800N laptop with the factory BIOS
version 209

Test #1 Loading the module:

milk root # modprobe asus_acpi
milk root # dmesg |tail -n 2
Asus Laptop ACPI Extras version 0.29
  M6N model detected, supported

Works.

Test #2 Checking events:

milk acpi # cat /proc/acpi/event
(pressing a lot of kotkeys and combinations)
hotkey ATKD 00000050 00000001
hotkey ATKD 00000051 00000001
hotkey ATKD 0000005d 00000002
hotkey ATKD 0000006b 00000000
hotkey ATKD 0000005c 00000001
hotkey ATKD 00000040 00000000
hotkey ATKD 00000043 00000000
hotkey ATKD 00000045 00000000
hotkey ATKD 00000041 00000000
hotkey ATKD 0000005d 00000003
hotkey ATKD 0000002e 00000000
hotkey ATKD 0000001f 00000000
hotkey ATKD 00000034 00000000
hotkey ATKD 00000033 00000000
hotkey ATKD 00000034 00000001
hotkey ATKD 00000033 00000001
hotkey ATKD 00000061 00000000
hotkey ATKD 00000032 00000000
hotkey ATKD 00000031 00000000
hotkey ATKD 00000030 00000000


Only Fn+F1 (sleep combination) failed, other then that it works.

Test #3 Changing LED states:

milk asus # echo 1 > /proc/acpi/asus/mled
milk asus # echo 0 > /proc/acpi/asus/mled
milk asus # echo 1 > /proc/acpi/asus/wled
milk asus # echo 0 > /proc/acpi/asus/wled

Works properly.

Test #4 Checking DSDT information:

milk asus # cat /proc/acpi/asus/info
Asus Laptop ACPI Extras Driver 0.29
Model reference    : M6N
SFUN value         : 0x0877
DSDT length        : 24861
DSDT checksum      : 209
DSDT revision      : 1
OEM id             : 1ABSP
OEM table id       : 1ABSP000
OEM revision       : 0x0
ASL comp vendor id : MSFT
ASL comp revision  : 0x100000d

Ok.

Test #5 Changing LCD's brightness:

for i in `seq 0 15`; do sleep 1 ; echo $i > /proc/acpi/asus/brn; done

Works.

Test #6 Turning LCD on/off:

milk asus # echo 0 > /proc/acpi/asus/lcd
milk asus # echo 1 > /proc/acpi/asus/lcd

Works.

Test #7 Switching displays:

Didn't run this test because my laptop's model is not supported.

Test #8 Running asus_acpid:

pt_lamb@milk pt_lamb $ cd
pt_lamb@milk pt_lamb $ mkdir .asus_acpi
pt_lamb@milk pt_lamb $ cp -r /usr/share/acpi4asus/samples/* .asus_acpi/
pt_lamb@milk pt_lamb $ cat > .asus_acpi/hotk0.sh
echo hotk0
(CTRL+D)
pt_lamb@milk pt_lamb $ cat > .asus_acpi/hotk1.sh
echo hotk1
(CTRL+D)
pt_lamb@milk pt_lamb $ cat > .asus_acpi/hotk2.sh
echo hotk2
(CTRL+D)
pt_lamb@milk pt_lamb $ chmod u+x .asus_acpi/hotk*
pt_lamb@milk pt_lamb $ asus_acpid
pt_lamb@milk pt_lamb $ tail -f .asus_acpi/log
(pressed 2 hotkeys)
[Sat May  7 19:08:52 2005] starting up
[Sat May  7 19:08:52 2005] 7 rules loaded
[Sat May  7 19:08:59 2005] received event "hotkey ATKD 00000050 00000004"
[Sat May  7 19:08:59 2005] executing action "~/.asus_acpi/hotk0.sh"
[Sat May  7 19:08:59 2005] BEGIN HANDLER MESSAGES
hotk0
[Sat May  7 19:08:59 2005] END HANDLER MESSAGES
[Sat May  7 19:08:59 2005] action exited with status 0
[Sat May  7 19:08:59 2005] completed event "hotkey ATKD 00000050 00000004"
[Sat May  7 19:09:03 2005] received event "hotkey ATKD 00000051 00000003"
[Sat May  7 19:09:03 2005] executing action "~/.asus_acpi/hotk1.sh"
[Sat May  7 19:09:03 2005] BEGIN HANDLER MESSAGES
hotk1
[Sat May  7 19:09:03 2005] END HANDLER MESSAGES
[Sat May  7 19:09:03 2005] action exited with status 0

END OF TESTS

milk root # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 17:48:05)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mmmx -msse2 -mfpmath=sse,387 -march=pentium4 -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mmmx -msse2 -mfpmath=sse,387 -march=pentium4 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks fixpackages
noauto sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS=" http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://193.136.191.98/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.belnet.be/gentoo-portage/"
USE="x86 X acpi aim alsa apache2 apm app-editors/vim:vim-with-x arts avi berkdb
bitmap-fonts bonobo bzlib cdr crypt cups curl dga divx4linux doc dvd dvdr
emboss encode esd fam fbcon foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk
gtk2 gtkhtml guile icq imagemagick imlib ipv6 jack java jpeg junit libg++
libwww mad mikmod mmx motif mozilla mozsvg mp3 mpeg msn mysql nas ncurses
net-misc/openssh:chroot net-www/links:javascripti nls ogg oggvorbis opengl
oscar oss pam pcmcia pdflib perl php pic pie png pnp posix python qt quicktime
readline samba sdl session shared sharedmem slang snmp sockets spell sse ssl
svga sys-libs/glibc:erandom sys-libs/glibc:makecheck sys-libs/glibc:nptl tcltk
tcpd tetex tiff truetype truetype-fonts trusted type1-fonts unicode usb vorbis
x11-base/xfree-drm:radeon x11-misc/xscreensaver:offensive xine xinerama xml
xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

Guess everything works fine. I would like to see it stable on x86 if there's no
remaining issue.

------- Comment #19 From Stefan Schweizer 2005-05-07 11:44:17 0000 -------
thanks, fixed

First Last Prev Next    No search results available      Search page      Enter new bug