Bug 132036

Summary: No sound with snd_intel8x0 AC'97, neither yast nor alsaconfig
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Oliver Kirchkamp <oliver>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Oliver Kirchkamp 2005-11-02 16:57:06 UTC
I installed SuSE 10.0 final from scratch on my ASUS S5600 Notebook and initially sound worked without a problem. I installed some online updates, suddenly sound stopped working and the mixer would only show some odd controls (3D), no volume control.

Sound does still work with 9.3.

I installed again SuSE 10.0 final from scratch, now did the online update before detecting hardware. Result: No soundcard found by Yast.

Yast's sound module, however, claims that I have 2 soundards, one, Card Model "Sound Card" running with snd-intel8x0, the other "not configured" "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller". It is not possible to delete any of these cards (Yast just ignores my request to delete them), when I "edit" the first card, the yast module crashes, when I edit the second card I get "An error occurred during the installation of 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller The kernel module snd-intel8x0 for sound support could not be loaded..."

In /etc/sysconfig/hardware there is a file hwcfg-bus-pci-00:1f.5 with content
MODULE='snd-intel8x0' STARTMODE='auto'

alsaconf finds an "intel8x0  Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97" claims to configure the card, loads a couple of modules, briefly shows error messages about something failing and plays no sound.

(I fear that I already submitted a part of this report by pressing return to early - I am sorry about this :-/

22: PCI 1f.5: 0401 Multimedia audio controller                  
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_8086_24c5
  Unique ID: W60f.9fPM0PO+u+4
  SysFS ID: /devices/pci0000:00/0000:00:1f.5
  SysFS BusID: 0000:00:1f.5
  Hardware Class: sound
  Model: "ASUSTeK 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x24c5 "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x1803 
  Revision: 0x03
  I/O Ports: 0xe000-0xe0ff (rw)
  I/O Ports: 0xe100-0xe13f (rw)
  Memory Range: 0x1f800400-0x1f8005ff (rw,non-prefetchable)
  Memory Range: 0x1f800600-0x1f8006ff (rw,non-prefetchable)
  IRQ: 7 (24712 events)
  Module Alias: "pci:v00008086d000024C5sv00001043sd00001803bc04sc01i00"
  Driver Info #0:
    Driver Status: i810_audio is not active
    Driver Activation Cmd: "modprobe i810_audio"
  Driver Info #1:
    Driver Status: snd_intel8x0 is active
    Driver Activation Cmd: "modprobe snd_intel8x0"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
Comment 1 Oliver Kirchkamp 2005-11-02 17:00:34 UTC
*** Bug 132035 has been marked as a duplicate of this bug. ***
Comment 2 Takashi Iwai 2005-11-07 16:06:39 UTC
Try to add buggy_semaphore=1 module option to snd-intel8x0 module (edit /etc/modprobe.d/sound with an editor).
It worked (IOW is required), at least, for some ASUS laptops.
Comment 3 Oliver Kirchkamp 2005-11-15 21:10:02 UTC
I tried this - but it does not work for *my* ASUS laptop (which worked out of the box with SuSE 9.3 and 9.2 :-/ When I load the module manually (or when it is loades with rcalsa) I get

Nov 15 22:00:54 kirchkamp2 kernel: PCI: Enabling device 0000:00:1f.5 (0005 -> 0007)
Nov 15 22:00:54 kirchkamp2 kernel: ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
Nov 15 22:00:54 kirchkamp2 kernel: PCI: Setting latency timer of device 0000:00:1f.5 to 64
Nov 15 22:00:55 kirchkamp2 kernel: intel8x0_measure_ac97_clock: measured 55391 usecs
Nov 15 22:00:55 kirchkamp2 kernel: intel8x0: clocking to 48000

...which looks nice, but when also proceeds I get...
Nov 15 22:01:03 kirchkamp2 resmgr[4576]: set_facl() - ACL error on /dev/dsp, acl_set_file: No such file or directory
...
and then some more ACL errors. Perhaps I should try SuSE 10.1?
Comment 4 Greg Jones 2005-11-16 05:16:49 UTC
I have the same problem. I have a driver named with an underscore in it and Yast looks for a module with a hyphen in the name. Sound works if I alsaconf and driver snd_ens1371 gets loaded, but Yast still crashes looking for snd-ens1371.

Even if this is all that's wrong I wouldn't have a clue what to do about it.
Comment 5 Takashi Iwai 2005-11-18 19:43:18 UTC
Try "aplay -vv somefile.wav".  If this works, something wrong in your configuration.

The problem in comment #4 is very likely irrelevant, BTW.  Please don't mix up in this report, rather open another one.

Comment 6 Oliver Kirchkamp 2005-11-18 19:55:41 UTC
buggy_semaphore=1 in /etc/modprobe.d/sound finally helped - I forgot to run update-modules.dep thereafter :-/
As soon as I did sound worked on my ASUS laptop :-)
Comment 7 Takashi Iwai 2005-11-23 17:13:56 UTC
OK, resolved to FIXED.