From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001023]: ens1371 pcm not work in 2.6.11 kernel Date: Sat, 18 Jun 2005 05:19:51 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 747FE13C for ; Sat, 18 Jun 2005 05:19:51 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: yafrank Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 1023 Category: CORE - pcm Reproducibility: always Severity: block Priority: normal Status: new Distribution: Fedora Core 3 Kernel Version: 2.6.11-1.8_FC3 ====================================================================== Date Submitted: 03-30-2005 14:25 CEST Last Modified: 06-18-2005 05:19 CEST ====================================================================== Summary: ens1371 pcm not work in 2.6.11 kernel Description: I'm using FC3 and my Creative SB AudioPCI 64V sound card works fine in 2.6.10-1.770_FC3 kernel. After I replaced the kernel to 2.6.11 from kernel.org or 2.6.11-1.8_FC3 from redhat, there is no sound anymore. I noticed that the 2.6.11 kernel uses alsa 1.0.8 driver, yet userspace alsa-lib and utility in fc3 are 1.0.6. So I upgrade them to 1.0.8 too. Still, there is no sound and alsamixer doesn't show any pcm option. Fortunately, the 1.0.8 lib and utility backward compatible with 1.0.6 driver in 2.6.10 kernel, so they were kept. The sound card uses ens1371 kernel module. And my /etc/modprobe.conf is this: alias snd-card-0 snd-ens1371 alias sound-slot-0 snd-ens1371 install snd-ens1371 /sbin/modprobe --ignore-install snd-ens1371 && /usr/sbin/alsactlrestore >/dev/null 2>&1 || : remove snd-ens1371 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ens1371 alias usb-controller uhci-hcd alias net-pf-10 off alias ipv6 off alias eth0 8139too ====================================================================== ---------------------------------------------------------------------- yafrank - 06-18-05 04:26 ---------------------------------------------------------------------- I'm not quite sure if my antique laptop bought in 2k, CII 366M/192M/Intel BX/20G, contains any ac97 chip on borad. Anyway, I'm compiling 2.6.12-rc6-git8 kernel and 1.0.9b alsa now. Alsa compile using "./configure --with-kernel=/path/to/kernel --with-build=/path/to/kernel --with-debug=full --with-cards=ens1371 --with-sequencer=yes; make; make install-modules". Before doing the test, what are those values represent? ---------------------------------------------------------------------- yafrank - 06-18-05 05:19 ---------------------------------------------------------------------- Boot to newly compiled 2.6.12-rc6-git8 kernel with 1.0.9b alsa driver, [root@twinhead ~]# cd /proc/asound/card0/codec97#0/ [root@twinhead codec97#0]# echo 18 8000 > ac97#0-0+regs [root@twinhead codec97#0]# cat ac97#0-0+regs > /tmp/alsa-ac97-test ## uploaded [root@twinhead codec97#0]# grep 18 /tmp/alsa-ac97-test 0:18 = 8101 [root@twinhead codec97#0]# echo 18 000 > ac97#0-0+regs [root@twinhead codec97#0]# cat ac97#0-0+regs > /tmp/alsa-ac97-test-000 [root@twinhead codec97#0]# grep 18 /tmp/alsa-ac97-test-000 0:18 = 8101 [root@twinhead codec97#0]# echo 18 2020 > ac97#0-0+regs [root@twinhead codec97#0]# cat ac97#0-0+regs > /tmp/alsa-ac97-test-2020 [root@twinhead codec97#0]# grep 18 /tmp/alsa-ac97-test-2020 0:18 = 8101 [root@twinhead codec97#0]# echo 18 1010 > ac97#0-0+regs [root@twinhead codec97#0]# cat ac97#0-0+regs > /tmp/alsa-ac97-test-1010 [root@twinhead codec97#0]# grep 18 /tmp/alsa-ac97-test-1010 0:18 = 8101 [root@twinhead codec97#0]# echo 18 0101 > ac97#0-0+regs [root@twinhead codec97#0]# cat ac97#0-0+regs > /tmp/alsa-ac97-test-0101 [root@twinhead codec97#0]# grep 18 /tmp/alsa-ac97-test-0101 0:18 = 8101 [root@twinhead tmp]# diff alsa-ac97-test alsa-ac97-test-000 1c1 < 0:00 = 0140 --- > 0:00 = 7605 14c14 < 0:1a = 8000 --- > 0:1a = 0000 [root@twinhead tmp]# diff alsa-ac97-test alsa-ac97-test-2020 1c1 < 0:00 = 0140 --- > 0:00 = 7605 8c8 < 0:0e = 8001 --- > 0:0e = 801f 15c15 < 0:1c = 8000 --- > 0:1c = 0000 [root@twinhead tmp]# diff alsa-ac97-test alsa-ac97-test-1010 1c1 < 0:00 = 0140 --- > 0:00 = 7605 6,7c6,7 < 0:0a = ffff < 0:0c = 811f --- > 0:0a = 811f > 0:0c = 801e 14c14 < 0:1a = 8000 --- > 0:1a = 1010 [root@twinhead tmp]# diff alsa-ac97-test alsa-ac97-test-0101 1c1 < 0:00 = 0140 --- > 0:00 = 7605 9c9 < 0:10 = 801f --- > 0:10 = 8101 14c14 < 0:1a = 8000 --- > 0:1a = 0101 Issue History Date Modified Username Field Change ====================================================================== 03-30-05 14:25 yafrank New Issue 03-30-05 14:25 yafrank Distribution => Fedora Core 3 03-30-05 14:25 yafrank Kernel Version => 2.6.11-1.8_FC3 03-30-05 18:08 tiwai Note Added: 0004266 03-31-05 10:49 yafrank Note Added: 0004277 03-31-05 13:14 yafrank Note Added: 0004279 03-31-05 13:23 perex Note Added: 0004280 03-31-05 17:08 yafrank Note Added: 0004282 04-06-05 18:41 mmadore Note Added: 0004350 04-07-05 16:04 tiwai Note Added: 0004357 04-07-05 18:32 mmadore Note Added: 0004362 04-07-05 18:33 mmadore File Added: asound.state 04-07-05 18:37 mmadore File Added: ac97#0-0 04-07-05 18:38 mmadore File Added: ac97#0-0+regs 04-12-05 05:47 yafrank Issue Monitored: yafrank 04-12-05 06:02 yafrank Note Added: 0004445 04-12-05 16:29 tiwai Note Added: 0004447 04-12-05 19:46 yafrank Note Added: 0004459 04-12-05 20:00 yafrank Note Added: 0004460 04-12-05 21:11 mmadore Note Added: 0004463 04-12-05 21:12 mmadore File Added: asound.state.new 04-24-05 00:15 mycroft Issue Monitored: mycroft 06-17-05 09:55 yafrank Note Added: 0005065 06-17-05 11:45 yafrank Note Added: 0005067 06-17-05 14:44 tiwai Note Added: 0005073 06-18-05 04:26 yafrank Note Added: 0005082 06-18-05 04:52 yafrank File Added: alsa-ac97-test 06-18-05 05:19 yafrank Note Added: 0005083 ====================================================================== ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click