Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48512 - /dev/sound/adsp created, but says "no such device"
Summary: /dev/sound/adsp created, but says "no such device"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 14:41 UTC by Alexander Jenisch
Modified: 2004-05-15 00:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2004-04-20 14:41:54 UTC
nt@eNTi $ lsnt@eNTi $ la
total 0
drwxr-xr-x   2 root root       0 Apr 20 22:57 ./
drwxr-xr-x  18 root root       0 Apr 20 22:57 ../
crw-rw----   1 root audio 14, 12 Apr 20 22:57 adsp
crw-rw----   1 root audio 14,  4 Apr 20 22:57 audio
crw-rw----   1 root audio 14,  3 Apr 20 22:57 dsp0
crw-rw----   1 root audio 14,  0 Apr 20 22:57 mixer
crw-rw----   1 root audio 14,  1 Apr 20 22:57 sequencer
crw-rw----   1 root audio 14,  8 Apr 20 22:57 sequencer2
<23:39:16><Tue Apr 20></dev/sound>
nt@eNTi $ cat /dev/urandom >adsp 
-bash: adsp: No such device

i'm running 2.6.5-love5, udev, alsa-lib-1.0.4. 

nt@eNTi $ cat /proc/asound/devices 
  1:       : sequencer
  0: [0- 0]: ctl
  4: [0- 0]: hardware dependent
  8: [0- 0]: raw midi
 19: [0- 3]: digital audio playback
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  6: [0- 2]: hardware dependent
  9: [0- 1]: raw midi
 10: [0- 2]: raw midi
 33:       : timer

please tell me, if you need more info.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-04-23 17:20:08 UTC
Sounds like a missing kernel modules. Attach lsmod output, /etc/modules.conf, lsmod and the what sound driver you have.(verify against lsmod)
Comment 2 Alexander Jenisch 2004-04-24 06:11:22 UTC
<15:05:07><Sat Apr 24></dev/sound>
nt@eNTi $ lsmod
Module                  Size  Used by
snd_seq_midi            6432  0 
snd_emu10k1_synth       6784  0 
snd_emux_synth         35392  1 snd_emu10k1_synth
snd_seq_virmidi         5824  1 snd_emux_synth
snd_seq_midi_emul       6848  1 snd_emux_synth
snd_emu10k1            91204  4 snd_emu10k1_synth
snd_rawmidi            20128  3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_ac97_codec         60804  1 snd_emu10k1
snd_util_mem            3328  2 snd_emux_synth,snd_emu10k1
snd_hwdep               7108  2 snd_emux_synth,snd_emu10k1
snd_seq_oss            31424  0 
snd_seq_midi_event      6272  3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq                49424  8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6536  7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            48868  0 
snd_pcm                84616  3 snd_emu10k1,snd_pcm_oss
snd_page_alloc          8964  2 snd_emu10k1,snd_pcm
snd_timer              21252  2 snd_seq,snd_pcm
snd_mixer_oss          17344  1 snd_pcm_oss
snd                    44900  21 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_util_mem,snd_hwdep,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
nvidia               2067240  12 

-----------------------------------------------------------------------------
/etc/modules.conf
-----------------------------------------------------------------------------

### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modules.d and read
# the manpage for modules-update.
#
### modules-update: start processing /etc/modules.d/aliases
# Aliases to tell insmod/modprobe which modules to use 

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off		# Unix
# alias net-pf-2 off		# IPv4
# alias net-pf-3 off		# Amateur Radio AX.25
# alias net-pf-4 off		# IPX
# alias net-pf-5 off		# DDP / appletalk
# alias net-pf-6 off		# Amateur Radio NET/ROM
# alias net-pf-9 off		# X.25
# alias net-pf-10 off		# IPv6
# alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off		# Acorn Econet

alias char-major-10-175	agpgart
alias char-major-10-200	tun
alias char-major-81	bttv
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0	loop_gen
alias loop-xfer-3	loop_fish2
alias loop-xfer-gen-10	loop_gen
alias cipher-2		des
alias cipher-3		fish2
alias cipher-4		blowfish
alias cipher-6		idea
alias cipher-7		serp6f
alias cipher-8		mars6
alias cipher-11		rc62
alias cipher-15		dfc2
alias cipher-16		rijndael
alias cipher-17		rc5

# Support for i2c and lm_sensors
alias char-major-89    i2c-dev

# Old nvidia support ...
alias char-major-195 NVdriver 
alias /dev/nvidiactl char-major-195 

### modules-update: end processing /etc/modules.d/aliases

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-emu10k1
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/snd/seq snd-seq-midi
alias /dev/midi snd-seq-oss
alias /dev/sequencer snd-seq-midi

# Set this to the correct number of cards.
options snd cards_limit=1

### modules-update: end processing /etc/modules.d/alsa

### modules-update: start processing /etc/modules.d/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### modules-update: end processing /etc/modules.d/i386

### modules-update: start processing /etc/modules.d/nvidia
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!!
#
#   To enable Side Band Adressing:  NVreg_EnableAGPSBA=1
#
#   To enable Fast Writes: NVreg_EnableAGPFW=1
#
# To enable both for instance, uncomment following line:
#
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1

### modules-update: end processing /etc/modules.d/nvidia

-----------------------------------------------------------------------------
sound driver: emu10k1
---------------------
part of /proc/pci output:
-----------------------------------------------------------------------------

  Bus  0, device  10, function  0:
    Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 6).
      IRQ 7.
      Master Capable.  Latency=32.  Min Gnt=2.Max Lat=20.
      I/O at 0xd000 [0xd01f].

-----------------------------------------------------------------------------

i'm using alsa (1.0.4) + alsa-oss (1.0.4)
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-26 00:54:44 UTC
I have this problem intermetintly as well with drivers >0.9.8 with my SB Live!... or atleast a related problem.  I have not been able to reproduce it deterministically.  Can you try a 2.6.2 kernel (since it has 0.9.8 drivers) or a 2.4 kernel with 0.9.8?

My problem presents itself after playing an AC3 stream through the digital out SPDIF.  Sometimes after doing that, it would not switch back to PCM.  Even removing, reloading the drivers did not fix the problem.  Analog audio out worked fine, however.

My board is  'Creative Labs SB Live! EMU10k1 (rev 8)'.

Can you please create a bug report upstream on alsa's bug tracker and report the  bug number back here?  Maybe together we can help them fix this...
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-15 00:33:35 UTC
unresponsive submitter...