PCI/internal sound card detected but device not created

Bug #887309 reported by David Garcia Rojo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ALSA driver
New
Unknown
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Since ubuntu 10.11 to ubuntu 11.11

I've got the same error message and Alsa cannot find my emu 1212m pci express card.

There is a bug when the module is loaded:

EMU10K1_Audigy 0000:06:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Audigy2 value: Special config.
AC'97 0 does not respond - RESET
AC'97 0 access is not valid [0x0], removing mixer.
EMU10K1_Audigy 0000:06:04.0: PCI INT A disabled
EMU10K1_Audigy: probe of 0000:06:04.0 failed with error -5

The device is not created and alsa cannot find it!

The device could work as it isn't a 1102:0004 model:
lspci -nn | grep audio
04:00.1 Audio device [0403]: ATI Technologies Inc HD48x0 audio [1002:aa30]
06:04.0 Multimedia audio controller [0401]: Creative Labs SB0400 Audigy2 Value [1102:0008]

I've installed alsa firmware from medibuntu
alsa support this card as it is mentioned on there website

I've googled for many hours... days...
Some people said that this card work on Fedora.

Lot of ubuntu users are waiting for help.

Thanks.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: alsa-base 1.0.24+dfsg-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: david 2148 F.... pulseaudio
 /dev/snd/controlC0: david 2148 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfb9f8000 irq 77'
   Mixer name : 'Realtek ALC889'
   Components : 'HDA:10ec0889,104383c0,00100004'
   Controls : 37
   Simple ctrls : 22
Card2.Amixer.info:
 Card hw:2 'HDMI'/'HDA ATI HDMI at 0xfbcfc000 irq 78'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100100'
   Controls : 4
   Simple ctrls : 1
Card2.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Mon Nov 7 21:26:24 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Title: PCI/internal sound card not detected
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (23 days ago)
dmi.bios.date: 05/25/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0303
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P6X58D-E
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0303:bd05/25/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP6X58D-E:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
mtime.conffile..etc.modprobe.d.alsa.base.conf: 2011-11-05T18:10:34.466284

Revision history for this message
David Garcia Rojo (ouioui51) wrote :
Revision history for this message
Luke Yelavich (themuso) wrote :

Thanks for your bug report. What happens if you remove the emu10k module options line from /etc/modprobe.d/alsa-base.conf?

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
David Garcia Rojo (ouioui51) wrote :

This are lines I added trying to get my card working.
After removing this lines and reload alsa:
sudo alsa force-reload

I have the same error message:

Nov 8 23:13:07 SANJI kernel: [ 8984.153557] EMU10K1_Audigy 0000:06:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Nov 8 23:13:07 SANJI kernel: [ 8984.159863] Audigy2 value: Special config.
Nov 8 23:13:08 SANJI kernel: [ 8985.174484] AC'97 0 does not respond - RESET
Nov 8 23:13:08 SANJI kernel: [ 8985.174495] AC'97 0 access is not valid [0x0], removing mixer.
Nov 8 23:13:08 SANJI kernel: [ 8985.175825] EMU10K1_Audigy 0000:06:04.0: PCI INT A disabled
Nov 8 23:13:08 SANJI kernel: [ 8985.175837] EMU10K1_Audigy: probe of 0000:06:04.0 failed with error -5

Thanks for help!

Revision history for this message
David Garcia Rojo (ouioui51) wrote :

Hi,

Is there any news?

Thanks

Revision history for this message
David Garcia Rojo (ouioui51) wrote :

Hi,

is the information sent still incomplete?
How can I help?

Thanks In advance.

Revision history for this message
Luke Yelavich (themuso) wrote :

Ok I am not sure what the problem is, so marking confirmed for now.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
David Garcia Rojo (ouioui51) wrote :

Hi,

I've found something on alsa bugtrack
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5250

the card is not recognized because the pci express card has a different PCI subsystem id:

.subsystem = 0x42011102 for pci
and
.subsystem = 0x40071102 for pcie

I've tried to rebuild alsa-source with module-assistant but:
1. build failed with this error: erreur fatale: linux/smp_lock.h : Aucun fichier ou dossier de ce type
2. even if I could build it,it seems that m-a dowload and unpack systematicaly the sources. So I cannot edit emu10k1_main.c

Can you fix alsa package please?
If not, can you help me find the way to patch alsa sources on my system?
I've googled for tutorials but I didn't find help to do that for the moment.

Thank you for help.

Revision history for this message
David Garcia Rojo (ouioui51) wrote :

Hi,

I've read the manual of module assistant and I find the way to modify source.
But if I try to build it "manually" (without m-a) it failed because of missing included files. I think it's not the good solution.

If I build it with m-a it failed because of missing linux/smp_lock.h. For that, I think that alsa-source package is not good because with a google search I find that "big lock" has been removed from kernel. So smp_lock.h should not be included on drivers code.

I've tried to build from git the last sources of alsa-driver... And the build finished successfully... but all modules seems to be broken and I cannot load it.

So I have to wait for your help.

If I could do something to get this card working, please tell me.

Best regards, David

Changed in alsa-driver:
status: Unknown → New
Revision history for this message
David Garcia Rojo (ouioui51) wrote :

Hi,

The patch posted here: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5250
works for me.

I just have to build alsa-driver manualy after applying the patch.

download alsa-driver.tar.bz2

sudo tar xjvf alsa-driver.tar.bz2
cd alsa-driver

copy the patch file here, then
patch -p1 -i emu1010pcie.patch

./configure
make
sudo make install

and then reboot.

tested on ubuntu 12.04

Hope that help someone.

The patch is not include on alsa 1.0.25 yet.
The alsa-source package still have a bug cause it fail on make command or with m-a.

Thanks.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in alsa-driver (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This issue has sat incomplete for more than 60 days now. I'm going to close it as invalid. Please feel free re-open if this is still an issue for you. Thank you.

Changed in alsa-driver (Ubuntu):
status: Incomplete → Invalid
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.