View previous topic :: View next topic |
Author |
Message |
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Wed Jul 24, 2013 5:50 pm Post subject: Creative CA0132 [UNSOLVED] |
|
|
I asked this before, with no replies. So, I bought this new Soundblaster Z card with an ca0132 chipset. Sound IS truly amazing, best I ever had (for a 70€ price tag I didn't expect less)... under friggin' Windows
With Gentoo, I could make the sound device visible under KDE and Alsa, but zero output.
What I really don't get is this: the device is supported since kernel-3.5 by some intel-hda driver but it still does not work.
Why? Has anyone gotten this to work?
Seriously, this issue is effectively preventing me from using Gentoo. I can tell you, I don't enjoy Windows too much. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Last edited by Martux on Fri Aug 02, 2013 5:10 pm; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Jul 24, 2013 7:24 pm Post subject: |
|
|
Martux wrote: | Seriously, this issue is effectively preventing me from using Gentoo. I can tell you, I don't enjoy Windows too much. |
Really, do blow your nose before posting.
Now, to the issue itself.
Your post lacks any real info (except for card name).
So, the basics:
- 'lspci -k' entry regarding the card
- did you check if the card is muted ? ('amixer' on the card should clear that up)
- what's the result of something like 'aplay < /dev/urandom' on the alsa device referring to the card ? |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Thu Jul 25, 2013 5:19 pm Post subject: |
|
|
Ok ok.
So, the kernel is gentoo/sources/3.9.10. KDE, alsa, all in the most recent testing versions.
lspci -k says:
Code: |
06:00.0 Audio device: Creative Labs Device 0012 (rev 01)
Subsystem: Creative Labs Device 0027
Kernel driver in use: snd_hda_intel
|
aplay -l:
Code: |
aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 8: HDMI 2 [HDMI 2]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 9: HDMI 3 [HDMI 3]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: Creative [HDA Creative], Gerät 0: CA0132 Analog [CA0132 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: Creative [HDA Creative], Gerät 1: CA0132 Digital [CA0132 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
|
aplay itself gives an error that the device cannot be opened. Maybe I am doing it wrong...
Alsamixer shows the device with all the controls and channels, not muted. KDE gives no sound. I tried all channels in the phonon setting (using gstreamer output)...
Would be interesting if anybody else has this thing functioning. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Thu Jul 25, 2013 5:33 pm Post subject: |
|
|
another useful info
Code: |
cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
1 [Creative ]: HDA-Intel - HDA Creative
HDA Creative at 0xf7104000 irq 19
|
_________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Thu Jul 25, 2013 5:56 pm Post subject: |
|
|
Thanks. What is our equivalent to modprobe.conf mentioned in that thread?
Would it be /etc/conf.d/modules or rather /etc/modprobe.d/alsa.conf?
EDIT>
Put this into a file called .asoundrc under /root folder and /home/user, to no avail.
Code: |
pcm.!default {
type hw
card Creative
}
ctl.!default {
type hw
card Creative
}
|
_________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Thu Jul 25, 2013 7:10 pm Post subject: |
|
|
Well, that odd .asoundrc aside, see 'aplay -L' for names to use for '-D' argument. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Sat Jul 27, 2013 6:23 am Post subject: |
|
|
Hmm, aplay doesnt seem to work or I am still doing it wrong:
Code: |
aplay < /dev/urandom -D 0
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 0
aplay: main:722: Fehler beim Ăffnen des Gerätes: Datei oder Verzeichnis nicht gefunden
aplay < /dev/urandom -D Creative
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM Creative
aplay: main:722: Fehler beim Ăffnen des Gerätes: Datei oder Verzeichnis nicht gefunden
|
This is what aplay -L lists for the Creative device:
Code: |
sysdefault:CARD=Creative
HDA Creative, CA0132 Analog
Default Audio Device
front:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
Front speakers
surround40:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Creative,DEV=0
HDA Creative, CA0132 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Creative,DEV=0
|
_________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Jul 27, 2013 1:13 pm Post subject: |
|
|
Err....
The names to use are 'sysdefault', 'front', 'surround40', etc.
As it's alsa, some of those might not work, but either front or one of surrounds should. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Sat Jul 27, 2013 4:36 pm Post subject: |
|
|
I can do this:
Code: |
aplay -f cd /dev/urandom sysdefault
Wiedergabe: Rohdaten '/dev/urandom' : Signed 16 bit Little Endian, Rate: 44100 Hz, stereo
|
But have to cancel it manually, then it says
Code: |
sysdefault: Datei oder Verzeichnis nicht gefunden
|
means @file or dir not found. Same goes for front. No sound. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Jul 27, 2013 5:19 pm Post subject: |
|
|
Reading 'aplay --help' would help.
It's i.e. 'aplay -D front < /dev/urandom'...
Actually, in this case '<' part isn't necessary, it's just a habit of mine.
Last edited by VoidMage on Sat Jul 27, 2013 5:24 pm; edited 1 time in total |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Sat Jul 27, 2013 5:21 pm Post subject: |
|
|
I did aplay < /dev/urandom -D front... Should work as well, right? The help is not too helpful for me actually. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Jul 27, 2013 5:27 pm Post subject: |
|
|
If you could hear white noise, it did...
But this is getting nowhere.
Use alsa-info (just check 'alsa-info --help' first) and pastebin the result. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Sun Jul 28, 2013 7:01 pm Post subject: |
|
|
I cannot make aplay play any sound, no matter how I put the syntax. It's always "file or directory not found"...
What package does alsa-info belong to? I haven't got it installed. _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Jul 28, 2013 9:33 pm Post subject: |
|
|
alsa-info script is a part of media-sound/alsa-utils.
Accidentally, so is aplay.
...? |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Mon Jul 29, 2013 7:35 pm Post subject: |
|
|
Aww, that is weird. I have alsa-utils and alsa-lib gst-plugins-alsa installed. Am I missing some packages?
If I type alsa tab tab in a root-konsole under KDE, I get only these:
Code: |
alsactl alsaloop alsamixer alsaucm
|
Aplay is also installed...
Maybe its something else? I have now the following entries in make.conf:
Code: |
ALSA_CARDS="hda-intel ca0132 snd-hda-intel"
|
Is there something wrong?
In the kernel I have compiled in everything under Intel hdaudio... The kernel config itself is taken from my laptop with the same basic architecture (corei7), just edited slightly for the new machine. It also used hdaudio, only[/code] the realtek one.
What makes me wonder is that more than 2000 people viewed this thread and nobody can or will tell me, if they have this soundchip running or not...
What I have read on other sources, it's pretty likely that this chipset isn't even supported at all... _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Jul 29, 2013 8:13 pm Post subject: |
|
|
Ah...OK, my mistake - I have alsa-utils on an overlay, using a bit older ebuild, that pulls alsa-info script from alsa-driver tarball.
That script doesn't do much, it's just quite thorough about it.
That's i.e. 'ls -l /dev/snd/', and 'amixer' for all of the installed cards.
As for support, if it's already listed, at least a basic support seems to be present. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue Jul 30, 2013 5:01 pm Post subject: |
|
|
This is the output:
Code: |
ls -la /dev/snd/
insgesamt 0
drwxr-xr-x 3 root root 360 30. Jul 2013 .
drwxr-xr-x 16 root root 4800 30. Jul 2013 ..
drwxr-xr-x 2 root root 80 30. Jul 2013 by-path
crw-rw---- 1 root audio 116, 7 30. Jul 2013 controlC0
crw-rw---- 1 root audio 116, 15 30. Jul 2013 controlC1
crw-rw---- 1 root audio 116, 6 30. Jul 2013 hwC0D0
crw-rw---- 1 root audio 116, 14 30. Jul 2013 hwC1D1
crw-rw---- 1 root audio 116, 5 30. Jul 2013 pcmC0D3p
crw-rw---- 1 root audio 116, 4 30. Jul 2013 pcmC0D7p
crw-rw---- 1 root audio 116, 3 30. Jul 2013 pcmC0D8p
crw-rw---- 1 root audio 116, 2 30. Jul 2013 pcmC0D9p
crw-rw---- 1 root audio 116, 13 30. Jul 2013 pcmC1D0c
crw-rw---- 1 root audio 116, 12 30. Jul 2013 pcmC1D0p
crw-rw---- 1 root audio 116, 9 30. Jul 2013 pcmC1D1c
crw-rw---- 1 root audio 116, 8 30. Jul 2013 pcmC1D1p
crw-rw---- 1 root audio 116, 11 30. Jul 2013 pcmC1D2c
crw-rw---- 1 root audio 116, 10 30. Jul 2013 pcmC1D4c
crw-rw---- 1 root audio 116, 33 30. Jul 2013 timer
|
Code: |
cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
1 [Creative ]: HDA-Intel - HDA Creative
HDA Creative at 0xf7104000 irq 19
|
Code: |
amixer -c 1
Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 99
Mono:
Front Left: Playback 99 [100%] [9.00dB] [on]
Front Right: Playback 99 [100%] [9.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Mic SVM',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Mic1-Boost (30dB)',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 23
Front Left: Capture 12 [52%] [12.00dB] [off]
Front Right: Capture 12 [52%] [12.00dB] [off]
Simple mixer control 'AMic1/DMic',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'AMic1/DMic Auto Detect',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Analog-Mic2',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 23
Front Left: Capture 23 [100%] [23.00dB] [off]
Front Right: Capture 23 [100%] [23.00dB] [off]
Simple mixer control 'CrystalVoice',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Crystalizer',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Dialog Plus',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 113 [94%] [26.50dB]
Front Right: Capture 113 [94%] [26.50dB]
Simple mixer control 'Echo Cancellation',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Equalizer',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'HP/Speaker',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'HP/Speaker Auto Detect',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Noise Reduction',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'PlayEnhancement',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Smart Volume',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Voice Focus',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'VoiceFX',0
Capabilities: cenum
Items: 'Neutral' 'Female2Male' 'Male2Female' 'ScrappyKid' 'Elderly' 'Orc' 'Elf' 'Dwarf' 'AlienBrute' 'Robot' 'Marine' 'Emo' 'DeepVoice' 'Munchkin'
Item0: 'Neutral'
Simple mixer control 'What U Hear',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 99
Front Left: Capture 90 [91%] [0.00dB] [on]
Front Right: Capture 90 [91%] [0.00dB] [on]
Simple mixer control 'X-Bass',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
|
The card is recognized, too weird it doesn't make any sound... Basic stereo output would be absolutely enough... _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Jul 30, 2013 7:39 pm Post subject: |
|
|
OK, let's try something extremely simple: 'aplay -v -D front /dev/urandom'.
Copy the string, run, paste output. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue Jul 30, 2013 8:21 pm Post subject: |
|
|
Thanks for being with me, VoidMage!
Well, if I issue your exact command, I get:
"error opening device, file or directory not found"
If I slightly modify the command, after something I've read it gives this, which means "device or resource is busy".
That also happens as root.
Code: |
play -v -D hw:1,0 /dev/urandom
aplay: main:722: Fehler beim Öffnen des Gerätes: Das Gerät oder die Ressource ist belegt
|
_________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Jul 30, 2013 8:25 pm Post subject: |
|
|
VoidMage wrote: | Code: | aplay -v -D front /dev/urandom |
|
Martux wrote: | Code: | aplay -v -D hw:1,0 /dev/urandom |
|
But anyway, try removing that .asoundrc of yours first.
Also, lets focus on the actual user not root. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue Jul 30, 2013 8:27 pm Post subject: |
|
|
[quote="Martux"]
Well, if I issue your exact command, I get:
"error opening device, file or directory not found"
][/quote
Edit: I have removed asoundrc already _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Tue Jul 30, 2013 8:30 pm Post subject: |
|
|
Martux wrote: |
Well, if I issue your exact command, I get:
"error opening device, file or directory not found"
] |
_________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Jul 31, 2013 12:31 am Post subject: |
|
|
OK, looks like I need a timeout - I'm getting too frustrated with the slow progress.
But it also seems, as if at least one of us was missing something obvious.
Is pulseaudio running ?
If so, you probably need to set default sink/source. All it takes is creating a file named <your machine id>-default-{sink,source} in your user's ~/.config/pulse dir with a single line (name of the sink). The possible names will be in 'pacmd info' output. You can change the current sink using pacmd for quicker testing ()one not involving restarting the daemon several times..
PS: as for the "not found" message, it might be that if you removed that .asoundrc of yours, the names to be changed. Recheck, though leave that file out of equation for now. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Wed Jul 31, 2013 6:36 pm Post subject: |
|
|
Hey!
Thanks for helping out.
I assembled this new box with Haswell CPU and shit, but honestly never, ever had such a trouble getting *any* Linux installed.
After trying, Kubuntu, Sabayon, OpenSuse and Gentoo, Gentoo works best, but I some sort of lack the time and motivation to sit hours and hours in front of the machine just to make basic stuff like sound or networking work (all the others didn't even start or stuff like that).
It's sad to say after being a Gentooist for like 12 years, but my interest is fading... Sure, I miss some stuff with Windows7, but not enough to really care anymore.
With the tons of great OS software for Windows nowadays I don't really give a damn about the OS... Well, I do, but will live with it it seems...
For the problem itself: I had this very basic ALSA ONLY setup for years and years. No Pulseaudio, no OSS, no nothing. Always worked for me, not this time.
Maybe some time from now support will improve or my time-situation does, we will see.
Thanks again, VoidMage for being so patient and helpful!
Regards,
Marcus _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|