[dapper & edgy] Sound -> Chipset ADI1981B

Bug #68556 reported by Ubitux
6
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Undecided
Daniel T Chen
linux-source-2.6.17 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi

I had a lot of problems with this chipset. (ADI1981B)

On both (dapper+edgy) I have a strange problem : when the system is installed, all seems to go ok ; even if I _reboot_ the computer, sound goes ok. But if I _shutdown_ and then _restart_ my laptop the sound looks very ugly : I have only a infernal whistle.

It's very strange that shutdown completely the system does it...

So I fix the problem adding : "options snd-hda-intel index=0 single_cmd=1 model=laptop-eapd" at the end of the file /etc/modprobe.d/alsa-base

It works on dapper and edgy.

But when I installed Edgy, I had another problem : when I change the volume with anything (keyboard shortcuts, software, ...) the sound is cut ! I can't take it back even if I put the volume on his init value.

To fix this problem I use my old alsa-base (taken on dapper) and it works well.

So, this was my old alsa-base (dapper) I actually use (You can see the first fix at the end of the file) :

-------------------------------------------
# autoloader aliases
install sound-slot-0 modprobe snd-card-0
install sound-slot-1 modprobe snd-card-1
install sound-slot-2 modprobe snd-card-2
install sound-slot-3 modprobe snd-card-3
install sound-slot-4 modprobe snd-card-4
install sound-slot-5 modprobe snd-card-5
install sound-slot-6 modprobe snd-card-6
install sound-slot-7 modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd modprobe --ignore-install snd $CMDLINE_OPTS && { modprobe -Qb snd-ioctl32 ; : ; }
install snd-pcm modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { modprobe -Qb snd-pcm-oss ; : ; }
install snd-mixer modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { modprobe -Qb snd-mixer-oss ; : ; }
install snd-seq modprobe --ignore-install snd-seq $CMDLINE_OPTS && { modprobe -Qba snd-seq-midi snd-seq-oss ; : ; }

# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 modprobe --ignore-install saa7134 $CMDLINE_OPTS && { modprobe -Qb saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
#options snd-hda-intel position_fix=1 model=3stack
options snd-hda-intel index=0 single_cmd=1 model=laptop-eapd
-------------------------------------------

And this was on Edgy (without patch) :
-------------------------------------------
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --Qb snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }

# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
-------------------------------------------

So finally it works with the patched alsa-base of dapper. But I really don't understand why a simple reboot doesn't do anything and a shutdown+restart kill the driver :s

It's one of the most incomprehensible bug I ever seen... have you got an explication ?

Revision history for this message
Daniel T Chen (crimsun) wrote :

This is a possible hardware or likely firmware (read: bios) bug.

Revision history for this message
Ubitux (lord-zak) wrote :

Yes but it run on dapper... (concerning the changement of the volume)
And it works changing the alsa-base, so I suppose it's not a bios problem...

A friend confirm these bugs with another chipset (his problem is not solve by using my alsa-base)

Like me, he has :

$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

Revision history for this message
Daniel T Chen (crimsun) wrote :
Changed in linux-source-2.6.17:
status: Unconfirmed → Fix Committed
Changed in linux-source-2.6.15:
assignee: nobody → crimsun
status: New → Fix Released
Changed in linux-source-2.6.15:
status: Fix Released → Fix Committed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

This report was marked 'Fix Committed' a while ago and there hasn't been any activity in it recently. I'm going to go ahead and mark the status as 'Fix Released'. If this is not the case, please retest against the latest Hardy Alpha release and report back your results. Thanks in advance.

Changed in linux-source-2.6.17:
status: Fix Committed → Fix Released
Changed in linux-source-2.6.15:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.