Unix Technical Forum

Assigning sound card to specific X display

This is a discussion on Assigning sound card to specific X display within the Debian Linux support forums, part of the Debian Linux category; --> I'm running a dual-head setup using Debian unstable + the x.org packages from Ubuntu. I have two sound cards, ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 07:56 AM
Ken McCord
 
Posts: n/a
Default Assigning sound card to specific X display

I'm running a dual-head setup using Debian unstable + the x.org packages
from Ubuntu. I have two sound cards, and I'd like to assign each of them
to a specific X display. How can I do this?

The first sound card is /dev/dsp and the second is /dev/dsp1. I want
display :0 to use /dev/dsp and display :1 to use /dev/dsp1.

Thanks,

Ken

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 07:56 AM
Clinton V. Weiss
 
Posts: n/a
Default Re: Assigning sound card to specific X display

Ken McCord wrote:
> I'm running a dual-head setup using Debian unstable + the x.org packages
> from Ubuntu. I have two sound cards, and I'd like to assign each of them
> to a specific X display. How can I do this?
>
> The first sound card is /dev/dsp and the second is /dev/dsp1. I want
> display :0 to use /dev/dsp and display :1 to use /dev/dsp1.
>
> Thanks,
>
> Ken
>


This won't be as easy as you think. Since many programs attempt to
directly access the sound card, you may get programs running on the X
session intended for /dev/dsp1 defaulting their access to /dev/dsp. You
will need to ensure you have the proper wrapper program (depending on
which sound daemon you're using) will be executed for each program.

Perhaps someone else will think of a better solution. I wish you the
best of luck.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:06 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com