Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ALSA hw:0,1 stopped working 'spdif' still does!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
bryanb
n00b
n00b


Joined: 09 Jan 2005
Posts: 16
Location: Brissel, UK

PostPosted: Tue Aug 01, 2006 8:49 pm    Post subject: [SOLVED] ALSA hw:0,1 stopped working 'spdif' still does! Reply with quote

Hi all,

Up to fairly recently on my MythTv machine I could type the following and get sound through my spdif connection :

aplay -D hw:0,1 /usr/share/sounds/alsa/Rear_Right.wav

However that has stopped working, if I use '-D spdif' instead it works fine.

This wouldn't be a problem as in myth I can change the output to ALSA:spdif, however in MythMusic, since my recordings are not all 48000 Hz, this is no good. I was using a .asoundrc that did the rate conversions, but with hw:0,1 no longer working its not much use!

Any ideas?

Here's some system info :
Code:

alsa-driver et al = 1.0.11 (I've tried 1.0.12 to no avail)

Code:

stella ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Note there's no mention of IEC958 on device 1 - could this be the problem?

Thanks, Bry.


Last edited by bryanb on Mon Aug 07, 2006 7:53 am; edited 1 time in total
Back to top
View user's profile Send private message
bryanb
n00b
n00b


Joined: 09 Jan 2005
Posts: 16
Location: Brissel, UK

PostPosted: Mon Aug 07, 2006 7:51 am    Post subject: [SOLVED] ALSA hw:0,1 stopped working 'spdif' still does! Reply with quote

Just in case anyone else has this problem, I have 'fixed' it. I needed to set 'IEC958 Playback AC97-SPSA' from 3 to 0. Thus :

Code:

mythtv@stella ~ $ amixer get 'IEC958 Playback AC97-SPSA'
Simple mixer control 'IEC958 Playback AC97-SPSA',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 3 [0%]

mythtv@stella ~ $ amixer set 'IEC958 Playback AC97-SPSA' 0

mythtv@stella ~ $ amixer get 'IEC958 Playback AC97-SPSA'
Simple mixer control 'IEC958 Playback AC97-SPSA',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 0 [0%]


I don't remember monkeying with this value when it stopped working so maybe something changed it for me during an update, or maybe ALSA's behaviour has changed. Thanks for all your comments :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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