Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 15:59:09 +0800
From:      Rong-En Fan <rafan@infor.org>
To:        Kevin Oberman <oberman@es.net>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Fwd: Audio problem after resume fixed!
Message-ID:  <20051024075909.GA74859@svm.csie.ntu.edu.tw>
In-Reply-To: <20051023225159.978415D04@ptavv.es.net>
References:  <d9175cad0510222232l5cf185a3k@mail.gmail.com> <20051023225159.978415D04@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 23, 2005 at 03:51:59PM -0700, Kevin Oberman wrote:
> By using radeontool, I have been able to fix tha problem. Backlight goes
> off and on fine. I also want to tie radeontool to Fn+F4, but have not
> done so at this time.

I use the following settings, works great for me:

/etc/devd.conf:
notify 10 {
        match "system"          "ACPI";
        match "subsystem"       "IBM";
        match "notify"          "0x04";
        action "/usr/sbin/zzz";
};      

/etc/rc.suspend:
[...]
/usr/local/bin/radeontool light off

logger -t $subsystem suspend at `date +'%Y%m%d %H:%M:%S'`
sync && sync && sync
[...]

/etc/rc.resume:
[...]
/usr/local/bin/radeontool light on

logger -t $subsystem resumed at `date +'%Y%m%d %H:%M:%S'`
sync && sync && sync
[...]


Hope this helps,
Rong-En Fan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051024075909.GA74859>