User Tools

Site Tools


xpressnet-usb-linux-en

XpressNet LI-USB Setup

ContentCommand StationsXpressNet

  • LI-USB Setup


Mac OS X

The FTDI device driver must be installed to be able to use the LI-USB under OS X.
On the MacBook, running OS X 10.6, the device name is:

/dev/tty.usbserial-00001004

The device name changes slightly when using another USB port; Check the Mac OS X Wiki page for more details.


Linux

The Linux kernel (at least up to 2.6.27) has a working driver for the LI_USB, but does not know the Lenz vendor id and product id. Therefore, the LI-USB is not recognised automatically when plugged in. There are two methods to overcome that problem:

  • udev - this is the standard method for Linux to recognise hardware when plugged in. In order for this to work, we need to tell the kernel about the vendor- and product id.
  • static - install the driver at boot time

Both mehtods are described below, you need to use one or the other. The author did not get the udev method to work with openSUSE 11.1 and therefore used the static method.

Method using udev

Disconnect the LI-USB from the PC. Login as root and change to the directory

/etc/udev/rules.d/

Now create a file named

10-liusb.rules

and open it with an editor. The only content is (without any line breaks):

SYSFS{idVendor}==“1111”, SYSFS{idProduct}==“1234”, RUN+=”/sbin/modprobe -q ftdi_sio vendor=0x1111 product=0x1234”


Ubuntu 9.10

BUS=="usb", SYSFS{idVendor}=="0403",SYSFS{idProduct}=="d780",RUN+="/sbin/modprobe -q ftdi_sio vendor=0×0403 product=0×d780"

But check the vendor and product value by using the command lsusb:

> lsusb
...
Bus 005 Device 004: ID 0403:d780 Future Technology Devices International, Ltd
...

In this case the rules files must contain those values:
SYSFS{idVendor}==“0403”, SYSFS{idProduct}==“d780”, RUN+=”/sbin/modprobe -q ftdi_sio vendor=0x0403 product=0xd780”

Save and close the file.

<digint iid="xn-1" lib="xpressnet" sublib="usb" device="/dev/ttyUSB0"/>

Static method

Install driver at boot time for SuSE 11


Windows

You have to install the driver which ships with your LI-USB.
Read the manual before installing the driver.

<digint iid="xn-1" lib="xpressnet" sublib="usb" device="com5"/>


Note: /dev/ttyUSB0 or com5 has to be replaced with the port where your interface is connected.
xpressnet-usb-linux-en.txt · Last modified: 2018/11/12 08:56 (external edit)