[PlanetCCRMA] problem with ALSA and RME multiface
patrickchazal
patrickchazal@free.fr
Sun Aug 15 10:32:01 2004
This is a multi-part message in MIME format.
--------------000402090802080402030000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Mark Knecht a écrit :
> gryphius.ginsberg wrote:
> <SNIP>
>
>>
>> [root@localhost root]# jackd -d alsa
>> jackd 0.98.0
>> Copyright 2001-2003 Paul Davis and others.
>> jackd comes with ABSOLUTELY NO WARRANTY
>> This is free software, and you are welcome to redistribute it
>> under certain conditions; see the file COPYING for details
>>
>> JACK compiled with System V SHM support
>> loading driver ..
>> creating alsa driver ...
>> hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
>> ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p
>> failed: No such device
>> jackd: pcm.c:690: snd_pcm_nonblock: Assertion `pcm' failed.
>> Abandon
>
>
> Strangely enough, I found this response by Googling:
>
> http://ccrma-mail.stanford.edu/pipermail/planetccrma/2004-May/005113.html
>
> (Strangely enough since I write the response. Knew I'd seen this error
> before...)
>
> Could you double check:
>
> 1) Run dmesg and look to see that there are no error messages
> concerning the hdsp driver.
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
Yenta ISA IRQ mask 0x0000, PCI irq 11
Socket status: 30000020
Yenta ISA IRQ mask 0x0090, PCI irq 11
Socket status: 30000006
cs: cb_alloc(bus 2): vendor 0x10ee, device 0x3fc5
PCI: Enabling device 02:00.0 (0080 -> 0082)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x480-0x48f
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:671: Hammerfall-DSP: no
Digiface or Multiface connected!
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:5062: card initialization
pending : waiting for firmware
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
mtrr: no MTRR for f0000000,4000000 found
[drm] Loading R200 Microcode
[eagle-usb] Modem operational !!
divert: allocating divert_blk for eth0
[eagle-usb] Ethernet device eth0 created.
spurious 8259A interrupt: IRQ7.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
divert: not allocating divert_blk for non-ethernet device ppp0
>
>
> 2) Run lsmod and ensure that the hdsp driver is actually loaded.
[root@localhost root]# lsmod
Module Size Used by Not tainted
snd-pcm-oss 45160 0 (autoclean) (unused)
snd-mixer-oss 16728 0 (autoclean) [snd-pcm-oss]
ppp_async 9792 1 (autoclean)
ppp_generic 26460 3 (autoclean) [ppp_async]
slhc 6756 0 (autoclean) [ppp_generic]
parport_pc 19172 1 (autoclean)
lp 9060 0 (autoclean)
parport 37792 1 (autoclean) [parport_pc lp]
autofs 13748 0 (autoclean) (unused)
snd-hdsp 48048 0 (unused)
snd-pcm 85984 0 [snd-pcm-oss snd-hdsp]
snd-timer 20996 0 [snd-pcm]
snd-hwdep 7104 0 [snd-hdsp]
snd-rawmidi 19520 0 [snd-hdsp]
snd-seq-device 6220 0 [snd-rawmidi]
snd 48708 0 [snd-pcm-oss snd-mixer-oss snd-hdsp
snd-pcm snd-timer snd-hwdep snd-rawmidi snd-seq-device]
soundcore 6660 1 [snd]
snd-page-alloc 9304 0 [snd-hdsp snd-pcm]
ds 8776 1
yenta_socket 13856 1
pcmcia_core 57504 0 [ds yenta_socket]
ipt_REJECT 4344 1 (autoclean)
ipt_state 1048 7 (autoclean)
ip_conntrack 31560 0 (autoclean) [ipt_state]
iptable_filter 2444 1 (autoclean)
ip_tables 15872 3 [ipt_REJECT ipt_state iptable_filter]
sg 37772 0 (autoclean)
sr_mod 18168 0 (autoclean)
microcode 5956 0 (autoclean)
ide-scsi 12240 0
ide-cd 36128 0
cdrom 34048 0 [sr_mod ide-cd]
nls_iso8859-1 3516 1 (autoclean)
nls_cp437 5148 1 (autoclean)
vfat 13228 1 (autoclean)
fat 40312 0 (autoclean) [vfat]
acm 8192 0 (unused)
eagle-usb 101892 2
keybdev 3136 0 (unused)
mousedev 5620 1
hid 24996 0 (unused)
ehci-hcd 21704 0 (unused)
usb-ohci 22600 0 (unused)
usbcore 81408 1 [acm eagle-usb hid ehci-hcd usb-ohci]
input 5856 0 (autoclean) [keybdev mousedev hid]
radeon 116996 1
agpgart 56900 3
ext3 74052 2
jbd 54548 2 [ext3]
sbp2 21260 0 (unused)
ohci1394 29864 0 (unused)
ieee1394 66788 0 [sbp2 ohci1394]
sd_mod 13356 0 (unused)
scsi_mod 109912 5 [sg sr_mod ide-scsi sbp2 sd_mod]
[root@localhost root]# hdsploader
hdsploader - firmware loader for RME Hammerfall DSP cards
Looking for HDSP + Multiface or Digiface cards :
Card 0 : RME Hammerfall DSP at 0x40800000, irq 11
Upload firmware for card hw:0
Firmware uploaded for card hw:0
Card 1 : SiS SI7012 at 0xa800, irq 11
[root@localhost root]# lsmod
Module Size Used by Not tainted
snd-intel8x0 25100 0
snd-ac97-codec 63464 0 (autoclean) [snd-intel8x0]
gameport 3380 0 (autoclean) [snd-intel8x0]
snd-mpu401-uart 5680 0 (autoclean) [snd-intel8x0]
snd-pcm-oss 45160 0 (autoclean) (unused)
snd-mixer-oss 16728 0 (autoclean) [snd-pcm-oss]
ppp_async 9792 1 (autoclean)
ppp_generic 26460 3 (autoclean) [ppp_async]
slhc 6756 0 (autoclean) [ppp_generic]
parport_pc 19172 1 (autoclean)
lp 9060 0 (autoclean)
parport 37792 1 (autoclean) [parport_pc lp]
autofs 13748 0 (autoclean) (unused)
snd-hdsp 48048 0
snd-pcm 85984 0 [snd-intel8x0 snd-pcm-oss snd-hdsp]
snd-timer 20996 0 [snd-pcm]
snd-hwdep 7104 0 [snd-hdsp]
snd-rawmidi 19520 0 [snd-mpu401-uart snd-hdsp]
snd-seq-device 6220 0 [snd-rawmidi]
snd 48708 0 [snd-intel8x0 snd-ac97-codec
snd-mpu401-uart snd-pcm-oss snd-mixer-oss snd-hdsp snd-pcm snd-timer
snd-hwdep snd-rawmidi snd-seq-device]
soundcore 6660 11 [snd]
snd-page-alloc 9304 0 [snd-intel8x0 snd-hdsp snd-pcm]
ds 8776 1
yenta_socket 13856 1
pcmcia_core 57504 0 [ds yenta_socket]
ipt_REJECT 4344 1 (autoclean)
ipt_state 1048 7 (autoclean)
ip_conntrack 31560 0 (autoclean) [ipt_state]
iptable_filter 2444 1 (autoclean)
ip_tables 15872 3 [ipt_REJECT ipt_state iptable_filter]
sg 37772 0 (autoclean)
sr_mod 18168 0 (autoclean)
microcode 5956 0 (autoclean)
ide-scsi 12240 0
ide-cd 36128 0
cdrom 34048 0 [sr_mod ide-cd]
nls_iso8859-1 3516 1 (autoclean)
nls_cp437 5148 1 (autoclean)
vfat 13228 1 (autoclean)
fat 40312 0 (autoclean) [vfat]
acm 8192 0 (unused)
eagle-usb 101892 2
keybdev 3136 0 (unused)
mousedev 5620 1
hid 24996 0 (unused)
ehci-hcd 21704 0 (unused)
usb-ohci 22600 0 (unused)
usbcore 81408 1 [acm eagle-usb hid ehci-hcd usb-ohci]
input 5856 0 (autoclean) [keybdev mousedev hid]
radeon 116996 1
agpgart 56900 3
ext3 74052 2
jbd 54548 2 [ext3]
sbp2 21260 0 (unused)
ohci1394 29864 0 (unused)
ieee1394 66788 0 [sbp2 ohci1394]
sd_mod 13356 0 (unused)
scsi_mod 109912 5 [sg sr_mod ide-scsi sbp2 sd_mod]
>
>
> Your modules.conf file looks good enough, but if there driver is
> failing to load for some reason, such as an unsupported PCI device
> code, then this could happen.
>
>>
>> [root@localhost root]# hdsploader
>> hdsploader - firmware loader for RME Hammerfall DSP cards
>> Looking for HDSP + Multiface or Digiface cards :
>> Card 0 : RME Hammerfall DSP at 0x40800000, irq 11
>> Upload firmware for card hw:0
>> Firmware uploaded for card hw:0
>> Card 1 : SiS SI7012 at 0xa800, irq 11
>>
>
> Is it possible that hdsploader must run before the card's driver is
> modprobed?
>
>> why are the twice cards on the same irq ?
>
>
> That's due to the design of your system, usually. I've lost track. Is
> this a desktop with a PCI adapter card, or a laptop with a PCMCIA
> adapter card. With the former you can change PCI slots. With the
> latter you are stuck. That said there is generally not a big problem
> sharing interrupts IF (IF IF IF) the interrupt service routines are
> well written. I have no worries about the work Thomas Charbonnel would
> have done but I know nothing about the SiS driver. Possibly the two
> conflict? If so, consider not loading that driver, or rmmoding that
> driver, as a test...
>
> good luck,
> Mark
it's a laptop with the PCMCIA card.
thanks
--------------000402090802080402030000
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
Mark Knecht a écrit :<br>
<blockquote type="cite" cite="mid411D0979.5050601@controlnet.com">gryphius.ginsberg
wrote: <br>
<SNIP> <br>
<blockquote type="cite"><br>
[root@localhost root]# jackd -d alsa <br>
jackd 0.98.0 <br>
Copyright 2001-2003 Paul Davis and others. <br>
jackd comes with ABSOLUTELY NO WARRANTY <br>
This is free software, and you are welcome to redistribute it <br>
under certain conditions; see the file COPYING for details <br>
<br>
JACK compiled with System V SHM support <br>
loading driver .. <br>
creating alsa driver ...
hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit <br>
ALSA lib pcm_hw.c:1057:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
No such device <br>
jackd: pcm.c:690: snd_pcm_nonblock: Assertion `pcm' failed. <br>
Abandon <br>
</blockquote>
<br>
Strangely enough, I found this response by Googling: <br>
<br>
<a class="moz-txt-link-freetext"
href="http://ccrma-mail.stanford.edu/pipermail/planetccrma/2004-May/005113.html">http://ccrma-mail.stanford.edu/pipermail/planetccrma/2004-May/005113.html</a>
<br>
<br>
(Strangely enough since I write the response. Knew I'd seen this error
before...) <br>
<br>
Could you double check: <br>
<br>
1) Run dmesg and look to see that there are no error messages
concerning the hdsp driver.</blockquote>
Linux Kernel Card Services 3.1.22<br>
options: [pci] [cardbus] [pm]<br>
Yenta ISA IRQ mask 0x0000, PCI irq 11<br>
Socket status: 30000020<br>
Yenta ISA IRQ mask 0x0090, PCI irq 11<br>
Socket status: 30000006<br>
cs: cb_alloc(bus 2): vendor 0x10ee, device 0x3fc5<br>
PCI: Enabling device 02:00.0 (0080 -> 0082)<br>
cs: IO port probe 0x0c00-0x0cff: clean.<br>
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x480-0x48f
0x4d0-0x4d7<br>
cs: IO port probe 0x0a00-0x0aff: clean.<br>
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:671: Hammerfall-DSP: no
Digiface or Multiface connected!<br>
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:5062: card initialization
pending : waiting for firmware<br>
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]<br>
parport0: irq 7 detected<br>
lp0: using parport0 (polling).<br>
lp0: console ready<br>
mtrr: no MTRR for f0000000,4000000 found<br>
[drm] Loading R200 Microcode<br>
[eagle-usb] Modem operational !!<br>
divert: allocating divert_blk for eth0<br>
[eagle-usb] Ethernet device eth0 created.<br>
spurious 8259A interrupt: IRQ7.<br>
CSLIP: code copyright 1989 Regents of the University of California<br>
PPP generic driver version 2.4.2<br>
divert: not allocating divert_blk for non-ethernet device ppp0<br>
<br>
<blockquote type="cite" cite="mid411D0979.5050601@controlnet.com"><br>
<br>
2) Run lsmod and ensure that the hdsp driver is actually loaded. </blockquote>
[root@localhost root]# lsmod<br>
Module Size Used by Not tainted<br>
snd-pcm-oss 45160 0 (autoclean) (unused)<br>
snd-mixer-oss 16728 0 (autoclean) [snd-pcm-oss]<br>
ppp_async 9792 1 (autoclean)<br>
ppp_generic 26460 3 (autoclean) [ppp_async]<br>
slhc 6756 0 (autoclean) [ppp_generic]<br>
parport_pc 19172 1 (autoclean)<br>
lp 9060 0 (autoclean)<br>
parport 37792 1 (autoclean) [parport_pc lp]<br>
autofs 13748 0 (autoclean) (unused)<br>
snd-hdsp 48048 0 (unused)<br>
snd-pcm 85984 0 [snd-pcm-oss snd-hdsp]<br>
snd-timer 20996 0 [snd-pcm]<br>
snd-hwdep 7104 0 [snd-hdsp]<br>
snd-rawmidi 19520 0 [snd-hdsp]<br>
snd-seq-device 6220 0 [snd-rawmidi]<br>
snd 48708 0 [snd-pcm-oss snd-mixer-oss snd-hdsp
snd-pcm snd-timer snd-hwdep snd-rawmidi snd-seq-device]<br>
soundcore 6660 1 [snd]<br>
snd-page-alloc 9304 0 [snd-hdsp snd-pcm]<br>
ds 8776 1<br>
yenta_socket 13856 1<br>
pcmcia_core 57504 0 [ds yenta_socket]<br>
ipt_REJECT 4344 1 (autoclean)<br>
ipt_state 1048 7 (autoclean)<br>
ip_conntrack 31560 0 (autoclean) [ipt_state]<br>
iptable_filter 2444 1 (autoclean)<br>
ip_tables 15872 3 [ipt_REJECT ipt_state iptable_filter]<br>
sg 37772 0 (autoclean)<br>
sr_mod 18168 0 (autoclean)<br>
microcode 5956 0 (autoclean)<br>
ide-scsi 12240 0<br>
ide-cd 36128 0<br>
cdrom 34048 0 [sr_mod ide-cd]<br>
nls_iso8859-1 3516 1 (autoclean)<br>
nls_cp437 5148 1 (autoclean)<br>
vfat 13228 1 (autoclean)<br>
fat 40312 0 (autoclean) [vfat]<br>
acm 8192 0 (unused)<br>
eagle-usb 101892 2<br>
keybdev 3136 0 (unused)<br>
mousedev 5620 1<br>
hid 24996 0 (unused)<br>
ehci-hcd 21704 0 (unused)<br>
usb-ohci 22600 0 (unused)<br>
usbcore 81408 1 [acm eagle-usb hid ehci-hcd usb-ohci]<br>
input 5856 0 (autoclean) [keybdev mousedev hid]<br>
radeon 116996 1<br>
agpgart 56900 3<br>
ext3 74052 2<br>
jbd 54548 2 [ext3]<br>
sbp2 21260 0 (unused)<br>
ohci1394 29864 0 (unused)<br>
ieee1394 66788 0 [sbp2 ohci1394]<br>
sd_mod 13356 0 (unused)<br>
scsi_mod 109912 5 [sg sr_mod ide-scsi sbp2 sd_mod]<br>
<br>
<span style="font-weight: bold;">[root@localhost root]# hdsploader</span><br>
hdsploader - firmware loader for RME Hammerfall DSP cards<br>
Looking for HDSP + Multiface or Digiface cards :<br>
Card 0 : RME Hammerfall DSP at 0x40800000, irq 11<br>
Upload firmware for card hw:0<br>
Firmware uploaded for card hw:0<br>
Card 1 : SiS SI7012 at 0xa800, irq 11<br>
<br>
<span style="font-weight: bold;">[root@localhost root]# lsmod</span><br>
Module Size Used by Not tainted<br>
snd-intel8x0 25100 0<br>
snd-ac97-codec 63464 0 (autoclean) [snd-intel8x0]<br>
gameport 3380 0 (autoclean) [snd-intel8x0]<br>
snd-mpu401-uart 5680 0 (autoclean) [snd-intel8x0]<br>
snd-pcm-oss 45160 0 (autoclean) (unused)<br>
snd-mixer-oss 16728 0 (autoclean) [snd-pcm-oss]<br>
ppp_async 9792 1 (autoclean)<br>
ppp_generic 26460 3 (autoclean) [ppp_async]<br>
slhc 6756 0 (autoclean) [ppp_generic]<br>
parport_pc 19172 1 (autoclean)<br>
lp 9060 0 (autoclean)<br>
parport 37792 1 (autoclean) [parport_pc lp]<br>
autofs 13748 0 (autoclean) (unused)<br>
snd-hdsp 48048 0<br>
snd-pcm 85984 0 [snd-intel8x0 snd-pcm-oss snd-hdsp]<br>
snd-timer 20996 0 [snd-pcm]<br>
snd-hwdep 7104 0 [snd-hdsp]<br>
snd-rawmidi 19520 0 [snd-mpu401-uart snd-hdsp]<br>
snd-seq-device 6220 0 [snd-rawmidi]<br>
snd 48708 0 [snd-intel8x0 snd-ac97-codec
snd-mpu401-uart snd-pcm-oss snd-mixer-oss snd-hdsp snd-pcm snd-timer
snd-hwdep snd-rawmidi snd-seq-device]<br>
soundcore 6660 11 [snd]<br>
snd-page-alloc 9304 0 [snd-intel8x0 snd-hdsp snd-pcm]<br>
ds 8776 1<br>
yenta_socket 13856 1<br>
pcmcia_core 57504 0 [ds yenta_socket]<br>
ipt_REJECT 4344 1 (autoclean)<br>
ipt_state 1048 7 (autoclean)<br>
ip_conntrack 31560 0 (autoclean) [ipt_state]<br>
iptable_filter 2444 1 (autoclean)<br>
ip_tables 15872 3 [ipt_REJECT ipt_state iptable_filter]<br>
sg 37772 0 (autoclean)<br>
sr_mod 18168 0 (autoclean)<br>
microcode 5956 0 (autoclean)<br>
ide-scsi 12240 0<br>
ide-cd 36128 0<br>
cdrom 34048 0 [sr_mod ide-cd]<br>
nls_iso8859-1 3516 1 (autoclean)<br>
nls_cp437 5148 1 (autoclean)<br>
vfat 13228 1 (autoclean)<br>
fat 40312 0 (autoclean) [vfat]<br>
acm 8192 0 (unused)<br>
eagle-usb 101892 2<br>
keybdev 3136 0 (unused)<br>
mousedev 5620 1<br>
hid 24996 0 (unused)<br>
ehci-hcd 21704 0 (unused)<br>
usb-ohci 22600 0 (unused)<br>
usbcore 81408 1 [acm eagle-usb hid ehci-hcd usb-ohci]<br>
input 5856 0 (autoclean) [keybdev mousedev hid]<br>
radeon 116996 1<br>
agpgart 56900 3<br>
ext3 74052 2<br>
jbd 54548 2 [ext3]<br>
sbp2 21260 0 (unused)<br>
ohci1394 29864 0 (unused)<br>
ieee1394 66788 0 [sbp2 ohci1394]<br>
sd_mod 13356 0 (unused)<br>
scsi_mod 109912 5 [sg sr_mod ide-scsi sbp2 sd_mod]<br>
<br>
<blockquote type="cite" cite="mid411D0979.5050601@controlnet.com"><br>
<br>
Your modules.conf file looks good enough, but if there driver is
failing to load for some reason, such as an unsupported PCI device
code, then this could happen. <br>
<br>
<blockquote type="cite"><br>
[root@localhost root]# hdsploader <br>
hdsploader - firmware loader for RME Hammerfall DSP cards <br>
Looking for HDSP + Multiface or Digiface cards : <br>
Card 0 : RME Hammerfall DSP at 0x40800000, irq 11 <br>
Upload firmware for card hw:0 <br>
Firmware uploaded for card hw:0 <br>
Card 1 : SiS SI7012 at 0xa800, irq 11 <br>
<br>
</blockquote>
<br>
Is it possible that hdsploader must run before the card's driver is
modprobed? <br>
<br>
<blockquote type="cite">why are the twice cards on the same irq ? <br>
</blockquote>
<br>
That's due to the design of your system, usually. I've lost track. Is
this a desktop with a PCI adapter card, or a laptop with a PCMCIA
adapter card. With the former you can change PCI slots. With the latter
you are stuck. That said there is generally not a big problem sharing
interrupts IF (IF IF IF) the interrupt service routines are well
written. I have no worries about the work Thomas Charbonnel would have
done but I know nothing about the SiS driver. Possibly the two
conflict? If so, consider not loading that driver, or rmmoding that
driver, as a test... <br>
<br>
good luck, <br>
Mark </blockquote>
it's a laptop with the PCMCIA card.<br>
<br>
thanks<br>
<br>
</body>
</html>
--------------000402090802080402030000--