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
aboutsummaryrefslogtreecommitdiffstats
|
| Age | Commit message (Collapse) | Author | Files | Lines |
|
fixed symlink security issue with the image driver
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@450 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
fixed possible bugs with user-defined chars (clear high bits)
thanks to Andy Baxter for debugging the MilfordInstruments driver!
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@449 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
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).
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@448 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
Crystalfontz 631 driver finished
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@447 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
fixed a compiler issue with drv_Image.c (thanks to Frank Stratmann)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@446 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
M50530: reset parport signals on exit
plugin_ppp: ppp() has two parameters, not three
lcd4linux.conf.sample: diskstats() corrected
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@445 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
bug in plugin_diskstats fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@444 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
added plugin_diskstats.c
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@443 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|
|
Status and Changelog Update
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@442 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
|