Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to route line-in to the spdif-out (nforce2)
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
Bedman
n00b
n00b


Joined: 18 Feb 2004
Posts: 3
Location: Germany

PostPosted: Wed Feb 18, 2004 10:42 am    Post subject: Problem to route line-in to the spdif-out (nforce2) Reply with quote

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
View user's profile Send private message
Bedman
n00b
n00b


Joined: 18 Feb 2004
Posts: 3
Location: Germany

PostPosted: Fri Feb 20, 2004 8:47 pm    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message
anarchist
Apprentice
Apprentice


Joined: 12 Jul 2002
Posts: 264

PostPosted: Sun Feb 22, 2004 9:46 pm    Post subject: Reply with quote

got the same problem but with sblive ... no idea how i might fix it
Back to top
View user's profile Send private message
darkphoenix16
n00b
n00b


Joined: 23 Apr 2003
Posts: 71
Location: Nova Scotia, Canada

PostPosted: Sun Mar 14, 2004 1:32 am    Post subject: Reply with quote

anyone get a fix yet? this is quite crappy
_________________
I really wish I could put something witty here.
Back to top
View user's profile Send private message
StuRReaL
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2003
Posts: 117

PostPosted: Sun Mar 14, 2004 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
darkphoenix16
n00b
n00b


Joined: 23 Apr 2003
Posts: 71
Location: Nova Scotia, Canada

PostPosted: Sun Mar 14, 2004 2:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
StuRReaL
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2003
Posts: 117

PostPosted: Sun Mar 14, 2004 2:22 pm    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
Bedman
n00b
n00b


Joined: 18 Feb 2004
Posts: 3
Location: Germany

PostPosted: Sun Mar 14, 2004 5:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Glorandar
n00b
n00b


Joined: 15 Jun 2003
Posts: 64
Location: Vancouver, BC, Canada

PostPosted: Sun Mar 14, 2004 9:24 pm    Post subject: Reply with quote

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
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