* Ting Stick Udev Support
@ 2013-07-26 19:48 Tim Sander
0 siblings, 0 replies; only message in thread
From: Tim Sander @ 2013-07-26 19:48 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 601 bytes --]
Hi
Attached are two files which enable the basic functionality to use a Ting-Stick
with Linux. They read out the TDB.TXT file which contains the book nrs and
downloads the coressponding files and clears the TDB.TXT file afterwards.
There is no signalling or anything fancy so there is no indication when the
download process is finished. Also i didn't find an easy way to post a message
to all logged in users via script.
ting.sh should be executable and placed under /usr/local/lib
99-ting.rules is placed in /etc/udev/rules.d.
The files are GPLv2 or later and created by me.
Best regards
Tim
[-- Attachment #2: ting.sh --]
[-- Type: application/x-shellscript, Size: 531 bytes --]
[-- Attachment #3: 99-ting.rules --]
[-- Type: text/plain, Size: 115 bytes --]
SUBSYSTEM=="block",KERNEL=="sd[a-z]",ACTION=="add",ATTRS{vendor}=="TingDisk",RUN:="/usr/local/lib/ting.sh /dev/%k"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-26 19:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 19:48 Ting Stick Udev Support Tim Sander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).