Download Latest Version wmlive-bookworm_12.8-i386.iso (3.0 GB)
Email in envelope

Get an email when there's a new version of Window Maker Live

Home / ultrabay-scripts
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2015-11-22 2.7 kB
ultrabay-scripts_0.19-1_all.deb 2015-10-11 18.6 kB
ultrabay-scripts_0.19-1.debian.tar.xz 2015-10-11 8.7 kB
ultrabay-scripts_0.19-1.dsc 2015-10-11 920 Bytes
ultrabay-scripts_0.19.orig.tar.xz 2015-10-11 17.3 kB
changelog.txt 2015-10-11 7.4 kB
ultrabay-scripts_0.16-1.dsc 2015-04-14 1.8 kB
ultrabay-scripts_0.16-1_all.deb 2015-04-14 18.6 kB
ultrabay-scripts_0.16-1.debian.tar.xz 2015-04-14 8.4 kB
ultrabay-scripts_0.16.orig.tar.xz 2015-04-14 17.2 kB
ultrabay-scripts_0.15-1_all.deb 2014-10-19 18.0 kB
ultrabay-scripts_0.15-1.debian.tar.xz 2014-10-19 8.1 kB
ultrabay-scripts_0.15-1.dsc 2014-10-19 1.8 kB
ultrabay-scripts_0.15.orig.tar.xz 2014-10-19 16.7 kB
ultrabay-scripts_0.13-1_all.deb 2013-05-18 20.0 kB
ultrabay-scripts_0.13-1.debian.tar.gz 2013-05-18 8.1 kB
ultrabay-scripts_0.13-1.dsc 2013-05-18 915 Bytes
ultrabay-scripts_0.13.orig.tar.xz 2013-05-18 16.3 kB
READFIRST.txt 2013-05-13 711 Bytes
Totals: 19 Items   192.3 kB 0
ultrabay-scripts for Debian
===========================

These scripts serve to safely dock and undock UltraBay devices of
ThinkPads via udev rules. Also included is a script to switch battery
discharge order to first drain the main battery in case an UltraBay
battery has been inserted.

Automatic creation of udev rules
--------------------------------

To create a suitable udev rules configuration file with the correct
DEVPATH and KERNEL values matching your actual ThinkPad model, insert
the UltraBay optical or hard disk drive and reboot the ThinkPad to have
the inserted UltraBay device properly recognized by the system. Once
done, just execute the command 'ultrabay_insert -mkrules', in order to
recreate this file with the appropriate values. If a suitable device is
already inserted during package installation, this will be done
automatically.

Regarding the included init script
----------------------------------

The init script /etc/init.d/ultrabay-scripts is included to properly
shutdown and disable potentially power consuming and/or noise producing
ultrabay device already at boot time, unless configured otherwise in
/etc/default/ultrabay-scripts to allow it to run normally. To reenable
any disabled ultrabay device, just eject and reinsert the ultrabay eject
lever.

ThinkPad models R60/R61, and T60/T61
------------------------------------

On ThinkPad models R/T/X60/61, while the main disk interface is based on
SATA, the UltraBay is still behind a normal ATA interface which is
managed via the ata_piix kernel module. This module is normally loaded
first by the kernel during system boot, and thus already highjacks and
assigns the /dev/sda device file to any UltraBay disk before the actual
main disk on the SATA bus is probed.

To prevent such UltraBay disk devices from being recogized first, just
blacklist the ata_piix module in /etc/modprobe.d/blacklist-ata_piix.conf
and rebuild the kernel's initramfs. After a reboot, the UltraBay will
not be probed first anymore. This ensures that the internal SATA system
disk always gets assigned disk device /dev/sda by default. UltraBay
devices will be probed later by /etc/init.d/ultrabay-scripts during the
boot process, once it has loaded the missing ata_piix kernel module.

ThinkPad models with Ivy Bridge processor (X230, T430, T530, etc.)
------------------------------------------------------------------

Thinkpads with an Ivy Bridge processor (X230, T430, T530, etc.) are not
supported by tp-smapi, so the UltraBay battery feature will not work for
these machines. This would require tpacpi-bat for battery management,
but has unfortunately not been packaged for Debian yet.


Source: README.txt, updated 2015-11-22