How to get hte TNG buffer to work in Linux

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

How to get hte TNG buffer to work in Linux

Postby Leon van Heerden » Mon Nov 28, 2011 7:44 pm

The TNG buffer requires the following driver to be loaded:
ftdi_sio

You can set the settings for this driver in the modprobe configuration files.

The ftdi_sio driver requires the following settings to be set in the
/etc/modprobe.conf.d/tng_buffer.conf file. If it doesn't exist, create it.

Code: Select all
options ftdi_sio vendor=0x0403 product=0xbda8


Now you can unload the driver and load it again using these commands:

To allow auto loading of the driver on startup, add the driver name to the /etc/modules file.

/etc/modules
Code: Select all
ftdi_sio


Unload
Code: Select all
/sbin/rmmod ftdi_sio


Load Driver
Code: Select all
/sbin/modprobe ftdi_sio


This should create the device /dev/ttyUSB0 or if there is already one, the next device in the list.
Run this to check the last output from the kernel to see which device got loaded.
Code: Select all
dmesg

The output should look like this:


Code: Select all
[16095.844582] usbcore: registered new interface driver usbserial
[16095.844629] USB Serial support registered for generic
[16095.847218] usbcore: registered new interface driver usbserial_generic
[16095.847225] usbserial: USB Serial Driver core
[16095.865400] USB Serial support registered for FTDI USB Serial Device
[16095.866808] ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected
[16095.868452] usb 5-1: Detected FT232RL
[16095.868458] usb 5-1: Number of endpoints 2
[16095.868462] usb 5-1: Endpoint 1 MaxPacketSize 64
[16095.868465] usb 5-1: Endpoint 2 MaxPacketSize 64
[16095.868468] usb 5-1: Setting MaxPacketSize 64
[16095.873614] usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0
[16095.873670] usbcore: registered new interface driver ftdi_sio
[16095.873674] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver


You should see a line where the ttyUSB0 was loaded. (if you have other USB devices on the PC, it might not be 1, but some other number)
----
Leon van Heerden
http://www.datatex.co.za
Leon van Heerden
 
Posts: 332
Joined: Fri Oct 29, 2010 11:21 am
Location: Cape Town

Return to Support Archive's (TNG)

Who is online

Users browsing this forum: No registered users and 1 guest

cron