Re: sound on a Thinkpad T40 - new info
Note that I have no particular knowledge of the T40. On Mon, Sep 15, 2003 at 07:29:31PM +0200, Martin Wegmann wrote: > On Monday 15 September 2003 16:23, Martin Wegmann wrote: > > (unknown) wrote: > > > /etc/modutils/alsa has 'alias snd-card-0 snd-intel8x0'. > > > > anyway - I haven't tried so much yet. only > > /etc/init.d/alsa-autoconfig as root and then I stopped because of the error > > message > > when looking at /etc/modutils/alsa it is empty. does that mean I haven't > > configured the soundcard or installed some modules? I'd suggest getting the sound to work by hand before using the init scripts. I.e. (for ALSA, assuming the information posted above is correct): # modprobe snd-intel8x0 Then try running alsamixer to unmute the soundcard, and play a wav with aplay. Once that works, try to get ALSA set up correctly (start with /usr/share/doc/alsa-base/README.Debian). > Sound server informational message: > Error while initializing the sound driver: > device /dev/dsp can't be opened (Permission denied) > The sound server will continue, using the null output device. To give a user permission to use audio, it should normally suffice to add him to the group 'audio'. Note that /dev/dsp is an OSS device (ALSA emulates it via snd-pcm-oss), so that may pose additional problems. > additionally I ran sndconfig (0.7) to configure my soundcard but did not > suceed. According to the package description, sndconfig is OSS-specific, so you most likely don't want to use that. Cheers Robert
Re: ACPI gnome applet for battery
> is there any ACPI (read not APM) gnome applet for battery ? I think the battery applet that comes with GNOME in unstable supports ACPI. At least it shows the correct value here. Cheers Robert
Re: How to control LCD backlight via program?
On Wed, Sep 24, 2003 at 07:36:33PM +0100, Carlos Sousa wrote: > On Wed, 24 Sep 2003 14:55:06 +0800 Yun-Ta Tsai wrote: > > Greeting, > > I plan to write a script to control my lcd backlight while entering > > power > > saving mode.(Make it darker and after plugging in the AC power, it will > > become brighter.) Is that possible to control the degree of the light of > > LCD? > > I know someone wrote a program for Sony Vaio, is that possible do the same > > stuff on ASUS laptop? > > On my Asus L3C, running kernel 2.4.21 with ACPI patches, there's a file > somewhere under /proc/acpi/ that you can cat a value to (between 0 and 15, > I think), that will enable you to control the LCD backlight intensity. /proc/acpi/asus/brn here, and .../asus/lcd for backlight on/off status. > I understand kernel 2.4.22 already has the latest ACPI patches included, > but I havent' tried it yet. You need to enable an ASUS-specific option in the kernel configuration to enable this. And insert the corresponding module if you don't compile it in. There's an ACPI patch available against 2.4.22 from http://acpi.sourceforge.net/, though I don't know how much of a difference that makes. Updates to the ASUS ACPI driver can also be found at http://sourceforge.net/projects/acpi4asus. Cheers Robert
Re: How to control LCD backlight via program?
On Thu, Sep 25, 2003 at 04:33:31PM +0100, Carlos Sousa wrote: > On Thu, 25 Sep 2003 14:36:14 +0800 Yun-Ta Tsai wrote: > > On Thursday 25 September 2003 14:06, Carlos Sousa wrote: > > > In my machine, the rest of the buttons will run sylpheed, > > > mozilla and openoffice. > > > > I have problem with this. > > My laptop is shared with other users, but while executing mozilla > > via acpid script, the uid will be root. How can I prevent this? > > (I was hoping no one would ask that... ;) > > Here's the ugly hack I've come up with: acpi4asus (http://sourceforge.net/acpi4asus) distribute an asus_acpid that can be run as user, e.g. from .xsession, and that listens to /var/run/.acpid.socket for acpi events. It's a simple per-user variant of acpid, nothing ASUS-specific about it. Cheers Robert
Re: How to control LCD backlight via program?
On Thu, Sep 25, 2003 at 09:34:23PM +0200, Robert Vollmert wrote: > acpi4asus (http://sourceforge.net/acpi4asus) distribute an asus_acpid That should be http://sourceforge.net/projects/acpi4asus, of course. Sorry.
Re: sound on a Thinkpad T40 - new info
Note that I have no particular knowledge of the T40. On Mon, Sep 15, 2003 at 07:29:31PM +0200, Martin Wegmann wrote: > On Monday 15 September 2003 16:23, Martin Wegmann wrote: > > (unknown) wrote: > > > /etc/modutils/alsa has 'alias snd-card-0 snd-intel8x0'. > > > > anyway - I haven't tried so much yet. only > > /etc/init.d/alsa-autoconfig as root and then I stopped because of the error > > message > > when looking at /etc/modutils/alsa it is empty. does that mean I haven't > > configured the soundcard or installed some modules? I'd suggest getting the sound to work by hand before using the init scripts. I.e. (for ALSA, assuming the information posted above is correct): # modprobe snd-intel8x0 Then try running alsamixer to unmute the soundcard, and play a wav with aplay. Once that works, try to get ALSA set up correctly (start with /usr/share/doc/alsa-base/README.Debian). > Sound server informational message: > Error while initializing the sound driver: > device /dev/dsp can't be opened (Permission denied) > The sound server will continue, using the null output device. To give a user permission to use audio, it should normally suffice to add him to the group 'audio'. Note that /dev/dsp is an OSS device (ALSA emulates it via snd-pcm-oss), so that may pose additional problems. > additionally I ran sndconfig (0.7) to configure my soundcard but did not > suceed. According to the package description, sndconfig is OSS-specific, so you most likely don't want to use that. Cheers Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ACPI gnome applet for battery
> is there any ACPI (read not APM) gnome applet for battery ? I think the battery applet that comes with GNOME in unstable supports ACPI. At least it shows the correct value here. Cheers Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to control LCD backlight via program?
On Wed, Sep 24, 2003 at 07:36:33PM +0100, Carlos Sousa wrote: > On Wed, 24 Sep 2003 14:55:06 +0800 Yun-Ta Tsai wrote: > > Greeting, > > I plan to write a script to control my lcd backlight while entering power > > saving mode.(Make it darker and after plugging in the AC power, it will > > become brighter.) Is that possible to control the degree of the light of LCD? > > I know someone wrote a program for Sony Vaio, is that possible do the same > > stuff on ASUS laptop? > > On my Asus L3C, running kernel 2.4.21 with ACPI patches, there's a file > somewhere under /proc/acpi/ that you can cat a value to (between 0 and 15, > I think), that will enable you to control the LCD backlight intensity. /proc/acpi/asus/brn here, and .../asus/lcd for backlight on/off status. > I understand kernel 2.4.22 already has the latest ACPI patches included, > but I havent' tried it yet. You need to enable an ASUS-specific option in the kernel configuration to enable this. And insert the corresponding module if you don't compile it in. There's an ACPI patch available against 2.4.22 from http://acpi.sourceforge.net/, though I don't know how much of a difference that makes. Updates to the ASUS ACPI driver can also be found at http://sourceforge.net/projects/acpi4asus. Cheers Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to control LCD backlight via program?
On Thu, Sep 25, 2003 at 04:33:31PM +0100, Carlos Sousa wrote: > On Thu, 25 Sep 2003 14:36:14 +0800 Yun-Ta Tsai wrote: > > On Thursday 25 September 2003 14:06, Carlos Sousa wrote: > > > In my machine, the rest of the buttons will run sylpheed, > > > mozilla and openoffice. > > > > I have problem with this. > > My laptop is shared with other users, but while executing mozilla > > via acpid script, the uid will be root. How can I prevent this? > > (I was hoping no one would ask that... ;) > > Here's the ugly hack I've come up with: acpi4asus (http://sourceforge.net/acpi4asus) distribute an asus_acpid that can be run as user, e.g. from .xsession, and that listens to /var/run/.acpid.socket for acpi events. It's a simple per-user variant of acpid, nothing ASUS-specific about it. Cheers Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to control LCD backlight via program?
On Thu, Sep 25, 2003 at 09:34:23PM +0200, Robert Vollmert wrote: > acpi4asus (http://sourceforge.net/acpi4asus) distribute an asus_acpid That should be http://sourceforge.net/projects/acpi4asus, of course. Sorry. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]