[PlanetCCRMA] Re: Echo Mona Laptop driver

Andres Cabrera acabrera@teleset.com.co
Wed Aug 4 05:14:01 2004


Thanks again for all the suggestions.
doing:
 cat /proc/asound/devices

  0: [0- 0]: ctl
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer

But I don't know what this means....

I tried hotplugging the cardbus card with a terminal with:
tail -f /var/log/messages
and I got the following result:

 Aug  3 21:24:22 localhost kernel: ALSA echoaudio.c:2098: Echoaudio 
soundcard not found or device busy
Aug  3 21:28:37 localhost kernel: cs: cb_free(bus 4)
Aug  3 21:28:42 localhost kernel: cs: cb_alloc(bus 4): vendor 0x1057, 
device 0x3410
Aug  3 21:28:42 localhost kernel: PCI: Enabling device 04:00.0 (0000 -> 
0002)
Aug  3 21:28:42 localhost cardmgr[4121]: socket 0: CardBus hotplug device
Aug  3 21:28:43 localhost kernel: ALSA echoaudio.c:2098: Echoaudio 
soundcard not found or device busy
Aug  3 21:28:43 localhost insmod: 
/lib/modules/2.4.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o: 
init_module: No such device
Aug  3 21:28:43 localhost insmod: Hint: insmod errors can be caused by 
incorrect module parameters, including invalid IO or IRQ 
parameters.       You may find more information in syslog or the output 
from dmesg
Aug  3 21:28:43 localhost insmod: 
/lib/modules/2.4.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o: 
insmod 
/lib/modules/2.4.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o 
failed
Aug  3 21:28:43 localhost insmod: 
/lib/modules/2.4.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o: 
insmod snd-mona failed
Aug  3 21:28:43 localhost pci.agent[26736]: ... can't load module snd-mona
Aug  3 21:28:43 localhost pci.agent[26736]: missing kernel or user mode 
driver snd-mona
Aug  3 21:28:45 localhost devlabel: devlabel service started/restarted

So again, the problem seems to be that the driver is only compatible 
with the pci version, not the pcmcia version of mona.
I checked the source code to see if the device and Vendor id's match, 
and they seem to be correct: (from Echoaudio.h)

#define DEVICE_ID_56301        0x1801
#define DEVICE_ID_56361        0x3410
#define VENDOR_ID        0x1057
#define SUBVENDOR_ID        0xECC0

lspci reports:
04:00.0 Multimedia controller: Motorola: Unknown device 3410 (rev 01)
        Subsystem: Echo Digital Audio Corporation: Unknown device 0072
        Flags: medium devsel, IRQ 11
        Memory at 20800000 (32-bit, non-prefetchable) [size=1M]

I am already re-compiling the alsa packages for support for this card.

Has the time come to write to Echo to ask for the differences the driver 
should have when using a pcmcia card?

Cheers,
Andrés