Skip to contentSkip to conversation

: ens1371 pcm not work in 2.6.11 kernel

ALSA - driver 0001023 [email protected] 1 participant 1 message Feb 4, 2006

lore
Share & tools
lore
#0 lore raw

The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1023>
======================================================================

Reported By:                yafrank
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1023
Category:                   PCI - ens1371
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     resolved
Distribution:               Fedora Core 3
Kernel Version:             2.6.11-1.8_FC3
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             03-30-2005 14:25 CEST
Last Modified:              02-04-2006 19:18 CET

======================================================================
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

======================================================================

----------------------------------------------------------------------
pearma - 02-02-06 12:58
----------------------------------------------------------------------
when I tried the "echo 18 8000 > ac97#0-0+regs" command, I got "no such device" error. I was sure I entered the command as root. tiwai, register 18 is for pcm volume control,right?
how is register 02? It is master volume related according to the AC97 Codec Document from Intel.

----------------------------------------------------------------------
pearma - 02-04-06 10:43
----------------------------------------------------------------------
It seems that the bug could be closed now.
I tried again this afternoon with the latest alsa driver, ver 1.0.11rc3,the speaker began to make noise which shoked me.
I compiled the driver with debug turned on and make , make install-modules,reboot.
Then I found the command cat 18 8000 > ac97#0_0+regs worked.
I tried speaker-test,and my speaker blew with lound noise.
Now everything worked like a charm except the right channel volume was much lower than left one.
I don't know how to fix it.
The only difference between my last two installation attempts was I issued make install command instead of make install-modules. and of course the with-debug full option at configure stage. I don't know which matters. anyway, i have my sound card back again.

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                          
06-20-05 11:01 perex          Status                   new => assigned     
06-20-05 11:01 perex          Assigned To               => perex           
06-23-05 16:48 yafrank        Note Added: 0005191                          
07-08-05 10:24 perex          Note Added: 0005405                          
07-08-05 10:25 perex          Note Edited: 0005405                         
07-11-05 13:45 yafrank        Note Added: 0005444                          
07-11-05 16:47 yafrank        Note Added: 0005449                          
07-11-05 22:52 gwennou        Note Added: 0005451                          
09-01-05 10:25 yafrank        File Added: config-2.6.13-snd                    
09-01-05 10:51 yafrank        Note Added: 0005995                          
09-01-05 18:15 tiwai          Note Added: 0005997                          
09-04-05 02:09 bobcat98       Note Added: 0006034                          
09-04-05 02:12 bobcat98       Issue Monitored: bobcat98                    
10-25-05 13:55 rufusplant     Note Added: 0006539                          
10-25-05 15:12 tiwai          Note Added: 0006542                          
11-14-05 10:01 perex          Status                   assigned => feedback
11-15-05 16:21 yafrank        Note Added: 0006730                          
11-28-05 05:18 rufusplant     Note Added: 0006853                          
12-11-05 06:43 yafrank        Note Added: 0006975                          
02-02-06 12:58 pearma         Note Added: 0007876                          
02-02-06 17:38 yafrank        Note Deleted: 0006975                        
02-04-06 10:43 pearma         Note Added: 0007915                          
02-04-06 19:18 rlrevell       Status                   feedback => resolved
02-04-06 19:18 rlrevell       Resolution               open => fixed       

======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642