Re: [PATCH] allow volume keys to work without OSS emulation
Brought to you by:
matthiasgrimm
From: John S. S. <to...@to...> - 2004-11-22 18:57:20
|
Matthias Grimm <mat...@us...> writes: > Hi John, > I just integrated your module in my distribution and i got some problems you > might know a solution for: > > 1. Your patch don't compile on my machine out of the box. > The problem: The linker doesn't got the alsa libraries after running > configure. Have you modified files not included in the patch? I had to > modify src/Makefile.am to add the ALSA_LIBS. > I updated my autoconf and libasound2 but there was no trick. Did you run "autoreconf --force" in the top level directory? I did test my patch on a clean copy of the sources, but I'm not an expert with the autotools. I thought AM_PATH_ALSA added the alsa libs to LDFLAGS automatically. > 2. Your module doesn't change volume on my machine (G3 Pismo). > The problem: Your module change the master volume channel only (viewed with > the alsamixer), but this channel does nothing on my machine. I have to > change the PC Speaker volume channel to get a result, but I don't know how > to specify that channel in dev_Mixer. What is the right keyword for the PC > Speaker channel? > Running pbbuttonsd with OSS emulation of ALSA modify both channels due to > the MixerChannels configuration option. Maybe you could use the > MixerChannels configuration option to control this too. Ah, I just assumed that all mixers would have a working "Master". I will try and get this fixed (by adding the MixerChannels option) this week some time. cheers, John |