Re: [Alsa-user] Alsa + spdif + 2.6 on inspiron 8600 + port replicator

2004-02-18 Thread Clemens Ladisch
Jonathan Beilin wrote:
 Also, is there a way to get the device to not upsample the spdif output to
 48khz? hmmm I'm getting ahead of myself here...

 cat ac97#0-0
 ...
 SPDIF Control: Consumer PCM Category=0x2 Generation=1 Rate=48kHz

Try changing the rate with the iecset utility.

It may be possible that your AC'97 codec doesn't support SPDIF output
at 44.1 kHz.  Which one do you have (see first line of ac97#0-0)?


HTH
Clemens




---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa + spdif + 2.6 on inspiron 8600 + port replicator

2004-02-17 Thread Jonathan Beilin
On Mon, 16 Feb 2004, Jonathan Beilin wrote:
 Analog works fine. Any help is appreciated.

 More details on the not working: the programs pause when attempting to 
play
 through hw:0,4

 ex:
 $ aplay -D hw:0,4 storage/torvalds-says-linux.wav
 Playing WAVE 'storage/torvalds-says-linux.wav' : Signed 16 bit Little
 Endian, Rate 8000 Hz, Mono
 aplay: set_params:832: Channels count non available

Why in the world would you try to play 8000- Hz Mono? It will sound
awfull. Also it may be that your card cannot do mono. (that is what the
error message seems to say) Get a proper .wav file and test with that.

 Also, the sound output from aplay -D plug:spdif is very tinny, brittle, 
and
 distorted sounding.

What are you trying to play?
OK i ripped a proper wav from a CD.

$ aplay -D hw:0,4 track_01.wav
Playing WAVE 'track_01.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
please, try the plug plugin (-Dplug:hw:0,4)
aplay: pcm_write:1083: write error: Input/output error

$ aplay -Dplughw:0,4 track_01.wav
Playing WAVE 'track_01.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo

but my DAC reports that there is no signal being sent.

$ aplay -D plug:spdif track_01.wav

plays, but sounds awful... very tinny, distorted, brittle, I've tried this 
DAC with my old CDP as the transport and I know the DAC can sound a hell of 
a lot better than this.

$ xmms track_01.wav
Message: fmt 5, channels: 2
The player just 'hangs' in the play mode until i configure the alsa plugin 
to output to hw:0,0

Also, is there a way to get the device to not upsample the spdif output to 
48khz? hmmm I'm getting ahead of myself here...

cat ac97#0-0
...
SPDIF Control: Consumer PCM Category=0x2 Generation=1 Rate=48kHz
And if anyone knows of an affordable firewire, usb, or cardbus device that 
can give me 44.1khz spdif output with ALSA i'll drop this thread and buy 
that instead.

Thanks again for any advice! I can post my .asoundrc or my asound.state if 
it would be any help.

_
Click, drag and drop. My MSN is the simple way to design your homepage. 
http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Alsa + spdif + 2.6 on inspiron 8600 + port replicator

2004-02-16 Thread Jonathan Beilin
I'm trying to get SPDIF output from my i8x0 card with alsa and the 2.6 
kernel. I can use aplay -D plug:spdif to get sound output, but aplay -D 
hw:0,4 (the id of my spdif output) does not work and neither xmms nor zinf 
will play with that output.

Analog works fine. Any help is appreciated.

More details on the not working: the programs pause when attempting to play 
through hw:0,4

ex:
$ aplay -D hw:0,4 storage/torvalds-says-linux.wav
Playing WAVE 'storage/torvalds-says-linux.wav' : Signed 16 bit Little 
Endian, Rate 8000 Hz, Mono
aplay: set_params:832: Channels count non available

Also, the sound output from aplay -D plug:spdif is very tinny, brittle, and 
distorted sounding.

Relevant hardware: Dell Inspiron 8600 + Port Replicator

Thanks everyone!

(BTW, yes I did read the alsa docs and the wiki and the soundcard matrix)

_
Keep up with high-tech trends here at Hook'd on Technology. 
http://special.msn.com/msnbc/hookedontech.armx



---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user