You are not logged in.

#1 2010-07-23 11:03:08

kradle
Member
Registered: 2010-07-21
Posts: 31

No /dev/sound/dsp or /dev/dsp with ALSA

I have no /dev/sound/dsp or /dev/dsp, but I need those to have sound on games suche as TC:E or LugaruHD.

I have alsa-oss installed, shouldn't this package create those devices?

kradle

Offline

#2 2010-07-23 11:12:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No /dev/sound/dsp or /dev/dsp with ALSA

Post your rc.conf and 'pacman -Qs alsa'.

Offline

#3 2010-07-23 11:15:14

kradle
Member
Registered: 2010-07-21
Posts: 31

Re: No /dev/sound/dsp or /dev/dsp with ALSA

$ cat /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", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# 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/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="Asia/Jerusalem"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="fuze"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# 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
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(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)

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# 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.d
#
# This now requires the netcfg package
#
#NETWORKS=(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 network netfs crond dbus hal alsa)

$ pacman -Qs alsa

local/alsa-lib 1.0.23-1
    An alternative implementation of Linux sound support
local/alsa-oss 1.0.17-1
    OSS compatibility library
local/alsa-utils 1.0.23-2
    An alternative implementation of Linux sound support
local/gstreamer0.10-base-git 20100721-1 (gstreamer)
    GStreamer Multimedia Framework Base plugin libraries

Offline

#4 2010-07-23 11:21:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No /dev/sound/dsp or /dev/dsp with ALSA

Did you follow the wiki?
https://bbs.archlinux.org/viewtopic.php … 68#p776268

Is your user in the audio group?

Offline

#5 2010-07-23 11:30:02

kradle
Member
Registered: 2010-07-21
Posts: 31

Re: No /dev/sound/dsp or /dev/dsp with ALSA

karol: My user is in the audio group and sound works for everything else.

$ lsmod|grep '^snd' | column -t

snd_hda_codec_realtek  192115  1
snd_seq_dummy          1071    0
snd_hda_intel          18769   4
snd_seq_oss            25016   0
snd_seq_midi_event     4488    1   snd_seq_oss
snd_seq                41656   5   snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         4353    3   snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec          66623   2   snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              4756    1   snd_hda_codec
snd_pcm_oss            33474   0
snd_mixer_oss          14328   1   snd_pcm_oss
snd_pcm                58460   4   snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              15601   3   snd_seq,snd_pcm
snd                    42602   17  snd_hda_codec_realtek,snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         5941    2   snd_hda_intel,snd_pcm

I think I've pretty much followed the wiki, and I'm not sure what's his solution in the link you've provided.

Last edited by kradle (2010-07-23 11:30:53)

Offline

#6 2010-07-23 11:46:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No /dev/sound/dsp or /dev/dsp with ALSA

You should check whether you're using OSS or alsa and try the other one to see (hear?) whether it's working.
Try searching on the forums sth about your sound card.

Maybe some other application is playing sound and that's why your games can't?
Edit: If you're using KDE http://forums.opensuse.org/archives/sf- … -busy.html

Last edited by karol (2010-07-23 12:14:50)

Offline

#7 2010-07-23 13:04:25

kradle
Member
Registered: 2010-07-21
Posts: 31

Re: No /dev/sound/dsp or /dev/dsp with ALSA

karol:

I tried installing OSS just now, but it broke much more than it had fixed.

I then tried running the games without any other application which uses sound running, and they work. (with alsa)
Weird, but I guess I can live with this.

Thanks for your help smile

Edit:
Actually, for some reason it works now even when Rhythmbox is open.

Last edited by kradle (2010-07-23 13:05:51)

Offline

#8 2010-07-23 13:10:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No /dev/sound/dsp or /dev/dsp with ALSA

> I'm not sure what's his solution in the link you've provided.
Well, his solution was "OMG, it works!" :-) I think it's somehow contagious.

Offline

Board footer

Powered by FluxBB