0x00
The SelectBay is empty
Return the status of the selectbay in a docking station.
tdocked [-h]
tdocked reports on the status of the SelectBay in a docking station attached to a Toshiba laptop. The status is returned in the exit value of the program. This enables tdocked to be used in a shell script etc. to determine whether the laptop is docked and run appropriate programs.
0x00
The SelectBay is empty
0x01
The SelectBay contains a floppy drive
0x02
The SelectBay contains an ATAPI device such as a CD-ROM
0x03
The SelectBay contains an IDE hard disk
0x04
The SelectBay contains a second battery
0x80
The system does not support SelectBay devices
0x83
The docking station is not attached to the laptop.
0xff
The computer is not a Toshiba laptop.
-h
Print a short synopsis of the program and what the various exit codes mean.
6 releases since Debian 2.2 (Potato); the text changed 1 time.