Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux and S/PDIF audio.
New Posts  All Forums:Forum Nav:

Linux and S/PDIF audio. - Page 4

post #31 of 53
Thread Starter 
Ok, so I wiped the drive and reinstalled Linux mint 10 x64. Still no sound. Installed Realtek driver and nothing, but the mic does pick up a signal. I have a guitar connected through an amp and into the mic port. When I hit the strings I can see the volume level jump accordingly.

So the system recognizes the mic, analog audio but it still refuses to use S/PDIF.

sudo asoundconf list // Still gives me a command not found.
post #32 of 53
Quote:
Originally Posted by *ka24e*;13522409 
Ok, so I wiped the drive and reinstalled Linux mint 10 x64. Still no sound. Installed Realtek driver and nothing, but the mic does pick up a signal. I have a guitar connected through an amp and into the mic port. When I hit the strings I can see the volume level jump accordingly.

So the system recognizes the mic, analog audio but it still refuses to use S/PDIF.

sudo asoundconf list // Still gives me a command not found.

First off, you don't have a realtek sound card, it's an ATI card, and the drivers are automagically loading for you, so it's not a driver issue.

Second, did you install alsa-utils before running that command?
Code:
sudo apt-get install alsa-utils #assuming your local cache is up to date
post #33 of 53
Thread Starter 
Yes I did. This is what i got.
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
alsa-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

Running // sudo alsa-utils restart //gives me the following:
Code:
* Shutting down ALSA...                                                 [ OK ] 
 * Setting up ALSA...                                                            * warning: 'alsactl restore' failed with error message 'alsactl: set_control:1388: Cannot write control '2:0:0:IEC958 Playback Default:0' : Operation not permitted
alsactl: set_control:1388: Cannot write control '2:0:0:IEC958 Playback Switch:0' : Operation not permitted
alsactl: set_control:1388: Cannot write control '2:0:0:IEC958 Playback AC97-SPSA:0' : Operation not permitted'...                                               amixer: Invalid command!
amixer: Invalid command!
   ...done.
post #34 of 53
Well then I'm at a loss. I guess the latest version of Mint followed Ubuntu and is relying more on pulseaudio than Alsa.

At this point, I think we ought to try what 'shroom said earlier: swapping ALSA / Pulseaudio for OSS4.

https://help.ubuntu.com/community/OpenSound

It's for Ubuntu, but for the most part it should work for Mint, seeing as Mint is a spinoff from Ubuntu.
post #35 of 53
Thread Starter 
I'm one step ahead of you bro, lol. Unfortunately, that didn't work either. ossxmix works fine, but still no digital audio only analog.

Oh well, at least there is some audio and I'm tired of messing with it, lol.


Thanks for the help Bluescreen_Of_Death and mushroomboy. I appreciate all your help guys. +rep.
post #36 of 53
http://alsa.opensrc.org/.asoundrc

You literally need to change it in .asoundrc or the mixer has to have the option to change it. The problem is a lot of the original mixers don't do this well! Pulseaudio does but I hate Pulseaudio with a passion! It fixes everything that is broken with ALSA but does it in a nasty way IMO, it also removes direct audio access. That's why I switched to OSS4, so I didn't have to mess with pasuspender and crap to get my direct hardware access back (PCM).

I was tired so I didn't want to do the work last night. =)
Code:
card 1: IXP [ATI IXP], device 0: ATI IXP AC97 [ATI IXP AC97]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: IXP [ATI IXP], device 1: ATI IXP IEC958 [ATI IXP IEC958 (AC97)]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Just saw, it's got its own device number not card number. That's your solution, read the alsa wiki and you'll see where that info needs to go.

[edit] Oh noes!!!! I was too late!!! lol Well, does the bass work better or no?

[edit2] It looks like this is a mass problem, many people are reporting digital not working (or well) with this card. =(

[oss4]
http://www.4front-tech.com/wiki/index.php/Configuring_Applications_for_OSSv4
http://www.4front-tech.com/wiki/index.php/Troubleshooting
http://www.4front-tech.com/wiki/index.php/Tips_And_Tricks
Edited by mushroomboy - 5/16/11 at 9:20am
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #37 of 53
Quote:
Originally Posted by *ka24e*;13522429 
Running // sudo alsa-utils restart //gives me the following:
Code:
* Shutting down ALSA...                                                 [ OK ] 
 * Setting up ALSA...                                                            * warning: 'alsactl restore' failed with error message 'alsactl: set_control:1388: Cannot write control '2:0:0:IEC958 Playback Default:0' : Operation not permitted
alsactl: set_control:1388: Cannot write control '2:0:0:IEC958 Playback Switch:0' : Operation not permitted
alsactl: set_control:1388: Cannot write control '2:0:0:IEC958 Playback AC97-SPSA:0' : Operation not permitted'...                                               amixer: Invalid command!
amixer: Invalid command!
   ...done.

This makes me think something is wrong with the driver, rather than any configuration issue. It seems mushroomboy has found much the same from a search.

P.S. I <3 PulseAudio biggrin.gif
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #38 of 53
Yeah, onboard might give you better luck in linux. You might even get better bass. Personally I love my onboard, it's got optic out. =) haha
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #39 of 53
Thread Starter 
Thanks for the reply's.

I did get a little further last night, but nothing yet. I did find a link that helped out a lot. I'm getting pretty close because now see the equalizer bouncing up and down when I play music, I just can't hear it.

http://forum.xbmc.org/showthread.php?t=58216


Btw, I might have wrote it a little confusing in my previous posts. My analog audio is my onboard audio and sounds like complete crap. Its not just linux, windows sounda terrible also.
My coaxial audio is also on-board (Coaxial RCA plug) that connects directly to a stereo receiver which outputs to (as of now) headphones.

All my audio is on board, I don't have an actual sound card other than the HDMI out on the EAH4670 but I'm not using that port.
Edited by *ka24e* - 5/16/11 at 5:16pm
post #40 of 53
Thread Starter 
To hell with it. I just did it oldschool, lol. I made a wire to connect my onboard audio (analog) to a coaxial port (2 lines left and right) and connected it to the reciever.
Adjusted the bass/treble via reciever and now it sounds just as good if not better than S/PDIF.
Now I can finally listen to some buckethead.

Btw, OSS4 did detect S/PDIF out (gstreamer-properties) but as usual it did not work.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Linux and S/PDIF audio.