On 7/30/07, nikosapi <nikosapi@xxxxxxxxx> wrote: > Hello, > > I have a Lenovo 3000 V200 which doesn't mute the built-in speakers when I plug > in headphones. It uses the snd_hda_intel kernel module and alsamixer says it > has a Conexant CX20549 (Venice) chipset. > > Looking through the bug reports I found bug 2933 which seems to be similar to > mine and the solution was to upgrade to alsa-driver version 1.0.14. Sadly > Fedora 7 uses 1.0.14rc3 which apparently isn't new enough. > > I've tried compiling the 1.0.14 and latest hg driver myself with no avail. I > have both the kernel-headers and kernel-devel packages installed, naturally > they match my running kernel. Now, getting to the error... Attached to the > bottom of this message is what happens shortly after it starts compiling. For > a non-linewrapped version go here: http://pastebin.ca/640138 > > Please help, > > nick > > P.S. If it helps here's /proc/asound/card0/codec#0: http://pastebin.ca/640139 > > > > > make -C /lib/modules/2.6.22.1-27.fc7/source > SUBDIRS=/home/nikosapi/sources/alsa/alsa-driver > O=/lib/modules/2.6.22.1-27.fc7/build CPP="gcc -E" CC="gcc" modules > make[1]: Entering directory `/usr/src/kernels/2.6.22.1-27.fc7-i686' > CC [M] /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.o > In file included > from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47, > > from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23: > /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:814: error: static > declaration of 'jiffies_to_msecs' follows non-static declaration > include/linux/jiffies.h:264: error: previous declaration of 'jiffies_to_msecs' > was here > /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:833: error: static > declaration of 'msecs_to_jiffies' follows non-static declaration > include/linux/jiffies.h:266: error: previous declaration of 'msecs_to_jiffies' > was here > In file included > from /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:931, > > from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47, > > from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23: > include/linux/pci.h:551: error: expected identifier or '(' before numeric > constant > In file included > from /home/nikosapi/sources/alsa/alsa-driver/include/sound/driver.h:47, > > from /home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.c:23: > /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h: In > function 'snd_pci_orig_save_state': > /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:1172: error: too > many arguments to function 'pci_save_state' > /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h: In > function 'snd_pci_orig_restore_state': > /home/nikosapi/sources/alsa/alsa-driver/include/adriver.h:1176: error: too > many arguments to function 'pci_restore_state' > make[4]: *** [/home/nikosapi/sources/alsa/alsa-driver/acore/hwdep.o] Error 1 > make[3]: *** [/home/nikosapi/sources/alsa/alsa-driver/acore] Error 2 > make[2]: *** [_module_/home/nikosapi/sources/alsa/alsa-driver] Error 2 > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-27.fc7-i686' > make: *** [compile] Error 2 > I don't know why but it seems the version of the Fedora kernel I was using was broken. An update to 2.6.22.1-33 seems to fix the compilation issues and my sound now works properly. Although I did have to specify model=laptop on the module options line in /etc/modprobe.conf Sorry for the trouble, nick ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user