summaryrefslogtreecommitdiffstats
path: root/util/ttusb_dec_reset/README
blob: 50db265a907f1fa031f92701320ccbc8e0598a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Hello,

In theory the driver could be made to send the DEC the reset sequence when
all devices were closed.  However, due to the awkwardness of switching
between slave and stand-alone mode, I've decided against this.  Hence this
application, which I hope provides the user a nice compromise between
control and ease-of-use.

ttusb_dec_reset is a small utility for resetting a ttusb-dec device to
stand-alone mode after use.  It requires libusb, which can be found here:

http://libusb.sourceforge.net/

There is probably a package for it included with your linux distribution
though.

For the utility to reset a device, it must have permission to access the usb
device, and the device must not be claimed by anything else.  That means that
the ttusb-dec module must be rmmoded before using this utility.  You probably
want to have turned off any hotplug mechanisms before running the utility
or the device will likely get taken over again once it comes back up.  Or you
could just yank the usb cable out.

The utility takes no arguments, you just run it:
./ttusb_dec_reset

Cheers,
Alex
/tr> 2004-05-31[lcd4linux @ 2004-05-31 06:27:34 by reinelt]reinelt1-0/+40 ChangeLog update 2004-05-31[lcd4linux @ 2004-05-31 06:24:42 by reinelt]reinelt2-7/+29 fixed symlink security issue with the image driver 2004-05-31[lcd4linux @ 2004-05-31 05:38:02 by reinelt]reinelt8-42/+94 fixed possible bugs with user-defined chars (clear high bits) thanks to Andy Baxter for debugging the MilfordInstruments driver! 2004-05-31[lcd4linux @ 2004-05-31 01:31:01 by andy-b]andy-b1-10/+12 fixed bug in Milford Instruments driver which drew extra graphics chars in odd places when drawing double bars. (the display doesn't like it if you put the escape character 0xfe inside a define char sequence). 2004-05-30[lcd4linux @ 2004-05-30 08:25:50 by reinelt]reinelt2-30/+92 Crystalfontz 631 driver finished 2004-05-29[lcd4linux @ 2004-05-29 23:30:20 by reinelt]reinelt1-1/+9 fixed a compiler issue with drv_Image.c (thanks to Frank Stratmann) 2004-05-29[lcd4linux @ 2004-05-29 15:53:28 by reinelt]reinelt3-9/+25 M50530: reset parport signals on exit plugin_ppp: ppp() has two parameters, not three lcd4linux.conf.sample: diskstats() corrected 2004-05-29[lcd4linux @ 2004-05-29 01:07:56 by reinelt]reinelt2-21/+25 bug in plugin_diskstats fixed 2004-05-29[lcd4linux @ 2004-05-29 00:27:14 by reinelt]reinelt8-11/+214 added plugin_diskstats.c 2004-05-28[lcd4linux @ 2004-05-28 14:38:10 by reinelt]reinelt2-1/+41 Status and Changelog Update