From: Frank M. H. <fm...@gm...> - 2019-03-18 16:15:42
|
On the not working run, the udev scripts don't seem to be running gpib_config. We fixed some problems with the udev stuff in svn, which i don't think has made it into a release. So you could try that. The old udev scripts wouldn't work unless the kernel modules were already loaded when they run. I'd remove any existing linux gpib files from /etc/udev.d then configure the userspace svn code with --sysconfdir=/etc and install that. On Wed, Mar 13, 2019, 13:31 Bishop, Mark (STRT) via Linux-gpib-general < lin...@li...> wrote: > I had this working a few weeks ago and now it isn’t. Does this make any > sense to anyone? > > > > I have a NI USB dongle attached to my system and this is what I am getting: > > (Not working) > > Feb 20 08:13:31 stride kernel: [2390014.354592] usb 1-4.1: new high-speed > USB device number 64 using xhci_hcd > > Mar 13 12:55:19 stride kernel: [10756.520854] usb 1-2: new high-speed USB > device number 15 using xhci_hcd > > Mar 13 12:55:19 stride kernel: [10756.875157] usb 1-2: New USB device > found, idVendor=3923, idProduct=709b > > Mar 13 12:55:19 stride kernel: [10756.875158] usb 1-2: New USB device > strings: Mfr=1, Product=2, SerialNumber=3 > > Mar 13 12:55:19 stride kernel: [10756.875159] usb 1-2: Product: GPIB-USB-HS > > Mar 13 12:55:19 stride kernel: [10756.875160] usb 1-2: Manufacturer: > National Instruments > > Mar 13 12:55:19 stride kernel: [10756.875161] usb 1-2: SerialNumber: > 01C300DD > > Mar 13 12:55:19 stride kernel: [10756.999293] ni_usb_gpib: probe succeeded > for path: usb-0000:03:00.0-2 > > Mar 13 12:55:19 stride mtp-probe: checking bus 1, device 15: > "/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb1/1-2" > > Mar 13 12:55:19 stride mtp-probe: bus: 1, device: 15 was not an MTP device > > Mar 13 12:55:34 stride kernel: [10592.110439] gpib: no gpib board > configured on /dev/gpib0 > > > > (Working) > > Feb 20 08:13:31 stride kernel: [2390014.354592] usb 1-4.1: new high-speed > USB device number 64 using xhci_hcd > > Feb 20 08:13:31 stride kernel: [2390014.601458] usb 1-4.1: New USB device > found, idVendor=3923, idProduct=709b > > Feb 20 08:13:31 stride kernel: [2390014.601460] usb 1-4.1: New USB device > strings: Mfr=1, Product=2, SerialNumber=3 > > Feb 20 08:13:31 stride kernel: [2390014.601461] usb 1-4.1: Product: > GPIB-USB-HS > > Feb 20 08:13:31 stride kernel: [2390014.601462] usb 1-4.1: Manufacturer: > National Instruments > > Feb 20 08:13:31 stride kernel: [2390014.601462] usb 1-4.1: SerialNumber: > 012E5518 > > Feb 20 08:13:31 stride kernel: [2390014.642890] ni_usb_gpib: probe > succeeded for path: usb-0000:03:00.0-4.1 > > Feb 20 08:13:35 stride mtp-probe: checking bus 1, device 64: > "/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb1/1-4/1-4.1" > > Feb 20 08:13:35 stride mtp-probe: checking bus 1, device 63: > "/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb1/1-2" > > Feb 20 08:13:35 stride mtp-probe: bus: 1, device: 64 was not an MTP device > > Feb 20 08:13:35 stride mtp-probe: bus: 1, device: 63 was not an MTP device > > Feb 20 08:13:36 stride /usr/local/etc/hotplug/usb/ni_usb_gpib: entered for > Product: 3923/709b/101 Device: /dev/bus/usb/001/064 Serial: 012E5518 > Devpath: /devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb1/1-4/1-4.1 > > Feb 20 08:13:36 stride kernel: [2390019.560601] gpib0: exiting autospoll > thread > > Feb 20 08:13:36 stride kernel: [2390019.560734] ni_usb_gpib: attach > > Feb 20 08:13:36 stride kernel: [2390019.560737] attached to bus > interface 0, address 0xffff8d1690428000 > > Feb 20 08:13:36 stride kernel: [2390019.650587] product id=0x709b > > Feb 20 08:13:36 stride kernel: [2390019.651699] ni_usb_hs_wait_for_ready: > board serial number is 0x12e5518 > > Feb 20 08:13:36 stride kernel: [2390019.651905] > /home/mark/svn_repos/linux-gpib-code/linux-gpib-kernel/drivers/gpib/ni_usb/ni_usb_gpib.c: > ni_usb_hs_wait_for_ready exit retval=0 > > > > *Mark Bishop* > > *Sr. Firmware/Software Engineer – Microwave Subsystems* > > > > [image: cid:image001.png@01D281ED.A45F0A90] > > 4726 Eisenhower Blvd. > > Tampa, FL 33634 > > USA > > > > T +1 813 901 7293 > > *mb...@sm... <mb...@sm...>* > > *smithsinterconnect.com* <http://www.smithsinterconnect.com/> > > *TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!* > > > > > > This e-mail contains proprietary information some or all of which may be > legally privileged. It is intended for the recipient only. If an addressing > or transmission error has misdirected this e-mail, please notify the > authority by replying to this e-mail. If you are not the intended recipient > you must not use, disclose, distribute, copy, print, or rely on this > e-mail. In addition, information contained in or attached to this e-mail > may be subject to either 22 C.F.R. Parts 120?130, or 15 C.F.R. Parts > 730-774. These regulations prohibit the release or disclosure of certain > information contained herein to anyone who is not a U.S. citizen or > permanent resident alien, without a license first having been issued. > Failure to observe such requirements is a violation of U.S. law that > carries serious penalties. > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |