Difference between revisions of "ThinkPad X6 UltraBase"

From ThinkWiki
Jump to: navigation, search
m (UltraBase X6 under Linux (newer style))
(added pass-through detail)
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="2" border="0"
+
__NOTOC__
| style="vertical-align:top;" | __TOC__
+
{| width="100%"
[[image:UltraBaseX6.gif|UltraBase X6]]
+
|style="vertical-align:top" |
| style="vertical-align:top;" | <div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
+
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
== Lenovo UltraBase X6 ==
+
=== ThinkPad X6 UltraBase (40Y8116) ===
The IBM UltraBase X6 is a portable dock for the 6-series ThinkPads providing extra ports as well as a bay for an optical drive and a set of stereo speakers. Containing a full featured [[Ultrabay|Ultrabay Slim]] slot, it provides flexibility in drive choice as well as the option of a secondary battery for extended working time on the road.
+
This is a proprietary docking station for models with a [[Docking Port|CS05 slim docking port]].
 
 
 
=== Features ===
 
=== Features ===
* Passthrough ports:
+
==== Pass-through ====
** Gigabit Ethernet (RJ45)
+
* 4x USB 2.0 (Type-A) port
** Modem (RJ11)
+
* 1x Modem (RJ-11) port
** [[VGA Port|VGA]]
+
* 1x Ethernet (RJ-45) port
** Microphone
+
* 1x VGA-out (DE-15) port
** Headphone
+
* 1x Parallel (DB-25, ECP/EPP/SPP) port
* Additional ports:
+
* 1x Serial (DE-9, RS-232) port
** four USB ports (two on left side, two on back)
+
* 1x Headphone port (3.5mm, TRS)
** [[Serial Port|Serial (DB9-M)]]
+
* 1x Microphone port (3.5mm, TS)
** [[Parallel Port|Parallel (DB25-F)]]
+
* 1x [[Ultrabay|Ultrabay Slim]] slot
* Ultrabay Slim
+
* 1x DC-in (barrel) socket
* Stereo speakers
+
* 2x Audio speaker (stereo)
* Kensington security hole
+
==== Non-pass-through ====
 
+
* 1x Proprietary key lock (secures the laptop to the dock)
===Pros & Cons===
+
* 1x Kensington security lock slot
* Positives: Expansion capability, portable
+
=== Resources ===
* Negatives: Makes the ThinkPad quite thick
+
* [https://download.lenovo.com/ibmdl/pub/pc/pccbbs/options/40y8119_rev.pdf User's guide (November 2005)] (6.3 MB)
* Compatibility: {{X60}}, {{X60s}}, {{X61}}, {{X61s}}
 
* Warranty: 3 years
 
 
</div>
 
</div>
 +
|style="vertical-align:top" | [[image:UltraBaseX6.gif|384px]]
 
|}
 
|}
 +
=== Part numbers ===
 +
* 42X4320 (42X4321), 42W4634 (42W4635), 42W3108 (42W3107), 42W3015 (42W3014), 40Y8120 (40Y8117)
  
==Ultrabay Slim==
+
== Models supporting this accessory ==
The Ultrabay Slim slot in this dock is full featured; it supports hot swapping with all Ultrabay Slim drives, including the following which have been tested by contributors to this site:
+
* {{X60}}, {{X60s}}, {{X61}}, {{X61s}}
* [[Ultrabay Slim Multi-Burner III Drive]]
 
 
 
You can also feed it with the [[Ultrabay Slim Battery]] to extend the overall battery life time.
 
 
 
== UltraBase X6 under Linux (older style) ==
 
The docking stations are (at least in openSUSE) supported by the [http://en.opensuse.org/Dockutils Dockutils] project. The dockutils are formed by a set of simple bash scripts that handle docking and undocking of the computer. When the user chooses to undock the laptop, it does some system calls and when properly configured, it could disconnect the optical drive in the Ultrabay or update the display resolution.
 
 
 
Overally, the UltraBase works pretty much the same way as under Windows, only it has more configuration possibilities. The user only needs to press the key on the dock to undock the PC. Docking is handled automatically.
 
 
 
The following code has been tested on {{OpenSUSE}} 10.3 (Linux 2.6.22) with ThinkPad X61 but should work on all dockable ThinkPads with a recent kernel and the required software installed.
 
 
 
=== Dockutils hook ===
 
In order to have the docking handled automatically, we need to create a hook in the Dockutils directory ({{path|/usr/lib/dockutils/}}). We will put our hook in the {{path|hooks/thinkpad}} subdirectory.
 
 
 
{{cmdroot|cat /usr/lib/dockutils/hooks/thinkpad/70x61}}
 
<pre>#!/bin/bash
 
# dock/undock script for Thinkpad X61
 
 
 
export DISPLAY=:0
 
 
 
if [ "$1" = "dock" ]; then
 
        echo "X61 dock"
 
        # non-present dvd drive workaround, not required in newer distros
 
        /bin/rescan-scsi-bus.sh --hosts=1 --channels=0 --ids=0 --luns=0 --forceremove &
 
 
 
        # set external display resolution & dpi
 
        /usr/bin/xrandr --output VGA --auto
 
        /usr/bin/xrandr --screen 0 -s 1920x1200
 
        /usr/bin/xrandr --screen 0 --dpi 96x96
 
 
 
elif [ "$1" = "undock" ]; then
 
        echo "X61 undock"
 
 
 
        # turn external display off, internal on and set res
 
        /usr/bin/xrandr --screen 0 -s 1024x768
 
        /usr/bin/xrandr --output LVDS --auto
 
        /usr/bin/xrandr --output VGA --off
 
        /usr/bin/xrandr --screen 0 --dpi 96x96
 
fi</pre>
 
{{NOTE|If you don't use external display, remove the <code>/usr/bin/xrandr</code> lines from the script}}
 
The {{cmdroot|xhost +local:root}} command has to be in {{path|/etc/X11/xinit/xinitrc.d/<script name>}} to get <code>xrandr</code> working from the root account.
 
 
 
=== ACPI event handlers ===
 
You can always run the Dockutils using {{cmdroot|docker dock}} or {{cmdroot|docker undock}} command, but this is not comfortable. We will use the ACPI subsystem to bind {{key|Fn}}{{key|F8}}, {{key|Fn}}{{key|F9}} keys and blue button on the docking station to the Dockutils. This could be performed using the following code:
 
 
 
{{cmdroot|cat /etc/acpi/events/dock}}
 
<pre>event=(ibm/dock GDCK 00000000 00000003|ibm/hotkey HKEY 00000080 00001008)
 
action=/usr/sbin/docker dock</pre>
 
and
 
 
 
{{cmdroot|cat /etc/acpi/events/undock}}
 
<pre>event=(ibm/dock GDCK 00000003 00000001|ibm/hotkey HKEY 00000080 00001009)
 
action=/usr/sbin/docker undock</pre>
 
Now, you should be able to undock your PC using the keyboard keys and the dock button.
 
{{NOTE|[[Thinkpad-acpi|thinkpad_acpi]] and <code>acpid</code> must be installed and running for this to work}}
 
 
 
== UltraBase X6 under Linux (newer style) ==
 
Since in recent distributions (like openSuSE 11.1), there is no generated ACPI event for undocking the notebook (Alt+F9 still works the same), you need to use udev in order to be able detect the undocking event. You can use the same ACPI hook as in the "older style" docking setting but you need to put this code into your udev rules:
 
  
{{cmdroot|cat /etc/udev/rules.d/10-docking.rules}}
+
[[Category:Docking Solutions]]
<pre>ENV{EVENT}=="undock", KERNEL=="dock.0", SUBSYSTEM=="platform", RUN+="/usr/lib/dockutils/hooks/thinkpad/70x61 undock"
 
ENV{EVENT}=="dock", KERNEL=="dock.0", SUBSYSTEM=="platform", RUN+="/usr/lib/dockutils/hooks/thinkpad/70x61 dock"</pre>
 
After this change, the notebook will change it's resolution automatically after you remove it from the UltraBase.
 

Latest revision as of 13:38, 15 October 2020

ThinkPad X6 UltraBase (40Y8116)

This is a proprietary docking station for models with a CS05 slim docking port.

Features

Pass-through

  • 4x USB 2.0 (Type-A) port
  • 1x Modem (RJ-11) port
  • 1x Ethernet (RJ-45) port
  • 1x VGA-out (DE-15) port
  • 1x Parallel (DB-25, ECP/EPP/SPP) port
  • 1x Serial (DE-9, RS-232) port
  • 1x Headphone port (3.5mm, TRS)
  • 1x Microphone port (3.5mm, TS)
  • 1x Ultrabay Slim slot
  • 1x DC-in (barrel) socket
  • 2x Audio speaker (stereo)

Non-pass-through

  • 1x Proprietary key lock (secures the laptop to the dock)
  • 1x Kensington security lock slot

Resources

UltraBaseX6.gif

Part numbers

  • 42X4320 (42X4321), 42W4634 (42W4635), 42W3108 (42W3107), 42W3015 (42W3014), 40Y8120 (40Y8117)

Models supporting this accessory