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
summaryrefslogtreecommitdiffstats
|
| Age | Commit message (Expand) | Author | Files | Lines |
| 2010-01-01 | update scan file for cz-Ostrava | Christoph Pfister | 1 | -1/+4 |
>Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bump release date.
|
|
Move back to libconfig*9, with libconfig*8-dev
remaining.
|
|
|
|
|
|
|
|
|
|
This reverts commit 5184275a78a65864e1c7c0c609f945fdb0dd2d26.
|
|
This reverts commit da589e0b2ee111a61807c057cd4608b7bb278cca.
|
|
This reverts commit 1c5de5f3d1287cdf6994bb3451b8a8e18a62b8ec.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|