|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Audigy soundcard silent after upgrade to Ubuntu StudioHi all, my name is David, I'm new to the list.
Sound works in Windows XP and worked in Ubuntu 8.04. It stopped after a clean installation of Ubuntu Studio 9.04. It is not known if recording worked or if it is now broken. Hopefully sorting out playback will lead to a quick solution for recording, if one is needed. Summary of Test Results -------------------------------- Testing followed this understanding of the way sound playback is handled in Linux. Sound; - is generated by apps or test utilities such as Hydrogen or aplay - may pass through a sound server such as PulseAudio or Jack - goes to ALSA, which translates it for communication to sound cards - is converted from digital to analogue, amplified and fed to speakers by the sound card. The system has a Creative Labs Audigy2 sound card. It shares an IRQ with a video card and an onboard USB controller. Video and USB work properly in Linux. Video, USB and sound work in Windows. However, while BIOS reports these items on IRQ10, Linux (using cat /proc/interrupts) thinks they are on IRQ18. Is there any significance in this? It seems unlikely as video and USB work properly. ALSA appears to talk to the card – it is possible to set mixer controls using one mixer interface and read their state using an unrelated interface. Apps and test utilities appear able to send data to the card. To back this up, the kernel modules required to form the driver all appear to be loaded. When ALSA is forced to reload them, a pop and brief low level white noise comes from the speaker. This is similar to what can be heard during system boot. Possibly ALSA is passing control data to the card but not PCM audio data. I don't know if this is so or how to check. Re-installing ALSA had no effect. A full uninstall – reinstall was not done as many other packages would have been affected because of dependencies. Detailed information about the driver was reviewed, but it is beyond my technical competence to understand if or how it applies to my card and then to act on it (“Matrix:Module-emu10k1” at http://www.alsa-project.org/main/index.php/Matrix:Module-emu10k1). Now for the test results in detail. Thanks to Dave Phillips for his excellent series "Troubleshooting Linux Audio" at http://www.linuxjournal.com and to many other sources. Application & Test Utility Output -------------------------------- the Hyrdogen drum machine can be seen producing output on its VU meters. From the command line: aplay -vv ak4744.wav shows an apparently successful result; Playing WAVE 'ak4744.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Plug PCM: Hardware PCM card 0 'Audigy 2 Value [SB0400]' device 0 subdevice 0 Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tstamp_mode : NONE period_step : 1 avail_min : 4096 period_event : 0 start_threshold : 16384 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 Test tone from Sound → Preferences → Test output appears to be successful to most sound pipelines; - Audigy 2 Multichannel Playback (ALSA) OK - Audigy 2 Multichannel Capture / PT Playback (ALSA) Fails with error message “gconfaudiosink: cound not open audio device for playback” (also describes the audio sources as a 512 Hz tone and the pipeline as “audioconvert ! Audioresample ! Gconfaudiosink”). - Audigy 2 ADC Capture / Standard PCM Playback (ALSA) OK - Audigy 2 ADC Capture / Standard PCM Playback (OSS) 2 are OK, the third apparently identical one fails - ALSA OK - OSS OK Sound Server -------------------------------- PulseAudio and JACK were both on the sytesm. To simplify the problem; JACK was not started; PulseAudio was completely uninstalled, the system was restarted and it was verified that no persistent processes still existed for PulseAudio (ps -e | grep “pulse”) Drivers (ALSA) -------------------------------- All volume controls were set to 100% and all mute controls were set to un-mute in Alsamixer. These settings were verified by having another mixer read and display them (Alsamixergui). As can be seen from the preceding output of aplay, sound was routed directly from its source to ALSA and ALSA recognised the Audigy 2 card on this computer. Output from the Sound → Preferences test also suggests that ALSA is interrogating the card and recognising what it can and cannot do. However, there is a strange indication from ALSCTL; alsactl init which shows; Unknown hardware: "Audigy2" "SigmaTel STAC9750,51" "AC97a:83847650" "" "" What is this saying? The ALSA soundcard matrix says an Audigy2 card should be using emu10k1 modules.. http://www.alsa-project.org/main/index.php/Matrix:Vendor-Creative_Labs though I can't find an exact match there for my Audigy 2 SB0400 card. I tried forcing ALSA to reload its kernel modules using; sudo alsa reload The speaker emitted a soft pop and about half a second of very low level white noise, similar to what can be heard during system boot. Commmand output was; lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/dmorrell/.gvfs Output information may be incomplete. /sbin/alsa: Warning: Processes using sound devices: 3215(timidity). Unloading ALSA sound driver modules: snd-emu10k1-synth snd-emux-synth snd-seq-virmidi snd-seq-midi-emul snd-emu10k1 snd-ac97-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc snd-util-mem snd-hwdep snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device (failed: modules still loaded: snd-seq snd-timer snd-seq-device). Loading ALSA sound driver modules: snd-emu10k1-synth snd-emux-synth snd-seq-virmidi snd-seq-midi-emul snd-emu10k1 snd-ac97-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-page-alloc snd-util-mem snd-hwdep snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device. Kernel module(s) the card is using were checked using cat /proc/asound/modules which shows; 0 snd_emu10k1 i.e. there is only card 0 and it is using module snd_emu10k1. This was further confirmed using command lspci -v | grep “Audigy”, which showed; 05:09.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value Kernel driver in use: EMU10K1_Audigy A test was done to confirm that the modules are actually loaded into the kernel; lsmod | grep "emu" which showed a host of modules that seem as if they should be there, though of course could not show any modules that aren't there and should be; snd_emu10k1_synth 14336 0 snd_emux_synth 40832 1 snd_emu10k1_synth snd_seq_virmidi 13440 1 snd_emux_synth snd_seq_midi_emul 14592 1 snd_emux_synth snd_emu10k1 144288 1 snd_emu10k1_synth snd_ac97_codec 112292 1 snd_emu10k1 snd_pcm 83076 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss snd_page_alloc 16904 2 snd_emu10k1,snd_pcm snd_util_mem 12288 2 snd_emux_synth,snd_emu10k1 snd_hwdep 15108 2 snd_emux_synth,snd_emu10k1 snd_rawmidi 29696 3 snd_seq_virmidi,snd_emu10k1, snd_seq_midi snd_seq 56880 10 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy, snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 29704 3 snd_emu10k1,snd_pcm,snd_seq snd_seq_device 14988 8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss, snd_seq_midi,snd_rawmidi,snd_seq snd 62756 14 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss, snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_ timer,snd_seq_device Just for the hell of it, I had a look at information about the emu10k1 module using; modinfo snd-emu10k1 which showed; filename: /lib/modules/2.6.28-15-generic/kernel/sound/pci/emu10k1/snd-emu10k1.ko license: GPL description: EMU10K1 author: Jaroslav Kysela <perex@...> firmware: emu/emu1010_notebook.fw firmware: emu/emu0404.fw firmware: emu/micro_dock.fw firmware: emu/emu1010b.fw firmware: emu/audio_dock.fw firmware: emu/hana.fw srcversion: F52CF37385CBD708CAB4A2C alias: pci:v00001102d00000008sv*sd*bc*sc*i* alias: pci:v00001102d00000004sv*sd*bc*sc*i* alias: pci:v00001102d00000002sv*sd*bc*sc*i* depends: snd-pcm,snd-util-mem,snd-page-alloc,snd,snd-rawmidi,snd-timer, snd-hwdep,snd-ac97-codec,snd-seq-device vermagic: 2.6.28-15-generic SMP mod_unload modversions 586 parm: index:Index value for the EMU10K1 soundcard. (array of int) parm: id:ID string for the EMU10K1 soundcard. (array of charp) parm: enable:Enable the EMU10K1 soundcard. (array of bool) parm: extin:Available external inputs for FX8010. Zero=default. (array of int) parm: extout:Available external outputs for FX8010. Zero=default. (array of int) parm: seq_ports:Allocated sequencer ports for internal synthesizer. (array of int) parm: max_synth_voices:Maximum number of voices for WaveTable. (array of int) parm: max_buffer_size:Maximum sample buffer size in MB. (array of int) parm: enable_ir:Enable IR. (array of bool) parm: subsystem:Force card subsystem model. (array of uint) Noticing the parameter 'enable' (ton enable a sound card) and feeling desparate, I tried reloading the module with that parameter specified; sudo modprobe -i snd_emu10k1 enable=true Unsurprisingly, it made no difference as the card already appears to be talking to its driver anyway. The ALSA soundcard matrix mentions that some cards may need the alsa-firmware package. That package is not on my system or in the Ubuntu repositories. However, its headers are installed. I don't know if this is significant. Next, I tried reinstalling ALSA. The following packages were affected; libsox-fmt-alsa alsa-base libasound2 libasound2-plugins mcp-plugins libesd-alsa0 This had no effect, so I considered completely uninstalling & reinstalling. However, many other packages that depend on ALSA would also have been removed. This looked like a short cut to a long reconstruction. Sound Card -------------------------------- The card works under Windows XP and had worked under Ubuntu 8.04. I have a Creative Labs Audigy 2 PCI card as card 0 on IRQ18 according to cat /proc/asound/cards 0 [Audigy2 ]: Audigy2 - Audigy 2 Value [SB0400] Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) at 0x1040, irq 18 More information is given by cat /proc/interrupts which shows 18: 185146 IO-APIC-fasteoi uhci_hcd:usb4, EMU10K1, radeon@pci:0000:01:00.0 There is a USB controller, the soundcard (EMU10K1) and the video card (radeon) all using the same interrupt. The sound card does not appear on any other interrupts. BIOS reports all of these devices on IRQ10, not IRQ18. And yes, I have checked carefully to be sure I am not confusing 8 with 0. How could this discrepancy happen? A hint may lie in the online book “The Linux Kernel” at http://tldp.org/LDP/tlk/dd/pci.html. “For Intel based systems the system BIOS, which ran at boot time, has already fully configured the PCI system. This leaves Linux with little to do other than map that configuration. For non-Intel based systems further configuration needs to happen to: - Allocate PCI I/O and PCI Memory space to each device, - Configure the PCI I/O and PCI Memory address windows for each PCI-PCI bridge in the system, - Generate Interrupt Line values for the devices; these control interrupt handling for the device. “ Possibly Linux has read the information set up by the BIOS, then the PCI Fixup routine has remapped the Interrupt Line values even though.it may not have needed to do so? For a boots and all look at the PCI information about the sound card, lspci -vvxxx shows 05:09.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value Subsystem: Creative Labs Device 1001 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort - <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64 (500ns min, 5000ns max) Interrupt: pin A routed to IRQ 18 Region 0: I/O ports at 1040 [size=64] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-, D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Kernel driver in use: EMU10K1_Audigy Kernel modules: snd-emu10k1 The card has the following devices shown by; aplay -L This shows abridged); front:CARD=Audigy2,DEV=0 Audigy 2 Value [SB0400], ADC Capture/Standard PCM Playback Front speakers rear:CARD=Audigy2,DEV=0 Audigy 2 Value [SB0400], ADC Capture/Standard PCM Playback Rear speakers … Audigy 2 Value [SB0400], ADC Capture/Standard PCM Playback IEC958 (S/PDIF) Digital Audio Output null Discard all samples (playback) or generate zero samples (capture) To see all input devices; arecord -l which shows; arecord -l **** List of CAPTURE Hardware Devices **** card 0: Audigy2 [Audigy 2 Value [SB0400]], device 0: emu10k1 [ADC Capture/Standard PCM Playback] Subdevices: 1/1 card 0: Audigy2 [Audigy 2 Value [SB0400]], device 1: emu10k1 mic [Mic Capture] card 0: Audigy2 [Audigy 2 Value [SB0400]], device 2: emu10k1 efx [Multichannel Capture/PT Playback] Subdevices: 1/1 -- David Morrell Web site: www.davidmorrell.ozeweb.net (when I get it on air again :) <http://www.davidmorrell.ozeweb.net> Email: dsmorrell56@... <mailto:dsmorrell56@...> Ph: 0408 842 955 / 03 6343 5131 _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioOn 10/29/2009 10:44 AM, David Morrell wrote: > Hi all, my name is David, I'm new to the list. > > Sound works in Windows XP and worked in Ubuntu 8.04. It stopped after a > clean installation of Ubuntu Studio 9.04. It is not known if recording > worked or if it is now broken. Hopefully sorting out playback will > lead to a quick solution for recording, if one is needed. > Hi, Lots of good debugging info there. I can't spot anything specific that you are doing wrong. I suggest contacting the alsa-devel list with this one as it looks like you have found a driver bug. alsa-devel@... Cheers. Patrick Shirkey Boost Hardware Ltd > Summary of Test Results > -------------------------------- > > Testing followed this understanding of the way sound playback is handled > in Linux. Sound; > - is generated by apps or test utilities such as Hydrogen or aplay > - may pass through a sound server such as PulseAudio or Jack > - goes to ALSA, which translates it for communication to sound cards > - is converted from digital to analogue, amplified and fed to speakers > by the sound card. > > The system has a Creative Labs Audigy2 sound card. > > It shares an IRQ with a video card and an onboard USB controller. > Video and USB work properly in Linux. Video, USB and sound work in > Windows. > > However, while BIOS reports these items on IRQ10, Linux (using cat > /proc/interrupts) thinks they are on IRQ18. Is there any significance in > this? It seems unlikely as video and USB work properly. > > ALSA appears to talk to the card – it is possible to set mixer controls > using one mixer interface and read their state using an unrelated > interface. Apps and test utilities appear able to send data to the > card. To back this up, the kernel modules required to form the driver > all appear to be loaded. When ALSA is forced to reload them, a pop > and brief low level white noise comes from the speaker. > > This is similar to what can be heard during system boot. > > Possibly ALSA is passing control data to the card but not PCM audio > data. I don't know if this is so or how to check. > > Re-installing ALSA had no effect. A full uninstall – reinstall was not > done as many other packages would have been affected because of > dependencies. > > Detailed information about the driver was reviewed, but it is beyond > my technical competence to understand if or how it applies to my card > and then to act on it (“Matrix:Module-emu10k1” at > > http://www.alsa-project.org/main/index.php/Matrix:Module-emu10k1). > > Now for the test results in detail. > > Thanks to Dave Phillips for his excellent series "Troubleshooting Linux > Audio" at > > http://www.linuxjournal.com and to many other sources. > > > Application& Test Utility Output > -------------------------------- > > the Hyrdogen drum machine can be seen producing output on its VU meters. > > From the command line: aplay -vv ak4744.wav shows an apparently > successful result; > > Playing WAVE 'ak4744.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, > Stereo Plug PCM: Hardware PCM card 0 'Audigy 2 Value [SB0400]' device 0 > subdevice 0 > Its setup is: > stream : PLAYBACK > access : RW_INTERLEAVED > format : S16_LE > subformat : STD > channels : 2 > rate : 44100 > exact rate : 44100 (44100/1) > msbits : 16 > buffer_size : 16384 > period_size : 4096 > period_time : 92879 > tstamp_mode : NONE > period_step : 1 > avail_min : 4096 > period_event : 0 > start_threshold : 16384 > stop_threshold : 16384 > silence_threshold: 0 > silence_size : 0 > > Test tone from Sound → Preferences → Test output appears to be > successful to most sound pipelines; > > - Audigy 2 Multichannel Playback (ALSA) OK > > - Audigy 2 Multichannel Capture / PT Playback (ALSA) Fails with > error message “gconfaudiosink: cound not open audio device for playback” > (also describes the audio sources as a 512 Hz tone and the pipeline as > “audioconvert ! Audioresample ! Gconfaudiosink”). > > - Audigy 2 ADC Capture / Standard PCM Playback (ALSA) OK > - Audigy 2 ADC Capture / Standard PCM Playback (OSS) 2 are OK, the > third apparently identical one fails > > - ALSA OK > - OSS OK > > > Sound Server > -------------------------------- > > PulseAudio and JACK were both on the sytesm. To simplify the problem; > JACK was not started; > PulseAudio was completely uninstalled, the system was restarted and it > was > verified that no persistent processes still existed for PulseAudio > (ps -e | grep “pulse”) > > > Drivers (ALSA) > -------------------------------- > > All volume controls were set to 100% and all mute controls were set to > un-mute in Alsamixer. These settings were verified by having another > mixer read and display them (Alsamixergui). > > As can be seen from the preceding output of aplay, sound was routed > directly from its source to ALSA and ALSA recognised the Audigy 2 card > on this computer. > > Output from the Sound → Preferences test also suggests that ALSA is > interrogating the card and recognising what it can and cannot do. > > However, there is a strange indication from ALSCTL; > > alsactl init > > which shows; > > Unknown hardware: "Audigy2" "SigmaTel STAC9750,51" > "AC97a:83847650" "" "" > > What is this saying? > > The ALSA soundcard matrix says an Audigy2 card should be using emu10k1 > modules.. > > http://www.alsa-project.org/main/index.php/Matrix:Vendor-Creative_Labs > > though I can't find an exact match there for my Audigy 2 SB0400 card. > > I tried forcing ALSA to reload its kernel modules using; > > sudo alsa reload > > The speaker emitted a soft pop and about half a second of very low level > white > noise, similar to what can be heard during system boot. > > Commmand output was; > > lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system > /home/dmorrell/.gvfs > > Output information may be incomplete. > > /sbin/alsa: Warning: Processes using sound devices: 3215(timidity). > > Unloading ALSA sound driver modules: snd-emu10k1-synth snd-emux-synth > snd-seq-virmidi snd-seq-midi-emul snd-emu10k1 snd-ac97-codec snd-pcm-oss > snd-mixer-oss snd-pcm snd-page-alloc snd-util-mem snd-hwdep snd-seq-dummy > snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer > snd-seq-device (failed: modules still loaded: snd-seq snd-timer > snd-seq-device). > > Loading ALSA sound driver modules: snd-emu10k1-synth snd-emux-synth > snd-seq-virmidi snd-seq-midi-emul snd-emu10k1 snd-ac97-codec snd-pcm-oss > snd-mixer-oss snd-pcm snd-page-alloc snd-util-mem snd-hwdep > snd-seq-dummy > snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq > snd-timer > snd-seq-device. > > Kernel module(s) the card is using were checked using > > cat /proc/asound/modules > > which shows; > > 0 snd_emu10k1 > > i.e. there is only card 0 and it is using module snd_emu10k1. > > This was further confirmed using command lspci -v | grep “Audigy”, which > showed; > > 05:09.0 Multimedia audio controller: Creative Labs SB0400 > Audigy2 Value Kernel driver in use: EMU10K1_Audigy > > A test was done to confirm that the modules are actually loaded into > the kernel; > > lsmod | grep "emu" > > which showed a host of modules that seem as if they should be there, > though of course could not show any modules that aren't there and > should be; > > snd_emu10k1_synth 14336 0 > snd_emux_synth 40832 1 snd_emu10k1_synth > snd_seq_virmidi 13440 1 snd_emux_synth > snd_seq_midi_emul 14592 1 snd_emux_synth > snd_emu10k1 144288 1 snd_emu10k1_synth > snd_ac97_codec 112292 1 snd_emu10k1 > snd_pcm 83076 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss > snd_page_alloc 16904 2 snd_emu10k1,snd_pcm > snd_util_mem 12288 2 snd_emux_synth,snd_emu10k1 > snd_hwdep 15108 2 snd_emux_synth,snd_emu10k1 > snd_rawmidi 29696 3 snd_seq_virmidi,snd_emu10k1, > snd_seq_midi > snd_seq 56880 10 > snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy, > snd_seq_oss,snd_seq_midi,snd_seq_midi_event > > snd_timer 29704 3 snd_emu10k1,snd_pcm,snd_seq > snd_seq_device 14988 8 > snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss, > snd_seq_midi,snd_rawmidi,snd_seq > > snd 62756 14 > snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss, > snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_ > timer,snd_seq_device > > > > Just for the hell of it, I had a look at information about the emu10k1 > module using; > > modinfo snd-emu10k1 > > which showed; > > filename: > /lib/modules/2.6.28-15-generic/kernel/sound/pci/emu10k1/snd-emu10k1.ko > license: GPL > description: EMU10K1 > author: Jaroslav Kysela<perex@...> > firmware: emu/emu1010_notebook.fw > firmware: emu/emu0404.fw > firmware: emu/micro_dock.fw > firmware: emu/emu1010b.fw > firmware: emu/audio_dock.fw > firmware: emu/hana.fw > srcversion: F52CF37385CBD708CAB4A2C > alias: pci:v00001102d00000008sv*sd*bc*sc*i* > alias: pci:v00001102d00000004sv*sd*bc*sc*i* > alias: pci:v00001102d00000002sv*sd*bc*sc*i* > depends: > snd-pcm,snd-util-mem,snd-page-alloc,snd,snd-rawmidi,snd-timer, > snd-hwdep,snd-ac97-codec,snd-seq-device > vermagic: 2.6.28-15-generic SMP mod_unload modversions 586 > parm: index:Index value for the EMU10K1 soundcard. > (array of int) > parm: id:ID string for the EMU10K1 soundcard. (array of charp) > parm: enable:Enable the EMU10K1 soundcard. (array of bool) > parm: extin:Available external inputs for FX8010. > Zero=default. (array > of int) > parm: extout:Available external outputs for FX8010. > Zero=default. > (array of int) > parm: seq_ports:Allocated sequencer ports for internal > synthesizer. > (array of int) > parm: max_synth_voices:Maximum number of voices for > WaveTable. (array > of int) > parm: max_buffer_size:Maximum sample buffer size in MB. > (array of int) > parm: enable_ir:Enable IR. (array of bool) > parm: subsystem:Force card subsystem model. (array of uint) > > Noticing the parameter 'enable' (ton enable a sound card) and feeling > desparate, I tried reloading the module with that parameter specified; > > sudo modprobe -i snd_emu10k1 enable=true > > Unsurprisingly, it made no difference as the card already appears to > be talking to its driver anyway. > > The ALSA soundcard matrix mentions that some cards may need the > alsa-firmware package. That package is not on my system or in the > Ubuntu repositories. However, its headers are installed. I don't > know if this is significant. > > Next, I tried reinstalling ALSA. The following packages were affected; > > libsox-fmt-alsa > alsa-base > libasound2 > libasound2-plugins > mcp-plugins > libesd-alsa0 > > This had no effect, so I considered completely uninstalling& > reinstalling. However, many other packages that depend on ALSA would > also have been removed. This looked like a short cut to a long > reconstruction. > > Sound Card > -------------------------------- > > The card works under Windows XP and had worked under Ubuntu 8.04. > > > I have a Creative Labs Audigy 2 PCI card as card 0 on IRQ18 according > to cat /proc/asound/cards > > 0 [Audigy2 ]: Audigy2 - Audigy 2 Value [SB0400] > Audigy 2 Value [SB0400] (rev.0, serial:0x10011102) at 0x1040, irq 18 > > More information is given by > > cat /proc/interrupts > > which shows > > 18: 185146 IO-APIC-fasteoi uhci_hcd:usb4, EMU10K1, > radeon@pci:0000:01:00.0 > > There is a USB controller, the soundcard (EMU10K1) and the video card > (radeon) all using the same interrupt. The sound card does not appear > on any other interrupts. > > BIOS reports all of these devices on IRQ10, not IRQ18. And yes, I have > checked carefully to be sure I am not confusing 8 with 0. > > How could this discrepancy happen? > > A hint may lie in the online book “The Linux Kernel” at > http://tldp.org/LDP/tlk/dd/pci.html. > > “For Intel based systems the system BIOS, which ran at boot time, has > already fully configured the PCI system. This leaves Linux with little > to do other than map that configuration. For non-Intel based systems > further configuration needs to happen to: > > - Allocate PCI I/O and PCI Memory space to each device, > - Configure the PCI I/O and PCI Memory address windows for each PCI-PCI > bridge in the system, > - Generate Interrupt Line values for the devices; these control > interrupt handling for the device. “ > > Possibly Linux has read the information set up by the BIOS, then the > PCI Fixup routine has remapped the Interrupt Line values even though.it > may not have needed to do so? > > For a boots and all look at the PCI information about the sound card, > > lspci -vvxxx > > shows > > 05:09.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value > Subsystem: Creative Labs Device 1001 > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- > SERR+ FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium>TAbort > -<TAbort-<MAbort->SERR-<PERR- INTx- > Latency: 64 (500ns min, 5000ns max) > Interrupt: pin A routed to IRQ 18 > Region 0: I/O ports at 1040 [size=64] > Capabilities: [dc] Power Management version 2 > Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-, > D2-,D3hot-,D3cold-) > Status: D0 PME-Enable- DSel=0 DScale=0 PME- > Kernel driver in use: EMU10K1_Audigy > Kernel modules: snd-emu10k1 > > The card has the following devices shown by; > > aplay -L > > This shows abridged); > > front:CARD=Audigy2,DEV=0 > Audigy 2 Value [SB0400], ADC Capture/Standard PCM Playback > Front speakers > rear:CARD=Audigy2,DEV=0 > Audigy 2 Value [SB0400], ADC Capture/Standard PCM Playback > Rear speakers > … > > Audigy 2 Value [SB0400], ADC Capture/Standard PCM Playback > IEC958 (S/PDIF) Digital Audio Output > null > Discard all samples (playback) or generate zero samples (capture) > > To see all input devices; > > arecord -l > > which shows; > > arecord -l > **** List of CAPTURE Hardware Devices **** > card 0: Audigy2 [Audigy 2 Value [SB0400]], device 0: emu10k1 [ADC > Capture/Standard PCM Playback] > Subdevices: 1/1 > card 0: Audigy2 [Audigy 2 Value [SB0400]], device 1: emu10k1 > mic [Mic Capture] > card 0: Audigy2 [Audigy 2 Value [SB0400]], device 2: emu10k1 > efx [Multichannel > Capture/PT Playback] > Subdevices: 1/1 > > > > Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioPatrick Shirkey wrote:
> On 10/29/2009 10:44 AM, David Morrell wrote: > >> Hi all, my name is David, I'm new to the list. >> >> Sound works in Windows XP and worked in Ubuntu 8.04. It stopped after a >> clean installation of Ubuntu Studio 9.04. It is not known if recording >> worked or if it is now broken. Hopefully sorting out playback will >> lead to a quick solution for recording, if one is needed. >> >> > > Hi, > > Lots of good debugging info there. I can't spot anything specific that > you are doing wrong. I suggest contacting the alsa-devel list with this > one as it looks like you have found a driver bug. > > alsa-devel@... > > > > Cheers. > > > Patrick Shirkey > Boost Hardware Ltd > > David, Run alsamixer from a terminal and check the state of the audigy analog/digital output jack switch. If it's muted, unmute it, OR if it's unmuted, mute it! There was a bug reported in the kernel causing unexpected behavior of this control. Frank _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioHi,
I tried Frank's suggestion re muting / un-muting the Audigy Digital Output in alsamixer. It started muted before toggling. I still could not play any audio, but there was a slight pop when I toggled it. It sounded like an amplifier turning on. When I turned the speaker amp gain flat out, I could just hear a bit of pinkish noise from the amp. Toggled the other way, silence. I'll try Patrick's suggestion i.e. post to the developer list. I've also found the ALSA Project page for the relevant driver at http://www.alsa-project.org/main/index.php/Matrix:Module-emu10k1. It leads one through installing ALSA and drivers from source. I have nothing to lose, so I guess I'll give that a try if I can't get anything back from the developer list. I don't want to mess up the system yet, though, in case someone wants debugging information. Thanks for your help. Anyone else got ideas? frank pirrone wrote: > Patrick Shirkey wrote: >> On 10/29/2009 10:44 AM, David Morrell wrote: >> >>> Hi all, my name is David, I'm new to the list. >>> >>> Sound works in Windows XP and worked in Ubuntu 8.04. It stopped after a >>> clean installation of Ubuntu Studio 9.04. It is not known if recording >>> worked or if it is now broken. Hopefully sorting out playback will >>> lead to a quick solution for recording, if one is needed. >>> >> >> Hi, >> >> Lots of good debugging info there. I can't spot anything specific >> that you are doing wrong. I suggest contacting the alsa-devel list >> with this one as it looks like you have found a driver bug. >> >> alsa-devel@... >> >> >> >> Cheers. >> >> >> Patrick Shirkey >> Boost Hardware Ltd >> >> > > David, > > Run alsamixer from a terminal and check the state of the audigy > analog/digital output jack switch. If it's muted, unmute it, OR if > it's unmuted, mute it! There was a bug reported in the kernel causing > unexpected behavior of this control. > > Frank > -- David Morrell Web site: www.davidmorrell.ozeweb.net (when I get it on air again :) <http://www.davidmorrell.ozeweb.net> Email: dsmorrell56@... <mailto:dsmorrell56@...> Ph: 0408 842 955 / 03 6343 5131 _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioOn Sat, 31 Oct 2009 17:40:07 +1100
David Morrell <dsmorrell56@...> wrote: > Thanks for your help. Anyone else got ideas? > > frank pirrone wrote: try the ubuntu users list. It is a new distro and there are often teething troubles. ubuntu-users@... btw, I have a soundblaster Live Value card and have Kubuntu 9.10 installed on another drive on this machine. I do not have a problem with sound, both with playing audio files and watching dvd movies. nepal. _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioDavid Morrell wrote:
> Hi, > > I tried Frank's suggestion re muting / un-muting the Audigy Digital > Output in alsamixer. It started muted before toggling. > > I still could not play any audio, but there was a slight pop when I > toggled it. It sounded like an amplifier turning on. When I turned the > speaker amp gain flat out, I could just hear a bit of pinkish noise from > the amp. Toggled the other way, silence. > > I'll try Patrick's suggestion i.e. post to the developer list. > > I've also found the ALSA Project page for the relevant driver at > http://www.alsa-project.org/main/index.php/Matrix:Module-emu10k1. It > leads one through installing ALSA and drivers from source. I have > nothing to lose, so I guess I'll give that a try if I can't get anything > back from the developer list. I don't want to mess up the system yet, > though, in case someone wants debugging information. > > Thanks for your help. Anyone else got ideas? > > I assume you looked over all the other channels in the alsamixer for the Audigy - it's a complex soundcard, and checked not only the master but also the gain settings for the sound sources you were trying. Frank _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
|
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioDavid Morrell wrote:
> frank pirrone wrote: > >> David, >> >> Here's my /var/lib/alsa/asound.state file. You can try moving yours >> aside by renaming it, and dropping this in to see if it makes any >> difference. I have the Audigy2 card in this ArtistX/Ubuntu 9.10 Dell >> Workstation, and it is fully functional. >> > > Amazing! Eureka etc. Thanks very much indeed, Frank. I've put about 15 > hours into this problem and you've solved it. Now the question is, how > did a bad asound.state file get created as a default during > installation? Does anyone know where I should go to alert someone who > can look at this? > As far as the non-functional setup goes, this card is a little flaky - I mean, that inconsistency in the D/A jack switch alone is illustrative of that. There are a number of mutes present and countless sliders, many of which have unclear functions with conventional stereo output, and all it takes is either something to be muted - or un-muted in the case of that D/A jack and the particular buggy kernels - or something to be slid down, for there to be no sound for a given input/channel. > Here is a comparison of the good and bad asound.state files. > > The replacement asound.state file has 227 controls vs 216 for the original. > > The following 14 switch controls existed only in the good file. > > The Master Playback Switch only existed in the good file. If it exists > on the sound card and is muted by default, there would be no sound output. > Hmm, that's worse than I suggested above. Well, maybe not. Once you've executed alsamixer for the first time - and realize, this card may not be properly "awakened" via one of the desktop environment's GUI mixers - and exited, the asound.state file should be updated, but just to be certain, I'd execute a sudo alsactl store command. Do a stat /var/lib/alsa/asound.state to see the time stamp to ensure it's a fresh write. So, maybe the core code is not entirely to blame for this problem. There should be a post-inst script that does all this, and I believe the alsamixer CLI application accepts arguments to set the channel mutes and levels, but if any distro leaves that out - and it of course wouldn't be executed unless the Audigy was detected - it's going to be up to the desktop, or the GUI mixer app, or the user to "wake up" the card when first used. Frank _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioHere's the next instalment. First, the background.
The problem was that a Creative Audigy2 card that had worked perfectly in Ubuntu 8.04 suddenly went silent after an upgrade to Ubuntu Studio 9.04. It still worked perfectly in Windows on the same dual boot machine. David Morrell wrote: > frank pirrone wrote: > >> Here's my /var/lib/alsa/asound.state file. You can try moving yours >> aside by renaming it, and dropping this in to see if it makes any >> difference. I have the Audigy2 card in this ArtistX/Ubuntu 9.10 Dell >> Workstation, and it is fully functional. >> > > Amazing! Eureka etc. Thanks very much indeed, Frank. I've put about 15 > hours into this problem and you've solved it. Now the question is, how > did a bad asound.state file get created as a default during > installation? Does anyone know where I should go to alert someone who > can look at this? system as follows. The bug is at; https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/406356 To reproduce the bug then repair the damage, do the following. Delete /var/lib/asound.state (to mimic a fresh install, when it has not yet been created) Run alsactl init The sound card is probed. Alsactl reports; Unknown hardware: "Audigy2" "SigmaTel STAC9750,51" "AC97a:83847650" "" "" Hardware is initialized using a guess method A version of asound.state is created that lacks (at least) a master volume mute switch. There is no sound output. Restore the previously good asound.state, run 'alsactl restore' and the card works again. Does this mean that something (I don't know what) needs to be improved so it can recognise this card (Audigy 2 Value [SB0400)? -- David Morrell Web site: www.davidmorrell.ozeweb.net (when I get it on air again :) <http://www.davidmorrell.ozeweb.net> Email: dsmorrell56@... <mailto:dsmorrell56@...> Ph: 0408 842 955 / 03 6343 5131 _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
|
|
Re: Audigy soundcard silent after upgrade to Ubuntu StudioDavid Morrell wrote:
> Here's the next instalment. First, the background. > > The problem was that a Creative Audigy2 card that had worked perfectly > in Ubuntu 8.04 suddenly went silent after an upgrade to Ubuntu Studio > 9.04. It still worked perfectly in Windows on the same dual boot machine. > > <snip> > I've done a bit more testing and reported it on the Ubuntu bug reporting > system as follows. The bug is at; > > https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/406356 > > > To reproduce the bug then repair the damage, do the following. > > Delete /var/lib/asound.state (to mimic a fresh install, when it has not > yet been created) > > Run > > alsactl init > > The sound card is probed. Alsactl reports; > > Unknown hardware: "Audigy2" "SigmaTel STAC9750,51" "AC97a:83847650" > "" "" > Hardware is initialized using a guess method > > A version of asound.state is created that lacks (at least) a master > volume mute switch. There is no sound output. > > Restore the previously good asound.state, run 'alsactl restore' and the > card works again. > > Does this mean that something (I don't know what) needs to be improved > so it can recognise this card (Audigy 2 Value [SB0400)? > My understanding was that the functionality/setup of the Audigy driver was buggered in the 9.04 J.J. kernel module. Once you've fiddled with alsamixer, and created a working /var/lib/alsa/asound.state file it should be fine. I believe this is fixed in the 9.10 K.K. version. Frank _______________________________________________ Linux-audio-user mailing list Linux-audio-user@... http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user |
| Free embeddable forum powered by Nabble | Forum Help |