You are not logged in.

#1 2006-10-24 02:05:48

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

oss2jack problem [Solved]

I recently set up mpd and sonata and it worked, but I wanted to allow multiple programs to play sound so I decided to install oss2jack.  It worked, but then  I rebooted and I get an error when trying to play something.  For example, I type: ogg123 music/file.ogg, I get:

ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
=== Could not load default driver and no driver specified in config file. Exiting.

This is my /etc/rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/unimaps
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="US/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(snd_pcm_oss snd_pcm snd_intel8x0)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="arch"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal network portmap fam alsa mpd jack-audio-connection-kit crond)


# End of file

This is my /etc/rc.local:

#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
modprobe kfusd
oss2jack &> /dev/null &

Does anyone know why it isn't working?

Offline

#2 2006-10-24 07:27:42

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: oss2jack problem [Solved]

you need to configure apps to use oss instead of alsa.

Offline

#3 2006-10-24 21:50:51

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: oss2jack problem [Solved]

yup, yup, fixed.

Offline

#4 2007-01-07 00:55:34

brainwasher
Member
From: Lucca (Italy)
Registered: 2007-01-04
Posts: 81
Website

Re: oss2jack problem [Solved]

yankees26 wrote:

yup, yup, fixed.

how ?

Offline

#5 2007-01-07 07:06:56

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: oss2jack problem [Solved]

brainwasher wrote:
yankees26 wrote:

yup, yup, fixed.

how ?

depends on the app you use to play sound  wink

Offline

Board footer

Powered by FluxBB