Skip to contentSkip to conversation

emu10k1 devices

DISCUSSION Carlos Pita 1 participant 1 message Dec 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

I'm getting the following error when initializing portaudio-v19:

ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D3p failed: No such file or directory

The device file is there:

  crw-rw----  1 root audio 116, 24 2004-12-24 16:55 /dev/snd/pcmC0D0c
  crw-rw----  1 root audio 116, 16 2004-12-24 16:55 /dev/snd/pcmC0D0p
  crw-rw----  1 root audio 116, 25 2004-12-24 16:55 /dev/snd/pcmC0D1c
  crw-rw----  1 root audio 116, 26 2004-12-24 16:55 /dev/snd/pcmC0D2c

----> crw-rw---- 1 root audio 116, 26 2004-12-24 16:55 /dev/snd/pcmC0D3p <-----

cat /proc/asound/devices:

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

The device minor number is ok except for /dev/snd/pcmC0D3p, which is created with 26 instead of 19. This seems a bug in udev, the corresponding rule is:

KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"

which seems ok. The entry in sysfs is ok too:

cat /sys/class/sound/pcmC0D3p/dev:
116:19

What do you think?

Thank you in advance.
Regards,
Carlos

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/