<?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=Psion</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=Psion"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Psion"/>
	<updated>2026-05-05T22:34:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_770E&amp;diff=24670</id>
		<title>Installing Gentoo on a ThinkPad 770E</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Gentoo_on_a_ThinkPad_770E&amp;diff=24670"/>
		<updated>2006-09-16T02:30:50Z</updated>

		<summary type="html">&lt;p&gt;Psion: /* Partitioning */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the {{Gentoo}} installation guide for the linux ThinkPad 770E. This is not meant to replace the gentoo handbook, but rather, as a guide to help fine tune certain options. Please refer to the gentoo handbook, gentoo docs/wiki and the gentoo forums for more help. &lt;br /&gt;
&lt;br /&gt;
==Partitioning==&lt;br /&gt;
Until linux supports ibm thinkpad controls like ps2.exe, it is recommended you keep a small bootable partition (10-100MB for a DOS partition). You will need this if you want to change or find out irq, mem address, and dma settings.&lt;br /&gt;
&lt;br /&gt;
It is possible to run some of the big-box distros without much error, such as Mandriva.  You might not have to use the DOS partition here.&lt;br /&gt;
&lt;br /&gt;
==Kernel configuration==&lt;br /&gt;
For '''PCMCIA''' support you have to load the ''yenta_socket'' module and change the configuration file &amp;lt;tt&amp;gt;/etc/conf.d/pcmcia&amp;lt;/tt&amp;gt; (replace &amp;lt;tt&amp;gt;PCIC=i82365&amp;lt;/tt&amp;gt; with &amp;lt;tt&amp;gt;PCIC=yenta_socket&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
For '''Frame Buffers''' support, do '''NOT''' load any frame buffer drivers besides vesafb. Do NOT even load vesafb-tng. Even though the video card is a trident card, the tridentfb does not work. It will produce a flickery screen. All you want to do is compile vesafb into your kernel or as a module, then add vga=791 to your boot line. Do not even bother with video=mtrr or any other options. VGA=791 is all you need for 1024x768 frame buffers support.&lt;br /&gt;
&lt;br /&gt;
==Sound support==&lt;br /&gt;
'''FIX'''&lt;br /&gt;
&lt;br /&gt;
I have since been able to get sound working on my 770E, but I had to use the OSS drivers. The procedure I used was to boot into a windows partition and use IBM's ps2.exe utility to determine irq, port, and dma information. After I got this information, I had to reinitialize the hardware from the BIOS before the sound would work in linux. (Hold F1 while booting to get to the BIOS menu) After the reinitialization, I modprobed:&lt;br /&gt;
&lt;br /&gt;
 modprobe cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x330 mpuirq=9&lt;br /&gt;
&lt;br /&gt;
I believe these are the factory default settings. Please insert your settings from the ps2.exe reading. If modprobe completed with no errors, try playing a sound and it should work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
All 770's should get sound using the ALSA snd_cs4232 module, although they have a cs4610 chip. Similar to [[Problem with broken sound on ThinkPad 600]].  Try&lt;br /&gt;
 modprobe snd-cs4232 port=0x530 cport=0x538 fm_port=0x388 irq=5 dma1=1 dma2=0&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I tried using those parameters on a 770E and I get a &amp;quot;no such device&amp;quot; error when modprobe'ing. If anyone finds the right parameters for Alsa, please insert it here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
2005-07-11&lt;br /&gt;
&lt;br /&gt;
I found out, that most problems occure while playing around with the cs4232 drivers. The Chipset ist the cs4237B, which is supported by the ALSA snd-cs4236 driver. This is how it works:&lt;br /&gt;
&lt;br /&gt;
( Update 2006-01-10: This is for 2.6.12 kernels prior to r10 !)&lt;br /&gt;
&lt;br /&gt;
  1. Build a Kernel using soundcore support only! NO additional drivers! (If you have such a kernel, proceed to 3.&lt;br /&gt;
  2. install kernel and boot it&lt;br /&gt;
  3. be sure to have USE=&amp;quot;alsa oss&amp;quot; in your /etc/make.conf&lt;br /&gt;
  4. add &amp;quot;ALSA_CARDS=&amp;quot;cs4236&amp;quot; to your /etc/make.conf&lt;br /&gt;
  5. emerge alsa-driver alsa-oss alsa-utils&lt;br /&gt;
Continue with Part 3 below!&lt;br /&gt;
  &lt;br /&gt;
( Update 2006-01-10: This is for 2.6.12 kernels r10 and higher !)&lt;br /&gt;
  1. Build a kernel with:&lt;br /&gt;
Device Drivers  ---&amp;gt;&lt;br /&gt;
   Sound  ---&amp;gt;&lt;br /&gt;
     &amp;lt;M&amp;gt; Sound card support&lt;br /&gt;
       Open Sound System   ---&amp;gt;&lt;br /&gt;
         &amp;lt; &amp;gt; Open Sound System (DEPRECATED)&lt;br /&gt;
       Advanced Linux Sound Architecture ---&amp;gt;&lt;br /&gt;
         &amp;lt;M&amp;gt; Advanced Linux Sound Architecture&lt;br /&gt;
         &amp;lt;M&amp;gt; Sequencer support&lt;br /&gt;
         &amp;lt;M&amp;gt; OSS Mixer API&lt;br /&gt;
         &amp;lt;M&amp;gt; OSS PCM (digital audio) API &lt;br /&gt;
       ISA devices   ---&amp;gt;&lt;br /&gt;
         &amp;lt;M&amp;gt; Cirrus Logic cs4327B+&lt;br /&gt;
  2. emerge alsa-oss alsa-utils&lt;br /&gt;
  3. run &amp;quot;alsaconf&amp;quot; and let it probe everything!&lt;br /&gt;
  4. if your /etc/modules.d/alsa has the following lines:&lt;br /&gt;
    (...)&lt;br /&gt;
    alias snd-card-0 snd-cs4236&lt;br /&gt;
    alias sound-slot-0 snd-cs4236&lt;br /&gt;
    options snd-cs4236 port=0x530 cport=0x538 isapnp=0 dma1=5 dma2=3 irq=15 &lt;br /&gt;
      ( dma1, dma2 and irq may vary! )&lt;br /&gt;
    (...)&lt;br /&gt;
     everything is cool. You can use &amp;quot;rc-update add alsasound boot&amp;quot; to enable sound during booting, and it should work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See also [http://dag.wieers.com/howto/thinkpad/770/ DAG: Linux on 770]&lt;br /&gt;
&lt;br /&gt;
==Power management==&lt;br /&gt;
&lt;br /&gt;
You had BETTER install acpi first thing. From my tests, the fans in the 770E will '''NOT''' turn on by itself, even if it reaches 90 degrees celsius. I believe the 770E's cooling system is completely software controlled through acpi. To turn on the fan(s), modprobe acpi, and type: &lt;br /&gt;
 echo 0 &amp;gt; /proc/acpi/fan/FN00/state&lt;br /&gt;
&lt;br /&gt;
I don't actually know how many fans are in there, but I know that when I did not turn on the fans manually, acpi -V showed readings as hot as 93 degrees Celsius when compiling and CPU intensive operations. I ended up writing a cron script to run every minute and check if the temperature is over a certain point. I do not know what's a safe temperature, so I set it low at 45 degrees celsius.&lt;br /&gt;
&lt;br /&gt;
==X11 configuration==&lt;br /&gt;
Follow the Gentoo Xorg howto. It should work from there.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:770E]]&lt;/div&gt;</summary>
		<author><name>Psion</name></author>
		
	</entry>
</feed>