: ens1371 pcm not work in 2.6.11 kernel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1023>
======================================================================
Reported By: yafrank
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 1023 Category: PCI - ens1371 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-20-2005 11:00 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 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
---
Quoted 1 line
0:00 = 7605
14c14
< 0:1a = 8000
---
Quoted 1 line
0:1a = 0000
[root@twinhead tmp]# diff alsa-ac97-test alsa-ac97-test-2020 1c1
< 0:00 = 0140
---
Quoted 1 line
0:00 = 7605
8c8
< 0:0e = 8001
---
Quoted 1 line
0:0e = 801f
15c15
< 0:1c = 8000
---
Quoted 1 line
0:1c = 0000
[root@twinhead tmp]# diff alsa-ac97-test alsa-ac97-test-1010 1c1
< 0:00 = 0140
---
Quoted 1 line
0:00 = 7605
6,7c6,7
< 0:0a = ffff
< 0:0c = 811f
---
Quoted 2 lines
0:0a = 811f
0:0c = 801e
14c14
< 0:1a = 8000
---
Quoted 1 line
0:1a = 1010
[root@twinhead tmp]# diff alsa-ac97-test alsa-ac97-test-0101 1c1
< 0:00 = 0140
---
Quoted 1 line
0:00 = 7605
9c9
< 0:10 = 801f
---
Quoted 1 line
0:10 = 8101
14c14
< 0:1a = 8000
---
Quoted 1 line
0:1a = 0101
----------------------------------------------------------------------
perex - 06-20-05 11:00
----------------------------------------------------------------------
Could you try ens1371-reset.patch ?
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 06-20-05 10:59 perex File Added: ens1371-reset.patch
06-20-05 10:59 perex Category CORE - pcm => PCI -
ens1371
06-20-05 11:00 perex Note Added: 0005095
======================================================================
-------------------------------------------------------
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