Skip to contentSkip to conversation

emu10k1 devices (w/correction)

DISCUSSION Carlos Pita 1 participant 2 messages Dec 27, 2004

lore
Share & tools
lore
#0 lore raw

Sorry, the error reported by portaudio is not
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D3p failed: No such file or directory
but
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D3p failed: No such device

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/

#1 lore raw

Even after manually correcting the device file with:

rm /dev/snd/pcmC0D3p
mknod /dev/snd/pcmC0D3p c 116 19
chown root:audio /dev/snd/pcmC0D3p
chmod 660 /dev/snd/pcmC0D3p

so the device is now:

crw-rw---- 1 root audio 116, 19 2004-12-26 22:48 /dev/snd/pcmC0D3p

I still get the same error. My card is audigy, so my driver is snd_emu10k1. I don't know which is that device. I guess it is not my main playback device, so I wouldn't care about avoiding it, but I don't know how to "turn if off".

Thank you again.
Regards, Carlos.

Quoted 34 lines

Sorry, the error reported by portaudio is not
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D3p failed: No such file or directory
but
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D3p failed: No such device

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:

Quoted 10 lines

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/