Re: COMEDI - error "device not configured"

On 30/07/07 09:52, Emanuel Marques wrote:
> Hi,
> Thanks for the reply.
> When I run modprobe ni_pci_mio, I have a long silence,
> and then :
> FATAL: Error running install command for ni_pcimio
> 
> dmesg|tail gives me :
> 
> Bluetooth: L2CAP ver 2.8
> Bluetooth: L2CAP socket layer initialized
> Bluetooth: RFCOMM socket layer initialized
> Bluetooth: RFCOMM TTY layer initialized
> Bluetooth: RFCOMM ver 1.8
> Bluetooth: HIDP (Human Interface Emulation) ver 1.1
> eth0: no IPv6 routers present
> [drm] Initialized drm 1.1.0 20060810
> ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 17
> [drm] Initialized i915 1.6.0 20060119 on minor 0
> 
> here is my etc/modprobe.conf file :
> alias eth0 e1000
> alias scsi_hostadapter ahci
> alias snd-card-0 snd-hda-intel
> alias adc ni_pcimio
> install  ni_pcimio modprobe ni_pcimio \
> /usr/local/sbin/comedi_config /dev/comedi0 ni_pcimio 6,1
> #keep path=/usr/local/src/comedi/comedi/drivers
> options snd-card-0 index=0
> options snd-hda-intel index=0
> remove snd-hda-intel { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };
> /sbin/modprobe -r --ignore-remove snd-hda-intel
> 
> I tried to add a keep path, but it does not like the 'keep' instruction.
> 
> I really do not know what can I do. Many thanks for help
> 
> regards
> Emanuel 

You need a semicolon after the "modprobe ni_pcimio" to separate the
shell commands.

modprobe.conf has less features than the old modules.conf file (some
would say it's cleaner), so doesn't support the 'path' and 'keep' commands.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2007-07-30Z08:45:23