- From: Bernd Porr <tech_at_linux-usb-daq.co.uk>
- Date: Tue, 20 Jul 2004 00:06:08 +0100
Michael, yes. Probably the hotplug script is not called automatically. I don't know if the rtai patch has disabled the hotplug call. There might be another reason: I've just seen that at least the CVS version of comedi installs the hotplug script under /usr/local/etc/hotplug. It must be unter /etc/hotplug. Thus: ./configure --sysconfdir=/etc Anyway. You can simply issue the command by hand: comedi_config -i /usr/share/usb/usbdux_firmware.hex /dev/comedi0 usbdux If the firmware is not under /usr/share/usb it's under /usr/local/share/usb. /Bernd Have a look at Michael Van Damme wrote: > Hi, > > I'm having problems to get the usbdux-bnc running under rtai. > > I'm using kernel 2.4.25 with the adeos-rtai patch, and comedi and > comedilib versions form cvs (the release version gives problems when > compiling the rtai-comedi modules). The distribution is gentoo (which > requires using devfs). > > After booting, I do this: > > modprobe usb-ohci > modprobe usbdux > > This results in the following dmesg output: > > usb-ohci.c: USB OHCI at membase 0xde913000, IRQ 5 > usb-ohci.c: usb-00:03.1, Silicon Integrated Systems [SiS] USB 1.0 > Controller (#2) > usb.c: new USB bus registered, assigned bus number 1 > hub.c: USB hub found > hub.c: 3 ports detected > PCI: Found IRQ 11 for device 00:03.0 > usb-ohci.c: USB OHCI at membase 0xde915000, IRQ 11 > usb-ohci.c: usb-00:03.0, Silicon Integrated Systems [SiS] USB 1.0 > Controller > usb.c: new USB bus registered, assigned bus number 2 > hub.c: USB hub found > hub.c: 3 ports detected > hub.c: new USB device 00:03.1-2, assigned address 2 > usb.c: USB device 2 (vend/prod 0x13d8/0x1) is not claimed by any active > driver. > Adeos: Domain RTAI registered. > RTAI 3.0r4 mounted over Adeos 2.4r12/x86. > comedi: version 0.7.68.1 - David Schleef <ds_at_schleef.org> > rt_pend_tq: RT bottom half scheduler initialized OK > usbdux.c: v0.99b:Stirling/ITL USB-DUX -- Bernd.Porr_at_cn.stir.ac.uk > comedi_: usbdux: setting all possible devs to invalid > usb.c: registered new driver usbdux > comedi_: usbdux_: finding a free structure for the usb-device > comedi_: usbdux: usbduxsub[0] is ready to connect to comedi. > comedi_: usbdux: ifnum=0 > comedi_: usbdux0 has been successfully initialized. > > The line 'comedi_: usbdux: setting all possible devs to invalid' seems > to mean that something is wrong... > > Running insn (in comedilib/demo) results in: > /dev/comedi0: No such device > > The file /dev/comedi0 exists, however (it didn't before the modprobe's, > I think devfs automatically creates it). > > Any idea what I'm doing wrong? > > Thanks in advance, > Michael Van Damme > > >
Received on 2004-07-19Z22:06:08