[ltp] Debian package: ultrabay-scripts
Paul Seelig
linux-thinkpad@linux-thinkpad.org
Thu, 02 May 2013 23:27:00 +0200
Hi,
based on thinkwiki.org/wiki/How_to_hotswap_Ultrabay_devices and mainly
for scratching my own itch in the absence of any known alternative, i
have remixed the code from the above mentioned site and created my own
set of scripts and created a Debian package from it:
------- snip -------
Package: ultrabay-scripts
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 69
Maintainer: Paul Seelig <wmlive@users.sf.net>
Architecture: all
Version: 0.4-1
Conffiles:
/etc/default/ultrabay-scripts dab9a4a81cfcf1b4f3614822ee088ee4
/etc/init.d/ultrabay-scripts 51377300835bd70b872b6d74bb05b77d
Description: Management of ThinkPad UltraBay devices and batteries
Scripts to automatically dock/undock UltraBay devices of ThinkPads via
udev rules. Also includes a script to switch discharge order to first
drain the main battery in case an UltraBay battery has been inserted.
Homepage: http://sourceforge.net/projects/wmlive/files/ultrabay-scripts
------- snip -------
You can find the source and Debian package at the above mentioned site.
I hope i have not reinvented the wheel while being ignorant about
already existing and potentially better solutions?
Please evaluate and help to enhance it, if such functionality is of
interest for you. Also, if you don't like the code, please feel free to
rewrite it in a more suitable fashion.
I have only verified that it works on my own T60 and T61 Thinkpads, and
would like to know if it also works with other models. So any feedback
is welcome.
Thanks,
Paul