Forum

The time now is Thu Jul 29, 2010 2:58 pm

Become a registered member of the Mandriva community.It takes only 5 mns and it's free ... Learn more ...
Audigy 4 and 2009.1[solved]
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Mandriva Forum Index -> Sound
View previous topic :: View next topic  
Author Message
Cosmin Chifan

Cosmin Chifan

Joined: 18 Mar 2007
Posts: 119
Location: Iasi, Romania

View user's profile Send private message Visit poster's website
PostPosted: Sat May 02, 2009 11:11 am    Post subject: Audigy 4 and 2009.1[solved] Reply with quote Report

I write here the solution it may be help someone, the problem is that I have Audigy 4 soundcard with 5.1 system logitech x530 and after install 2009.1 (dvd free) I noticed that I have no sound (although I have before in 2008,2008.1,2009.0 ,win xp and worked with no problem); after I googleit and I lost one day I finally found a solution: in Kmix unmute Audugy Analog/Digital Output Jack (now u have sound but is 3.1 and not 5.1) and mute IEC958 Optical Raw , and that's all, u have sound and it is 5.1

Yahoo
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Sat May 02, 2009 8:31 pm    Post subject: Reply with quote Report

Thanks so much for posting this solution.

I have yet to upgrade the machines that have Audigy 4 cards on them. But this solution also works on the Audigy 2 card too.

Thanks again.
Back to top
Robert Reed_0

Non Figura

Joined: 11 Jun 2008
Posts: 1

View user's profile Send private message
PostPosted: Tue May 05, 2009 6:31 pm    Post subject: Thank you! Reply with quote Report

Works a treat with SB Audigy 4, I take my sound quite seriously!
Thank you very much Very Happy
Back to top
octopus66

Non Figura

Joined: 27 May 2005
Posts: 100

View user's profile Send private message
PostPosted: Sun May 24, 2009 7:57 am    Post subject: Reply with quote Report

Are you sure it works? My external device takes the signal and tells if it is multi channel. AC3 is not passed through, quite sure it is only prologic PCM signal that is output.

2008.1 was able to output real raw. External decoder displays the number of channels and always say PCM in 2009.1. If AC3 it says digital and the 3/2 or 2/0 for main/surround channels being sent.

The output IEC958 optical raw is mislabeled, it only activates digital PCM output from the gstreamer backend of pulse audio.

If anyone finds the control to send multi channel audio to digital out, please post here. I suspect it has not been implemented yet.

One way to check what is going out is to use iecset to check
$ iecset
Mode: consumer
Data: audio
Rate: 48000 Hz
Copyright: permitted
Emphasis: none
Category: PCM coder
Original: original
Clock: 1000 ppm

As you can see when a 5.1 source is playing there has been a conversion to PCM.

Another check is desktop sounds can still be heard while playing the 5.1 source.

Under 2008.1 with Kaffeine outputting 5.1, changed to Data: non-audio was shown.

In 2009.1 "iecset pro off audio off" results in no sound at all as there is no stream from pulse audio or gstreamer. Not sure which is the problem.
Back to top
octopus66

Non Figura

Joined: 27 May 2005
Posts: 100

View user's profile Send private message
PostPosted: Sun Jun 07, 2009 8:27 am    Post subject: Reply with quote Report

For anyone who, has no sound digital out and thinks it should work.

PulseAudio can select data mode for the SPDIF port, which will result in no sound as the pass through is not supported and iecset may not be allowed by PulseAudio to coonect to the port.

In Mandriva control centre > Hardware > sound configuration, deselect Enable PluseAudio, exit, cancel logout, then go back in and enable it. This will restore audio mode.

Note, restarting your computer may have no effect.
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Sun Jun 07, 2009 10:47 pm    Post subject: Reply with quote Report

@octopus66: could file a bug report at https://qa.mandriva.com/index.cgi outlining this workaround? Thanks.
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Mon Jun 08, 2009 10:04 pm    Post subject: Reply with quote Report

I was hoping that fix would have worked to get Kmixer to remember the digital raw mute check box. But it never does.

I can't seem to figure out where that is stored and I've tried everything.

SOund works now after checking it, but it won't stay across reboots.
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Tue Jun 09, 2009 12:27 am    Post subject: Reply with quote Report

Did you try toggling it using alsamixer, in terminal:
Code:
alsamixer -c 0

if you have more than once sound card then increment the -c argument, so use -c 1 for the second sound card and so on. Select he channel then press M to toggle, then press Esc to quit.

If it still doesn't work then try disabling PulseAudio via the Mandriva control centre>hardware>sound configuration.

If non of the above works then we can hack a shell script to toggle the channel automatically when you login.
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Tue Jun 09, 2009 1:13 am    Post subject: Reply with quote Report

I did try that, and muted the digital raw output in alsamixer from the console.

That held across KDE logouts, but after a reboot, the digital raw checkbox is unchecked again. So something in the boot process is setting the digital output as active.
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Tue Jun 09, 2009 1:27 am    Post subject: Reply with quote Report

Did you try disabling pulseaudio?
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Tue Jun 09, 2009 4:07 am    Post subject: Reply with quote Report

Yes. Didn't reboot between disabling it though to see if the settings were saved. I could try that.

It looks like the PA startup is setting the digital raw to on every time.
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Sat Jun 20, 2009 10:24 pm    Post subject: Reply with quote Report

I'm still trying to figure out how to get the digital raw to come up muted on a boot.
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Sat Jun 20, 2009 10:36 pm    Post subject: Reply with quote Report

From terminal load:
Code:
amixer

and post here the section of the channel you want to unmute at boot.
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Sat Jun 20, 2009 10:59 pm    Post subject: Reply with quote Report

I believe this is the section I need:

Simple mixer control 'IEC958 Optical Raw',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [off]
Front Right: Playback [off]

This should be the IEC958 optical mute switch, which I need muted. It defaults to not muted, and thus no sound via the analog outputs of the card.

Killing and restarting pulseaudio always resets this switch to not muted and no sound, as does a reboot.
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Sat Jun 20, 2009 11:57 pm    Post subject: Reply with quote Report

Does this toggle it (mute/unmute):
Code:
amixer set 'IEC958 Optical Raw' toggle
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Sun Jun 21, 2009 12:24 am    Post subject: Reply with quote Report

Yes it does.

It changes state with each sending of that command.

I.e. if it's off, it goes on, if it's on it goes off.

You'd have to know the state to get it to force right. On a relog without reboot, the state is saved, but only on a reboot is the state always set to unmuted. Maybe if this was executed on a boot up, might set things right.

rc.local maybe?
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Sun Jun 21, 2009 12:57 am    Post subject: Reply with quote Report

Nah, toggle was just for testing it, we can use "mute", this way if it's already muted it'll do nothing.

You use kde4? if so do this as user (not root):
Code:
cd .kde4/Autostart
echo 'amixer set 'IEC958 Optical Raw' mute' > mute.sh
chmod ug+x mute.sh


Then restart the machine and see what happens.
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Sun Jun 21, 2009 3:51 am    Post subject: Reply with quote Report

I tried this and it works, sort of...

Apparently there is a timing issue. On a boot, the mute does not get set to on. But if I log out of KDE and back into KDE again (not rebooting), then the mute does get set.

So there must be something unsetting it during the boot/KDE load sequence.

I'm wondering if there might be another place to put this?
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Sun Jun 21, 2009 4:03 am    Post subject: Reply with quote Report

It's probably speedboot, it starts the display manager ASAP meanwhile some other processes continue to load in the background....

So let's make it sleep for a while before executing Smile. Edit .kde4/Autostart/mute.sh and make it look like this:
Code:
sleep 10
amixer set 'IEC958 Optical Raw' mute

keep incrementing the number (10) until it works, the time is in seconds.
Back to top
Rick_Kunath

Non Figura

Joined: 11 Mar 2004
Posts: 99

View user's profile Send private message
PostPosted: Sun Jun 21, 2009 4:31 am    Post subject: Reply with quote Report

That did the trick!

Thanks so much.

I was able to back it off to 4 seconds delay. Not sure if I could go lower, but at 4 seconds the startup sound plays intact.

Thanks again.
Back to top
Ahmad_Samir

Non Figura

Joined: 23 Dec 2007
Posts: 11240

View user's profile Send private message
PostPosted: Sun Jun 21, 2009 4:37 am    Post subject: Reply with quote Report

Excellent! glad it's working.
Back to top
Cosmin Chifan

Cosmin Chifan

Joined: 18 Mar 2007
Posts: 119
Location: Iasi, Romania

View user's profile Send private message Visit poster's website
PostPosted: Tue Jun 30, 2009 8:12 am    Post subject: Reply with quote Report

at me the amixer show:
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right - Rear Left - Rear Right - Front Center - Woofer
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 55898 [85%] [on]
Front Right: Playback 55898 [85%] [on]
Rear Left: Playback 55898 [85%] [on]
Rear Right: Playback 55898 [85%] [on]
Front Center: Playback 55898 [85%] [on]
Woofer: Playback 55898 [85%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 65536
Mono: Capture 57891 [88%] [on]

wher to find IEC958 Optical Raw?

L.E.: i found the problem, I have a video card HD4850(with hdmi builtin) and a sound card audigy 4, amixer after reboot switch from device sound 0 or 1, now I want to figure how disable ati, before amixer to see it...
L.E.no2: resolved
First I blacklisted the driver for ati hdmi(snd_hda_intel) - in /etc/modprobe.d/blacklist-mdv I add the line blacklist snd_hda_intel ,beware to le a empty line to the end of file
Two: I make a script ( mute.sh):
#!/bin/bash
sleep 10
amixer -c 0 set 'IEC958 Optical Raw' mute

and in konsole I execute:
chmod ug+x mute.sh
now all it's almost perfect...
Back to top
lxtwin

Non Figura

Joined: 22 Nov 2005
Posts: 12

View user's profile Send private message
PostPosted: Fri Nov 06, 2009 12:30 am    Post subject: something to add Reply with quote Report

Hi there

I had a problem where only the front speakers worked, I found by editing /etc/pulse/daemon.conf and adding this fixed my problem:

default-channel-map = front-left,front-right,rear-left,rear-right
default-sample-channels = 6

then after a reboot it all 4 speakers worked...... Ironic

hope this helps someone.

lxtwin
Back to top
Ahmad Samir

Ahmad Samir

Joined: 13 Jul 2009
Posts: 6462
Location: Egypt, Cairo

View user's profile Send private message
PostPosted: Fri Nov 06, 2009 2:59 am    Post subject: Reply with quote Report

@lxtwin, did you try configuring this from the open Menu> sound & video> pulseaudio volume control > Configuration tab, by selecting an appropriate profile for your card? anyway whatever works for you Smile
Back to top
lxtwin

Non Figura

Joined: 22 Nov 2005
Posts: 12

View user's profile Send private message
PostPosted: Sat Nov 07, 2009 12:46 am    Post subject: Reply with quote Report

Hi Ahmad,

I did not try the it from the menu, but when I did fails with a connection refused message.

Thanks anyway.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Mandriva Forum Index -> Sound All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group