Ting Stick Udev Support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: ting.sh
Description: application/shellscript

SUBSYSTEM=="block",KERNEL=="sd[a-z]",ACTION=="add",ATTRS{vendor}=="TingDisk",RUN:="/usr/local/lib/ting.sh /dev/%k"

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux