<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SystemParadox</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SystemParadox"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/SystemParadox"/>
	<updated>2026-05-20T17:56:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=43942</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=43942"/>
		<updated>2009-08-15T01:34:23Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;My primary laptop is a {{T23}}. I also have a {{570}} which I use as a serial terminal/log watcher for my server.&lt;br /&gt;
&lt;br /&gt;
Previously owned {{600}}, {{600X}} and {{T20}}.&lt;br /&gt;
Also have much experience with {{T22}}, {{600E}} and {{760EL}}.&lt;br /&gt;
&lt;br /&gt;
My site: [http://www.systemparadox.co.uk The System Paradox (http://www.systemparadox.co.uk)]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=29746</id>
		<title>CS4299</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=29746"/>
		<updated>2007-05-12T13:08:32Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== CS4299 ===&lt;br /&gt;
This is a Cirrus Logic AC'97 Audio controller&lt;br /&gt;
&lt;br /&gt;
This chip is sometimes incorrectly called CS4229 in IBM documentation&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: CS4299&lt;br /&gt;
* Interface: AC'97 2.1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Linux OSS driver ===&lt;br /&gt;
This sound chip is supported by the i810_audio kernel module.&lt;br /&gt;
&lt;br /&gt;
=== Linux ALSA driver ===&lt;br /&gt;
This sound chip is supported by the snd-intel8x0 kernel module.&lt;br /&gt;
&lt;br /&gt;
=== T23 Fast Sound ===&lt;br /&gt;
On at least one t23 (mine) the ALSA intel8x0 driver plays sound too fast.  The following {{path|/etc/asound.conf}} restores normal operation:  &lt;br /&gt;
&lt;br /&gt;
   pcm.intel8x0-hw {&lt;br /&gt;
   type hw&lt;br /&gt;
   card 0&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
   pcm.!default {&lt;br /&gt;
   type plug&lt;br /&gt;
   slave.pcm &amp;quot;intel8x0&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
   pcm.intel8x0 {&lt;br /&gt;
   type dmix&lt;br /&gt;
   ipc_key 1234&lt;br /&gt;
   slave {&lt;br /&gt;
   pcm &amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
   period_time 0&lt;br /&gt;
   period_size 512&lt;br /&gt;
   buffer_size 4096&lt;br /&gt;
   rate 44100&lt;br /&gt;
   }&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
   ctl.intel8x0-hw {&lt;br /&gt;
   type hw&lt;br /&gt;
   card 0&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Dmixing ===&lt;br /&gt;
The CS4299 is not capable of hardware mixing. This means that only one sound stream can be played at any time. &lt;br /&gt;
You must get the software to do the mixing for it (this will load your CPU).&lt;br /&gt;
The ALSA implementation of this is called DMIX. You can also run sound servers like ESD or ArtsD, but not all applications will use them.&lt;br /&gt;
Recent ALSA distributions have dmixing setup and enabled by default. &lt;br /&gt;
&lt;br /&gt;
Otherwise just add the following to {{path|/etc/asound.conf}} :&lt;br /&gt;
   pcm.dsp0 {&lt;br /&gt;
       type plug&lt;br /&gt;
       slave.pcm dmix&lt;br /&gt;
   }&lt;br /&gt;
   # mixer0 can stay unchanged, because&lt;br /&gt;
   # it isn't used anyway, I guess ;)&lt;br /&gt;
   ctl.mixer0 {&lt;br /&gt;
       type hw&lt;br /&gt;
       card 0&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
Now the only problem is how to tell applications to use the DMIX channel instead of dsp0. Most applications work by specifying &amp;quot;dmix&amp;quot; as the device. For command line apps use &amp;quot;aoss&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Hint: XMMS does not work well with dmix and the intel8x0. You will probably need to patch and recompile. &lt;br /&gt;
&lt;br /&gt;
See: [http://bugs.xmms.org/show_bug.cgi?id=1716 XMMS bug 1716], [http://bugs.xmms.org/show_bug.cgi?id=2009 XMMS bug 2009] and [http://bugs.xmms.org/show_bug.cgi?id=1991 XMMS bug 1991]&lt;br /&gt;
&lt;br /&gt;
You also need to disable mmap and increase the buffer and period time in the advanced options.&lt;br /&gt;
&lt;br /&gt;
=== No sound after suspending to RAM ===&lt;br /&gt;
Fortunately it is not necessary to remove and reinsert the snd-intel8x0 module. Simply mute and unmute all the mixer controls using alsamixer or amixer. You might want to create the following script and run it after your suspend commands:&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 mixers=&amp;quot;Master PCM CD&amp;quot;&lt;br /&gt;
 for mixer in $mixers ; do&lt;br /&gt;
   amixer sset $mixer mute&lt;br /&gt;
   amixer sset $mixer unmute&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
Other mixers you might want to add are Line (Line in on the laptop) and Aux (Line in on the docking station).&lt;br /&gt;
Note that the case of the mixer names is important (&amp;quot;Master&amp;quot; not &amp;quot;master&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this chip may be found in ===&lt;br /&gt;
* {{A21e}}, {{A22e}}&lt;br /&gt;
* {{A30}}, {{A30p}}&lt;br /&gt;
* {{T23}}&lt;br /&gt;
* {{X22}}, {{X23}}, {{X24}}&lt;br /&gt;
* {{i1200}}, {{i1210}}, {{i1230}}, {{i1250}}, {{i1260}}&lt;br /&gt;
* {{i1300}}, {{i1330}}, {{i1370}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Savage&amp;diff=28473</id>
		<title>Savage</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Savage&amp;diff=28473"/>
		<updated>2007-02-27T20:43:15Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Xorg S3 Savage Driver ==&lt;br /&gt;
&lt;br /&gt;
Your X11 driver of choice if you have a Thinkpad with a [[S3 Savage IX8|Savage IX]] or [[S3 SuperSavage IX/C|SuperSavage]] chip.&amp;lt;br&amp;gt;&lt;br /&gt;
It is based on [http://www.probo.com/timr/savage40.html Tim Roberts savage driver for X], which didn't improve for a long time.&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
*supports Xinerama, DuoView and DRI.&lt;br /&gt;
*MergedFB is not supported. Alex Deucher's MergedFB driver (http://www.botchco.com/alex/new-savage/html/) worked, but had issues which were never fixed. The MergedFB version of his driver was never added to Xorg, and is now out of date. It will require hacking to get it to work with a newer version of Xorg.&lt;br /&gt;
&lt;br /&gt;
=== Project Homepage / Availability ===&lt;br /&gt;
*Homepage: http://www.x.org/&lt;br /&gt;
*DRI capable driver included in Xorg since version 7.&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
Binary snapshots (DDX, DRI, DRM) are available [http://dri.freedesktop.org/snapshots/ here].&lt;br /&gt;
&lt;br /&gt;
'''Note: Binary snapshots are not up-to-date anymore because of Xorg7 modular design. You should not need them with Xorg7.'''&lt;br /&gt;
&lt;br /&gt;
=== CVS ===&lt;br /&gt;
See this page for [http://dri.freedesktop.org/wiki/Building instructions] on building from cvs.&lt;br /&gt;
&lt;br /&gt;
=== Status ===&lt;br /&gt;
*in development, usable, secure.&lt;br /&gt;
*3D is supported in Xorg7 (but usable modes are limited by video RAM; with 8MB of video RAM, the DRI 3D drivers don't support 1400x1050 32-bit mode).&lt;br /&gt;
*with older Xorg you might want to build 3D drivers from DRI [http://dri.freedesktop.org/wiki/Building CVS]&lt;br /&gt;
&lt;br /&gt;
=== Interesting links related to this project ===&lt;br /&gt;
&lt;br /&gt;
*[http://www.botchco.com/alex/new-savage/html/ Alex Deucher's driver]&lt;br /&gt;
*[http://www.probo.com/timr/savage40.html Tim Roberts savage driver for X]&lt;br /&gt;
*[http://dri.sourceforge.net/cgi-bin/moin.cgi/S3Savage DRI OpenGL driver for savage chipsets]&lt;br /&gt;
*[http://utah-glx.sourceforge.net/ Utah GLX OpenGL Driver for Savage chipsets]&lt;br /&gt;
&lt;br /&gt;
[[Category:Drivers]] [[Category:T20]] [[Category:T21]] [[Category:T22]] [[Category:T23]] [[Category:A22e]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=25202</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=25202"/>
		<updated>2006-10-10T11:47:23Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more)(though these changes were not merged into the official version, as the author added most of the features at the same time).&lt;br /&gt;
&lt;br /&gt;
Previously owned {{600}}, {{600X}} and {{T20}}.&lt;br /&gt;
Also have much experience with {{760EL}} and {{560}}.&lt;br /&gt;
&lt;br /&gt;
My site: [http://www.systemparadox.no-ip.org The System Paradox (http://www.systemparadox.no-ip.org)]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=25201</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=25201"/>
		<updated>2006-10-10T11:41:57Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more)(though these changes were not merged into the official version, as the author added most of the features at the same time).&lt;br /&gt;
&lt;br /&gt;
Previously owned {{600}}, {{600X}} and {{T20}}.&lt;br /&gt;
Also have much experience with {{760EL}} and {{560}}.&lt;br /&gt;
&lt;br /&gt;
My site: [http://www.systemparadox.no-ip.org The System Paradox: http://www.systemparadox.no-ip.org]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Intel_Mobile_Pentium_III-M&amp;diff=24799</id>
		<title>Intel Mobile Pentium III-M</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Intel_Mobile_Pentium_III-M&amp;diff=24799"/>
		<updated>2006-09-21T21:05:38Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
===Intel Mobile Pentium III-M===&lt;br /&gt;
Featuring the Tualatin core the Mobile Pentium III-M is a lot more powerful than the [[Intel Mobile Pentium III|Mobile Pentium III]]. This is proven in it's rebirth as [[Intel Pentium M (Banias)|Pentium M]].&lt;br /&gt;
&lt;br /&gt;
===Features===&lt;br /&gt;
*700-1200 MHz tact&lt;br /&gt;
*133 MHz FSB (100 on some of the lv and ulv models)&lt;br /&gt;
*44 Million Transistors&lt;br /&gt;
*0.13&amp;amp;micro;m fabrication process&lt;br /&gt;
*0.07&amp;amp;micro;m gates&lt;br /&gt;
*1.40/1.15 VCore&lt;br /&gt;
*2x 16 KB L1-Cache&lt;br /&gt;
*512 KB L2-Cache&lt;br /&gt;
*[[SpeedStep|Enhanced SpeedStep]], QuickStart, Deeper Sleep&lt;br /&gt;
*[[SIMD|MMX]], [[SIMD|SSE]] instruction sets&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Available Types and ThinkPads featuring them==&lt;br /&gt;
{| border=1 cellspacing=0 cellpadding=2&lt;br /&gt;
|- style=&amp;quot;background:#ffdead;&amp;quot;&lt;br /&gt;
! colspan=2 | Frequency (MHz) || Bus Speed (MHz)|| colspan=2 | core Voltage (V) || colspan=2 | TDP (W) || ThinkPad Models&lt;br /&gt;
|- style=&amp;quot;background:#ffdead;&amp;quot;&lt;br /&gt;
!max. !! min. !! !! high !! low !! high !! low !! &lt;br /&gt;
|- style=&amp;quot;background:#efefef;&amp;quot;&lt;br /&gt;
! colspan=8 | Mobile Pentium III-M&lt;br /&gt;
|-&lt;br /&gt;
| 1333 || 800 || 133 || 1.40 || 1.15 || 22.0 || 9.8 || &lt;br /&gt;
|-&lt;br /&gt;
| 1266 || 800 || 133 || 1.40 || 1.15 || 22.0 || 9.8 || &lt;br /&gt;
|-&lt;br /&gt;
| 1200 || 800 || 133 || 1.40 || 1.15 || 22.0 || 9.8 || {{A30p}}, {{T23}}, {{X30}}&lt;br /&gt;
|-&lt;br /&gt;
| 1133 || 733 || 133 || 1.40 || 1.15 || 21.8 || 9.3 || {{A30}}, {{R31}}, {{T23}}, {{X24}}&lt;br /&gt;
|-&lt;br /&gt;
| 1066 || 733 || 133 || 1.40 || 1.15 || 21.0 || 9.3 || {{X30}}&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 733 || 133 || 1.40 || 1.15 || 20.5 || 9.3 || {{A30}}, {{R31}}, {{T23}}&lt;br /&gt;
|-&lt;br /&gt;
| 933 || 733 || 133 || 1.40 || 1.15 || 20.1 || 9.3 || {{A30}}&lt;br /&gt;
|-&lt;br /&gt;
| 866 || 667 || 133 || 1.40 || 1.15 || 19.5 || 8.9 || {{T23}}&lt;br /&gt;
|- style=&amp;quot;background:#efefef;&amp;quot;&lt;br /&gt;
! colspan=8 | Mobile Pentium III-M (Low Voltage)&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 533 || 133 || 1.15 || 1.05 || 10.9 || 6.1 || &lt;br /&gt;
|-&lt;br /&gt;
| 933 || 533 || 133 || 1.15 || 1.05 || 10.5 || 6.1 || &lt;br /&gt;
|-&lt;br /&gt;
| 866 || 533 || 133 || 1.15 || 1.05 || 10.1 || 6.1 || {{X23}}?&lt;br /&gt;
|-&lt;br /&gt;
| 850 || 500 || 100 || 1.15 || 1.05 || 10.0 || 5.9 || &lt;br /&gt;
|-&lt;br /&gt;
| 800 || 533 || 133 || 1.15 || 1.05 || 9.8 || 5.9 || {{X22}}?, {{X23}}?&lt;br /&gt;
|-&lt;br /&gt;
| 750 || 450 || 100 || 1.15 || 1.05 || 9.4 || 5.7 || &lt;br /&gt;
|-&lt;br /&gt;
| 733 || 466 || 133 || 1.15 || 1.05 || 9.3 || 5.8 || {{X22}}?&lt;br /&gt;
|- style=&amp;quot;background:#efefef;&amp;quot;&lt;br /&gt;
! colspan=8 | Mobile Pentium III-M (Ultra Low Voltage)&lt;br /&gt;
|-&lt;br /&gt;
| 866 || 400 || 133 || 1.10 || 0.95 || 7  || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 850 || 400 || 100 || 1.10 || 0.95 || 7 || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 800 || 400 || 100 || 1.10 || 0.95 || 7 || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 750 || 350 || 100 || 1.10 || 0.95 || 7 || 3.1 || &lt;br /&gt;
|-&lt;br /&gt;
| 733 || 400 || 133 || 1.10 || 0.95 || 7 || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 700 || 300 || 100 || 1.10 || 0.95 || 7 || 3.0 || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Thermal Specifications==&lt;br /&gt;
&lt;br /&gt;
==Speedstepping==&lt;br /&gt;
TODO: Which kernel module is needed to enable speedstepping control? Commands to use? Automatic speedstepping?&lt;br /&gt;
&lt;br /&gt;
==GCC Optimization Flags==&lt;br /&gt;
You should use the following if you have a Mobile Pentium III-M:&lt;br /&gt;
 -Os -march=pentium3 -fomit-frame-pointer -pipe&lt;br /&gt;
&lt;br /&gt;
&amp;quot;-Os&amp;quot; means optimise for size. &amp;quot;-O2&amp;quot; is usually the default and is probably more prefferable. If you're feeling brave you could try using &amp;quot;-O3&amp;quot;, but many programs fail to compile with this (attempting to compile binutils, gcc or any other core tools with &amp;quot;-O3&amp;quot; is not recommended)&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Intel_Mobile_Pentium_III-M&amp;diff=24798</id>
		<title>Intel Mobile Pentium III-M</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Intel_Mobile_Pentium_III-M&amp;diff=24798"/>
		<updated>2006-09-21T21:04:17Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* GCC Optimization Flags */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
===Intel Mobile Pentium III-M===&lt;br /&gt;
Featuring the Tualatin core the Mobile Pentium III-M is a lot more powerful than the [[Intel Mobile Pentium III|Mobile Pentium III]]. This is proven in it's rebirth as [[Intel Pentium M (Banias)|Pentium M]].&lt;br /&gt;
&lt;br /&gt;
===Features===&lt;br /&gt;
*700-1200 MHz tact&lt;br /&gt;
*133 MHz FSB (100 on some of the lv and ulv models)&lt;br /&gt;
*44 Million Transistors&lt;br /&gt;
*0.13&amp;amp;micro;m fabrication process&lt;br /&gt;
*0.07&amp;amp;micro;m gates&lt;br /&gt;
*1.40/1.15 VCore&lt;br /&gt;
*2x 16 KB L1-Cache&lt;br /&gt;
*512 KB L2-Cache&lt;br /&gt;
*[[SpeedStep|Enhanced SpeedStep]], QuickStart, Deeper Sleep&lt;br /&gt;
*[[SIMD|MMX]], [[SIMD|SSE]] instruction sets&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Available Types and ThinkPads featuring them==&lt;br /&gt;
{| border=1 cellspacing=0 cellpadding=2&lt;br /&gt;
|- style=&amp;quot;background:#ffdead;&amp;quot;&lt;br /&gt;
! colspan=2 | Frequency (MHz) || Bus Speed (MHz)|| colspan=2 | core Voltage (V) || colspan=2 | TDP (W) || ThinkPad Models&lt;br /&gt;
|- style=&amp;quot;background:#ffdead;&amp;quot;&lt;br /&gt;
!max. !! min. !! !! high !! low !! high !! low !! &lt;br /&gt;
|- style=&amp;quot;background:#efefef;&amp;quot;&lt;br /&gt;
! colspan=8 | Mobile Pentium III-M&lt;br /&gt;
|-&lt;br /&gt;
| 1333 || 800 || 133 || 1.40 || 1.15 || 22.0 || 9.8 || &lt;br /&gt;
|-&lt;br /&gt;
| 1266 || 800 || 133 || 1.40 || 1.15 || 22.0 || 9.8 || &lt;br /&gt;
|-&lt;br /&gt;
| 1200 || 800 || 133 || 1.40 || 1.15 || 22.0 || 9.8 || {{A30p}}, {{T23}}, {{X30}}&lt;br /&gt;
|-&lt;br /&gt;
| 1133 || 733 || 133 || 1.40 || 1.15 || 21.8 || 9.3 || {{A30}}, {{R31}}, {{T23}}, {{X24}}&lt;br /&gt;
|-&lt;br /&gt;
| 1066 || 733 || 133 || 1.40 || 1.15 || 21.0 || 9.3 || {{X30}}&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 733 || 133 || 1.40 || 1.15 || 20.5 || 9.3 || {{A30}}, {{R31}}, {{T23}}&lt;br /&gt;
|-&lt;br /&gt;
| 933 || 733 || 133 || 1.40 || 1.15 || 20.1 || 9.3 || {{A30}}&lt;br /&gt;
|-&lt;br /&gt;
| 866 || 667 || 133 || 1.40 || 1.15 || 19.5 || 8.9 || {{T23}}&lt;br /&gt;
|- style=&amp;quot;background:#efefef;&amp;quot;&lt;br /&gt;
! colspan=8 | Mobile Pentium III-M (Low Voltage)&lt;br /&gt;
|-&lt;br /&gt;
| 1000 || 533 || 133 || 1.15 || 1.05 || 10.9 || 6.1 || &lt;br /&gt;
|-&lt;br /&gt;
| 933 || 533 || 133 || 1.15 || 1.05 || 10.5 || 6.1 || &lt;br /&gt;
|-&lt;br /&gt;
| 866 || 533 || 133 || 1.15 || 1.05 || 10.1 || 6.1 || {{X23}}?&lt;br /&gt;
|-&lt;br /&gt;
| 850 || 500 || 100 || 1.15 || 1.05 || 10.0 || 5.9 || &lt;br /&gt;
|-&lt;br /&gt;
| 800 || 533 || 133 || 1.15 || 1.05 || 9.8 || 5.9 || {{X22}}?, {{X23}}?&lt;br /&gt;
|-&lt;br /&gt;
| 750 || 450 || 100 || 1.15 || 1.05 || 9.4 || 5.7 || &lt;br /&gt;
|-&lt;br /&gt;
| 733 || 466 || 133 || 1.15 || 1.05 || 9.3 || 5.8 || {{X22}}?&lt;br /&gt;
|- style=&amp;quot;background:#efefef;&amp;quot;&lt;br /&gt;
! colspan=8 | Mobile Pentium III-M (Ultra Low Voltage)&lt;br /&gt;
|-&lt;br /&gt;
| 866 || 400 || 133 || 1.10 || 0.95 || 7  || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 850 || 400 || 100 || 1.10 || 0.95 || 7 || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 800 || 400 || 100 || 1.10 || 0.95 || 7 || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 750 || 350 || 100 || 1.10 || 0.95 || 7 || 3.1 || &lt;br /&gt;
|-&lt;br /&gt;
| 733 || 400 || 133 || 1.10 || 0.95 || 7 || 3.4 || &lt;br /&gt;
|-&lt;br /&gt;
| 700 || 300 || 100 || 1.10 || 0.95 || 7 || 3.0 || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Thermal Specifications==&lt;br /&gt;
&lt;br /&gt;
==GCC Optimization Flags==&lt;br /&gt;
You should use the following if you have a Mobile Pentium III-M:&lt;br /&gt;
 -Os -march=pentium3 -fomit-frame-pointer -pipe&lt;br /&gt;
&lt;br /&gt;
&amp;quot;-Os&amp;quot; means optimise for size. &amp;quot;-O2&amp;quot; is usually the default and is probably more prefferable. If you're feeling brave you could try using &amp;quot;-O3&amp;quot;, but many programs fail to compile with this (attempting to compile binutils, gcc or any other core tools with &amp;quot;-O3&amp;quot; is not recommended)&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=24716</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=24716"/>
		<updated>2006-09-18T21:03:36Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charge/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is almost instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device (requires [[ibm-acpi]]). See [[How to hotswap UltraBay devices]].&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. However, if you change a full main battery for an empty one, the system will finish charging the ultrabay battery before charging the second main battery.&lt;br /&gt;
&lt;br /&gt;
When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see below).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is discharged (via &amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;) or charged (via &amp;lt;tt&amp;gt;inhibit_charge_minutes&amp;lt;/tt&amp;gt; on the other battery). This only works on some ThinkPad models - see the [[tp_smapi#Model-specific_status|tp_smapi model-specific status]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===UltraBay eject lever===&lt;br /&gt;
It seems that you don't have to completely remove the UltraBay battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the UltraBay battery. While the BIOS can switch to the UltraBay battery when the main battery runs out, it cannot switch fast enough when the main battery is pulled. Make sure you push the eject lever in before swapping the main battery or the system will loose power. Likewise, if you have the ultrabay lever pushed in: while the system can switch to the main battery when the ultrabay battery is empty, it cannot switch to the main battery fast enough if the ultrabay battery slips out of the bay without the lever being released- the system will loose power.&lt;br /&gt;
&lt;br /&gt;
The order of charging is not affected by the state of the eject lever. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
Please note, that applications, like Gnome Power Manager (don't know about others) automatically sums both battery capacities and display the status together&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
For a GUI interface, you can use the [[KThinkBat]] applet or [[Gkrellm-ThinkBat]] plug-in.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work_on_a_ThinkPad_T23&amp;diff=24405</id>
		<title>How to make ACPI work on a ThinkPad T23</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work_on_a_ThinkPad_T23&amp;diff=24405"/>
		<updated>2006-08-30T16:24:09Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* UltraBay LED stays lid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page deals with installing and running {{Gentoo}} Linux (2005.1) on a ThinkPad {{T23}}, Model 2647-4MG.&lt;br /&gt;
&lt;br /&gt;
==Basic installation==&lt;br /&gt;
The default kernel (2.6.12-r6) boots OK, and recognises all the devices (modem not tested).&lt;br /&gt;
&lt;br /&gt;
==ACPI==&lt;br /&gt;
Getting software suspend working requires some tweaking.&lt;br /&gt;
&lt;br /&gt;
First of all, [[BIOS Upgrade|update to the latest BIOS and Embedded Controller Program]].&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|dmesg}} will probably tell you that ACPI isn't enabled in the BIOS, because the T23 BIOS has no mention of ACPI. Just add {{bootparm|lapic|}} to the kernel&lt;br /&gt;
arguments in {{path|/etc/lilo.conf}} or {{path|/boot/grub/menu.lst}}.&lt;br /&gt;
&lt;br /&gt;
After that, you will probably get a lot of ACPI error messages, generally of the form &amp;lt;tt&amp;gt;AE_NOT_EXIST&amp;lt;/tt&amp;gt;. Those can be fixed by recompiling your DSTD. To do just that, get the Intel iasl compiler source from [http://developer.intel.com/technology/iapc/acpi/downloads.htm their site] and compile it.  It should build without troubles. De- and re-compile the DSDT. If it gives errors or remarks, try fixing them as best as you can. Then load the new DSDT on boot with the kernel's &amp;quot;Custom DSDT&amp;quot; option.&lt;br /&gt;
&lt;br /&gt;
Now {{cmdroot|dmesg}} should show that the ACPI had found the ECDT and enabled the interpreter and you should find a full set of ACPI entries under {{path|/proc}}.&lt;br /&gt;
&lt;br /&gt;
Done that, verify that the [[ibm-acpi]] driver is enabled by issuing {{cmdroot|ls /proc/acpi/ibm/*}}. If you see files in this directory, everything is alright. If the directory couldn't be found, you will have to enable [[ibm-acpi]] in your kernel config (as builtin or module) and recompile your kernel.&lt;br /&gt;
&lt;br /&gt;
The next step is [[How to configure acpid|configuring acpid]], which handles the ACPI buttons through scripts in {{path|/etc/acpi}}.&lt;br /&gt;
&lt;br /&gt;
To try if suspend to ram workd, press {{key|Fn}}{{key|F4}} or issue a {{cmdroot|echo -n mem &amp;gt;/sys/power/state}}.&lt;br /&gt;
&lt;br /&gt;
===Resume problem===&lt;br /&gt;
If your system doesn't resume from sleep after that, use the power button to switch it off and restart. To solve the issue, try disabling S3 framebuffer support in your kernel config and recompile your kernel. Should that not be enough, try unloading suspicious drivers such as USB in your suspend script and reloading them on resume.&lt;br /&gt;
&lt;br /&gt;
If all that doesn't help, build a monolithic kernel having everything you need builtin and only minimal options enabled. If it works with that kernel, start reenabling other options step by step.&lt;br /&gt;
&lt;br /&gt;
===Button events===&lt;br /&gt;
By default, ACPI seems to handle three button events only - the Power button, the Suspend key ({{key|Fn}}{{key|F4}}) and the lid event. {{key|Fn}}{{key|F3}} (Screen blank) will need [[How to make ACPI work#Screen blanking (Standby)|extra configuration]], as well as {{key|Fn}}{{key|F12}} (Suspend to disk) (look [[How to make ACPI work#Suspend to disk (Hibernate)|here]]). {{key|Fn}}{{key|F7}}, (Switch to&lt;br /&gt;
video) at least blanks the LCD.&lt;br /&gt;
&lt;br /&gt;
{{key|Fn}}{{key|Home}} (LED brighter), {{key|Fn}}{{key|End}} (LED dimmer), {{key|Fn}}{{key|PgUp}}&lt;br /&gt;
(Screen light) will work without any further effords, since they are not handled by the ACPI subsystem.&lt;br /&gt;
&lt;br /&gt;
When the machine is running, the lid switch blanks the screen when&lt;br /&gt;
pressed and restores on release, but if the machine is suspended&lt;br /&gt;
pressing the switch does nothing and releasing it brings the machine out&lt;br /&gt;
of suspend mode.&lt;br /&gt;
&lt;br /&gt;
Commands echoed to eg: {{path|/proc/acpi/ibm/light}} can be mixed with the appropriate keypresses (here,&lt;br /&gt;
{{key|Fn}}{{key|PgUp}}) without problems.&lt;br /&gt;
&lt;br /&gt;
===Frequency Scaling===&lt;br /&gt;
The CPU (Pentium III-M) has power management and&lt;br /&gt;
throttling; use the '''acpi-cpufreq''' module instead of the '''speedstep-ich''' module to change speed automatically. The CPU has &lt;br /&gt;
only two speeds, and with the '''cpufreq_ondemand''' &amp;amp; '''cpufreq_conservative''' modules, dynamic scaling will be achieved. Alternatively, with the '''speedstep-ich''' module, you can use a shell script to flip between the performance and powersave kernel governors; everything needed can be found in the {{path|/sys/devices/system/cpu/cpu0/cpufreq}} directory.&lt;br /&gt;
&lt;br /&gt;
===UltraBay LED stays lit===&lt;br /&gt;
The Bay LED wrongly stays lit even when in suspend to ram mode, but the most recent (1.1) [[ibm-acpi]] module provides an ACPI LED device which controls most of the LEDs (the Bay LED&lt;br /&gt;
is 4), so you can switch it off in your suspend script.&lt;br /&gt;
{{WARN|The UltraBay LED should stay lit when suspended to RAM. Any ThinkPads newer than the 600X have hot-swappable UltraBays, not warm-swappable ones. Attempting to remove or insert an UltraBay device when suspended will cause it to wake up and try to handle the request, but with Linux this usually causes lockups.}}&lt;br /&gt;
&lt;br /&gt;
===Resume===&lt;br /&gt;
With the CPU on low speed (if it matters) and the LED off the power consumption in Suspend mode is around 580mW.&lt;br /&gt;
&lt;br /&gt;
It looks as if the software to control full ACPI functionality has&lt;br /&gt;
only stabilised within the middle of 2005, so if you&lt;br /&gt;
have problems, try upgrading to IBM's latest BIOS and EBIOS, and a&lt;br /&gt;
kernel &amp;gt;=2.12.  With luck, the next version or so of the S3 driver will&lt;br /&gt;
be free of its hang problem.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Help:Editing&amp;diff=22700</id>
		<title>Help:Editing</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Help:Editing&amp;diff=22700"/>
		<updated>2006-06-11T12:22:47Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* use semantic formatting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==general help==&lt;br /&gt;
&lt;br /&gt;
For general help in editing please read [[Wikipedia:How_to_edit_a_page | Wikipedias &amp;quot;How to edit a page&amp;quot; page]].&lt;br /&gt;
&lt;br /&gt;
==ThinkWiki editing policies==&lt;br /&gt;
&lt;br /&gt;
===write with other users in your mind===&lt;br /&gt;
When you write an article, keep the following things in mind...&lt;br /&gt;
*Respect others. Try sticking to a [http://en.wikipedia.org/wiki/Npov neutral point of view]. Respect the work of other writers. Respect your (potential) readers.&lt;br /&gt;
*ThinkWiki is not only about the newest models. Try to write in a way that is open for older, newer and future models. This especially regards the structuring of the information you provide.&lt;br /&gt;
*ThinkWiki is not only about your Distro. Try to make clear if something you write is valid only for your specific linux distribution.&lt;br /&gt;
*Even though the article is written by you, it is a piece of information others might work on later. Try to avoid personal remarks in your articles.&lt;br /&gt;
&lt;br /&gt;
===naming policies for new pages===&lt;br /&gt;
If you create a new page, please consider the following page naming policies. This is important to keep a persistent page naming scheme and hence to ensure that ThinkWiki still works well when it has grown more complex.&lt;br /&gt;
&lt;br /&gt;
Page names (the links you create to point to the page) are used as the page Title. Considering these policies has the following advantages:&lt;br /&gt;
*the pages will have self-explaining titles&lt;br /&gt;
*in Category views like the Model view the links to the pages are expressively labeled and similar pages are sorted together&lt;br /&gt;
*the pages are more easily found in search engines like google&lt;br /&gt;
&lt;br /&gt;
====general policies====&lt;br /&gt;
*It is allowed and in fact wanted that you use spaces within your page titles.&lt;br /&gt;
*The name you choose for the page should be as specific as its content will be. In other words...it should not be possible to write another page with more general content about the topic that your page title indicates.&lt;br /&gt;
&lt;br /&gt;
====specific kinds of pages====&lt;br /&gt;
To sort similar pages together in the Model views, we start specific pages in defined ways.&lt;br /&gt;
The following table shows the naming schemes for several kinds of pages...&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+page naming schemes&lt;br /&gt;
! page type !! naming scheme !! example&lt;br /&gt;
|-&lt;br /&gt;
| Installation instructions overview for a model || Installation instructions for the &amp;lt;model&amp;gt; || Installation instructions for the ThinkPad T41p&lt;br /&gt;
|-&lt;br /&gt;
| Installation instructions for a specific distro on a model || Installing &amp;lt;distro&amp;gt; on a &amp;lt;model&amp;gt; || Installing Gentoo on a ThinkPad T41p&lt;br /&gt;
|-&lt;br /&gt;
| other HowTos || How to ... || How to get special keys to work&lt;br /&gt;
|-&lt;br /&gt;
| Problem descriptions || Problem with ... || Problem with lm-sensors&lt;br /&gt;
|-&lt;br /&gt;
| Drivers and Tools pages || &amp;lt;name of driver/tool&amp;gt; || ibm-acpi&lt;br /&gt;
|-&lt;br /&gt;
| Patches || Patch ... || Patch disabling ACPI C3&lt;br /&gt;
|-&lt;br /&gt;
| Components || &amp;lt;name of component as used by IBM&amp;gt; || IBM 11a/b/g Wireless LAN Mini PCI Adapter II&lt;br /&gt;
|-&lt;br /&gt;
| Distro pages || Category:&amp;lt;distro&amp;gt; || Category:SUSE&lt;br /&gt;
|-&lt;br /&gt;
| ThinkPad Models || Category:&amp;lt;Model without &amp;quot;ThinkPad&amp;quot;&amp;gt; || Category:T41p&lt;br /&gt;
|-&lt;br /&gt;
| Specifications || &amp;lt;type number-model number&amp;gt; || 2373-GHG&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== use semantic formatting ===&lt;br /&gt;
Please prefer semantic formatting over beauty. To help maintaining a formatting standard, you can use the following templates.&lt;br /&gt;
{{NOTE|&lt;br /&gt;
Unfortunately, nesting templates is not possible. I.e. you can't put a cmd template inside a NOTE template.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
! syntax !! resulting output&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{cmduser|command}}&amp;lt;/nowiki&amp;gt; || {{cmduser|command}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{cmdroot|command}}&amp;lt;/nowiki&amp;gt; || {{cmdroot|command}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{cmdgrub|command}}&amp;lt;/nowiki&amp;gt; || {{cmdgrub|command}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{cmdresult|shell output}}&amp;lt;/nowiki&amp;gt; || {{cmdresult|shell output}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{cmd|command|prefix&amp;gt;}}&amp;lt;/nowiki&amp;gt; || {{cmd|command|prefix&amp;gt;}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{bootparm|parameter|value}}&amp;lt;/nowiki&amp;gt; || {{bootparm|parameter|value}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{path|/etc/config.cfg}}&amp;lt;/nowiki&amp;gt; || {{path|/etc/config.cfg}}&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
#&amp;lt;nowiki&amp;gt;{{kernelconf|CONFIG_SCSI|[M]|SCSI device support|SCSI device support|Device Drivers||}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
#&amp;lt;nowiki&amp;gt;{{kernelconf|CONFIG_SCSI|[M]|SCSI device support||||}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
#&amp;lt;nowiki&amp;gt;{{kernelconf|CONFIG_SCSI|[M]|||||}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
#&amp;lt;nowiki&amp;gt;{{kernelconf|CONFIG_SCSI||||||}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
#&amp;lt;nowiki&amp;gt;{{kernelconf||[M]|SCSI device support||||}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''specify the menuconfig path in reverse order and fill with empty parameters to at least a total of seven''&lt;br /&gt;
|&lt;br /&gt;
#{{kernelconf|CONFIG_SCSI|[M]|SCSI device support|SCSI device support|Device Drivers||}}&lt;br /&gt;
#{{kernelconf|CONFIG_SCSI|[M]|SCSI device support||||}}&lt;br /&gt;
#{{kernelconf|CONFIG_SCSI|[M]|||||}}&lt;br /&gt;
#{{kernelconf|CONFIG_SCSI||||||}}&lt;br /&gt;
#{{kernelconf||[M]|SCSI device support||||}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{HINT|A suggestion.}}&amp;lt;/nowiki&amp;gt; || {{HINT|A suggestion.}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{NOTE|Take notice!}}&amp;lt;/nowiki&amp;gt; || {{NOTE|Take notice!}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{WARN|Be careful!}}&amp;lt;/nowiki&amp;gt; || {{WARN|Be careful!}}&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;{{HELP|Request for help}}&amp;lt;/nowiki&amp;gt; || {{HELP|Request for help}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{key|Fn}}{{key|F4}}&amp;lt;/nowiki&amp;gt; || {{key|Fn}}{{key|F4}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{ibmkey|Access IBM|#495988}} = {{ibmkey|ThinkPad|#494949}}&amp;lt;/nowiki&amp;gt; || {{ibmkey|Access IBM|#495988}} = {{ibmkey|ThinkPad|#494949}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;to be commented{{footnote|1}}&amp;lt;/nowiki&amp;gt; || to be commented{{footnote|1}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{footnotes|&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#first footnote&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#second footnote&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|| {{footnotes|&lt;br /&gt;
#first footnote&lt;br /&gt;
#second footnote&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== use our Link&amp;amp;Categorization Templates===&lt;br /&gt;
To ease editing and to provide a standardized way of linking to a category and categorizing the page at the same time in that category, we introduced the following Templates. So far there are two types of these:&lt;br /&gt;
*Model Templates. Just write the model number surrounded by winged brackets, like i.e. &amp;lt;nowiki&amp;gt;{{T40}}&amp;lt;/nowiki&amp;gt;. This will be equivalent to &amp;lt;nowiki&amp;gt;[[:Category:T40|T40]] [[Category:T40]]&amp;lt;/nowiki&amp;gt;. Hence the result will be a link like this: [[:Category:T40|T40]], but at the same time, the page will be categorized under that category.&lt;br /&gt;
*Distribution Templates. They work the same way as Model Templates, except that for them you need to specify the Distribution name (simplest, shortest variant of it). It will create a link to that distributions category page and also categorize the page you used the template on under that category.&lt;br /&gt;
&lt;br /&gt;
=== use our Editorial Templates===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
! syntax !! resulting output&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{Stub}}&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;(Use only at the beginning of pages!)||{{Stub}} &lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{Todo|needs editing}}&amp;lt;/nowiki&amp;gt;||{{Todo|needs editing}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{Fixme|preliminary information}}&amp;lt;/nowiki&amp;gt;||{{Fixme|preliminary information}}&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{Usage|do this and that}}&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;(Use only at the beginning of pages!)||{{Usage|Do this and that}}&lt;br /&gt;
|}&lt;br /&gt;
'''Have fun editing!'''&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=22677</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=22677"/>
		<updated>2006-06-08T23:10:57Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more)(though these changes were not merged into the official version, as the author added most of the features at the same time).&lt;br /&gt;
&lt;br /&gt;
Previously owned {{600}}, {{600X}} and {{T20}}.&lt;br /&gt;
Also have much experience with {{760EL}} and {{560}}.&lt;br /&gt;
&lt;br /&gt;
My site: http://www.systemparadox.no-ip.org&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=22676</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=22676"/>
		<updated>2006-06-08T23:08:12Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more)(though these changes were not merged into the official version, as the author added most of the features at the same time).&lt;br /&gt;
&lt;br /&gt;
Previously owned {{600}}, {{600X}} and {{T20}}.&lt;br /&gt;
Also have much experience with {{760EL}} and {{560}}.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=22364</id>
		<title>Talk:How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=22364"/>
		<updated>2006-05-18T12:50:29Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* T23 IrDA silent? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;quot;wrong chip version ff&amp;quot; is a real issue, and having it mentioned makes sure that google searches turn it up with a solution.&lt;br /&gt;
[[User:Tonko|Tonko]] 01:41, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
The present text confused me (as you now have noticed). Maybe it should better reflect that the error is incorrect (&amp;quot;wrong chip version ff&amp;quot; instead of &amp;quot;FIR mode not enabled&amp;quot; or whatever). Would that be acceptable? &lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 02:05, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
If you think you can explain it better, go right ahead. The IrDA document could use some major cleaning.&lt;br /&gt;
&lt;br /&gt;
As long as we still point out that the only error in syslog is &amp;quot;Wrong chip version ff&amp;quot; when trying to load the FIR module without first activating the PnP device. It would be nice if the ISA-PNP patch to the nsc-ircc driver got accepted upstream, so we dont have to do these hacks anymore.&lt;br /&gt;
[[User:Tonko|Tonko]] 03:58, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Tonko,&lt;br /&gt;
&lt;br /&gt;
Is there a reason why you deleted the TODO entry for linux 2.6 kernel config for SIR? I would like to readd it, but like to hear your reason to remove it first.&lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 10:23, 14 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T23 debianized kernel with probs ==&lt;br /&gt;
&lt;br /&gt;
Found another crazy thing here. T23 2648-2GG, with 2.6.13 and 2.6.14 (Debianized Source). Clear init of nsc-ircc and dongle, but the dongle stays offline (dark and blind). Booted with Knoppix or Bart-PE Windows give correct function of the whole device, viewed with a digicam shows some blinks at init. But not with plain 2.6.13 an 2.6.14 from Debian.&lt;br /&gt;
Eric&lt;br /&gt;
&lt;br /&gt;
== setpnp ==&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
since the nsc-ircc patch isn't in 2.6.15, I tried to go the setpnp route, but I don't even get to see {{path|/proc/bus/pnp}} even though I enabled the support for it in the kernel config (once I found out that I need to enable ISA support to even get the option). Has anyone successfully used setpnp to enable the IRDA port or is that just some sort of urban legend? ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:12, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Make sure you enable pnp-bios support specifically when compiling the kernel, just enabling pnp support is not enough.&lt;br /&gt;
I must however admit that I have not done this, since my ancient TP 770 running a 2.4 kernel, which was at least 5 years ago.&lt;br /&gt;
&lt;br /&gt;
I just looked at a 2.6 menuconfig myself, and could not find the option, but looking at my .config file I can see the CONFIG_PNPBIOS option, so you might just want to edit the config file directly, enable the PNPBIOS option, and run make oldconfig.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 19:38, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I do have the pnp-bios support enabled (the option is depending on ISA among others, checked the Kconfig file in the source tree to find it), and also the proc-Interface option, but still no go... maybe it's not compatible with CONFIG_PNPACPI? Oh well, nevermind, going back to the patch, that works with less hassles, I just hope it'll end up in the vanilla kernel eventually. Still thanks for the help.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, on further investigation (not giving up that easily ;) it really seems that CONFIG_PNPACPI is disabling PnPBIOS, at least dmesg showed something along the lines of &amp;quot;PnPBIOS: disabled by PnPACPI&amp;quot;. But, after recompiling without PnPACPI, I still can't get it to work. I can use {{cmd|setpnp|}} and {{cmd|lspnp|}} just fine, but the nsc-ircc module won't load:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# lspnp 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
t43p:~# setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
t43p:~# lspnp -v 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
        dma 3&lt;br /&gt;
        io 0x02f8-0x02ff&lt;br /&gt;
        irq 3&lt;br /&gt;
t43p:~# modprobe nsc-ircc io=0x2f8 irq=3 dongle_id=0x09&lt;br /&gt;
FATAL: Error inserting nsc_ircc (/lib/modules/2.6.15/kernel/drivers/net/irda/nsc-ircc.ko): No such device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm, I'm getting somewhat annoyed... any ideas?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:58, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
have you tried just doing {{cmd|setpnp 12 on|}}&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:05, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, that was the first thing I tried, didn't help. BTW, I just fiddled around with lirc a bit (never tried it before), and the lirc_sir module works just fine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
lirc_sir: Installed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and I was able to get it to control xmms.&lt;br /&gt;
&lt;br /&gt;
{{cmd|setserial|}} doesn't claim the device either:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# setserial -ag /dev/ttyS0&lt;br /&gt;
/dev/ttyS0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm really out of ideas.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:20, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hmm, it should not be ttyS0, but ttyS1 which might be stepping on the resources&lt;br /&gt;
ttyS0 is IO 0x3f8 and IRQ 4, while ttyS1 is IO 0x2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
ttyS0 is your integrated serial port, which even ThinkPads without physical serial port have.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:29, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
Sorry, I cut'n'paste the wrong device since I checked them both, the output for ttyS1 is identical (apart from &amp;quot;/dev/ttyS1, Line 1&amp;quot; of course).&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:36, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
No idea what might be wrong, perhaps it does not work on more recent machines, or kernels.&lt;br /&gt;
&lt;br /&gt;
As I said, it worked for me a long time ago on my 770X with ''something'' like this:&lt;br /&gt;
&lt;br /&gt;
 /bin/setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
 setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
 setpnp 12 on&lt;br /&gt;
 modprobe nsc-ircc dongle_id=0x09 io=0x2f8 irq=3&lt;br /&gt;
&lt;br /&gt;
What is the error you get from nsc-ircc in syslog? the &amp;quot;Wrong chip version ff&amp;quot; error?&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 22:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
No errors are recorded at all (dmesg, syslog), just the message above on stderr from {{cmd|modprobe|}}.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 09:27, 5 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
BTW, is it just me or does the nsc-ircc patch only work if CONFIG_PNPACPI is set in the kernel config? Otherwise the module loads fine, (but without stating in the kernel log that it found the dongle) and using IRDA does not work, irattach returns &amp;quot;irattach: ioctl(SIOCGIFFLAGS): No such device&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 14:37, 12 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not even SIR working on R52 ==&lt;br /&gt;
&lt;br /&gt;
I don't want/need FIR right now, so i thought i wouldn't have to mess with it.&lt;br /&gt;
I don't have /proc/bus/pnp, but i'm pretty sure infrared should work without it as well.&lt;br /&gt;
I do not have a kernel patch and am using the current Ubuntu Breezy 2.6.12-10 kernel.&lt;br /&gt;
Problem is, that when starting&lt;br /&gt;
 irattach /dev/ttyS1 -s&lt;br /&gt;
It complains in syslog: no such device&lt;br /&gt;
On ttyS0 it works fine, but well does not find any packets.&lt;br /&gt;
&lt;br /&gt;
 # setserial -ag /dev/ttyS1&lt;br /&gt;
 /dev/ttyS1, Line 1, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
 &lt;br /&gt;
 # cat /dev/ttyS1&lt;br /&gt;
 cat: /dev/ttyS1: input-/outputerror&lt;br /&gt;
&lt;br /&gt;
So i tried:&lt;br /&gt;
 sudo setserial /dev/ttyS1 uart 16550A port 0x02f8 irq 3&lt;br /&gt;
&lt;br /&gt;
Well ''now'' irattach will attach to ttyS1, irdadump will show me the packets '''sent''' by my computer,&lt;br /&gt;
but won't receive my cellphone's packets (Nokia 6210). In Windows, everything works fine.&lt;br /&gt;
&lt;br /&gt;
== T23 IrDA silent? ==&lt;br /&gt;
&lt;br /&gt;
Hi.&lt;br /&gt;
I got SIR working pretty easily on my T20. I cannot get anything to work on my T23. I can get the nsc-ircc module to load, and now irattach works (both with and without nsc-ircc), and I've checked the relevant info in /proc/sys/net/irda, but nothing shows up in /proc/net/irda/discovery, and irdadump gives nothing at all. No errors in dmesg or the log. The red LED never lights. It flashes constantly in Windows.&lt;br /&gt;
&lt;br /&gt;
Any suggestions much appreciated&lt;br /&gt;
--[[User:SystemParadox|SystemParadox]] 16:58, 1 May 2006 (CEST)&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=S3_SuperSavage_IX/C&amp;diff=22363</id>
		<title>S3 SuperSavage IX/C</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=S3_SuperSavage_IX/C&amp;diff=22363"/>
		<updated>2006-05-18T12:46:55Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Linux kernel Framebuffer driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== S3 SuperSavage IX/C ===&lt;br /&gt;
This is a S3 video adapter&amp;lt;br&amp;gt;&lt;br /&gt;
S3 is now owned by Via Technologies&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: S3&lt;br /&gt;
* PCI ID: 5333:8c2e&lt;br /&gt;
* AGP 4X&lt;br /&gt;
* 16MB SDRAM video memory&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Linux X.Org driver ===&lt;br /&gt;
This chip is supported by the '[[savage]]' driver as part of the X.Org distribution&lt;br /&gt;
&lt;br /&gt;
==== ThinkPad LCD ====&lt;br /&gt;
Display on the internal LCD works as long as you set the monitor settings correct.&lt;br /&gt;
&lt;br /&gt;
==== External VGA port ====&lt;br /&gt;
Works without trouble, even as Dualhead with xinerama. For swtching on/off use [[s3switch]] (also works for TVout).&lt;br /&gt;
&lt;br /&gt;
==== SVideo port ====&lt;br /&gt;
works.&lt;br /&gt;
&lt;br /&gt;
=== Linux kernel Framebuffer driver ===&lt;br /&gt;
This chip will work with either the 'vesa' or 'savagefb' driver as part of any recent 2.4 or 2.6 kernel.&lt;br /&gt;
&lt;br /&gt;
Suspend-to-RAM however does not work properly if the framebuffer is enabled. Suspending with X running is fine, so long as the framebuffer is disabled and X is using its own savage driver. With vesafb the screen is frozen on resume (but the system is still running fine behind it). With savagefb it won't even try to wake up.&lt;br /&gt;
[http://dev.gentoo.org/~spock/projects/vesafb-tng/ vesafb-tng] allows the use of a modular framebuffer, which might fix this- if you can find a way of removing the framebuffer module once inserted.&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this chip may be found in ===&lt;br /&gt;
* {{T23}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=22362</id>
		<title>CS4299</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=22362"/>
		<updated>2006-05-18T12:44:52Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Dmixing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== CS4299 ===&lt;br /&gt;
This is a Cirrus Logic AC'97 Audio controller&lt;br /&gt;
&lt;br /&gt;
This chip is sometimes incorrectly called CS4229 in IBM documentation&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: CS4299&lt;br /&gt;
* Interface: AC'97 2.1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Linux OSS driver ===&lt;br /&gt;
This sound chip is supported by the i810_audio kernel module.&lt;br /&gt;
&lt;br /&gt;
=== Linux ALSA driver ===&lt;br /&gt;
This sound chip is supported by the snd-intel8x0 kernel module.&lt;br /&gt;
&lt;br /&gt;
==== Dmixing ====&lt;br /&gt;
The CS4299 is not capable of hardware mixing. This means that only one sound stream can be played at any time. &lt;br /&gt;
You must get the software to do the mixing for it (this will load your CPU).&lt;br /&gt;
The ALSA implementation of this is called DMIX. You can also run sound servers like ESD or ArtsD, but not all applications will use them.&lt;br /&gt;
Recent ALSA distributions have dmixing setup and enabled by default. &lt;br /&gt;
&lt;br /&gt;
Otherwise just add the following to {{path|/etc/asound.conf}} :&lt;br /&gt;
   pcm.dsp0 {&lt;br /&gt;
       type plug&lt;br /&gt;
       slave.pcm dmix&lt;br /&gt;
   }&lt;br /&gt;
   # mixer0 can stay unchanged, because&lt;br /&gt;
   # it isn't used anyway, I guess ;)&lt;br /&gt;
   ctl.mixer0 {&lt;br /&gt;
       type hw&lt;br /&gt;
       card 0&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
Now the only problem is how to tell applications to use the DMIX channel instead of dsp0. Most applications work by specifying &amp;quot;dmix&amp;quot; as the device. For command line apps use &amp;quot;aoss&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Hint: XMMS does not work well with dmix and the intel8x0. You will probably need to patch and recompile. &lt;br /&gt;
&lt;br /&gt;
See: [http://bugs.xmms.org/show_bug.cgi?id=1716 XMMS bug 1716], [http://bugs.xmms.org/show_bug.cgi?id=2009 XMMS bug 2009] and [http://bugs.xmms.org/show_bug.cgi?id=1991 XMMS bug 1991]&lt;br /&gt;
&lt;br /&gt;
You also need to disable mmap and increase the buffer and period time in the advanced options.&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this chip may be found in ===&lt;br /&gt;
* {{A21e}}, {{A22e}}&lt;br /&gt;
* {{A30}}, {{A30p}}&lt;br /&gt;
* {{T23}}&lt;br /&gt;
* {{X22}}, {{X23}}, {{X24}}&lt;br /&gt;
* {{i1200}}, {{i1210}}, {{i1230}}, {{i1250}}, {{i1260}}&lt;br /&gt;
* {{i1300}}, {{i1330}}, {{i1370}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=22361</id>
		<title>CS4299</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=22361"/>
		<updated>2006-05-18T12:43:52Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Dmixing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== CS4299 ===&lt;br /&gt;
This is a Cirrus Logic AC'97 Audio controller&lt;br /&gt;
&lt;br /&gt;
This chip is sometimes incorrectly called CS4229 in IBM documentation&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: CS4299&lt;br /&gt;
* Interface: AC'97 2.1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Linux OSS driver ===&lt;br /&gt;
This sound chip is supported by the i810_audio kernel module.&lt;br /&gt;
&lt;br /&gt;
=== Linux ALSA driver ===&lt;br /&gt;
This sound chip is supported by the snd-intel8x0 kernel module.&lt;br /&gt;
&lt;br /&gt;
==== Dmixing ====&lt;br /&gt;
The CS4299 is not capable of hardware mixing. This means that only one sound stream can be played at any time. &lt;br /&gt;
You must get the software to do the mixing for it (this will load your CPU).&lt;br /&gt;
The ALSA implementation of this is called DMIX. You can also run sound servers like ESD or ArtsD, but not all applications will use them.&lt;br /&gt;
Recent ALSA distributions have dmixing setup and enabled by default. &lt;br /&gt;
&lt;br /&gt;
Otherwise just add the following to {{path|/etc/asound.conf}} :&lt;br /&gt;
   pcm.dsp0 {&lt;br /&gt;
       type plug&lt;br /&gt;
       slave.pcm dmix&lt;br /&gt;
   }&lt;br /&gt;
   # mixer0 can stay unchanged, because&lt;br /&gt;
   # it isn't used anyway, I guess ;)&lt;br /&gt;
   ctl.mixer0 {&lt;br /&gt;
       type hw&lt;br /&gt;
       card 0&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
Now the only problem is how to tell applications to use the DMIX channel instead of dsp0. Most applications work by specifying &amp;quot;dmix&amp;quot; as the device. For command line apps use &amp;quot;aoss&amp;quot;. Hint: XMMS does not work well with dmix and the intel8x0. You will probably need to patch and recompile. See:&lt;br /&gt;
&lt;br /&gt;
[http://bugs.xmms.org/show_bug.cgi?id=1716 XMMS bug 1716]&lt;br /&gt;
&lt;br /&gt;
[http://bugs.xmms.org/show_bug.cgi?id=2009 XMMS bug 2009]&lt;br /&gt;
&lt;br /&gt;
[http://bugs.xmms.org/show_bug.cgi?id=1991 XMMS bug 1991]&lt;br /&gt;
You also need to disable mmap and increase the buffer and period time in the advanced options.&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this chip may be found in ===&lt;br /&gt;
* {{A21e}}, {{A22e}}&lt;br /&gt;
* {{A30}}, {{A30p}}&lt;br /&gt;
* {{T23}}&lt;br /&gt;
* {{X22}}, {{X23}}, {{X24}}&lt;br /&gt;
* {{i1200}}, {{i1210}}, {{i1230}}, {{i1250}}, {{i1260}}&lt;br /&gt;
* {{i1300}}, {{i1330}}, {{i1370}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=22022</id>
		<title>Talk:How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=22022"/>
		<updated>2006-05-01T14:58:34Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* T23 IrDA silent? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;quot;wrong chip version ff&amp;quot; is a real issue, and having it mentioned makes sure that google searches turn it up with a solution.&lt;br /&gt;
[[User:Tonko|Tonko]] 01:41, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
The present text confused me (as you now have noticed). Maybe it should better reflect that the error is incorrect (&amp;quot;wrong chip version ff&amp;quot; instead of &amp;quot;FIR mode not enabled&amp;quot; or whatever). Would that be acceptable? &lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 02:05, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
If you think you can explain it better, go right ahead. The IrDA document could use some major cleaning.&lt;br /&gt;
&lt;br /&gt;
As long as we still point out that the only error in syslog is &amp;quot;Wrong chip version ff&amp;quot; when trying to load the FIR module without first activating the PnP device. It would be nice if the ISA-PNP patch to the nsc-ircc driver got accepted upstream, so we dont have to do these hacks anymore.&lt;br /&gt;
[[User:Tonko|Tonko]] 03:58, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Tonko,&lt;br /&gt;
&lt;br /&gt;
Is there a reason why you deleted the TODO entry for linux 2.6 kernel config for SIR? I would like to readd it, but like to hear your reason to remove it first.&lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 10:23, 14 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T23 debianized kernel with probs ==&lt;br /&gt;
&lt;br /&gt;
Found another crazy thing here. T23 2648-2GG, with 2.6.13 and 2.6.14 (Debianized Source). Clear init of nsc-ircc and dongle, but the dongle stays offline (dark and blind). Booted with Knoppix or Bart-PE Windows give correct function of the whole device, viewed with a digicam shows some blinks at init. But not with plain 2.6.13 an 2.6.14 from Debian.&lt;br /&gt;
Eric&lt;br /&gt;
&lt;br /&gt;
== setpnp ==&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
since the nsc-ircc patch isn't in 2.6.15, I tried to go the setpnp route, but I don't even get to see {{path|/proc/bus/pnp}} even though I enabled the support for it in the kernel config (once I found out that I need to enable ISA support to even get the option). Has anyone successfully used setpnp to enable the IRDA port or is that just some sort of urban legend? ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:12, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Make sure you enable pnp-bios support specifically when compiling the kernel, just enabling pnp support is not enough.&lt;br /&gt;
I must however admit that I have not done this, since my ancient TP 770 running a 2.4 kernel, which was at least 5 years ago.&lt;br /&gt;
&lt;br /&gt;
I just looked at a 2.6 menuconfig myself, and could not find the option, but looking at my .config file I can see the CONFIG_PNPBIOS option, so you might just want to edit the config file directly, enable the PNPBIOS option, and run make oldconfig.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 19:38, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I do have the pnp-bios support enabled (the option is depending on ISA among others, checked the Kconfig file in the source tree to find it), and also the proc-Interface option, but still no go... maybe it's not compatible with CONFIG_PNPACPI? Oh well, nevermind, going back to the patch, that works with less hassles, I just hope it'll end up in the vanilla kernel eventually. Still thanks for the help.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, on further investigation (not giving up that easily ;) it really seems that CONFIG_PNPACPI is disabling PnPBIOS, at least dmesg showed something along the lines of &amp;quot;PnPBIOS: disabled by PnPACPI&amp;quot;. But, after recompiling without PnPACPI, I still can't get it to work. I can use {{cmd|setpnp|}} and {{cmd|lspnp|}} just fine, but the nsc-ircc module won't load:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# lspnp 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
t43p:~# setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
t43p:~# lspnp -v 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
        dma 3&lt;br /&gt;
        io 0x02f8-0x02ff&lt;br /&gt;
        irq 3&lt;br /&gt;
t43p:~# modprobe nsc-ircc io=0x2f8 irq=3 dongle_id=0x09&lt;br /&gt;
FATAL: Error inserting nsc_ircc (/lib/modules/2.6.15/kernel/drivers/net/irda/nsc-ircc.ko): No such device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm, I'm getting somewhat annoyed... any ideas?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:58, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
have you tried just doing {{cmd|setpnp 12 on|}}&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:05, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, that was the first thing I tried, didn't help. BTW, I just fiddled around with lirc a bit (never tried it before), and the lirc_sir module works just fine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
lirc_sir: Installed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and I was able to get it to control xmms.&lt;br /&gt;
&lt;br /&gt;
{{cmd|setserial|}} doesn't claim the device either:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# setserial -ag /dev/ttyS0&lt;br /&gt;
/dev/ttyS0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm really out of ideas.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:20, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hmm, it should not be ttyS0, but ttyS1 which might be stepping on the resources&lt;br /&gt;
ttyS0 is IO 0x3f8 and IRQ 4, while ttyS1 is IO 0x2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
ttyS0 is your integrated serial port, which even ThinkPads without physical serial port have.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:29, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
Sorry, I cut'n'paste the wrong device since I checked them both, the output for ttyS1 is identical (apart from &amp;quot;/dev/ttyS1, Line 1&amp;quot; of course).&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:36, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
No idea what might be wrong, perhaps it does not work on more recent machines, or kernels.&lt;br /&gt;
&lt;br /&gt;
As I said, it worked for me a long time ago on my 770X with ''something'' like this:&lt;br /&gt;
&lt;br /&gt;
 /bin/setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
 setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
 setpnp 12 on&lt;br /&gt;
 modprobe nsc-ircc dongle_id=0x09 io=0x2f8 irq=3&lt;br /&gt;
&lt;br /&gt;
What is the error you get from nsc-ircc in syslog? the &amp;quot;Wrong chip version ff&amp;quot; error?&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 22:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
No errors are recorded at all (dmesg, syslog), just the message above on stderr from {{cmd|modprobe|}}.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 09:27, 5 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
BTW, is it just me or does the nsc-ircc patch only work if CONFIG_PNPACPI is set in the kernel config? Otherwise the module loads fine, (but without stating in the kernel log that it found the dongle) and using IRDA does not work, irattach returns &amp;quot;irattach: ioctl(SIOCGIFFLAGS): No such device&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 14:37, 12 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not even SIR working on R52 ==&lt;br /&gt;
&lt;br /&gt;
I don't want/need FIR right now, so i thought i wouldn't have to mess with it.&lt;br /&gt;
I don't have /proc/bus/pnp, but i'm pretty sure infrared should work without it as well.&lt;br /&gt;
I do not have a kernel patch and am using the current Ubuntu Breezy 2.6.12-10 kernel.&lt;br /&gt;
Problem is, that when starting&lt;br /&gt;
 irattach /dev/ttyS1 -s&lt;br /&gt;
It complains in syslog: no such device&lt;br /&gt;
On ttyS0 it works fine, but well does not find any packets.&lt;br /&gt;
&lt;br /&gt;
 # setserial -ag /dev/ttyS1&lt;br /&gt;
 /dev/ttyS1, Line 1, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
 &lt;br /&gt;
 # cat /dev/ttyS1&lt;br /&gt;
 cat: /dev/ttyS1: input-/outputerror&lt;br /&gt;
&lt;br /&gt;
So i tried:&lt;br /&gt;
 sudo setserial /dev/ttyS1 uart 16550A port 0x02f8 irq 3&lt;br /&gt;
&lt;br /&gt;
Well ''now'' irattach will attach to ttyS1, irdadump will show me the packets '''sent''' by my computer,&lt;br /&gt;
but won't receive my cellphone's packets (Nokia 6210). In Windows, everything works fine.&lt;br /&gt;
&lt;br /&gt;
== T23 IrDA silent? ==&lt;br /&gt;
&lt;br /&gt;
Hi.&lt;br /&gt;
I got SIR working pretty easily on my T20. I cannot get anything to work on my T23. I can get the nsc-ircc module to load, and now irattach works (both with and without nsc-ircc), and I've checked the relevant info in /proc/sys/net/irda, but nothing shows up in /proc/net/irda/discovery, and irdadump gives nothing at all. No errors in dmesg or the log. Works fine in Windoze.&lt;br /&gt;
&lt;br /&gt;
Any suggestions much appreciated&lt;br /&gt;
--[[User:SystemParadox|SystemParadox]] 16:58, 1 May 2006 (CEST)&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=22021</id>
		<title>Talk:How to make use of IrDA</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:How_to_make_use_of_IrDA&amp;diff=22021"/>
		<updated>2006-05-01T14:57:33Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: T23 IrDA silent?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &amp;quot;wrong chip version ff&amp;quot; is a real issue, and having it mentioned makes sure that google searches turn it up with a solution.&lt;br /&gt;
[[User:Tonko|Tonko]] 01:41, 8 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
The present text confused me (as you now have noticed). Maybe it should better reflect that the error is incorrect (&amp;quot;wrong chip version ff&amp;quot; instead of &amp;quot;FIR mode not enabled&amp;quot; or whatever). Would that be acceptable? &lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 02:05, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
If you think you can explain it better, go right ahead. The IrDA document could use some major cleaning.&lt;br /&gt;
&lt;br /&gt;
As long as we still point out that the only error in syslog is &amp;quot;Wrong chip version ff&amp;quot; when trying to load the FIR module without first activating the PnP device. It would be nice if the ISA-PNP patch to the nsc-ircc driver got accepted upstream, so we dont have to do these hacks anymore.&lt;br /&gt;
[[User:Tonko|Tonko]] 03:58, 8 Oct 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Tonko,&lt;br /&gt;
&lt;br /&gt;
Is there a reason why you deleted the TODO entry for linux 2.6 kernel config for SIR? I would like to readd it, but like to hear your reason to remove it first.&lt;br /&gt;
&lt;br /&gt;
[[User:Pebolle|Paul Bolle]] 10:23, 14 Oct 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== T23 debianized kernel with probs ==&lt;br /&gt;
&lt;br /&gt;
Found another crazy thing here. T23 2648-2GG, with 2.6.13 and 2.6.14 (Debianized Source). Clear init of nsc-ircc and dongle, but the dongle stays offline (dark and blind). Booted with Knoppix or Bart-PE Windows give correct function of the whole device, viewed with a digicam shows some blinks at init. But not with plain 2.6.13 an 2.6.14 from Debian.&lt;br /&gt;
Eric&lt;br /&gt;
&lt;br /&gt;
== setpnp ==&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
since the nsc-ircc patch isn't in 2.6.15, I tried to go the setpnp route, but I don't even get to see {{path|/proc/bus/pnp}} even though I enabled the support for it in the kernel config (once I found out that I need to enable ISA support to even get the option). Has anyone successfully used setpnp to enable the IRDA port or is that just some sort of urban legend? ;)&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 19:12, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Make sure you enable pnp-bios support specifically when compiling the kernel, just enabling pnp support is not enough.&lt;br /&gt;
I must however admit that I have not done this, since my ancient TP 770 running a 2.4 kernel, which was at least 5 years ago.&lt;br /&gt;
&lt;br /&gt;
I just looked at a 2.6 menuconfig myself, and could not find the option, but looking at my .config file I can see the CONFIG_PNPBIOS option, so you might just want to edit the config file directly, enable the PNPBIOS option, and run make oldconfig.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 19:38, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I do have the pnp-bios support enabled (the option is depending on ISA among others, checked the Kconfig file in the source tree to find it), and also the proc-Interface option, but still no go... maybe it's not compatible with CONFIG_PNPACPI? Oh well, nevermind, going back to the patch, that works with less hassles, I just hope it'll end up in the vanilla kernel eventually. Still thanks for the help.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Ok, on further investigation (not giving up that easily ;) it really seems that CONFIG_PNPACPI is disabling PnPBIOS, at least dmesg showed something along the lines of &amp;quot;PnPBIOS: disabled by PnPACPI&amp;quot;. But, after recompiling without PnPACPI, I still can't get it to work. I can use {{cmd|setpnp|}} and {{cmd|lspnp|}} just fine, but the nsc-ircc module won't load:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# lspnp 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
t43p:~# setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
t43p:~# lspnp -v 12&lt;br /&gt;
12 IBM0071 IBM Thinkpad infrared port&lt;br /&gt;
        dma 3&lt;br /&gt;
        io 0x02f8-0x02ff&lt;br /&gt;
        irq 3&lt;br /&gt;
t43p:~# modprobe nsc-ircc io=0x2f8 irq=3 dongle_id=0x09&lt;br /&gt;
FATAL: Error inserting nsc_ircc (/lib/modules/2.6.15/kernel/drivers/net/irda/nsc-ircc.ko): No such device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hmm, I'm getting somewhat annoyed... any ideas?&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 20:58, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
have you tried just doing {{cmd|setpnp 12 on|}}&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:05, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Yes, that was the first thing I tried, didn't help. BTW, I just fiddled around with lirc a bit (never tried it before), and the lirc_sir module works just fine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
lirc_sir: I/O port 0x02f8, IRQ 3.&lt;br /&gt;
lirc_sir: Installed.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and I was able to get it to control xmms.&lt;br /&gt;
&lt;br /&gt;
{{cmd|setserial|}} doesn't claim the device either:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t43p:~# setserial -ag /dev/ttyS0&lt;br /&gt;
/dev/ttyS0, Line 0, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm really out of ideas.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:20, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Hmm, it should not be ttyS0, but ttyS1 which might be stepping on the resources&lt;br /&gt;
ttyS0 is IO 0x3f8 and IRQ 4, while ttyS1 is IO 0x2f8 and IRQ 3.&lt;br /&gt;
&lt;br /&gt;
ttyS0 is your integrated serial port, which even ThinkPads without physical serial port have.&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 21:29, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
Sorry, I cut'n'paste the wrong device since I checked them both, the output for ttyS1 is identical (apart from &amp;quot;/dev/ttyS1, Line 1&amp;quot; of course).&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 21:36, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
No idea what might be wrong, perhaps it does not work on more recent machines, or kernels.&lt;br /&gt;
&lt;br /&gt;
As I said, it worked for me a long time ago on my 770X with ''something'' like this:&lt;br /&gt;
&lt;br /&gt;
 /bin/setserial /dev/ttyS1 uart none port 0 irq 0&lt;br /&gt;
 setpnp 12 io 0x2f8 irq 3&lt;br /&gt;
 setpnp 12 on&lt;br /&gt;
 modprobe nsc-ircc dongle_id=0x09 io=0x2f8 irq=3&lt;br /&gt;
&lt;br /&gt;
What is the error you get from nsc-ircc in syslog? the &amp;quot;Wrong chip version ff&amp;quot; error?&lt;br /&gt;
&lt;br /&gt;
--[[User:Tonko|Tonko]] 22:22, 4 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
No errors are recorded at all (dmesg, syslog), just the message above on stderr from {{cmd|modprobe|}}.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 09:27, 5 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
BTW, is it just me or does the nsc-ircc patch only work if CONFIG_PNPACPI is set in the kernel config? Otherwise the module loads fine, (but without stating in the kernel log that it found the dongle) and using IRDA does not work, irattach returns &amp;quot;irattach: ioctl(SIOCGIFFLAGS): No such device&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
--[[User:Spiney|spiney]] 14:37, 12 Jan 2006 (CET)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not even SIR working on R52 ==&lt;br /&gt;
&lt;br /&gt;
I don't want/need FIR right now, so i thought i wouldn't have to mess with it.&lt;br /&gt;
I don't have /proc/bus/pnp, but i'm pretty sure infrared should work without it as well.&lt;br /&gt;
I do not have a kernel patch and am using the current Ubuntu Breezy 2.6.12-10 kernel.&lt;br /&gt;
Problem is, that when starting&lt;br /&gt;
 irattach /dev/ttyS1 -s&lt;br /&gt;
It complains in syslog: no such device&lt;br /&gt;
On ttyS0 it works fine, but well does not find any packets.&lt;br /&gt;
&lt;br /&gt;
 # setserial -ag /dev/ttyS1&lt;br /&gt;
 /dev/ttyS1, Line 1, UART: unknown, Port: 0x0000, IRQ: 0&lt;br /&gt;
        Baud_base: 921600, close_delay: 50, divisor: 0&lt;br /&gt;
        closing_wait: 3000&lt;br /&gt;
        Flags: spd_normal skip_test&lt;br /&gt;
 &lt;br /&gt;
 # cat /dev/ttyS1&lt;br /&gt;
 cat: /dev/ttyS1: input-/outputerror&lt;br /&gt;
&lt;br /&gt;
So i tried:&lt;br /&gt;
 sudo setserial /dev/ttyS1 uart 16550A port 0x02f8 irq 3&lt;br /&gt;
&lt;br /&gt;
Well ''now'' irattach will attach to ttyS1, irdadump will show me the packets '''sent''' by my computer,&lt;br /&gt;
but won't receive my cellphone's packets (Nokia 6210). In Windows, everything works fine.&lt;br /&gt;
&lt;br /&gt;
== T23 IrDA silent? ==&lt;br /&gt;
&lt;br /&gt;
Hi.&lt;br /&gt;
I got SIR working pretty easily on my T20. I cannot get anything to work on my T23. I can get the nsc-ircc module to load, and now irattach works (both with and without nsc-ircc), and I've checked the relevant info in /proc/sys/net/irda, but nothing shows up in /proc/net/irda/discovery, and irdadump gives nothing at all. No errors in dmesg or the log. Works fine in Windoze.&lt;br /&gt;
&lt;br /&gt;
Any suggestions much appreciated&lt;br /&gt;
Thanks&lt;br /&gt;
Simon&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Ultrabay&amp;diff=20256</id>
		<title>Talk:Ultrabay</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Ultrabay&amp;diff=20256"/>
		<updated>2006-02-20T21:16:50Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am reasonably sure a Floppy drive does not exist for the UltraBay Slim.&lt;br /&gt;
People are told to use a USB FDD instead.&lt;br /&gt;
&lt;br /&gt;
Also the UltraBay 2000 battery is not supported in UltraBay Plus.&lt;br /&gt;
UltraBay Plus has its own battery that should be used&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Anyone know if it's possible to bodge together a 770X Ultrabay II CD-RW from a Ultrabay II DVD and, say, a 600E UltraSlimBay CD-RW?  Just something I've been wondering for a while.&lt;br /&gt;
&lt;br /&gt;
lentinj&lt;br /&gt;
&lt;br /&gt;
== UltraBay II? ==&lt;br /&gt;
&lt;br /&gt;
Does it seem odd that the UltraBay II was the ''first'' bay? Was there no UltraBay, or some other type of bay? -- [[User:Whizkid|Whizkid]] 00:51, 16 Apr 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
True. ;-) It seems, that actually the drive bay in the 380 models was called UltraBay, but i don't know for sure. So i didn't add it.&lt;br /&gt;
&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 00:36, 17 Apr 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not just IDE ==&lt;br /&gt;
&lt;br /&gt;
Obviously UltraBay is not just an IDE interface.&lt;br /&gt;
&lt;br /&gt;
Most also have a floppy interface (apart from the latest 'slim' and 'enhanced' versions), and can take a battery.&lt;br /&gt;
&lt;br /&gt;
If I remember correctly you could get the floppy drive activated by hibernating the thinkpad and installing the floppy drive, so that on power up the BIOS would enable the floppy disk drive and it would work. This was in the old APM days, so it might work differently with ACPI.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
You're right. I remember reading some IBM text about the UltraBay yesterday, which said that the controller is capable of dynamically changing the pin layout to support the different kind of devices (initiated by the BIOS). I'll try finding it again and correcting the information on the page.&lt;br /&gt;
&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 23:16, 17 Apr 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On my 770x under ACPI, if you force the floppy driver to use 2 3.5&amp;quot; drives (in modprobe.conf options floppy floppy=1,4,cmos), then you get to use either external floppy / ultrabay floppy / both if you plug them in after boot time.  Otherwise the autodetect only finds one. I still haven't got hotplug fully working (mostly as it depends on Linux being able to hotplug IDE devices, not just IDE controllers).&lt;br /&gt;
&lt;br /&gt;
[[User:lentinj|lentinj]]&lt;br /&gt;
----&lt;br /&gt;
I added a page for the drive ([[UltraBay II Floppy Drive]]) containing your info. [[User:Wyrfel|Wyrfel]] 21:24, 9 Aug 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== First UltraBay ==&lt;br /&gt;
The oldest references I can find to the name 'UltraBay' are the ThinkPad 755 series (755CSE, 755CE, etc).&lt;br /&gt;
&lt;br /&gt;
But the older 750 models already had the hot-swappable drive bay, and support some of the same options, so it looks like the 'UltraBay' started with the 750 series.&lt;br /&gt;
&lt;br /&gt;
But then again, later models support CD-ROM drives (755CD, 760CD, etc), which certainly are not supported in these older models, but they are all called 'UltraBay'.&lt;br /&gt;
&lt;br /&gt;
Tonko&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My understanding of the original Ultrabays is as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===UltraBay===&lt;br /&gt;
* ThinkPads:&lt;br /&gt;
** 355, 355C, 355Cs&lt;br /&gt;
** 360, 360C, 360Cs, 360P, 360CE, 360CSE, 360PE&lt;br /&gt;
** 370C&lt;br /&gt;
** 750, 750C, 750Cs, 750P&lt;br /&gt;
** 755C, 755Cs, 755CE, 755CSE, 755CX&lt;br /&gt;
** 760C, 760L, 760E (thin model)&lt;br /&gt;
* Devices (probably not all devices are supported in every ThinkPad):&lt;br /&gt;
** 1.44MB FDD&lt;br /&gt;
** 2.88MB FDD&lt;br /&gt;
** Cellular Digital Packet Data (CDPD) - not compatible with 360P, 360PE, 750P&lt;br /&gt;
** IBM Wireless Modem for ARDIS&lt;br /&gt;
** TV Tuner (NTSC)&lt;br /&gt;
** 2nd HDD&lt;br /&gt;
** 2nd Battery&lt;br /&gt;
** PCMCIA Cartridge&lt;br /&gt;
&lt;br /&gt;
===UltraBay - Thick ===&lt;br /&gt;
* ThinkPads:&lt;br /&gt;
** 755CD, 755CDV&lt;br /&gt;
** 760CD, 760LD, 760EL, 760ELD, 760E (thick model), 760XL, 760XD&lt;br /&gt;
** 765D, 765L&lt;br /&gt;
* Supports UltraBay devices, in addition to:&lt;br /&gt;
** CD-ROM drive&lt;br /&gt;
&lt;br /&gt;
Tonko&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Optical drive adapters ==&lt;br /&gt;
I canÂ´t include this information easily in ThinkWiki. Please, help me!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I think adapters P/N (or FRU P/N) should also be mentioned: above webpages can disappear in a future, and the P/N is an unequivocal reference!. Adapters may work only in selected models!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Ultrabay Enhanced optical drive Adapter''' (P/N 73P3268 Â¿or 73P3269?): it allows to use an Ultrabay Enhanced optical-drive inside of an Ultrabay 2000/Ultrabay Plus bay. Only supported in a limited list of models?.&lt;br /&gt;
&lt;br /&gt;
*ftp://ftp.software.ibm.com/pc/pccbbs/options/73p3269.pdf&lt;br /&gt;
*[http://www-1.ibm.com/support/docview.wss?uid=psg1MIGR-53014]&lt;br /&gt;
*[http://www-131.ibm.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=-840&amp;amp;partNumber=73P3268]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Ultrabay Slim optical drive Adapter''' (62P4557): it allows to use an Ultrabay Slim optical-drive inside of an Ultrabay 2000/Ultrabay Plus bay.&lt;br /&gt;
&lt;br /&gt;
*[http://www-131.ibm.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=-840&amp;amp;langId=-1&amp;amp;partNumber=62P4557&amp;amp;storeId=10000001]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Device Carrier option for Ultrabay Plus in: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-39501], and [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-39634]&lt;br /&gt;
&lt;br /&gt;
--[[User:AlBundy|AlBundy]] 19:08, 9 Aug 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I created some pages for this. Go to [[UltraBay Devices]] and edit the pages linked from there. [[User:Wyrfel|Wyrfel]] 20:03, 9 Aug 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
The pages have been created and are linkted from the [[UltraBay Devices]] page. [[User:Wyrfel|Wyrfel]] 01:25, 16 Aug 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Thank you. [[User:AlBundy|AlBundy]] 19:50, 25 Aug 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Hate to be picky, but the text on [http://www.answers.com/topic/thinkpad] is surprisingly similar to that on the wiki page ... copyright, anyone? -- [mailto:liekweg@gmx.de]&lt;br /&gt;
----&lt;br /&gt;
Yepp, me, copyright! ;-) I'm the actual originator of this text and the table. Then Wikipedia migrated it from here. The article at answers.com is nothing but a quote of the Wikipedia article, as stated below it: &amp;quot;This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)&amp;quot;. Hate to be picky, too, but please read carefully. ;-) [[User:Wyrfel|Wyrfel]] 12:04, 28 Sep 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Danggit.  What got me to think that they invent the stuff on that site themselves&lt;br /&gt;
I don't know, but I'll increase my browser's default font size. [mailto:liekweg@gmx.de]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
--[[User:SystemParadox|SystemParadox]] 22:16, 20 February 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
Anyone know how to identify the type of device in the bay (e.g. battery, floppy, hdd, cd, etc) in Linux?&lt;br /&gt;
&lt;br /&gt;
The ibm_acpi readme says that the eject lever being released or inserted should generate an ACPI event. On my T23 it doesn't. It's really annoying. Ideas anyone?&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Ultrabay&amp;diff=20255</id>
		<title>Talk:Ultrabay</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Ultrabay&amp;diff=20255"/>
		<updated>2006-02-20T21:15:40Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am reasonably sure a Floppy drive does not exist for the UltraBay Slim.&lt;br /&gt;
People are told to use a USB FDD instead.&lt;br /&gt;
&lt;br /&gt;
Also the UltraBay 2000 battery is not supported in UltraBay Plus.&lt;br /&gt;
UltraBay Plus has its own battery that should be used&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Anyone know if it's possible to bodge together a 770X Ultrabay II CD-RW from a Ultrabay II DVD and, say, a 600E UltraSlimBay CD-RW?  Just something I've been wondering for a while.&lt;br /&gt;
&lt;br /&gt;
lentinj&lt;br /&gt;
&lt;br /&gt;
== UltraBay II? ==&lt;br /&gt;
&lt;br /&gt;
Does it seem odd that the UltraBay II was the ''first'' bay? Was there no UltraBay, or some other type of bay? -- [[User:Whizkid|Whizkid]] 00:51, 16 Apr 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
True. ;-) It seems, that actually the drive bay in the 380 models was called UltraBay, but i don't know for sure. So i didn't add it.&lt;br /&gt;
&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 00:36, 17 Apr 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Not just IDE ==&lt;br /&gt;
&lt;br /&gt;
Obviously UltraBay is not just an IDE interface.&lt;br /&gt;
&lt;br /&gt;
Most also have a floppy interface (apart from the latest 'slim' and 'enhanced' versions), and can take a battery.&lt;br /&gt;
&lt;br /&gt;
If I remember correctly you could get the floppy drive activated by hibernating the thinkpad and installing the floppy drive, so that on power up the BIOS would enable the floppy disk drive and it would work. This was in the old APM days, so it might work differently with ACPI.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
You're right. I remember reading some IBM text about the UltraBay yesterday, which said that the controller is capable of dynamically changing the pin layout to support the different kind of devices (initiated by the BIOS). I'll try finding it again and correcting the information on the page.&lt;br /&gt;
&lt;br /&gt;
[[User:Wyrfel|Wyrfel]] 23:16, 17 Apr 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On my 770x under ACPI, if you force the floppy driver to use 2 3.5&amp;quot; drives (in modprobe.conf options floppy floppy=1,4,cmos), then you get to use either external floppy / ultrabay floppy / both if you plug them in after boot time.  Otherwise the autodetect only finds one. I still haven't got hotplug fully working (mostly as it depends on Linux being able to hotplug IDE devices, not just IDE controllers).&lt;br /&gt;
&lt;br /&gt;
[[User:lentinj|lentinj]]&lt;br /&gt;
----&lt;br /&gt;
I added a page for the drive ([[UltraBay II Floppy Drive]]) containing your info. [[User:Wyrfel|Wyrfel]] 21:24, 9 Aug 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
== First UltraBay ==&lt;br /&gt;
The oldest references I can find to the name 'UltraBay' are the ThinkPad 755 series (755CSE, 755CE, etc).&lt;br /&gt;
&lt;br /&gt;
But the older 750 models already had the hot-swappable drive bay, and support some of the same options, so it looks like the 'UltraBay' started with the 750 series.&lt;br /&gt;
&lt;br /&gt;
But then again, later models support CD-ROM drives (755CD, 760CD, etc), which certainly are not supported in these older models, but they are all called 'UltraBay'.&lt;br /&gt;
&lt;br /&gt;
Tonko&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
My understanding of the original Ultrabays is as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===UltraBay===&lt;br /&gt;
* ThinkPads:&lt;br /&gt;
** 355, 355C, 355Cs&lt;br /&gt;
** 360, 360C, 360Cs, 360P, 360CE, 360CSE, 360PE&lt;br /&gt;
** 370C&lt;br /&gt;
** 750, 750C, 750Cs, 750P&lt;br /&gt;
** 755C, 755Cs, 755CE, 755CSE, 755CX&lt;br /&gt;
** 760C, 760L, 760E (thin model)&lt;br /&gt;
* Devices (probably not all devices are supported in every ThinkPad):&lt;br /&gt;
** 1.44MB FDD&lt;br /&gt;
** 2.88MB FDD&lt;br /&gt;
** Cellular Digital Packet Data (CDPD) - not compatible with 360P, 360PE, 750P&lt;br /&gt;
** IBM Wireless Modem for ARDIS&lt;br /&gt;
** TV Tuner (NTSC)&lt;br /&gt;
** 2nd HDD&lt;br /&gt;
** 2nd Battery&lt;br /&gt;
** PCMCIA Cartridge&lt;br /&gt;
&lt;br /&gt;
===UltraBay - Thick ===&lt;br /&gt;
* ThinkPads:&lt;br /&gt;
** 755CD, 755CDV&lt;br /&gt;
** 760CD, 760LD, 760EL, 760ELD, 760E (thick model), 760XL, 760XD&lt;br /&gt;
** 765D, 765L&lt;br /&gt;
* Supports UltraBay devices, in addition to:&lt;br /&gt;
** CD-ROM drive&lt;br /&gt;
&lt;br /&gt;
Tonko&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Optical drive adapters ==&lt;br /&gt;
I canÂ´t include this information easily in ThinkWiki. Please, help me!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I think adapters P/N (or FRU P/N) should also be mentioned: above webpages can disappear in a future, and the P/N is an unequivocal reference!. Adapters may work only in selected models!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Ultrabay Enhanced optical drive Adapter''' (P/N 73P3268 Â¿or 73P3269?): it allows to use an Ultrabay Enhanced optical-drive inside of an Ultrabay 2000/Ultrabay Plus bay. Only supported in a limited list of models?.&lt;br /&gt;
&lt;br /&gt;
*ftp://ftp.software.ibm.com/pc/pccbbs/options/73p3269.pdf&lt;br /&gt;
*[http://www-1.ibm.com/support/docview.wss?uid=psg1MIGR-53014]&lt;br /&gt;
*[http://www-131.ibm.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=-840&amp;amp;partNumber=73P3268]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Ultrabay Slim optical drive Adapter''' (62P4557): it allows to use an Ultrabay Slim optical-drive inside of an Ultrabay 2000/Ultrabay Plus bay.&lt;br /&gt;
&lt;br /&gt;
*[http://www-131.ibm.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=-840&amp;amp;langId=-1&amp;amp;partNumber=62P4557&amp;amp;storeId=10000001]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Device Carrier option for Ultrabay Plus in: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-39501], and [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-39634]&lt;br /&gt;
&lt;br /&gt;
--[[User:AlBundy|AlBundy]] 19:08, 9 Aug 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
I created some pages for this. Go to [[UltraBay Devices]] and edit the pages linked from there. [[User:Wyrfel|Wyrfel]] 20:03, 9 Aug 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
The pages have been created and are linkted from the [[UltraBay Devices]] page. [[User:Wyrfel|Wyrfel]] 01:25, 16 Aug 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Thank you. [[User:AlBundy|AlBundy]] 19:50, 25 Aug 2005 (CEST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Hate to be picky, but the text on [http://www.answers.com/topic/thinkpad] is surprisingly similar to that on the wiki page ... copyright, anyone? -- [mailto:liekweg@gmx.de]&lt;br /&gt;
----&lt;br /&gt;
Yepp, me, copyright! ;-) I'm the actual originator of this text and the table. Then Wikipedia migrated it from here. The article at answers.com is nothing but a quote of the Wikipedia article, as stated below it: &amp;quot;This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)&amp;quot;. Hate to be picky, too, but please read carefully. ;-) [[User:Wyrfel|Wyrfel]] 12:04, 28 Sep 2005 (CEST)&lt;br /&gt;
----&lt;br /&gt;
Danggit.  What got me to think that they invent the stuff on that site themselves&lt;br /&gt;
I don't know, but I'll increase my browser's default font size. [mailto:liekweg@gmx.de]&lt;br /&gt;
&lt;br /&gt;
Anyone know how to identify the type of device in the bay (e.g. battery, floppy, hdd, cd, etc) in Linux?&lt;br /&gt;
&lt;br /&gt;
The ibm_acpi readme says that the eject lever being released or inserted should generate an ACPI event. On my T23 it doesn't. It's really annoying. Ideas anyone?&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=20253</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=20253"/>
		<updated>2006-02-20T21:04:51Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more).&lt;br /&gt;
&lt;br /&gt;
Previously owned {{600}}, {{600X}} and {{T20}}.&lt;br /&gt;
Also have much experience with {{760EL}} and {{560}}.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=20252</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=20252"/>
		<updated>2006-02-20T21:04:32Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more).&lt;br /&gt;
&lt;br /&gt;
Previously owned {{600}}, {{600X}} and a {{T20}}.&lt;br /&gt;
Also have much experience with {{760EL}} and {{560}}.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=19981</id>
		<title>Ultrabay</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=19981"/>
		<updated>2006-02-15T15:30:22Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Hotswapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | [[Image:UltraBay.jpg|UltraBay drives]] __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== IBM UltraBay ===&lt;br /&gt;
UltraBay{{footnote|1}} is IBM's name for the swapable drive slot. With IBMs words: &amp;lt;blockquote&amp;gt;&amp;quot;The ThinkPad UltraBay, also standard with the system, is an intelligent bay that switches its pinout signals to allow the installation of standard and optional features in what would normally be just the FDD bay.&amp;quot;&amp;lt;/blockquote&amp;gt; Introduced back in the times of the 750 ThinkPads, this technology has gone through redesigns with almost every new generation of ThinkPad models, possibly leading to some confusion that is hopefully cleared up here. The following table gives an overview of the different UltraBay types, in which models they occurred and what drives are available for them.&lt;br /&gt;
Note that the optical drive bay in G series ThinkPads is not an UltraBay in that the drives are fixed and not removable.&lt;br /&gt;
&lt;br /&gt;
On the media side different UltraBays relate to the form factor of the drives they accept, e.g early A, T and X series models can accept UltraBay devices up to 12.5mm in thickness, whereas current T and X series machines are limited to devices no more than 9.5mm thick.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+Overview over UltraBay types and available devices&lt;br /&gt;
! width=140px|UltraBay Type !! featured in !! available drives (see [[UltraBay Devices]] for details)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay || {{355}}, {{355C}}, {{355Cs}}, {{360}}, {{360C}}, {{360Cs}}, {{360P}}, {{360CE}}, {{360CSE}}, {{360PE}}, {{370C}}, {{750}}, {{750C}}, {{750Cs}}, {{750P}}, {{755C}}, {{755CE}}, {{755Cs}}, {{755CSE}}, {{755CV}}, {{755CX}}, {{760C}}, {{760L}}, {{760E}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay Thick|| {{755CD}}, {{755CDV}}, {{760CD}}, {{760E}}, {{760ED}}, {{760EL}}, {{760ELD}}, {{760LD}}, {{760XD}}, {{760XL}}, {{765D}}, {{765L}}, [[SelectaDock I]], [[SelectaDock II]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayii.png]] UltraBay II || {{770}}, {{770E}}, {{770ED}}, {{770X}}, {{770Z}}, [[SelectaDock III]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayfx.png]] UltraBay FX|| {{390}}, {{390E}}, {{390X}}, {{i1720}}, {{i1721}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultraslimbay.png]] UltraslimBay || {{600}}, {{600E}}, {{600X}}, [[UltraBase]], [[Portable Drive Bay]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay2000.png]] UltraBay 2000 || {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{T20}}, {{T21}}, {{T22}}, {{T23}}, [[ThinkPad Dock|Dock]], [[ThinkPad Dock II|Dock II]], [[UltraBase X2]], [[Portable Drive Bay 2000]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayplus.png]] UltraBay Plus || {{A30}}, {{A30p}}, {{A31}}, {{A31p}}, {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{T23}}, {{T30}}, [[UltraBase X3]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], WorkPad Cradle, Numpad&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayslim.png]] UltraBay Slim || {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}, {{Z60t}}, [[UltraBase X4]], [[UltraBase X6]], [[ThinkPad X4 Dock]] || [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], Serial/Parallel Port Adapter&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayenh.png]] UltraBay Enhanced || {{R50}}, {{R50p}}, {{R51}}, {{R52}}, {{Z60m}} [[ ThinkPad Advanced Dock]]|| [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;  style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|+Compatibility Matrix (read columns as slots with rows as devices that are compatible)&lt;br /&gt;
! Slots&amp;lt;hr /&amp;gt;Devices!! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Thick !! [[Image:Icon20_ultrabayii.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;II !! [[Image:Icon20_ultrabayfx.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;FX !! [[Image:Icon20_ultraslimbay.png]]&amp;lt;br /&amp;gt;UltraslimBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay2000.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;2000 !! [[Image:Icon20_ultrabayplus.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Plus !! [[Image:Icon20_ultrabayslim.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Slim !! [[Image:Icon20_ultrabayenh.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Enhanced&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay''' || yes || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Thick''' || - || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay II''' || - || - || yes || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay FX''' || - || - || - || yes || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraslimBay''' || - || - || - || - || yes || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay 2000''' || - || - || - || - || - || yes || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Plus''' || - || - || - || - || - || - || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Slim''' || - || - || - || - || - || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || yes || yes&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Enhanced''' || - || - || - || - || - || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || - || yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Characteristics===&lt;br /&gt;
*UltraBay: no hot swapping&lt;br /&gt;
*UltraBay Thick: Thicker version of UltraBay to support CD-ROM drive&lt;br /&gt;
*UltraBay II: supports hot swapping, blending has cut out edge on the right&lt;br /&gt;
*UltraBay FX: the combined [[Floppy]] drive and CD-ROM, DVD or CDRW mechanism found in the {{390}}/{{390E}}/{{390X}}&lt;br /&gt;
*UltraSlimBay: supports hot swapping; Frame, rectangle like blending&lt;br /&gt;
*UltraBay 2000: supports hot swapping; Frame, blending has cut out egde on the right&lt;br /&gt;
*UltraBay Plus: same as UltraBay 2000, but can take the [[UltraBay Plus Device Carrier]] which in turn can hold the [[UltraBay Plus c500 Cradle]] or the [[UltraBay Plus Numeric Keypad]]&lt;br /&gt;
*UltraBay Slim: supports hot swapping; notably thinner than UltraBay 2000, cut out right edge in blending&lt;br /&gt;
*UltraBay Enhanced: supports hot swapping; slightly thicker than UltraBay Slim, but accepts UltraBay Slim devices&lt;br /&gt;
&lt;br /&gt;
==Linux Support==&lt;br /&gt;
The pinout switching is done by the BIOS and hardware, so that it is completely transparent to the operating system.&lt;br /&gt;
*Floppy drives are supported by the standard floppy driver.&lt;br /&gt;
*ZIP drive support is possible through the ide-disk driver.&lt;br /&gt;
*IDE hard disks and optical drives are supported by the IDE or &amp;lt;tt&amp;gt;ata_piix&amp;lt;/tt&amp;gt; driver in the linux kernel. SCSI emulation via ide-scsi is possible.  &lt;br /&gt;
*Batteries are automatically handled by the hardware (and can be controlled by using [[tp_smapi]]).&lt;br /&gt;
*UltraBay Plus devices should be handled by the USB subsystem, but if the devices are is not known.&lt;br /&gt;
&lt;br /&gt;
===Hotswapping===&lt;br /&gt;
Hotswapping is supposed to be supported as well, using hdparm to (un)register devices.&lt;br /&gt;
People reported varying success with this (see below). &lt;br /&gt;
&lt;br /&gt;
The [[ibm-acpi]] kernel module has an eject function ({{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}}). This only manages the ACPI calls to power down the device and the bay. It does not actually unregister the device from the IDE driver. {{cmdroot|cat /proc/acpi/ibm/bay}} shows &amp;quot;unoccupied&amp;quot; unless an IDE device is present, but the eject function still works and should still be used.&lt;br /&gt;
&lt;br /&gt;
To unregister the device, try using the Debian hotswap package. This also allows the drive to be swapped as a normal user by default, which is useful. You should use hotswap to unregister the device and then {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}}. This was reported to work on a ThinkPad {{T23}} (kernels 2.6.8.1, 2.6.14.2 and 2.6.15-arch) and {{T42}} (kernel 2.6.13), but fails on a ThinkPad {{T43}} (kernel 2.6.14.3).&lt;br /&gt;
&lt;br /&gt;
Only IDE devices (HDD's, optical drives, zip drives) require special treatment - batteries, floppies and other devices can just be pulled from the bay, provided they are not mounted or in use at the time. However, you should still power them down first using the [[ibm-acpi]] eject function.&lt;br /&gt;
&lt;br /&gt;
{{HELP|How do you identify the ultrabay device in Linux?}}&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-50366 IBMs page on using a second hard drive adapter in the Ultrabay 2000 slot under Linux]&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#IBM originally used the spelling UltraBay with a capital B and later switched to Ultrabay with a lower b. We are sticking with the capital B here.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=19965</id>
		<title>Ultrabay</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=19965"/>
		<updated>2006-02-15T10:32:48Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Hotswapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | [[Image:UltraBay.jpg|UltraBay drives]] __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== IBM UltraBay ===&lt;br /&gt;
UltraBay{{footnote|1}} is IBM's name for the swapable drive slot. With IBMs words: &amp;lt;blockquote&amp;gt;&amp;quot;The ThinkPad UltraBay, also standard with the system, is an intelligent bay that switches its pinout signals to allow the installation of standard and optional features in what would normally be just the FDD bay.&amp;quot;&amp;lt;/blockquote&amp;gt; Introduced back in the times of the 750 ThinkPads, this technology has gone through redesigns with almost every new generation of ThinkPad models, possibly leading to some confusion that is hopefully cleared up here. The following table gives an overview of the different UltraBay types, in which models they occurred and what drives are available for them.&lt;br /&gt;
Note that the optical drive bay in G series ThinkPads is not an UltraBay in that the drives are fixed and not removable.&lt;br /&gt;
&lt;br /&gt;
On the media side different UltraBays relate to the form factor of the drives they accept, e.g early A, T and X series models can accept UltraBay devices up to 12.5mm in thickness, whereas current T and X series machines are limited to devices no more than 9.5mm thick.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+Overview over UltraBay types and available devices&lt;br /&gt;
! width=140px|UltraBay Type !! featured in !! available drives (see [[UltraBay Devices]] for details)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay || {{355}}, {{355C}}, {{355Cs}}, {{360}}, {{360C}}, {{360Cs}}, {{360P}}, {{360CE}}, {{360CSE}}, {{360PE}}, {{370C}}, {{750}}, {{750C}}, {{750Cs}}, {{750P}}, {{755C}}, {{755CE}}, {{755Cs}}, {{755CSE}}, {{755CV}}, {{755CX}}, {{760C}}, {{760L}}, {{760E}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay Thick|| {{755CD}}, {{755CDV}}, {{760CD}}, {{760E}}, {{760ED}}, {{760EL}}, {{760ELD}}, {{760LD}}, {{760XD}}, {{760XL}}, {{765D}}, {{765L}}, [[SelectaDock I]], [[SelectaDock II]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayii.png]] UltraBay II || {{770}}, {{770E}}, {{770ED}}, {{770X}}, {{770Z}}, [[SelectaDock III]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayfx.png]] UltraBay FX|| {{390}}, {{390E}}, {{390X}}, {{i1720}}, {{i1721}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultraslimbay.png]] UltraslimBay || {{600}}, {{600E}}, {{600X}}, [[UltraBase]], [[Portable Drive Bay]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay2000.png]] UltraBay 2000 || {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{T20}}, {{T21}}, {{T22}}, {{T23}}, [[ThinkPad Dock|Dock]], [[ThinkPad Dock II|Dock II]], [[UltraBase X2]], [[Portable Drive Bay 2000]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayplus.png]] UltraBay Plus || {{A30}}, {{A30p}}, {{A31}}, {{A31p}}, {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{T23}}, {{T30}}, [[UltraBase X3]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], WorkPad Cradle, Numpad&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayslim.png]] UltraBay Slim || {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}, {{Z60t}}, [[UltraBase X4]], [[UltraBase X6]], [[ThinkPad X4 Dock]] || [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], Serial/Parallel Port Adapter&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayenh.png]] UltraBay Enhanced || {{R50}}, {{R50p}}, {{R51}}, {{R52}}, {{Z60m}} [[ ThinkPad Advanced Dock]]|| [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;  style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|+Compatibility Matrix (read columns as slots with rows as devices that are compatible)&lt;br /&gt;
! Slots&amp;lt;hr /&amp;gt;Devices!! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Thick !! [[Image:Icon20_ultrabayii.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;II !! [[Image:Icon20_ultrabayfx.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;FX !! [[Image:Icon20_ultraslimbay.png]]&amp;lt;br /&amp;gt;UltraslimBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay2000.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;2000 !! [[Image:Icon20_ultrabayplus.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Plus !! [[Image:Icon20_ultrabayslim.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Slim !! [[Image:Icon20_ultrabayenh.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Enhanced&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay''' || yes || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Thick''' || - || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay II''' || - || - || yes || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay FX''' || - || - || - || yes || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraslimBay''' || - || - || - || - || yes || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay 2000''' || - || - || - || - || - || yes || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Plus''' || - || - || - || - || - || - || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Slim''' || - || - || - || - || - || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || yes || yes&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Enhanced''' || - || - || - || - || - || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || - || yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Characteristics===&lt;br /&gt;
*UltraBay: no hot swapping&lt;br /&gt;
*UltraBay Thick: Thicker version of UltraBay to support CD-ROM drive&lt;br /&gt;
*UltraBay II: supports hot swapping, blending has cut out edge on the right&lt;br /&gt;
*UltraBay FX: the combined [[Floppy]] drive and CD-ROM, DVD or CDRW mechanism found in the {{390}}/{{390E}}/{{390X}}&lt;br /&gt;
*UltraSlimBay: supports hot swapping; Frame, rectangle like blending&lt;br /&gt;
*UltraBay 2000: supports hot swapping; Frame, blending has cut out egde on the right&lt;br /&gt;
*UltraBay Plus: same as UltraBay 2000, but can take the [[UltraBay Plus Device Carrier]] which in turn can hold the [[UltraBay Plus c500 Cradle]] or the [[UltraBay Plus Numeric Keypad]]&lt;br /&gt;
*UltraBay Slim: supports hot swapping; notably thinner than UltraBay 2000, cut out right edge in blending&lt;br /&gt;
*UltraBay Enhanced: supports hot swapping; slightly thicker than UltraBay Slim, but accepts UltraBay Slim devices&lt;br /&gt;
&lt;br /&gt;
==Linux Support==&lt;br /&gt;
The pinout switching is done by the BIOS and hardware, so that it is completely transparent to the operating system.&lt;br /&gt;
*Floppy drives are supported by the standard floppy driver.&lt;br /&gt;
*ZIP drive support is possible through the ide-disk driver.&lt;br /&gt;
*IDE hard disks and optical drives are supported by the IDE or &amp;lt;tt&amp;gt;ata_piix&amp;lt;/tt&amp;gt; driver in the linux kernel. SCSI emulation via ide-scsi is possible.  &lt;br /&gt;
*Batteries are automatically handled by the hardware (and can be controlled by using [[tp_smapi]]).&lt;br /&gt;
*UltraBay Plus devices should be handled by the USB subsystem, but if the devices are is not known.&lt;br /&gt;
&lt;br /&gt;
===Hotswapping===&lt;br /&gt;
Hotswapping is supposed to be supported as well, using hdparm to (un)register devices.&lt;br /&gt;
People reported varying success with this (see below). &lt;br /&gt;
&lt;br /&gt;
The [[ibm-acpi]] kernel module has an eject function ({{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}}). This only manages the ACPI calls to power down the device and the bay. It does not actually unregister the device from the IDE driver. {{cmdroot|cat /proc/acpi/ibm/bay}} shows &amp;quot;unoccupied&amp;quot; unless an IDE device is present, but the eject function still works and should still be used.&lt;br /&gt;
&lt;br /&gt;
To unregister the device, try using the Debian hotswap package. This also allows the drive to be swapped as a normal user by default, which is useful. You should use hotswap to unregister the device and then {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}}. This was reported to work on a ThinkPad {{T23}} (kernel 2.6.14.2) and {{T42}} (kernel 2.6.13), but fails on a ThinkPad {{T43}} (kernel 2.6.14.3).&lt;br /&gt;
&lt;br /&gt;
Only IDE devices (HDD's, optical drives, zip drives) require special treatment - batteries, floppies and other devices can just be pulled from the bay, provided they are not mounted or in use at the time. However, you should still power them down first using the [[ibm-acpi]] eject function.&lt;br /&gt;
&lt;br /&gt;
{{HELP|How do you identify the ultrabay device in Linux?}}&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-50366 IBMs page on using a second hard drive adapter in the Ultrabay 2000 slot under Linux]&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#IBM originally used the spelling UltraBay with a capital B and later switched to Ultrabay with a lower b. We are sticking with the capital B here.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19964</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19964"/>
		<updated>2006-02-15T10:23:52Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more).&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19963</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19963"/>
		<updated>2006-02-15T10:23:41Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more).&lt;br /&gt;
&lt;br /&gt;
{{HELP|test}}&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19962</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19962"/>
		<updated>2006-02-15T10:22:16Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) Arch 0.7.1 (kernel 2.6.15-arch) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately (and more).&lt;br /&gt;
&lt;br /&gt;
{{help|test}}&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=19006</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=19006"/>
		<updated>2006-01-26T15:57:05Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* UltraBay eject lever */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charge/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device (requires [[ibm-acpi]]).&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see below).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===UltraBay eject lever===&lt;br /&gt;
It seems that you don't have to completely remove the UltraBay battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the UltraBay battery. While the BIOS can switch to the UltraBay battery when the main battery runs out, it cannot switch fast enough when the main battery is pulled. Make sure you push the eject lever in before swapping the main battery or the system will power down. The order of charging is not affected. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=19002</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=19002"/>
		<updated>2006-01-26T15:53:15Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* UltraBay eject lever */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charge/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device (requires [[ibm-acpi]]).&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see below).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===UltraBay eject lever===&lt;br /&gt;
It seems that you don't have to completely remove the UltraBay battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the UltraBay battery. While the BIOS can switch to the UltraBay battery when the main battery runs out, it cannot switch fast enough when the main battery is pulled (the system powers down). Make sure you push the eject lever in before swapping the main battery. The order of charging is not affected. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19000</id>
		<title>User:SystemParadox</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:SystemParadox&amp;diff=19000"/>
		<updated>2006-01-26T15:51:02Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I own a {{T23}} running Slackware 9.1, LFS 6.0 (Both with kernels 2.4.22, 2.6.8.1 and 2.6.14.2) and WinXP Pro.&lt;br /&gt;
Made extensive modification to the KThinkbat applet to enable displaying dual batteries separately.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18946</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18946"/>
		<updated>2006-01-25T17:58:41Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Battery hot-swapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charge/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device (requires IBM-ACPI: http://ibm-acpi.sourceforge.net) .&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see below).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===UtraBay eject lever===&lt;br /&gt;
It seems that you don't have to completely remove the UltraBay battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the UltraBay battery. The order of charging is not affected. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18945</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18945"/>
		<updated>2006-01-25T17:56:32Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* UtraBay eject lever */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charge/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see below).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===UtraBay eject lever===&lt;br /&gt;
It seems that you don't have to completely remove the UltraBay battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the UltraBay battery. The order of charging is not affected. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18944</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18944"/>
		<updated>2006-01-25T17:55:52Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charge/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see below).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===UtraBay eject lever===&lt;br /&gt;
It seems that you don't have to completely remove the battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the UltraBay battery. The order of charging is not affected. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18939</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18939"/>
		<updated>2006-01-25T16:17:05Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Battery hot-swapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charges/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
It seems that you don't have to completely remove the battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the UltraBay battery. When charging, the main battery is always charged before the UltraBay battery, regardless of the state of the eject lever. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see above).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18938</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18938"/>
		<updated>2006-01-25T16:16:05Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Battery hot-swapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charges/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
It seems that you don't have to completely remove the battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the ultrabay battery. When charging, the main battery is always charged before the ultrabay battery, regardless of the state of the eject lever. Test machine: T23. May or may not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see above).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18937</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18937"/>
		<updated>2006-01-25T15:03:43Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Battery hot-swapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charges/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
It seems that you don't have to completely remove the battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS reverses the order of use and will completely deplete the main battery before using the ultrabay battery. Charging not tested. Test machine: T23. May not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see above).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=18563</id>
		<title>Ultrabay</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=18563"/>
		<updated>2006-01-20T18:25:29Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Hotswapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | [[Image:UltraBay.jpg|UltraBay drives]] __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== IBM UltraBay ===&lt;br /&gt;
UltraBay{{footnote|1}} is IBM's name for the swapable drive slot. With IBMs words: &amp;quot;The ThinkPad UltraBay, also standard with the system, is an intelligent bay that switches its pinout signals to allow the installation of standard and optional features in what would normally be just the FDD bay.&amp;quot; Introduced back in the times of the 750 ThinkPads, this technology has gone through redesigns with almost every new generation of ThinkPad models, possibly leading to some confusion that is hopefully cleared up here. The following table gives an overview of the different UltraBay types, in which models they occurred and what drives are available for them.&lt;br /&gt;
Note that the optical drive bay in G series ThinkPads is not an UltraBay in that the drives are fixed and not removable.&lt;br /&gt;
&lt;br /&gt;
On the media side different UltraBays relate to the form factor of the drives they accept, e.g early A, T and X series models can accept UltraBay devices up to 12.5mm in thickness, whereas current T and X series machines are limited to devices no more than 9.5mm thick.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+Overview over UltraBay types and available devices&lt;br /&gt;
! width=140px|UltraBay Type !! featured in !! available drives (see [[UltraBay Devices]] for details)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay || {{355}}, {{355C}}, {{355Cs}}, {{360}}, {{360C}}, {{360Cs}}, {{360P}}, {{360CE}}, {{360CSE}}, {{360PE}}, {{370C}}, {{750}}, {{750C}}, {{750Cs}}, {{750P}}, {{755C}}, {{755CE}}, {{755Cs}}, {{755CSE}}, {{755CV}}, {{755CX}}, {{760C}}, {{760L}}, {{760E}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay Thick|| {{755CD}}, {{755CDV}}, {{760CD}}, {{760E}}, {{760ED}}, {{760EL}}, {{760ELD}}, {{760LD}}, {{760XD}}, {{760XL}}, {{765D}}, {{765L}}, [[SelectaDock I]], [[SelectaDock II]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayii.png]] UltraBay II || {{770}}, {{770E}}, {{770ED}}, {{770X}}, {{770Z}}, [[SelectaDock III]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayfx.png]] UltraBay FX|| {{390}}, {{390E}}, {{390X}}, {{i1720}}, {{i1721}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultraslimbay.png]] UltraslimBay || {{600}}, {{600E}}, {{600X}}, [[UltraBase]], [[Portable Drive Bay]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay2000.png]] UltraBay 2000 || {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{T20}}, {{T21}}, {{T22}}, {{T23}}, [[ThinkPad Dock|Dock]], [[ThinkPad Dock II|Dock II]], [[UltraBase X2]], [[Portable Drive Bay 2000]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayplus.png]] UltraBay Plus || {{A30}}, {{A30p}}, {{A31}}, {{A31p}}, {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{T23}}, {{T30}}, [[UltraBase X3]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], WorkPad Cradle, Numpad&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayslim.png]] UltraBay Slim || {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{Z60t}}, [[UltraBase X4]], [[UltraBase X6]], [[ThinkPad X4 Dock]] || [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayenh.png]] UltraBay Enhanced || {{R50}}, {{R50p}}, {{R51}}, {{R52}}, {{Z60m}} [[ ThinkPad Advanced Dock]]|| [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;  style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|+Compatibility Matrix (read columns as slots with rows as devices that are compatible)&lt;br /&gt;
! Slots&amp;lt;hr /&amp;gt;Devices!! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Thick !! [[Image:Icon20_ultrabayii.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;II !! [[Image:Icon20_ultrabayfx.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;FX !! [[Image:Icon20_ultraslimbay.png]]&amp;lt;br /&amp;gt;UltraslimBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay2000.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;2000 !! [[Image:Icon20_ultrabayplus.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Plus !! [[Image:Icon20_ultrabayslim.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Slim !! [[Image:Icon20_ultrabayenh.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Enhanced&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay''' || yes || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Thick''' || - || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay II''' || - || - || yes || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay FX''' || - || - || - || yes || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraslimBay''' || - || - || - || - || yes || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay 2000''' || - || - || - || - || - || yes || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Plus''' || - || - || - || - || - || - || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Slim''' || - || - || - || - || - || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || yes || yes&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Enhanced''' || - || - || - || - || - || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || - || yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Characteristics===&lt;br /&gt;
*UltraBay: no hot swapping&lt;br /&gt;
*UltraBay Thick: Thicker version of UltraBay to support CD-ROM drive&lt;br /&gt;
*UltraBay II: supports hot swapping, blending has cut out edge on the right&lt;br /&gt;
*UltraBay FX: the combined [[Floppy]] drive and CD-ROM, DVD or CDRW mechanism found in the {{390}}/{{390E}}/{{390X}}&lt;br /&gt;
*UltraSlimBay: supports hot swapping; Frame, rectangle like blending&lt;br /&gt;
*UltraBay 2000: supports hot swapping; Frame, blending has cut out egde on the right&lt;br /&gt;
*UltraBay Plus: same as UltraBay 2000, but can take the [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46440 UltraBay Plus Device Carrier] which in turn can hold the [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46440 UltraBay Plus WorkPad Cradle] or the [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46440 UltraBay Plus Numeric Keypad]&lt;br /&gt;
*UltraBay Slim: supports hot swapping; notably thinner than UltraBay 2000, cut out right edge in blending&lt;br /&gt;
*UltraBay Enhanced: supports hot swapping; slightly thicker than UltraBay Slim, but accepts UltraBay Slim devices&lt;br /&gt;
&lt;br /&gt;
==Linux Support==&lt;br /&gt;
The pinout switching is done by the BIOS and hardware, so that it is completely transparent to the operating system.&lt;br /&gt;
*Floppy drives are supported by the standard floppy driver.&lt;br /&gt;
*ZIP drive support is possible through the ide-disk driver.&lt;br /&gt;
*IDE hard disks and optical drives are supported by the IDE or &amp;lt;tt&amp;gt;ata_piix&amp;lt;/tt&amp;gt; driver in the linux kernel. SCSI emulation via ide-scsi is possible.  &lt;br /&gt;
*Batteries are automatically handled by the hardware (and can be controlled by using [[tp_smapi]]).&lt;br /&gt;
*UltraBay Plus devices should be handled by the USB subsystem, but if the devices are is not known.&lt;br /&gt;
&lt;br /&gt;
===Hotswapping===&lt;br /&gt;
Hotswapping is supposed to be supported as well, using hdparm to (un)register devices.&lt;br /&gt;
People reported varying success with this (see below). &lt;br /&gt;
&lt;br /&gt;
The IBM-ACPI kernel module (http://ibm-acpi.sourceforge.net) has an eject function ({{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}}). This only manages the ACPI calls to power down the device and the bay. It does not actually unregister the device from the IDE driver. {{cmdroot|cat /proc/acpi/ibm/bay}} shows &amp;quot;unoccupied&amp;quot; unless an IDE device is present, but the eject function still works and should still be used.&lt;br /&gt;
&lt;br /&gt;
To unregister the device, try using the Debian hotswap package. This also allows the drive to be swapped as a normal user by default, which is useful. You should use hotswap to unregister the device and then &amp;quot;echo eject &amp;gt; /proc/acpi/ibm/bay&amp;quot;. This was reported to work on a ThinkPad {{T23}} (kernel 2.6.14.2) and {{T42}} (kernel 2.6.13), but fails on a ThinkPad {{T43}} (kernel 2.6.14.3).&lt;br /&gt;
&lt;br /&gt;
Only IDE devices (HDD's, optical drives, zip drives) require special treatment - batteries, floppies and other devices can just be pulled from the bay, provided they are not mounted or in use at the time. However, you should still power them down first using the IBM-ACPI eject function.&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-50366 IBMs page on using a second hard drive adapter in the Ultrabay 2000 slot under Linux]&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#IBM originally used the spelling UltraBay with a capital B and later switched to Ultrabay with a lower b. We are sticking with the capital B here.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=18562</id>
		<title>Ultrabay</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Ultrabay&amp;diff=18562"/>
		<updated>2006-01-20T18:22:36Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Hotswapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | [[Image:UltraBay.jpg|UltraBay drives]] __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== IBM UltraBay ===&lt;br /&gt;
UltraBay{{footnote|1}} is IBM's name for the swapable drive slot. With IBMs words: &amp;quot;The ThinkPad UltraBay, also standard with the system, is an intelligent bay that switches its pinout signals to allow the installation of standard and optional features in what would normally be just the FDD bay.&amp;quot; Introduced back in the times of the 750 ThinkPads, this technology has gone through redesigns with almost every new generation of ThinkPad models, possibly leading to some confusion that is hopefully cleared up here. The following table gives an overview of the different UltraBay types, in which models they occurred and what drives are available for them.&lt;br /&gt;
Note that the optical drive bay in G series ThinkPads is not an UltraBay in that the drives are fixed and not removable.&lt;br /&gt;
&lt;br /&gt;
On the media side different UltraBays relate to the form factor of the drives they accept, e.g early A, T and X series models can accept UltraBay devices up to 12.5mm in thickness, whereas current T and X series machines are limited to devices no more than 9.5mm thick.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+Overview over UltraBay types and available devices&lt;br /&gt;
! width=140px|UltraBay Type !! featured in !! available drives (see [[UltraBay Devices]] for details)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay || {{355}}, {{355C}}, {{355Cs}}, {{360}}, {{360C}}, {{360Cs}}, {{360P}}, {{360CE}}, {{360CSE}}, {{360PE}}, {{370C}}, {{750}}, {{750C}}, {{750Cs}}, {{750P}}, {{755C}}, {{755CE}}, {{755Cs}}, {{755CSE}}, {{755CV}}, {{755CX}}, {{760C}}, {{760L}}, {{760E}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay.png]] UltraBay Thick|| {{755CD}}, {{755CDV}}, {{760CD}}, {{760E}}, {{760ED}}, {{760EL}}, {{760ELD}}, {{760LD}}, {{760XD}}, {{760XL}}, {{765D}}, {{765L}}, [[SelectaDock I]], [[SelectaDock II]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], 2.88 MB diskette, PCMCIA Cartridge, IBM Wireless Modem ARDIS, IBM Wireless Modem&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayii.png]] UltraBay II || {{770}}, {{770E}}, {{770ED}}, {{770X}}, {{770Z}}, [[SelectaDock III]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayfx.png]] UltraBay FX|| {{390}}, {{390E}}, {{390X}}, {{i1720}}, {{i1721}} || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultraslimbay.png]] UltraslimBay || {{600}}, {{600E}}, {{600X}}, [[UltraBase]], [[Portable Drive Bay]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabay2000.png]] UltraBay 2000 || {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{T20}}, {{T21}}, {{T22}}, {{T23}}, [[ThinkPad Dock|Dock]], [[ThinkPad Dock II|Dock II]], [[UltraBase X2]], [[Portable Drive Bay 2000]]|| [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayplus.png]] UltraBay Plus || {{A30}}, {{A30p}}, {{A31}}, {{A31p}}, {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{T23}}, {{T30}}, [[UltraBase X3]] || [[Image:Icon20_floppy.png|Floppy Drive]] [[Image:Icon20_ls120.png|SuperDisk LS-120 Drive]] [[Image:Icon20_ls240.png|SuperDisk LS-240 Drive]] [[Image:Icon20_zip100.png|100MB Zip Drive]] [[Image:Icon20_zip250.png|250MB Zip Drive]] [[Image:Icon20_cdrom.png|CD-ROM Drive]] [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_cdrw.png|CD-RW Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]], WorkPad Cradle, Numpad&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayslim.png]] UltraBay Slim || {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{Z60t}}, [[UltraBase X4]], [[UltraBase X6]], [[ThinkPad X4 Dock]] || [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Icon20_ultrabayenh.png]] UltraBay Enhanced || {{R50}}, {{R50p}}, {{R51}}, {{R52}}, {{Z60m}} [[ ThinkPad Advanced Dock]]|| [[Image:Icon20_dvd.png|DVD-ROM Drive]] [[Image:Icon20_combo.png|CD-RW/DVD-ROM Combo Drive]] [[Image:Icon20_multiburner.png|DVD Multi-Burner Drive]] [[Image:Icon20_hdd.png|Harddisk Drive Adapter]] [[Image:Icon20_battery.png|Battery]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;  style=&amp;quot;text-align:center;&amp;quot;&lt;br /&gt;
|+Compatibility Matrix (read columns as slots with rows as devices that are compatible)&lt;br /&gt;
! Slots&amp;lt;hr /&amp;gt;Devices!! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Thick !! [[Image:Icon20_ultrabayii.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;II !! [[Image:Icon20_ultrabayfx.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;FX !! [[Image:Icon20_ultraslimbay.png]]&amp;lt;br /&amp;gt;UltraslimBay&amp;lt;br /&amp;gt;&amp;amp;nbsp; !! [[Image:Icon20_ultrabay2000.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;2000 !! [[Image:Icon20_ultrabayplus.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Plus !! [[Image:Icon20_ultrabayslim.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Slim !! [[Image:Icon20_ultrabayenh.png]]&amp;lt;br /&amp;gt;UltraBay&amp;lt;br /&amp;gt;Enhanced&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay''' || yes || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Thick''' || - || yes || [[Ultrabay Drive Adapter for Ultrabay II|Adapter]] || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay II''' || - || - || yes || - || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay FX''' || - || - || - || yes || - || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraslimBay''' || - || - || - || - || yes || - || - || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay 2000''' || - || - || - || - || - || yes || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Plus''' || - || - || - || - || - || - || yes || - || -&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Slim''' || - || - || - || - || - || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Slim Drive Adapter for Ultrabay 2000|Adapter]] || yes || yes&lt;br /&gt;
|-&lt;br /&gt;
|'''UltraBay Enhanced''' || - || - || - || - || - || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || [[Ultrabay Enhanced Drive Adapter for Ultrabay 2000|Adapter]] || - || yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Characteristics===&lt;br /&gt;
*UltraBay: no hot swapping&lt;br /&gt;
*UltraBay Thick: Thicker version of UltraBay to support CD-ROM drive&lt;br /&gt;
*UltraBay II: supports hot swapping, blending has cut out edge on the right&lt;br /&gt;
*UltraBay FX: the combined [[Floppy]] drive and CD-ROM, DVD or CDRW mechanism found in the {{390}}/{{390E}}/{{390X}}&lt;br /&gt;
*UltraSlimBay: supports hot swapping; Frame, rectangle like blending&lt;br /&gt;
*UltraBay 2000: supports hot swapping; Frame, blending has cut out egde on the right&lt;br /&gt;
*UltraBay Plus: same as UltraBay 2000, but can take the [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46440 UltraBay Plus Device Carrier] which in turn can hold the [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46440 UltraBay Plus WorkPad Cradle] or the [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46440 UltraBay Plus Numeric Keypad]&lt;br /&gt;
*UltraBay Slim: supports hot swapping; notably thinner than UltraBay 2000, cut out right edge in blending&lt;br /&gt;
*UltraBay Enhanced: supports hot swapping; slightly thicker than UltraBay Slim, but accepts UltraBay Slim devices&lt;br /&gt;
&lt;br /&gt;
==Linux Support==&lt;br /&gt;
The pinout switching is done by the BIOS and hardware, so that it is completely transparent to the operating system.&lt;br /&gt;
*Floppy drives are supported by the standard floppy driver.&lt;br /&gt;
*ZIP drive support is possible through the ide-disk driver.&lt;br /&gt;
*IDE hard disks and optical drives are supported by the IDE or &amp;lt;tt&amp;gt;ata_piix&amp;lt;/tt&amp;gt; driver in the linux kernel. SCSI emulation via ide-scsi is possible.  &lt;br /&gt;
*Batteries are automatically handled by the hardware (and can be controlled by using [[tp_smapi]]).&lt;br /&gt;
*UltraBay Plus devices should be handled by the USB subsystem, but if the devices are is not known.&lt;br /&gt;
&lt;br /&gt;
===Hotswapping===&lt;br /&gt;
Hotswapping is supposed to be supported as well, using hdparm to (un)register devices.&lt;br /&gt;
People reported varying success with this (see below). &lt;br /&gt;
&lt;br /&gt;
The IBM-ACPI kernel module (http://ibm-acpi.sourceforge.net) has an eject function ({{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}}). This only manages the ACPI calls to power down the device and the bay. It does not actually unregister the device from the IDE driver. {{cmdroot|cat /proc/acpi/ibm/bay}} shows &amp;quot;unoccupied&amp;quot; unless an IDE device is present, but the eject function still works and should still be used.&lt;br /&gt;
&lt;br /&gt;
To unregister the device, try using the Debian hotswap package. This also allows the drive to be swapped as a normal user by default, which is useful. You should use hotswap to unregister the device and then &amp;quot;echo eject &amp;gt; /proc/acpi/ibm/bay&amp;quot;. This was reported to work on a ThinkPad {{T23}} (kernel 2.6.14.2) and {{T42}} (kernel 2.6.13), but fails on a ThinkPad {{T43}} (kernel 2.6.14.3).&lt;br /&gt;
&lt;br /&gt;
Only IDE devices (HDD's, optical drives, zip drives) require special treatment - batteries, floppies and other devices can just be pulled from the bay, provided they are not mounted or in use at the time. However, you should still power them down using the IBM-ACPI eject function first.&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-50366 IBMs page on using a second hard drive adapter in the Ultrabay 2000 slot under Linux]&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#IBM originally used the spelling UltraBay with a capital B and later switched to Ultrabay with a lower b. We are sticking with the capital B here.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18561</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18561"/>
		<updated>2006-01-20T18:00:15Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Charging and discharging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charges/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
It seems that you don't have to completely remove the battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS stops discharging it and moves onto the main battery. Charging not tested. Test machine: T23. May not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low (or release the eject lever- see above).&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18560</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18560"/>
		<updated>2006-01-20T17:58:43Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Battery hot-swapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charges/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
It seems that you don't have to completely remove the battery from the bay to stop using it. If you release the eject lever, but don't actually pull the battery from the bay, the battery is still visible to the system, but the BIOS stops discharging it and moves onto the main battery. Charging not tested. Test machine: T23. May not work on other models.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low.&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18559</id>
		<title>How to use UltraBay batteries</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_use_UltraBay_batteries&amp;diff=18559"/>
		<updated>2006-01-20T17:54:28Z</updated>

		<summary type="html">&lt;p&gt;SystemParadox: /* Battery hot-swapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
ThinkPad laptops only charges/discharge one battery at a time. If you have two batteries present (a system battery and an [[UltraBay]] battery), the laptop will completely deplete the UltraBay battery before using the main battery.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Battery hot-swapping===&lt;br /&gt;
Switching between the batteries is instant, so if you pull the UltraBay battery from the bay when it is being discharged, the system will instantly switch to the main battery. You can therefore use the UltraBay battery to hot-swap the system battery (i.e., replace it without the need to reboot, hibernate or use an external power adapter).&lt;br /&gt;
&lt;br /&gt;
You should issue {{cmdroot|echo eject &amp;gt; /proc/acpi/ibm/bay}} before removing the battery from the bay, especially if you are replacing it with a different device.&lt;br /&gt;
&lt;br /&gt;
===Charging and discharging===&lt;br /&gt;
When charging, the system will completely charge the main battery before it starts on the UltraBay battery. When discharging, the system will completely discharge the UltraBay battery before it discharges the main battery. This greatly reduces the lifetime of the Ultrabay battery, and also reduces its usefulness for enabling hot-swapping of the system battery. There are two ways to prevent this:&lt;br /&gt;
&lt;br /&gt;
* Keep an eye on the charge in the UltraBay battery and physically remove it from the bay when it gets too low.&lt;br /&gt;
* Use the [[SMAPI support for Linux#Using_the_tp_smapi_module|tp_smapi]] module to control which battery is charged (&amp;lt;tt&amp;gt;inhibit_charge&amp;lt;/tt&amp;gt; on the other battery) or discharged (&amp;lt;tt&amp;gt;force_discharge&amp;lt;/tt&amp;gt;). This only works on some ThinkPad models - see the [[SMAPI support for Linux#Model-specific_status|model-specific status]].&lt;br /&gt;
&lt;br /&gt;
===Reading the battery status under Linux===&lt;br /&gt;
&lt;br /&gt;
====Using APM====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the APM subsystem (if activated).&lt;br /&gt;
&lt;br /&gt;
====Using ACPI====&lt;br /&gt;
&lt;br /&gt;
The second battery is correctly detected by the ACPI subsystem (if activated). However, the Linux ACPI subsystem only scans for batteries on boot. This means that the second battery must be present at boot time, or you will not be able to get any info for it via {{path|/proc/acpi/battery/BAT1}}.&lt;br /&gt;
&lt;br /&gt;
With kernel 2.6.14.2 (possibly only with [[ibm-acpi]]) there is a sysfs file: {{path|/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}}. There isn't one for BAT0, but {{cmdroot|cat /proc/acpi/battery/BAT0/*}} shows {{cmdresult|not present}} when there is no internal battery. &lt;br /&gt;
&lt;br /&gt;
For BAT1 all the states go to 0, critical, etc. .&lt;br /&gt;
&lt;br /&gt;
{{cmdroot|echo 1 &amp;gt; /sys/firmware/acpi/namespace/ACPI/_SB/PCI0/LPC/EC/BAT1/eject}} will remove {{path|/proc/acpi/battery/BAT1}} and turn off the UltraBay led. Interestingly the battery will still be discharging (charging not tested) until it is physically removed.&lt;br /&gt;
&lt;br /&gt;
Also, if you compile the battery module of ACPI as a module, boot with the UltraBay battery present, remove the UltraBay battery (without doing the eject above), {{path|/proc/acpi/battery/BAT1}} is still there, while after {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} {{path|/proc/acpi/battery/BAT1}} is gone (BAT0 is back). Put the battery back in and {{path|/proc/acpi/battery/BAT1}} is still missing, do {{cmdroot|rmmod battery &amp;amp;&amp;amp; modprobe battery}} and {{path|/proc/acpi/battery/BAT1}} is back.&lt;br /&gt;
&lt;br /&gt;
If you boot without the second battery &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; never appears in {{path|/proc}} or {{path|/sys}}.&lt;br /&gt;
&lt;br /&gt;
If you eject using the sysfs file above, &amp;lt;tt&amp;gt;BAT1&amp;lt;/tt&amp;gt; disappears from both {{path|/proc}} and {{path|/sys}} and never comes back.&lt;br /&gt;
&lt;br /&gt;
====Using &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
Independently of APM or ACPI, the battery status is also accessible through the [[tp_smapi]] driver. The &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt; kernel module provides battery status (and other features) via the sysfs interface in {{path|/sys/devices/platform/smapi/BAT&amp;lt;nowiki&amp;gt;{&amp;lt;/nowiki&amp;gt;0,1&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;}}, and includes some information not accessible through APM or ACPI (e.g., cycle count and momentary power draw). The BAT1 interface is always present, regardless of whether the battery is present, was present on boot, or was ejected using the sysfs interface above.&lt;br /&gt;
&lt;br /&gt;
Unfortunately, currently none of the standard battery monitoring scripts/applets use &amp;lt;tt&amp;gt;tp_smapi&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>SystemParadox</name></author>
		
	</entry>
</feed>