adulogo.jpg (1752 bytes) LINUX SDK  

Console Output From adutux 

 

 

Console Output From adutux

The adutux driver writes to the system console log
whenever an ADU device is connected or disconnected.

The output identifies the ADU model,
serial number and device mount point.
`
` (Easy-Use Home)
`
`

The console log can be viewed from the command line with either: dmesg | less less /var/log/messages

Sample dmesg Output

A portion of the dmesg output follows:

adutux 1-2:1.0: ADU200 B00099 now attached to /dev/usb/adutux0
<6>usbcore: registered new interface driver adutux
drivers/usb/misc/adutux.c: adutux adutux (see www.ontrak.net) v0.0.13
drivers/usb/misc/adutux.c: adutux is an experimental driver. Use at your own risk


Note that the example uses an ADU200 that has a serial number of B00099.
The ADU200 is connected to adutux0.
WARNING: The second line in the figure usually is appended to the first
line due to a missing new-line character in the console log.
For clarity I have supplied the missing new-line.
Your console log will likely show " /dev/usb/adutux0<6>usbcore: " as a
contiguous string.

Look at your console log and note the serial number of your ADU device,
you will need it later to configure your udev rules.
If the serial number does not appear in your console log then either
- your kernel lacks the adutux driver
or
- the adutux driver does not support your model of ADU device.

Filter

The relevant lines of the console log can be filtered with the command:

    dmesg | grep ADU

 

Warning:

The ADU200 is actually connected to /dev/adutux0
(the sub-directory " usb" no longer applies.
This is an anachronism from prior versions of the kernel).
Do not be misled by the path /dev/usb/adutux0,
your ADU device will appear within the /dev directory.