FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-17-2012, 02:39 AM
Peter F Costa
 
Default SB1040 X-Fi Xtreme Audio produces no sound on Squeeze

I am running Squeeze (Linux 2.6.32-5-amd64)
on a Dell XPS8300 with a Sound Blaster SB1040 X-Fi
Xtreme Audio card that produces no sound.

//////////////////////////////////////

'speaker-test -t sine -f 440 -c 2' produces no sound:

speaker-test 1.0.23

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
ALSA lib pcm_dmix.c:1018snd_pcm_dmix_open) unable to open
slave
Playback open error: -2,No such file or directory

//////////////////////////////////////

'aplay -l' produces:

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI
HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: CA0110 Analog
[CA0110 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: CA0110 Digital
[CA0110 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

///////////////////////////////////////

'lsmod | grep snd' produces:

snd_hda_codec_ca0110 5280 1
snd_hda_codec_atihdmi 2251 1
snd_hda_intel 20035 1
snd_hda_codec 54292 3
snd_hda_codec_ca0110,snd_hda_codec_atihdmi,
snd_hda_intel
snd_hwdep 5380 1 snd_hda_codec
snd_pcm 60487 2 snd_hda_intel,snd_hda_codec
snd_seq 42881 0
snd_timer 15598 2 snd_pcm,snd_seq
snd_seq_device 4493 1 snd_seq
snd 46526 10 snd_hda_codec_ca0110,
snd_hda_intel,snd_hda_codec,
snd_hwdep,snd_pcm,snd_seq,snd_timer,
snd_seq_device
soundcore 4598 1 snd
snd_page_alloc 6249 2 snd_hda_intel,snd_pcm

On wiki.debian.org/XFi the driver 'snd_hda_intel' is given
as the one for my card, but there is also
snd_hda_codec_ca0110 in the listing above.

////////////////////////////////////////

'lspci -v' produces:

01:00.1 Audio device: ATI Technologies Inc Device aa98
Subsystem: Device 1b0a:aa98
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fe640000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: HDA Intel

04:00.0 PCI bridge: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG PCI
to PCIe Bridge (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=04, secondary=05, subordinate=05, sec-latency=32
Memory behind bridge: fe300000-fe3fffff
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable- Count=1/16 Maskable- 64bit+
Capabilities: [80] Subsystem: Creative Labs Device 0010
Capabilities: [90] Express PCI/PCI-X Bridge, MSI 00
Capabilities: [100] Advanced Error Reporting

05:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
Subsystem: Creative Labs SB1040
Flags: bus master, medium devsel, latency 32, IRQ 16
Memory at fe300000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [dc] Power Management version 3
Kernel driver in use: HDA Intel

////////////////////////////////////////

In alsamixer:

1. The chipset for card 0 is:
ATI R6xx HDMI, but with no
volume controls are shown, just S/PDIF.
This chipset is also listed for default.
2. The chipset for card 1 is:
Creative CA0110-IBG, with
volume levels indicated as OK.

///////////////////////////////////////

When I try to play a CD on Sound Juicer I get
the message:
Error playing CD.
Reason: Resource not found

and this is followed by the message:
Error playing CD.
Reason: GStreamer error: state change
failed and some element failed to post
a proper error message with the reason
for the failure.

///////////////////////////////////////

Sound works fine on Windows 7.
I am a member of the audio group.

///////////////////////////////////////

What should I do?

Peter



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1334630373.4566.14.camel@alpha.sunnyboy">http://lists.debian.org/1334630373.4566.14.camel@alpha.sunnyboy
 
Old 04-17-2012, 05:41 PM
Jasper Noe
 
Default SB1040 X-Fi Xtreme Audio produces no sound on Squeeze

I am running Squeeze (Linux 2.6.32-5-amd64)
on a Dell XPS8300 with a Sound Blaster SB1040 X-Fi
Xtreme Audio card that produces no sound.

//////////////////////////////////////

'speaker-test -t sine -f 440 -c 2' produces no sound:

speaker-test 1.0.23

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
ALSA lib pcm_dmix.c:1018snd_pcm_dmix_open) unable to open
slave
Playback open error: -2,No such file or directory

//////////////////////////////////////

'aplay -l' produces:

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI
HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: CA0110 Analog
[CA0110 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: CA0110 Digital
[CA0110 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

///////////////////////////////////////


Your problem is that you have two sound-devices.
They are numbered 0 and 1

The speaker-test should work if you add

-D hw:1,0

to the options. ( use device 1, subdevice 0 )

To permanently change the order of the 'cards' there is this quote from

http://wiki.debian.org/ALSA :

"
1. Force the cards to load in a different order. I chose this route, and
added the following to my /etc/modprobe.d/sound:


options snd-trident index=0
options snd-usb-audio index=1
This forces my Trident card to be the default (card 0) and my USB
microphone to be card 1.

"

In your case the modules have different names:


snd_hda_codec_ca0110 5280 1
snd_hda_codec_atihdmi 2251 1


Also, I think that the name of the file should end in .conf: sound.conf .

If that succeeds your original speaker-test should work.

HTH, --Jasper.




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4F8DAB58.2030502@xs4all.nl">http://lists.debian.org/4F8DAB58.2030502@xs4all.nl
 
Old 04-19-2012, 01:52 PM
Peter Costa
 
Default SB1040 X-Fi Xtreme Audio produces no sound on Squeeze

Dear Jasper,
Sorry I took so long to answer.I tried your suggestion for speaker-test but got the following:
/////////////////////////////////////////////////////////////




# speaker-test -D hw:1,0 -t sine -f 440 -c 2*

speaker-test 1.0.23
Playback device is hw:1,0Stream parameters are 48000Hz, S16_LE, 2 channelsSine wave rate is 440.0000HzRate set to 48000Hz (requested 48000Hz)




Buffer size range from 64 to 16384Period size range from 32 to 8192Using max buffer size 16384Periods = 4was set period_size = 4096was set buffer_size = 16384




*0 - Front LeftWrite error: -5,Input/output errorxrun_recovery failed: -5,Input/output errorTransfer failed: Operation not permitted
////////////////////////////////////////////////////////////

The only file I found in /etc/modprobe.d that isn't devoted to*blacklisting was alsa-base.com. But there is no info entryfor that file, so I don't know how to proceed with that.

In /proc/asound there are a number of files and directories*that deal with sound, but all of them are 'read only', even*for root. The modules file contains two entries for sound*
drivers, both of them being for snd-hda-intel. If I try to run'modprobe -r snd-hda-intel' I get that it is in use, so maybe*my card 0 is satisfied with that driver. Unloading the driver by*
putting an option in alsa-base.conf with an index of -2 and*rebooting turns off the system beeps ( which have always*worked). Since the module seems to be determined by theentries in /proc/asound/modules, which is apparently
unmodifiable, even by root, I can't test out the other*candidate driver, snd-hda-codec-ca0110
Does anyone have an idea how to proceed?
 
Old 04-19-2012, 11:32 PM
Jasper Noe
 
Default SB1040 X-Fi Xtreme Audio produces no sound on Squeeze

In /proc/asound there are a number of files and directories
that deal with sound, but all of them are 'read only', even
for root. The modules file contains two entries for sound
drivers, both of them being for snd-hda-intel. If I try to run
'modprobe -r snd-hda-intel' I get that it is in use, so maybe
my card 0 is satisfied with that driver. Unloading the driver by
putting an option in alsa-base.conf with an index of -2 and
rebooting turns off the system beeps ( which have always
worked). Since the module seems to be determined by the
entries in /proc/asound/modules, which is apparently
unmodifiable, even by root, I can't test out the other
candidate driver, snd-hda-codec-ca0110

Does anyone have an idea how to proceed?


Three modules:


snd_hda_codec_ca0110
snd_hda_codec_atihdmi
snd_hda_intel


snd_hda_intel is needed for -both- cards.

( there are many different cards that all go under this flag, that is
what makes it so confusing. )


So you should put the option for the ati module in alsa-base.conf .

Hope you will get it to work !

--Jasper.








--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4F90A099.6020709@xs4all.nl">http://lists.debian.org/4F90A099.6020709@xs4all.nl
 

Thread Tools




All times are GMT. The time now is 01:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org