View previous topic :: View next topic |
Author |
Message |
Bedman n00b
Joined: 18 Feb 2004 Posts: 3 Location: Germany
|
Posted: Wed Feb 18, 2004 10:42 am Post subject: Problem to route line-in to the spdif-out (nforce2) |
|
|
Hello,
i've tried to solve this Problem for over two weeks, now.
I'm using the newest Kernel (2.6.3-rc2) with Alsa Sound Support enabled. The Modules for the NForce2 APU (intel8x0) and for my TV-Card (bt87x) are compiled and working.
I have sound via Alsa and OSS-Emulation through the SpDif out.
The TV-Card is connected with a external cable to my line-in.
There are in /dev/snd 2 Devices for the BT87x and 4 Devices for the intel8x0.
the .asoundrc look like this: (not exactly because I'm not at home right now )
"
pcm.nforce-hw {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "nforce"
}
pcm.nforce {
type dmix
ipc_key 1234
slave {
pcm "hw:0,1"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}
ctl.nforce-hw {
type hw
card 0
}
pcm.bt87x {
type hw
card 1
}
ctl.bt87x {
type hw
card 1
}
"
I also tried almost every mixer settings, without luck.
Please if there is anybody outthere, who got this to work, tell me!!!!!!!!
Thx Bedman |
|
Back to top |
|
|
Bedman n00b
Joined: 18 Feb 2004 Posts: 3 Location: Germany
|
Posted: Fri Feb 20, 2004 8:47 pm Post subject: |
|
|
*bump* |
|
Back to top |
|
|
anarchist Apprentice
Joined: 12 Jul 2002 Posts: 264
|
Posted: Sun Feb 22, 2004 9:46 pm Post subject: |
|
|
got the same problem but with sblive ... no idea how i might fix it |
|
Back to top |
|
|
darkphoenix16 n00b
Joined: 23 Apr 2003 Posts: 71 Location: Nova Scotia, Canada
|
Posted: Sun Mar 14, 2004 1:32 am Post subject: |
|
|
anyone get a fix yet? this is quite crappy _________________ I really wish I could put something witty here. |
|
Back to top |
|
|
StuRReaL Tux's lil' helper
Joined: 25 Oct 2003 Posts: 117
|
Posted: Sun Mar 14, 2004 12:17 pm Post subject: |
|
|
how did you get sound via the spdif? because I can only get analogue from mine :S which version of ALSA are you using, and does the nforce have hardware mixing under ALSA yet? |
|
Back to top |
|
|
darkphoenix16 n00b
Joined: 23 Apr 2003 Posts: 71 Location: Nova Scotia, Canada
|
Posted: Sun Mar 14, 2004 2:14 pm Post subject: |
|
|
I got it using alsa from kernel 2.6.4 and alsa-lib/utils 1.0.3. I only got it with xmms using the ALSA plug-in though, all other OSS apps wouldnt work. I also had to turn off arts. Sorry, no hardware mixing.
I eventually swithed to the commercial OSS drivers for 20 bucks. They work much better for my nforce2 board. _________________ I really wish I could put something witty here. |
|
Back to top |
|
|
StuRReaL Tux's lil' helper
Joined: 25 Oct 2003 Posts: 117
|
Posted: Sun Mar 14, 2004 2:22 pm Post subject: |
|
|
commercial drivers for the nforce? eh? enlighten me... I'm still finding my way around linux and things need a bit of explaining to me |
|
Back to top |
|
|
Bedman n00b
Joined: 18 Feb 2004 Posts: 3 Location: Germany
|
Posted: Sun Mar 14, 2004 5:03 pm Post subject: |
|
|
I found a way to route the line-in signal to my spdif. It's not the best way but the only way i discovered.
You can grab the Signal from your line-in source by recording in via arecord and play it instantly via aplay through your spdif.
The command should be something like this: "arecord -f dat -D linein | aplay"
"linein" should be defined in the home .asoundrc like this:
pcm.linein {
type hw
card 0
device 0
}
Start your TV-Application (e.g. tvtime) and the run the command.
The Problems are that the sound is a little bit out of sync and the quality is miserable. But better then nothing
Cya Bedman |
|
Back to top |
|
|
Glorandar n00b
Joined: 15 Jun 2003 Posts: 64 Location: Vancouver, BC, Canada
|
Posted: Sun Mar 14, 2004 9:24 pm Post subject: |
|
|
Quote: | how did you get sound via the spdif? | Look at this page: http://www.wlug.org.nz/NForce2Notes
It talks about how to get S/PDIF output via ALSA's OSS/Free emulation. You have to add: Code: | options snd-pcm-oss dsp_map=2 adsp_map=2 | to your kernel's configuration (/etc/modules.d/alsa then execute modules-update as root). _________________ ----- Glorandar |
|
Back to top |
|
|
|