You are not logged in.

#1 2006-06-03 19:20:48

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Confused about SPDIFF

Hi AF!
a short story - i plugged out the SB live from one PC and put it into another.
I followed this guide along installingt Soundblaster http://wiki.archlinux.org/index.php/ALSA_Setup

But this worked on the first PC, but not on the other?? And I can't figure it out. I'm about to build a mediecenter with Myth TV, but keeps running ionto severals errors. So here it is:

# lsmod |grep snd
snd_mpu401              6368  0
snd_mpu401_uart         6528  1 snd_mpu401
snd_seq_oss            31716  0
snd_seq_midi_event      6400  1 snd_seq_oss
snd_seq                49996  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            38176  0
snd_mixer_oss          16384  1 snd_pcm_oss
snd_emu10k1           118820  1
snd_rawmidi            20512  2 snd_mpu401_uart,snd_emu10k1
snd_ac97_codec         94624  1 snd_emu10k1
snd_ac97_bus            2176  1 snd_ac97_codec
snd_pcm                78084  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device          6924  4 snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer              20100  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc          8200  2 snd_emu10k1,snd_pcm
snd_util_mem            3840  1 snd_emu10k1
snd_hwdep               7428  1 snd_emu10k1
snd                    46432  15 snd_mpu401,snd_mpu401_uart,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
soundcore               7776  1 snd

So thats why -- > modprobe snd_emu10k1
(should I also modprobe pcm_oss even though I disabled the onboard audio card?? )

# amixer set Master 75 unmute
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Mono:
  Front Left: Playback 63 [100%] [on]
  Front Right: Playback 63 [100%] [on]

Then I want to put the lines into /etc/rc.local as discribed so :

# amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'Headphone LFE',1
Simple mixer control 'Headphone',1
Simple mixer control 'Headphone Center',1
Simple mixer control 'Tone',0
Simple mixer control 'Bass',0
Simple mixer control 'Treble',0
Simple mixer control '3D Control - Center',0
Simple mixer control '3D Control - Depth',0
Simple mixer control '3D Control - Switch',0
Simple mixer control 'PCM',0
Simple mixer control 'Front',0
Simple mixer control 'Surround',0
Simple mixer control 'Center',0
Simple mixer control 'LFE',0
Simple mixer control 'Synth',0
Simple mixer control 'Wave',0
Simple mixer control 'Wave Center',0
Simple mixer control 'Wave LFE',0
Simple mixer control 'Wave Surround',0
Simple mixer control 'Line',0
Simple mixer control 'Line LiveDrive',0
Simple mixer control 'Line2 LiveDrive',1
Simple mixer control 'CD',0
Simple mixer control 'Mic',0
Simple mixer control 'Mic Boost (+20dB)',0
Simple mixer control 'Mic Select',0
Simple mixer control 'Video',0
Simple mixer control 'Phone',0
Simple mixer control 'IEC958 Coaxial',0
Simple mixer control 'IEC958 LiveDrive',0
Simple mixer control 'IEC958 Optical Raw',0
Simple mixer control 'IEC958 TTL',0
Simple mixer control 'PC Speaker',0
Simple mixer control 'Aux',0
Simple mixer control 'Capture',0
Simple mixer control 'Mix',0
Simple mixer control 'Mix Mono',0
Simple mixer control 'AC97',0
Simple mixer control 'External Amplifier',0
Simple mixer control 'SB Live Analog/Digital Output Jack',0

So thats why I put this in the /etc/rc.local

# Use COAX-Digital output
amixer set 'IEC958 Optical' 100 unmute
amixer set 'SB Live Analog/Digital Output Jack' on

But its about here I believe somethings is wrong - becaurse after rebooting between the last Deamons and KDE-startscreen, it comes up with some errors ? But I'm not able to see those - is there somewhere I can do that afterwards??

Well after that - I have been able to make the SB work - But only as analog, not as digital??? what couls that be - I works jhust fine in the other PC without any problems (some - but not like this)

The next problems is - the sound in KDE works, but ogle am not able to use this device?? It just coming with this error and playing the DVD really fast ???

# ogle
xscreensaver-command not found.
No accelerated IMDCT transform found
ERROR[ogle_audio]: Unable to update the IEC958 control: No such file or directory
using MMX for yuv2rgb conversion
+-ERROR[ogle_audio]: drain failed: Resource temporarily unavailable
ERROR[ogle_audio]: prepare failed: Device or resource busy
ERROR[ogle_audio]: Unable to update the IEC958 control: No such file or directory
ERROR[ogle_audio]: Unable to set hw params for playback: File descriptor in bad state
ERROR[ogle_audio]: Setting of hwparams failed: File descriptor in bad state
FATAL[ogle_audio]: ogle_ao_init:
ERROR[ogle_audio]: odelay error: Input/output error
ERROR[ogle_audio]: Can't recover from Input/output error
ERROR[ogle_audio]: odelay error: Input/output error
ERROR[ogle_audio]: Can't recover from Input/output error
ERROR[ogle_audio]: odelay error: Input/output error
ERROR[ogle_audio]: Can't recover from Input/output error
ERROR[ogle_audio]: odelay error: Input/output error
-ERROR[ogle_audio]: Can't recover from Input/output error
ERROR[ogle_audio]: odelay error: Input/output error

Well I'm not that deep into Arch - but still somewhere I keep trying, but sometimes this really breaks you down -- > so please help me

Thanks in advance [/code]


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB