<?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=Lazytiger</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=Lazytiger"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Lazytiger"/>
	<updated>2026-05-06T04:52:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=ThinkPad_11a/b/g_Wireless_LAN_Mini_Express_Adapter&amp;diff=34717</id>
		<title>ThinkPad 11a/b/g Wireless LAN Mini Express Adapter</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=ThinkPad_11a/b/g_Wireless_LAN_Mini_Express_Adapter&amp;diff=34717"/>
		<updated>2007-11-19T17:46:17Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Related Links */&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;
=== ThinkPad 11a/b/g Wireless LAN Mini Express Adapter ===&lt;br /&gt;
This is a WiFi Adapter that is installed in a Mini-PCI Express slot&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: Atheros AR5006EX (As printed on card AR5BXB6)&lt;br /&gt;
* Integrated Mac Processor and Radio Chip: Atheros 5423&lt;br /&gt;
* IEEE Standards: 802.11a, 802.11b, 802.11g&lt;br /&gt;
* PCI ID: 168c:1014&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
[[image:Atheros_mini_express_wifi(thumbnail).jpg|thumb|Atheros mini-PCIe WiFi Adapter]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== IBM Partnumbers ===&lt;br /&gt;
IBM Option PN (US): 40Y7026&lt;br /&gt;
&lt;br /&gt;
=== Linux WiFi driver ===&lt;br /&gt;
Use the [[Madwifi]] driver. This driver has support for Atheros rev 0x0024 support since svn revision 2360.&lt;br /&gt;
&lt;br /&gt;
OR (not recommended)&lt;br /&gt;
&lt;br /&gt;
get the driver from http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-52527 and use ndiswrapper&lt;br /&gt;
&lt;br /&gt;
=== Hardware switch ===&lt;br /&gt;
&lt;br /&gt;
Some ThinkPads have a hardware switch that must be in the '''on''' position for the radio to work, regardless of driver state:&lt;br /&gt;
&lt;br /&gt;
[[Image:Wireless-switch.png|(ThinkPad R60 radio switch in the ON position)]]&lt;br /&gt;
&lt;br /&gt;
(Note: This may not always be the case. On at least one T60, model 2007-62U with Atheros AR5212, running Ubuntu Edgy with the MadWifi driver, the wireless switch has no effect. Wireless operates with the switch in either position. But there's an [http://article.gmane.org/gmane.linux.acpi.ibm-acpi.devel/137 experimental patch] which adds support of the switch to [[ibm-acpi]].)&lt;br /&gt;
&lt;br /&gt;
=== T60 WiFi LED ===&lt;br /&gt;
&lt;br /&gt;
Problem: The WiFi LED on the T60 isn't enabled by default on bootup.&lt;br /&gt;
&lt;br /&gt;
Solution: As root edit /etc/rc.local by adding the following command at the bottom:&lt;br /&gt;
&lt;br /&gt;
'''echo -n 1 &amp;gt; /proc/sys/dev/wifi0/ledpin;'''&lt;br /&gt;
&lt;br /&gt;
Save your changes, afterwards on every boot up the WiFi LED will be enabled.&lt;br /&gt;
&lt;br /&gt;
Note:This has been verified on a T60 1953-D7U running Fedora 7 Linux, however this &lt;br /&gt;
should work on most Laptop-OS configurations.&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this card may be found in ===&lt;br /&gt;
* {{T60}}, {{T60p}}, {{T61}}&lt;br /&gt;
* {{X60}}, {{X60s}}&lt;br /&gt;
* {{Z60t}}, {{z61m}}&lt;br /&gt;
&lt;br /&gt;
=== Related Links ===&lt;br /&gt;
* [http://www.madwifi.org MadWifi project page]&lt;br /&gt;
* [http://madwifi.org/ticket/263 MadWifi ticket #263]&lt;br /&gt;
* [http://forums.fedoraforum.org/showthread.php?t=126266&amp;amp;highlight=atheros A Guide to Installing Atheros Cards Under Fedora Linux]&lt;br /&gt;
* [http://kolundin.blogspot.com/2007/11/thinkpad-z60t-wifi-f7.html Howto ThinkPad Z60t WiFi - Fedora 7]&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=33573</id>
		<title>Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=33573"/>
		<updated>2007-09-30T18:35:26Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Solution for ThinkPad Z60t */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There has been a problem encountered where the display stays black on resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
The symptom might have you think first that your system hang up, but you will realize that your ThinkPad works and you can even reset it via {{key|Ctrl}}{{key|Alt}}{{key|Del}}.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}&lt;br /&gt;
*Thinkpad {{T23}}&lt;br /&gt;
*ThinkPad {{X21}}, {{X30}}, {{X31}}, {{X40}}, {{X41}}&lt;br /&gt;
*ThinkPad {{R31}}, {{R50e}}{{footnote|1}}, {{R50p}}, {{R51}} (with BIOS 1.11), {{R52}}, {{R60}}, {{R61}}&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{390X}} (doesn't wake up; LCD backlight on, harddrive light remains on)&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}, {{Z61e}}&lt;br /&gt;
*ThinkPad {{X60s}}, {{X60}}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
*Linux (it's a kernel issue)&lt;br /&gt;
*FreeBSD (6.x at least)&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
===Quick workaround for R61i, maybe others===&lt;br /&gt;
Try pressing CTRL+ALT+F1 to switch to text console. The backlight should come on normally. Press CTRL+ALT+F7 to return to X.&lt;br /&gt;
&lt;br /&gt;
=== Solution for ThinkPad Z60t ===&lt;br /&gt;
&lt;br /&gt;
* '''Display controller:''' Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)&lt;br /&gt;
* '''Distro:''' Fedora release 7 (Moonshine)&lt;br /&gt;
* '''Kernel:''' Linux 2.6.22.5-76.fc7&lt;br /&gt;
&lt;br /&gt;
The solution is straight forward - just to add configuration parameter for the default '''pm-utils''' package. Create file &amp;lt;code&amp;gt;/etc/pm/config.d/config&amp;lt;/code&amp;gt; and put there one line &amp;lt;code&amp;gt;DISPLAY_QUIRK_S3_BIOS=&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt;, or execute following command:&lt;br /&gt;
&lt;br /&gt;
 echo DISPLAY_QUIRK_S3_BIOS=\&amp;quot;true\&amp;quot; &amp;gt;&amp;gt; /etc/pm/config.d/config&lt;br /&gt;
&lt;br /&gt;
===Semi-Solution for ThinkPad X60 with damaged system after s2ram usage===&lt;br /&gt;
It happend when restarting a s2ram-session.&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' Black screen with blinking &amp;quot;_&amp;quot; sign remaind. (without the &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
'''System status:''' HDD idle, fan running, everything else looks to wait for something to happen.&lt;br /&gt;
&lt;br /&gt;
'''Semi-Solution:''' Booting with DVD-ROM and going through the installations menu,&lt;br /&gt;
where you choose &amp;quot;other&amp;quot; and &amp;quot;boot a installed system&amp;quot; (something like that). Gladly it works,&lt;br /&gt;
and OpenSuSE 10.1 comes up with 50% &amp;quot;failed&amp;quot; messages! I than shutdown properly, rebooted again&lt;br /&gt;
and had 100% &amp;quot;done&amp;quot; again, with no other things affected.&lt;br /&gt;
&lt;br /&gt;
'''Further:''' Repairing with the DVD-ROM crashed massivly(!), so I selected &amp;quot;boot a installed system&amp;quot; as final&lt;br /&gt;
solution and it worked!&lt;br /&gt;
&lt;br /&gt;
'''Unknown:''' Maybe the Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM will help,&lt;br /&gt;
because X60s and X60 are very familiar. (Not tested so far.)&lt;br /&gt;
&lt;br /&gt;
(If this Problem is not right here, please edit and move.)&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM ===&lt;br /&gt;
see [[1400x1050 on Intel 915GM]].&lt;br /&gt;
===Solution for ThinkPads with ATI graphic chips and Intel 915/945GM ===&lt;br /&gt;
&lt;br /&gt;
Affected models include {{X60s}}, {{R60}} and {{T60}}.&lt;br /&gt;
&lt;br /&gt;
This soluton also applies to T42 with Intel 855 and ATI 9600 M10.&lt;br /&gt;
&lt;br /&gt;
One solution may be to provide the {{bootparm|acpi_sleep|s3_bios}} kernel parameter in your kernel parameter line.&lt;br /&gt;
&lt;br /&gt;
For grub this would look like this:&lt;br /&gt;
&lt;br /&gt;
 title           Linux, kernel 2.6.11-1-686&lt;br /&gt;
 root            (hd0,0)&lt;br /&gt;
 kernel          /boot/vmlinuz-2.6.11-1-686 root=/dev/hda1 ro acpi_sleep=s3_bios&lt;br /&gt;
 initrd          /boot/initrd.img-2.6.11-1-686&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;br /&gt;
&lt;br /&gt;
For lilo it would look like this:&lt;br /&gt;
&lt;br /&gt;
 image=/boot/vmlinuz&lt;br /&gt;
     append=&amp;quot;acpi_sleep=s3_bios&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The actual process of going to sleep is then managed through a sleep script; as a start, see the {{path|sleep.sh}} script in the Extreme Graphics 2 section below, but note the following comments:&lt;br /&gt;
&lt;br /&gt;
In [[:Category:OpenSUSE|OpenSUSE]] 10.1 (at least on a T43p), it's necessary to override the default options for s2ram if you're using the newer ATI driver.  This can be done putting {{bootparm|SUSPEND2RAM_FORCE|&amp;quot;yes&amp;quot;}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|&amp;quot;3&amp;quot;}} in {{path|/etc/powersave/sleep}}.&lt;br /&gt;
&lt;br /&gt;
In {{Ubuntu}} or {{Kubuntu}}, it may be necessary to modify {{path|/etc/default/acpi-support}}.  In that file, make sure that {{path|ACPI_SLEEP}} is uncommented and set to true.  With ATI chips, also make sure that {{path|SAVE_VBE_STATE}} is uncommented and set to true; with Intel chips, on the other hand, ensure that nothing is done with respect to VBE--no reposts, no state saves. Also commenting POST_VIDEO may help. &lt;br /&gt;
&lt;br /&gt;
In {{Fedora}}, it may be necessary with the Intel chips to edit the {{path|resume_video()}} function in {{path|/etc/pm/functions-intel}} to comment out the VBE post and restore.  (As of FC6 these seem to be pre-commented out.)  Also, the laptop, after waking up, may go back to sleep immediately or whenever the AC adapter is disconnected.  When this happens, it's caused by a bug in the HAL daemon that incorrectly reports certain ACPI events.  This is a known problem and a simple workaround is described [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|It is possible this method will not work if the laptop is docked.  It is also possible that the cited workaround for the HAL daemon bug will not work on some machines.  A kludgier workaround in this event is to kill the HAL daemon on suspend.  This necessitates the resuscitation of GPM upon resume.}}&lt;br /&gt;
&lt;br /&gt;
Another solution is to use vbetool. If you are using {{Debian}} with the hibernate package, uncomment &amp;quot;EnableVbetool yes&amp;quot; in {{path|/etc/hibernate/hibernate.conf}} (or {{path|/etc/hibernate/ram.conf}}).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On '''T60 2007-CTO''' (Core2Duo 2Ghz, 2GB Ram, ATI X1400) the screen stayed blank after suspend-to-ram until I set '''vga=0''' in lilo.conf.&lt;br /&gt;
&lt;br /&gt;
Working config:&lt;br /&gt;
 Linux 2.6.21.5&lt;br /&gt;
 fglrx 8.37.6&lt;br /&gt;
 debian etch:&lt;br /&gt;
  powersaved 0.14.0-5:&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2DISK=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2RAM=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;   &lt;br /&gt;
  hibernate:&lt;br /&gt;
   SwitchToTextMode yes&lt;br /&gt;
  lilo.conf:&lt;br /&gt;
   vga=0&lt;br /&gt;
&lt;br /&gt;
&amp;quot;EnableVbetool yes&amp;quot; and other suggestions didn't work for me.&lt;br /&gt;
&lt;br /&gt;
For suspend-to-disk, don't load fglrx in initrd.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel Extreme Graphics 2===&lt;br /&gt;
{{NOTE|&lt;br /&gt;
On [[:Category:X40|X40]]s/[[:Category:X41|X41]]s - even with Intel Extreme Graphics - and for [[:Category:R52|R52]]s with Intel Graphics Media Accelerator 900 the [[Problem with display remaining black after resume#Solution for ThinkPads with ATI graphic chips|solution for ATI graphics chips]] above is reported to work. In this case, make sure no changes to VBE are made, especially no state saves and no reposts.}}&lt;br /&gt;
&lt;br /&gt;
The following solution should work on 865G, 865GV, 855GM, 855GME, 852GME chipsets.&lt;br /&gt;
*First of all, '''do not''' use the {{bootparm|acpi_sleep|s3_bios}} kernel parameter.&lt;br /&gt;
*Second, completely remove framebuffer support from your kernel. If it's built as modules, it is important that they do not get loaded at all.&lt;br /&gt;
*Before suspending, change to a console and safe the video state with {{cmdroot|cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state}}.&lt;br /&gt;
*On resume, restore the video state with {{cmdroot|cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0}} and change back to X.&lt;br /&gt;
*For Debian Etch 4.0 on R50e just make following changes to /etc/default/acpi-support:&lt;br /&gt;
 #SAVE_VBE_STATE=true&lt;br /&gt;
 #VBESTATE=/var/lib/acpi-support/vbestate&lt;br /&gt;
 #POST_VIDEO=true&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&lt;br /&gt;
*For a R50e the only thing needed to make suspend to ram work in Ubuntu 6.06 is adding&lt;br /&gt;
 Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}}, and the example script below.&lt;br /&gt;
&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # change to console 1&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 &lt;br /&gt;
 # safe video state&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
 &lt;br /&gt;
 # sync filesystem&lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 # sync hardware clock with system time&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
 &lt;br /&gt;
 # waking up&lt;br /&gt;
 # restore system clock&lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # restore video state&lt;br /&gt;
 cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
 &lt;br /&gt;
 # change back to X&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
 &lt;br /&gt;
 # clean up behind us&lt;br /&gt;
 rm /tmp/video_state&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 6.10 on a [[:Category:R51|R51 (2887-32G)]] I ''just'' (as none of the other tricks above) had to add {{bootparm|fb|false}} to the kernel line in {{path|/etc/grub/menu.lst}} and edit {{path|/etc/defaults/acpi-support}} this way:&lt;br /&gt;
&lt;br /&gt;
 SAVE_VBE_STATE=false&lt;br /&gt;
 POST_VIDEO=false&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
 USE_DPMS=false&lt;br /&gt;
 DOUBLE_CONSOLE_SWITCH=false&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel I830 Chipset===&lt;br /&gt;
The following solution worked for me on an X30 with I830M chipset with kernel &amp;gt;= 2.6.16.&lt;br /&gt;
*this works with vesafb and also with intelfb frambuffer support.&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 8&lt;br /&gt;
 sync&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 vbetool post&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$FGCONSOLE&amp;quot; -ge &amp;quot;7&amp;quot; ] ; then&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 else&lt;br /&gt;
   chvt 7&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 fi&lt;br /&gt;
===Solution for ThinkPads with ATI graphic (and possibly other) chips and FreeBSD===&lt;br /&gt;
&lt;br /&gt;
The FreeBSD acpi(4) manpage mentions a tunable parameter, &amp;quot;hw.acpi.reset_video&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video&lt;br /&gt;
             Reset the video adapter from real mode during the resume path.&lt;br /&gt;
             Some systems need this help, others have display problems if it&lt;br /&gt;
             is enabled.  Default is 0 (disabled).&lt;br /&gt;
&lt;br /&gt;
This tunable can be set by adding the following line to your FreeBSD machine's /boot/loader.conf file:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And rebooting your machine.  Hopefully, the next time you resume from a suspend, you'll see your video again.  This solution doesn't appear to be specific to ATI hardware in any way, so I presume it would be helpful for video chipsets other than ATI, as well.&lt;br /&gt;
&lt;br /&gt;
If this entry doesn't help you, you might consider searching in the [http://lists.freebsd.org/pipermail/freebsd-mobile/ FreeBSD-Mobile email-list archive] for more insight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#If you have this problem with R50e and the above solution doesn't work, try switching to console first. An example sleep script can be found [[How to configure acpid|here]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Solution using s2ram for Intel 915/945GM===&lt;br /&gt;
&lt;br /&gt;
Just using the &amp;quot;s2ram -f -p&amp;quot; command from the uswsusp package will work from within X, at least on a {{Z61e}}. On {{X60s}} it is enough to issue the &amp;quot;s2ram&amp;quot; command and it works.&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=33572</id>
		<title>Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=33572"/>
		<updated>2007-09-30T18:13:05Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Quick workaround for R61i, maybe others */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There has been a problem encountered where the display stays black on resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
The symptom might have you think first that your system hang up, but you will realize that your ThinkPad works and you can even reset it via {{key|Ctrl}}{{key|Alt}}{{key|Del}}.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}&lt;br /&gt;
*Thinkpad {{T23}}&lt;br /&gt;
*ThinkPad {{X21}}, {{X30}}, {{X31}}, {{X40}}, {{X41}}&lt;br /&gt;
*ThinkPad {{R31}}, {{R50e}}{{footnote|1}}, {{R50p}}, {{R51}} (with BIOS 1.11), {{R52}}, {{R60}}, {{R61}}&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{390X}} (doesn't wake up; LCD backlight on, harddrive light remains on)&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}, {{Z61e}}&lt;br /&gt;
*ThinkPad {{X60s}}, {{X60}}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
*Linux (it's a kernel issue)&lt;br /&gt;
*FreeBSD (6.x at least)&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
===Quick workaround for R61i, maybe others===&lt;br /&gt;
Try pressing CTRL+ALT+F1 to switch to text console. The backlight should come on normally. Press CTRL+ALT+F7 to return to X.&lt;br /&gt;
&lt;br /&gt;
===Semi-Solution for ThinkPad X60 with damaged system after s2ram usage===&lt;br /&gt;
It happend when restarting a s2ram-session.&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' Black screen with blinking &amp;quot;_&amp;quot; sign remaind. (without the &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
'''System status:''' HDD idle, fan running, everything else looks to wait for something to happen.&lt;br /&gt;
&lt;br /&gt;
'''Semi-Solution:''' Booting with DVD-ROM and going through the installations menu,&lt;br /&gt;
where you choose &amp;quot;other&amp;quot; and &amp;quot;boot a installed system&amp;quot; (something like that). Gladly it works,&lt;br /&gt;
and OpenSuSE 10.1 comes up with 50% &amp;quot;failed&amp;quot; messages! I than shutdown properly, rebooted again&lt;br /&gt;
and had 100% &amp;quot;done&amp;quot; again, with no other things affected.&lt;br /&gt;
&lt;br /&gt;
'''Further:''' Repairing with the DVD-ROM crashed massivly(!), so I selected &amp;quot;boot a installed system&amp;quot; as final&lt;br /&gt;
solution and it worked!&lt;br /&gt;
&lt;br /&gt;
'''Unknown:''' Maybe the Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM will help,&lt;br /&gt;
because X60s and X60 are very familiar. (Not tested so far.)&lt;br /&gt;
&lt;br /&gt;
(If this Problem is not right here, please edit and move.)&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM ===&lt;br /&gt;
see [[1400x1050 on Intel 915GM]].&lt;br /&gt;
===Solution for ThinkPads with ATI graphic chips and Intel 915/945GM ===&lt;br /&gt;
&lt;br /&gt;
Affected models include {{X60s}}, {{R60}} and {{T60}}.&lt;br /&gt;
&lt;br /&gt;
This soluton also applies to T42 with Intel 855 and ATI 9600 M10.&lt;br /&gt;
&lt;br /&gt;
One solution may be to provide the {{bootparm|acpi_sleep|s3_bios}} kernel parameter in your kernel parameter line.&lt;br /&gt;
&lt;br /&gt;
For grub this would look like this:&lt;br /&gt;
&lt;br /&gt;
 title           Linux, kernel 2.6.11-1-686&lt;br /&gt;
 root            (hd0,0)&lt;br /&gt;
 kernel          /boot/vmlinuz-2.6.11-1-686 root=/dev/hda1 ro acpi_sleep=s3_bios&lt;br /&gt;
 initrd          /boot/initrd.img-2.6.11-1-686&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;br /&gt;
&lt;br /&gt;
For lilo it would look like this:&lt;br /&gt;
&lt;br /&gt;
 image=/boot/vmlinuz&lt;br /&gt;
     append=&amp;quot;acpi_sleep=s3_bios&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The actual process of going to sleep is then managed through a sleep script; as a start, see the {{path|sleep.sh}} script in the Extreme Graphics 2 section below, but note the following comments:&lt;br /&gt;
&lt;br /&gt;
In [[:Category:OpenSUSE|OpenSUSE]] 10.1 (at least on a T43p), it's necessary to override the default options for s2ram if you're using the newer ATI driver.  This can be done putting {{bootparm|SUSPEND2RAM_FORCE|&amp;quot;yes&amp;quot;}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|&amp;quot;3&amp;quot;}} in {{path|/etc/powersave/sleep}}.&lt;br /&gt;
&lt;br /&gt;
In {{Ubuntu}} or {{Kubuntu}}, it may be necessary to modify {{path|/etc/default/acpi-support}}.  In that file, make sure that {{path|ACPI_SLEEP}} is uncommented and set to true.  With ATI chips, also make sure that {{path|SAVE_VBE_STATE}} is uncommented and set to true; with Intel chips, on the other hand, ensure that nothing is done with respect to VBE--no reposts, no state saves. Also commenting POST_VIDEO may help. &lt;br /&gt;
&lt;br /&gt;
In {{Fedora}}, it may be necessary with the Intel chips to edit the {{path|resume_video()}} function in {{path|/etc/pm/functions-intel}} to comment out the VBE post and restore.  (As of FC6 these seem to be pre-commented out.)  Also, the laptop, after waking up, may go back to sleep immediately or whenever the AC adapter is disconnected.  When this happens, it's caused by a bug in the HAL daemon that incorrectly reports certain ACPI events.  This is a known problem and a simple workaround is described [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|It is possible this method will not work if the laptop is docked.  It is also possible that the cited workaround for the HAL daemon bug will not work on some machines.  A kludgier workaround in this event is to kill the HAL daemon on suspend.  This necessitates the resuscitation of GPM upon resume.}}&lt;br /&gt;
&lt;br /&gt;
Another solution is to use vbetool. If you are using {{Debian}} with the hibernate package, uncomment &amp;quot;EnableVbetool yes&amp;quot; in {{path|/etc/hibernate/hibernate.conf}} (or {{path|/etc/hibernate/ram.conf}}).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On '''T60 2007-CTO''' (Core2Duo 2Ghz, 2GB Ram, ATI X1400) the screen stayed blank after suspend-to-ram until I set '''vga=0''' in lilo.conf.&lt;br /&gt;
&lt;br /&gt;
Working config:&lt;br /&gt;
 Linux 2.6.21.5&lt;br /&gt;
 fglrx 8.37.6&lt;br /&gt;
 debian etch:&lt;br /&gt;
  powersaved 0.14.0-5:&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2DISK=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2RAM=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;   &lt;br /&gt;
  hibernate:&lt;br /&gt;
   SwitchToTextMode yes&lt;br /&gt;
  lilo.conf:&lt;br /&gt;
   vga=0&lt;br /&gt;
&lt;br /&gt;
&amp;quot;EnableVbetool yes&amp;quot; and other suggestions didn't work for me.&lt;br /&gt;
&lt;br /&gt;
For suspend-to-disk, don't load fglrx in initrd.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel Extreme Graphics 2===&lt;br /&gt;
{{NOTE|&lt;br /&gt;
On [[:Category:X40|X40]]s/[[:Category:X41|X41]]s - even with Intel Extreme Graphics - and for [[:Category:R52|R52]]s with Intel Graphics Media Accelerator 900 the [[Problem with display remaining black after resume#Solution for ThinkPads with ATI graphic chips|solution for ATI graphics chips]] above is reported to work. In this case, make sure no changes to VBE are made, especially no state saves and no reposts.}}&lt;br /&gt;
&lt;br /&gt;
The following solution should work on 865G, 865GV, 855GM, 855GME, 852GME chipsets.&lt;br /&gt;
*First of all, '''do not''' use the {{bootparm|acpi_sleep|s3_bios}} kernel parameter.&lt;br /&gt;
*Second, completely remove framebuffer support from your kernel. If it's built as modules, it is important that they do not get loaded at all.&lt;br /&gt;
*Before suspending, change to a console and safe the video state with {{cmdroot|cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state}}.&lt;br /&gt;
*On resume, restore the video state with {{cmdroot|cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0}} and change back to X.&lt;br /&gt;
*For Debian Etch 4.0 on R50e just make following changes to /etc/default/acpi-support:&lt;br /&gt;
 #SAVE_VBE_STATE=true&lt;br /&gt;
 #VBESTATE=/var/lib/acpi-support/vbestate&lt;br /&gt;
 #POST_VIDEO=true&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&lt;br /&gt;
*For a R50e the only thing needed to make suspend to ram work in Ubuntu 6.06 is adding&lt;br /&gt;
 Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}}, and the example script below.&lt;br /&gt;
&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # change to console 1&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 &lt;br /&gt;
 # safe video state&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
 &lt;br /&gt;
 # sync filesystem&lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 # sync hardware clock with system time&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
 &lt;br /&gt;
 # waking up&lt;br /&gt;
 # restore system clock&lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # restore video state&lt;br /&gt;
 cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
 &lt;br /&gt;
 # change back to X&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
 &lt;br /&gt;
 # clean up behind us&lt;br /&gt;
 rm /tmp/video_state&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 6.10 on a [[:Category:R51|R51 (2887-32G)]] I ''just'' (as none of the other tricks above) had to add {{bootparm|fb|false}} to the kernel line in {{path|/etc/grub/menu.lst}} and edit {{path|/etc/defaults/acpi-support}} this way:&lt;br /&gt;
&lt;br /&gt;
 SAVE_VBE_STATE=false&lt;br /&gt;
 POST_VIDEO=false&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
 USE_DPMS=false&lt;br /&gt;
 DOUBLE_CONSOLE_SWITCH=false&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel I830 Chipset===&lt;br /&gt;
The following solution worked for me on an X30 with I830M chipset with kernel &amp;gt;= 2.6.16.&lt;br /&gt;
*this works with vesafb and also with intelfb frambuffer support.&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 8&lt;br /&gt;
 sync&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 vbetool post&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$FGCONSOLE&amp;quot; -ge &amp;quot;7&amp;quot; ] ; then&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 else&lt;br /&gt;
   chvt 7&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 fi&lt;br /&gt;
===Solution for ThinkPads with ATI graphic (and possibly other) chips and FreeBSD===&lt;br /&gt;
&lt;br /&gt;
The FreeBSD acpi(4) manpage mentions a tunable parameter, &amp;quot;hw.acpi.reset_video&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video&lt;br /&gt;
             Reset the video adapter from real mode during the resume path.&lt;br /&gt;
             Some systems need this help, others have display problems if it&lt;br /&gt;
             is enabled.  Default is 0 (disabled).&lt;br /&gt;
&lt;br /&gt;
This tunable can be set by adding the following line to your FreeBSD machine's /boot/loader.conf file:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And rebooting your machine.  Hopefully, the next time you resume from a suspend, you'll see your video again.  This solution doesn't appear to be specific to ATI hardware in any way, so I presume it would be helpful for video chipsets other than ATI, as well.&lt;br /&gt;
&lt;br /&gt;
If this entry doesn't help you, you might consider searching in the [http://lists.freebsd.org/pipermail/freebsd-mobile/ FreeBSD-Mobile email-list archive] for more insight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#If you have this problem with R50e and the above solution doesn't work, try switching to console first. An example sleep script can be found [[How to configure acpid|here]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Solution using s2ram for Intel 915/945GM===&lt;br /&gt;
&lt;br /&gt;
Just using the &amp;quot;s2ram -f -p&amp;quot; command from the uswsusp package will work from within X, at least on a {{Z61e}}. On {{X60s}} it is enough to issue the &amp;quot;s2ram&amp;quot; command and it works.&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=33354</id>
		<title>Problem with display remaining black after resume</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_display_remaining_black_after_resume&amp;diff=33354"/>
		<updated>2007-09-24T17:12:44Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Quick workaround for R61i, maybe others */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There has been a problem encountered where the display stays black on resuming from suspend.&lt;br /&gt;
&lt;br /&gt;
The symptom might have you think first that your system hang up, but you will realize that your ThinkPad works and you can even reset it via {{key|Ctrl}}{{key|Alt}}{{key|Del}}.&lt;br /&gt;
&lt;br /&gt;
==Affected Models==&lt;br /&gt;
*ThinkPad {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}&lt;br /&gt;
*Thinkpad {{T23}}&lt;br /&gt;
*ThinkPad {{X21}}, {{X30}}, {{X31}}, {{X40}}, {{X41}}&lt;br /&gt;
*ThinkPad {{R31}}, {{R50e}}{{footnote|1}}, {{R50p}}, {{R51}} (with BIOS 1.11), {{R52}}, {{R60}}, {{R61}}&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{390X}} (doesn't wake up; LCD backlight on, harddrive light remains on)&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}, {{Z61e}}&lt;br /&gt;
*ThinkPad {{X60s}}, {{X60}}&lt;br /&gt;
&lt;br /&gt;
==Affected Operating Systems==&lt;br /&gt;
*Linux (it's a kernel issue)&lt;br /&gt;
*FreeBSD (6.x at least)&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
===Quick workaround for R61i, maybe others===&lt;br /&gt;
Try pressing CTRL+ALT+F1 to switch to text console. The backlight should come on normally. Press CTRL+ALT+F7 to return to X.&lt;br /&gt;
&lt;br /&gt;
'''Remark:''' To make this workaround work I had to add '''Option &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;''' to the '''&amp;quot;Device&amp;quot;''' section of the '''/etc/X11/xorg.conf'''. (Linux 2.6.22.5-76.fc7 on Z60t)&lt;br /&gt;
&lt;br /&gt;
===Semi-Solution for ThinkPad X60 with damaged system after s2ram usage===&lt;br /&gt;
It happend when restarting a s2ram-session.&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' Black screen with blinking &amp;quot;_&amp;quot; sign remaind. (without the &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
'''System status:''' HDD idle, fan running, everything else looks to wait for something to happen.&lt;br /&gt;
&lt;br /&gt;
'''Semi-Solution:''' Booting with DVD-ROM and going through the installations menu,&lt;br /&gt;
where you choose &amp;quot;other&amp;quot; and &amp;quot;boot a installed system&amp;quot; (something like that). Gladly it works,&lt;br /&gt;
and OpenSuSE 10.1 comes up with 50% &amp;quot;failed&amp;quot; messages! I than shutdown properly, rebooted again&lt;br /&gt;
and had 100% &amp;quot;done&amp;quot; again, with no other things affected.&lt;br /&gt;
&lt;br /&gt;
'''Further:''' Repairing with the DVD-ROM crashed massivly(!), so I selected &amp;quot;boot a installed system&amp;quot; as final&lt;br /&gt;
solution and it worked!&lt;br /&gt;
&lt;br /&gt;
'''Unknown:''' Maybe the Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM will help,&lt;br /&gt;
because X60s and X60 are very familiar. (Not tested so far.)&lt;br /&gt;
&lt;br /&gt;
(If this Problem is not right here, please edit and move.)&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with 1400x1050 internal LCD and Intel 915GM ===&lt;br /&gt;
see [[1400x1050 on Intel 915GM]].&lt;br /&gt;
===Solution for ThinkPads with ATI graphic chips and Intel 915/945GM ===&lt;br /&gt;
&lt;br /&gt;
Affected models include {{X60s}}, {{R60}} and {{T60}}.&lt;br /&gt;
&lt;br /&gt;
This soluton also applies to T42 with Intel 855 and ATI 9600 M10.&lt;br /&gt;
&lt;br /&gt;
One solution may be to provide the {{bootparm|acpi_sleep|s3_bios}} kernel parameter in your kernel parameter line.&lt;br /&gt;
&lt;br /&gt;
For grub this would look like this:&lt;br /&gt;
&lt;br /&gt;
 title           Linux, kernel 2.6.11-1-686&lt;br /&gt;
 root            (hd0,0)&lt;br /&gt;
 kernel          /boot/vmlinuz-2.6.11-1-686 root=/dev/hda1 ro acpi_sleep=s3_bios&lt;br /&gt;
 initrd          /boot/initrd.img-2.6.11-1-686&lt;br /&gt;
 savedefault&lt;br /&gt;
 boot&lt;br /&gt;
&lt;br /&gt;
For lilo it would look like this:&lt;br /&gt;
&lt;br /&gt;
 image=/boot/vmlinuz&lt;br /&gt;
     append=&amp;quot;acpi_sleep=s3_bios&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The actual process of going to sleep is then managed through a sleep script; as a start, see the {{path|sleep.sh}} script in the Extreme Graphics 2 section below, but note the following comments:&lt;br /&gt;
&lt;br /&gt;
In [[:Category:OpenSUSE|OpenSUSE]] 10.1 (at least on a T43p), it's necessary to override the default options for s2ram if you're using the newer ATI driver.  This can be done putting {{bootparm|SUSPEND2RAM_FORCE|&amp;quot;yes&amp;quot;}} and {{bootparm|SUSPEND2RAM_ACPI_SLEEP|&amp;quot;3&amp;quot;}} in {{path|/etc/powersave/sleep}}.&lt;br /&gt;
&lt;br /&gt;
In {{Ubuntu}} or {{Kubuntu}}, it may be necessary to modify {{path|/etc/default/acpi-support}}.  In that file, make sure that {{path|ACPI_SLEEP}} is uncommented and set to true.  With ATI chips, also make sure that {{path|SAVE_VBE_STATE}} is uncommented and set to true; with Intel chips, on the other hand, ensure that nothing is done with respect to VBE--no reposts, no state saves. Also commenting POST_VIDEO may help. &lt;br /&gt;
&lt;br /&gt;
In {{Fedora}}, it may be necessary with the Intel chips to edit the {{path|resume_video()}} function in {{path|/etc/pm/functions-intel}} to comment out the VBE post and restore.  (As of FC6 these seem to be pre-commented out.)  Also, the laptop, after waking up, may go back to sleep immediately or whenever the AC adapter is disconnected.  When this happens, it's caused by a bug in the HAL daemon that incorrectly reports certain ACPI events.  This is a known problem and a simple workaround is described [http://live.gnome.org/GnomePowerManager/Faq#head-b8b1280115b0a51c2cc27b13a57121130ebf36cb here].&lt;br /&gt;
&lt;br /&gt;
{{NOTE|It is possible this method will not work if the laptop is docked.  It is also possible that the cited workaround for the HAL daemon bug will not work on some machines.  A kludgier workaround in this event is to kill the HAL daemon on suspend.  This necessitates the resuscitation of GPM upon resume.}}&lt;br /&gt;
&lt;br /&gt;
Another solution is to use vbetool. If you are using {{Debian}} with the hibernate package, uncomment &amp;quot;EnableVbetool yes&amp;quot; in {{path|/etc/hibernate/hibernate.conf}} (or {{path|/etc/hibernate/ram.conf}}).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
On '''T60 2007-CTO''' (Core2Duo 2Ghz, 2GB Ram, ATI X1400) the screen stayed blank after suspend-to-ram until I set '''vga=0''' in lilo.conf.&lt;br /&gt;
&lt;br /&gt;
Working config:&lt;br /&gt;
 Linux 2.6.21.5&lt;br /&gt;
 fglrx 8.37.6&lt;br /&gt;
 debian etch:&lt;br /&gt;
  powersaved 0.14.0-5:&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2DISK=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;&lt;br /&gt;
   UNLOAD_MODULES_BEFORE_SUSPEND2RAM=&amp;quot;usb_storage ohci_hcd uhci_hcd ehci_hcd ipw3945 pcmcia yenta_socket rsrc_nonstatic pcmcia_core&amp;quot;   &lt;br /&gt;
  hibernate:&lt;br /&gt;
   SwitchToTextMode yes&lt;br /&gt;
  lilo.conf:&lt;br /&gt;
   vga=0&lt;br /&gt;
&lt;br /&gt;
&amp;quot;EnableVbetool yes&amp;quot; and other suggestions didn't work for me.&lt;br /&gt;
&lt;br /&gt;
For suspend-to-disk, don't load fglrx in initrd.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel Extreme Graphics 2===&lt;br /&gt;
{{NOTE|&lt;br /&gt;
On [[:Category:X40|X40]]s/[[:Category:X41|X41]]s - even with Intel Extreme Graphics - and for [[:Category:R52|R52]]s with Intel Graphics Media Accelerator 900 the [[Problem with display remaining black after resume#Solution for ThinkPads with ATI graphic chips|solution for ATI graphics chips]] above is reported to work. In this case, make sure no changes to VBE are made, especially no state saves and no reposts.}}&lt;br /&gt;
&lt;br /&gt;
The following solution should work on 865G, 865GV, 855GM, 855GME, 852GME chipsets.&lt;br /&gt;
*First of all, '''do not''' use the {{bootparm|acpi_sleep|s3_bios}} kernel parameter.&lt;br /&gt;
*Second, completely remove framebuffer support from your kernel. If it's built as modules, it is important that they do not get loaded at all.&lt;br /&gt;
*Before suspending, change to a console and safe the video state with {{cmdroot|cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state}}.&lt;br /&gt;
*On resume, restore the video state with {{cmdroot|cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0}} and change back to X.&lt;br /&gt;
*For Debian Etch 4.0 on R50e just make following changes to /etc/default/acpi-support:&lt;br /&gt;
 #SAVE_VBE_STATE=true&lt;br /&gt;
 #VBESTATE=/var/lib/acpi-support/vbestate&lt;br /&gt;
 #POST_VIDEO=true&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
&lt;br /&gt;
*For a R50e the only thing needed to make suspend to ram work in Ubuntu 6.06 is adding&lt;br /&gt;
 Option  &amp;quot;VBERestore&amp;quot; &amp;quot;yes&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}}, and the example script below.&lt;br /&gt;
&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 # change to console 1&lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 6&lt;br /&gt;
 &lt;br /&gt;
 # safe video state&lt;br /&gt;
 cat /proc/bus/pci/00/02.0 &amp;gt; /tmp/video_state&lt;br /&gt;
 &lt;br /&gt;
 # sync filesystem&lt;br /&gt;
 sync&lt;br /&gt;
 &lt;br /&gt;
 # sync hardware clock with system time&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 # go to sleep&lt;br /&gt;
 echo -n 3 &amp;gt; /proc/acpi/sleep&lt;br /&gt;
 &lt;br /&gt;
 # waking up&lt;br /&gt;
 # restore system clock&lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 &lt;br /&gt;
 # restore video state&lt;br /&gt;
 cat /tmp/video_state &amp;gt; /proc/bus/pci/00/02.0&lt;br /&gt;
 &lt;br /&gt;
 # change back to X&lt;br /&gt;
 chvt $FGCONSOLE&lt;br /&gt;
 &lt;br /&gt;
 # clean up behind us&lt;br /&gt;
 rm /tmp/video_state&lt;br /&gt;
&lt;br /&gt;
With Ubuntu 6.10 on a [[:Category:R51|R51 (2887-32G)]] I ''just'' (as none of the other tricks above) had to add {{bootparm|fb|false}} to the kernel line in {{path|/etc/grub/menu.lst}} and edit {{path|/etc/defaults/acpi-support}} this way:&lt;br /&gt;
&lt;br /&gt;
 SAVE_VBE_STATE=false&lt;br /&gt;
 POST_VIDEO=false&lt;br /&gt;
 SAVE_VIDEO_PCI_STATE=true&lt;br /&gt;
 USE_DPMS=false&lt;br /&gt;
 DOUBLE_CONSOLE_SWITCH=false&lt;br /&gt;
&lt;br /&gt;
===Solution for ThinkPads with Intel I830 Chipset===&lt;br /&gt;
The following solution worked for me on an X30 with I830M chipset with kernel &amp;gt;= 2.6.16.&lt;br /&gt;
*this works with vesafb and also with intelfb frambuffer support.&lt;br /&gt;
The following example {{path|/etc/acpi/actions/sleep.sh}} script shows how to integrate the according lines.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 &lt;br /&gt;
 FGCONSOLE=`fgconsole`&lt;br /&gt;
 chvt 8&lt;br /&gt;
 sync&lt;br /&gt;
 hwclock --systohc&lt;br /&gt;
 &lt;br /&gt;
 echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state&lt;br /&gt;
 &lt;br /&gt;
 hwclock --hctosys&lt;br /&gt;
 vbetool post&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$FGCONSOLE&amp;quot; -ge &amp;quot;7&amp;quot; ] ; then&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 else&lt;br /&gt;
   chvt 7&lt;br /&gt;
   chvt $FGCONSOLE&lt;br /&gt;
 fi&lt;br /&gt;
===Solution for ThinkPads with ATI graphic (and possibly other) chips and FreeBSD===&lt;br /&gt;
&lt;br /&gt;
The FreeBSD acpi(4) manpage mentions a tunable parameter, &amp;quot;hw.acpi.reset_video&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video&lt;br /&gt;
             Reset the video adapter from real mode during the resume path.&lt;br /&gt;
             Some systems need this help, others have display problems if it&lt;br /&gt;
             is enabled.  Default is 0 (disabled).&lt;br /&gt;
&lt;br /&gt;
This tunable can be set by adding the following line to your FreeBSD machine's /boot/loader.conf file:&lt;br /&gt;
&lt;br /&gt;
    hw.acpi.reset_video=&amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
And rebooting your machine.  Hopefully, the next time you resume from a suspend, you'll see your video again.  This solution doesn't appear to be specific to ATI hardware in any way, so I presume it would be helpful for video chipsets other than ATI, as well.&lt;br /&gt;
&lt;br /&gt;
If this entry doesn't help you, you might consider searching in the [http://lists.freebsd.org/pipermail/freebsd-mobile/ FreeBSD-Mobile email-list archive] for more insight.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#If you have this problem with R50e and the above solution doesn't work, try switching to console first. An example sleep script can be found [[How to configure acpid|here]].&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Solution using s2ram for Intel 915/945GM===&lt;br /&gt;
&lt;br /&gt;
Just using the &amp;quot;s2ram -f -p&amp;quot; command from the uswsusp package will work from within X, at least on a {{Z61e}}. On {{X60s}} it is enough to issue the &amp;quot;s2ram&amp;quot; command and it works.&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=27510</id>
		<title>How to get the internal SD card working</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=27510"/>
		<updated>2007-01-05T16:44:03Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /sbin path added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter=&lt;br /&gt;
&lt;br /&gt;
1. First of it all you need a working kernel 2.6 source.&lt;br /&gt;
&lt;br /&gt;
2. Get the patches at http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci all the *.bin. Note that with kernel versions &amp;gt;= 2.6.17-rc1, the driver is included in the kernel, and patching is unnecessary.&lt;br /&gt;
&lt;br /&gt;
3. Patch your kernel&lt;br /&gt;
&lt;br /&gt;
  cd /usr/src/linux&lt;br /&gt;
  patch -p1 &amp;lt; sdhci-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; pci-sdhc-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; mmc-respopcode-0001.bin&lt;br /&gt;
&lt;br /&gt;
4. reconfigure your kernel with menuconfig&lt;br /&gt;
&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
5. activate &amp;quot;Device Drivers&amp;quot; -&amp;gt; &amp;quot;MMC/SD Card support&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;*&amp;gt; MMC support&lt;br /&gt;
  &amp;lt;*&amp;gt;   MMC block device driver&lt;br /&gt;
  &amp;lt;M&amp;gt;   Secure Digital Host Controller Interface support  (EXPERIMENTAL)&lt;br /&gt;
&lt;br /&gt;
6. recompile your kernel &amp;amp; reboot&lt;br /&gt;
&lt;br /&gt;
  make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make modules_install.. dont forget to copy your new kernel. ;)&lt;br /&gt;
&lt;br /&gt;
7. Modprobe your new kernel module:&lt;br /&gt;
&lt;br /&gt;
  modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
8. Mount your SD card&lt;br /&gt;
&lt;br /&gt;
  mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
9. RocknRoll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Ubuntu 6.10 'edgy eft': ==&lt;br /&gt;
To get the card reader working on edgy:&lt;br /&gt;
&lt;br /&gt;
Add the module 'tifm_sd' to /etc/modules and restart. Now this module gets loaded on sys bootup and a card is detected when inserted. The card reader is found as /dev/mmcblk0 and mounted automatically on card insert.&lt;br /&gt;
&lt;br /&gt;
'''Step-by-step:'''&lt;br /&gt;
&lt;br /&gt;
1. Make a backup of your 'modules' in case something goes wrong:&lt;br /&gt;
  {{cmduser|sudo cp /etc/modules /etc/modules.backup}}&lt;br /&gt;
2. Open the file with gedit:&lt;br /&gt;
  {{cmduser|sudo gedit /etc/modules}}&lt;br /&gt;
3. Add the following entry to the end of the file:&lt;br /&gt;
  tifm_sd&lt;br /&gt;
4. Save and close the file. On the next boot, the sd-card reader works.&lt;br /&gt;
&lt;br /&gt;
As mentioned below, this is already reported as a bug: [https://launchpad.net/distros/ubuntu/+bug/53268 BUG #53268]&lt;br /&gt;
&lt;br /&gt;
== Update for FC5 running the newest 2.6.17 kernel: ==&lt;br /&gt;
&lt;br /&gt;
1. modprobe mmc_block&lt;br /&gt;
&lt;br /&gt;
2. modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
3. mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
4. RocknRoll &lt;br /&gt;
&lt;br /&gt;
Tested on my X41 with 04:00.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)&lt;br /&gt;
&lt;br /&gt;
=== Automated module loading ===&lt;br /&gt;
&lt;br /&gt;
I'm using ASPLinux release 11 (Seliger) based on FC4 and kernel 2.6.17-1.2142asp.&lt;br /&gt;
&lt;br /&gt;
* 1. I created the script &amp;lt;code&amp;gt;/etc/sysconfig/modules/sd.modules&amp;lt;/code&amp;gt; to load modules on boot. Don't foget to chmod it 775.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
start () {&lt;br /&gt;
        for i in mmc_core mmc_block sdhci; do&lt;br /&gt;
                /sbin/modprobe $i &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
        done&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
stop () {&lt;br /&gt;
        for i in sdhci mmc_block mmc_core; do&lt;br /&gt;
                /sbin/rmmod $i &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
        done&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
restart() {&lt;br /&gt;
        stop&lt;br /&gt;
        start&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
case $1 in&lt;br /&gt;
        start)&lt;br /&gt;
                start&lt;br /&gt;
        ;;&lt;br /&gt;
        stop)&lt;br /&gt;
                stop&lt;br /&gt;
        ;;&lt;br /&gt;
        restart)&lt;br /&gt;
                echo -n &amp;quot;Reloading SD modules&amp;quot;&lt;br /&gt;
                restart&lt;br /&gt;
                echo &amp;quot;.. DONE&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
        *)&lt;br /&gt;
        start&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 2. This script will run after reboot. When you insert card the automount system in the KDE or Gnome will catch the medium on the fly. But I found that the medium should be inserted at boot time because of latter '''BUG''' :-(. That's why my script is longer then it has to be...&lt;br /&gt;
&lt;br /&gt;
'''BUG''' Currently the bug exists in the automounting SD card. SD card is mounted properly when the card is inserted at boot time (or at time when modules is loaded). Otherwise it is not get mounted ([https://launchpad.net/distros/ubuntu/+bug/53268 BUG #53268]). The temporary  workaround is to remove &amp;amp;&amp;amp; insert again modules while the medium is in the reader (&amp;lt;code&amp;gt;/etc/sysconfig/modules/sd.modules restart&amp;lt;/code&amp;gt;). Note that you have to be root to perform this.&lt;br /&gt;
&lt;br /&gt;
Tested on my Z60t with 14:00.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)&lt;br /&gt;
&lt;br /&gt;
=Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)=&lt;br /&gt;
&lt;br /&gt;
To get the TI 5in1 Card Reader (like it is built in the {{Z61m}}) to work, you need a recent kernel (I use 2.6.19 on {{Debian}} Sid here, should work with 2.6.18 too) with some special options enabled:&lt;br /&gt;
&lt;br /&gt;
{{kernelconf|CONFIG_TIFM_CORE|[M]|TI Flash Media interface support (EXPERIMENTAL)|Misc devices|Device Drivers||}}&lt;br /&gt;
&lt;br /&gt;
{{kernelconf|CONFIG_TIFM_7XX1|[M]|TI Flash Media PCI74xx/PCI76xx host adapter support (EXPERIMENTAL)|Misc devices|Device Drivers||}}&lt;br /&gt;
&lt;br /&gt;
{{kernelconf|CONFIG_MMC|[M]|MMC support|MMC/SD Card support|Device Drivers||}}&lt;br /&gt;
&lt;br /&gt;
{{kernelconf|CONFIG_MMC_BLOCK|[M]|MMC block device driver|MMC/SD Card support|Device Drivers||}}&lt;br /&gt;
&lt;br /&gt;
{{kernelconf|CONFIG_MMC_TIFM_SD|[M]|TI Flash Media MMC/SD Interface support  (EXPERIMENTAL)|MMC/SD Card support|Device Drivers||}}&lt;br /&gt;
&lt;br /&gt;
After rebuilding your kernel, you should get some new modules: tifm_core, tifm_7xx1, mmc_core, mmc_block, tifm_sd. The first two will get autoloaded on boot, if you use some kind of hardware-autodetection, the others won't, so edit your {{path|/etc/modules}} (or however the file where the modules to load on boot are listed is called by your distribution) and add these modules there.&lt;br /&gt;
&lt;br /&gt;
After a reboot, or after you've loaded the modules by-hand with modprobe, you can put a SD-Card into the slot and see the light blink once. You should see something like this in your {{cmduser|dmesg}} output:&lt;br /&gt;
&lt;br /&gt;
  tifm_7xx1: sd card detected in socket 1&lt;br /&gt;
  mmcblk0: mmc0:b368 SMI   999424KiB&lt;br /&gt;
   mmcblk0: p1&lt;br /&gt;
  mmcblk0: error 4 sending stop command&lt;br /&gt;
  end_request: I/O error, dev mmcblk0, sector 1998840&lt;br /&gt;
  Buffer I/O error on device mmcblk0, logical block 249855}}&lt;br /&gt;
&lt;br /&gt;
Don't care about the errors, my card is still working.&lt;br /&gt;
Now you can mount the card with {{cmdroot|mount /dev/mmcblk0p1 /somewhere}} and work with it.&lt;br /&gt;
&lt;br /&gt;
{{NOTE|This works only for SD cards at the moment, the driver isn't able to handle MMC/MS/MS PRO/xD yet.}}&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23445</id>
		<title>How to get the internal SD card working</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23445"/>
		<updated>2006-07-22T11:30:52Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Automated module loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. First of it all you need a working kernel 2.6 source.&lt;br /&gt;
&lt;br /&gt;
2. Get the patches at http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci all the *.bin &lt;br /&gt;
&lt;br /&gt;
3. Patch your Kernel&lt;br /&gt;
&lt;br /&gt;
  cd /usr/src/linux&lt;br /&gt;
  patch -p1 &amp;lt; sdhci-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; pci-sdhc-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; mmc-respopcode-0001.bin&lt;br /&gt;
&lt;br /&gt;
4. reconfigure your Kernel with menuconfig:&lt;br /&gt;
&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
5. aktivate &amp;quot;Device Drivers&amp;quot; -&amp;gt; &amp;quot;MMC/SD Card support&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;*&amp;gt; MMC support&lt;br /&gt;
  &amp;lt;*&amp;gt;   MMC block device driver&lt;br /&gt;
  &amp;lt;M&amp;gt;   Secure Digital Host Controller Interface support  (EXPERIMENTAL)&lt;br /&gt;
&lt;br /&gt;
6. recompile your kernel &amp;amp; reboot&lt;br /&gt;
&lt;br /&gt;
  make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make modules_install.. dont forget to copy your new kernel. ;)&lt;br /&gt;
&lt;br /&gt;
7. Modprobe your new Kernelmodule:&lt;br /&gt;
&lt;br /&gt;
  modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
8. Mount your SD CARD&lt;br /&gt;
&lt;br /&gt;
  mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
9. RocknRoll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Update for FC5 running the newest 2.6.17 kernel: ==&lt;br /&gt;
&lt;br /&gt;
1. modprobe mmc_block&lt;br /&gt;
&lt;br /&gt;
2. modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
3. mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
4. RocknRoll &lt;br /&gt;
&lt;br /&gt;
Tested on my X41 with 04:00.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)&lt;br /&gt;
&lt;br /&gt;
=== Automated module loading ===&lt;br /&gt;
&lt;br /&gt;
I'm using ASPLinux release 11 (Seliger) based on FC4 and kernel 2.6.17-1.2142asp.&lt;br /&gt;
&lt;br /&gt;
* 1. Created the script &amp;lt;code&amp;gt;/etc/sysconfig/modules/sd.modules&amp;lt;/code&amp;gt; to load modules on boot. Don't foget to chmod it 775.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
start () {&lt;br /&gt;
        for i in mmc_core mmc_block sdhci; do&lt;br /&gt;
                modprobe $i &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
        done&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
stop () {&lt;br /&gt;
        for i in sdhci mmc_block mmc_core; do&lt;br /&gt;
                rmmod $i &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
        done&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
restart() {&lt;br /&gt;
        stop&lt;br /&gt;
        start&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
case $1 in&lt;br /&gt;
        start)&lt;br /&gt;
                start&lt;br /&gt;
        ;;&lt;br /&gt;
        stop)&lt;br /&gt;
                stop&lt;br /&gt;
        ;;&lt;br /&gt;
        restart)&lt;br /&gt;
                echo -n &amp;quot;Reloading SD modules&amp;quot;&lt;br /&gt;
                restart&lt;br /&gt;
                echo &amp;quot;.. DONE&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
        *)&lt;br /&gt;
        start&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 2. This script will run after reboot. When you insert card the automount system in the KDE or Gnome will catch the medium on the fly. But I found that the medium should be inserted at boot time because of latter '''BUG''' :-(. That's why my script is longer then it has to be...&lt;br /&gt;
&lt;br /&gt;
'''BUG''' Currently the bug exists in the automounting SD card. SD card is mounted properly when the card is inserted at boot time (or at time when modules is loaded). Otherwise it is not get mounted ([https://launchpad.net/distros/ubuntu/+bug/53268 BUG #53268]). The temporary  workaround is to remove &amp;amp;&amp;amp; insert again modules while the medium is in the reader (&amp;lt;code&amp;gt;/etc/sysconfig/modules/sd.modules restart&amp;lt;/code&amp;gt;). Note that you have to be root to perform this.&lt;br /&gt;
&lt;br /&gt;
Tested on my Z60t with 14:00.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23444</id>
		<title>How to get the internal SD card working</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23444"/>
		<updated>2006-07-22T10:58:05Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Automated module loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. First of it all you need a working kernel 2.6 source.&lt;br /&gt;
&lt;br /&gt;
2. Get the patches at http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci all the *.bin &lt;br /&gt;
&lt;br /&gt;
3. Patch your Kernel&lt;br /&gt;
&lt;br /&gt;
  cd /usr/src/linux&lt;br /&gt;
  patch -p1 &amp;lt; sdhci-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; pci-sdhc-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; mmc-respopcode-0001.bin&lt;br /&gt;
&lt;br /&gt;
4. reconfigure your Kernel with menuconfig:&lt;br /&gt;
&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
5. aktivate &amp;quot;Device Drivers&amp;quot; -&amp;gt; &amp;quot;MMC/SD Card support&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;*&amp;gt; MMC support&lt;br /&gt;
  &amp;lt;*&amp;gt;   MMC block device driver&lt;br /&gt;
  &amp;lt;M&amp;gt;   Secure Digital Host Controller Interface support  (EXPERIMENTAL)&lt;br /&gt;
&lt;br /&gt;
6. recompile your kernel &amp;amp; reboot&lt;br /&gt;
&lt;br /&gt;
  make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make modules_install.. dont forget to copy your new kernel. ;)&lt;br /&gt;
&lt;br /&gt;
7. Modprobe your new Kernelmodule:&lt;br /&gt;
&lt;br /&gt;
  modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
8. Mount your SD CARD&lt;br /&gt;
&lt;br /&gt;
  mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
9. RocknRoll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Update for FC5 running the newest 2.6.17 kernel: ==&lt;br /&gt;
&lt;br /&gt;
1. modprobe mmc_block&lt;br /&gt;
&lt;br /&gt;
2. modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
3. mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
4. RocknRoll &lt;br /&gt;
&lt;br /&gt;
Tested on my X41 with 04:00.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)&lt;br /&gt;
&lt;br /&gt;
=== Automated module loading ===&lt;br /&gt;
&lt;br /&gt;
I'm using ASPLinux release 11 (Seliger) based on FC4 and kernel 2.6.17-1.2142asp.&lt;br /&gt;
&lt;br /&gt;
* 1. Created the script &amp;lt;code&amp;gt;/etc/sysconfig/modules/sd.modules&amp;lt;/code&amp;gt; to load modules on boot. Don't foget to chmod it 775.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
for i in mmc_core mmc_block sdhci; do&lt;br /&gt;
        modprobe $i &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 2. It will be run after reboot. When you insert card the automount system in the KDE || Gnome will catch the medium on the fly.&lt;br /&gt;
&lt;br /&gt;
Tested on my Z60t with 14:00.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23443</id>
		<title>How to get the internal SD card working</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23443"/>
		<updated>2006-07-22T10:52:58Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Automated module loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. First of it all you need a working kernel 2.6 source.&lt;br /&gt;
&lt;br /&gt;
2. Get the patches at http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci all the *.bin &lt;br /&gt;
&lt;br /&gt;
3. Patch your Kernel&lt;br /&gt;
&lt;br /&gt;
  cd /usr/src/linux&lt;br /&gt;
  patch -p1 &amp;lt; sdhci-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; pci-sdhc-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; mmc-respopcode-0001.bin&lt;br /&gt;
&lt;br /&gt;
4. reconfigure your Kernel with menuconfig:&lt;br /&gt;
&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
5. aktivate &amp;quot;Device Drivers&amp;quot; -&amp;gt; &amp;quot;MMC/SD Card support&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;*&amp;gt; MMC support&lt;br /&gt;
  &amp;lt;*&amp;gt;   MMC block device driver&lt;br /&gt;
  &amp;lt;M&amp;gt;   Secure Digital Host Controller Interface support  (EXPERIMENTAL)&lt;br /&gt;
&lt;br /&gt;
6. recompile your kernel &amp;amp; reboot&lt;br /&gt;
&lt;br /&gt;
  make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make modules_install.. dont forget to copy your new kernel. ;)&lt;br /&gt;
&lt;br /&gt;
7. Modprobe your new Kernelmodule:&lt;br /&gt;
&lt;br /&gt;
  modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
8. Mount your SD CARD&lt;br /&gt;
&lt;br /&gt;
  mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
9. RocknRoll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Update for FC5 running the newest 2.6.17 kernel: ==&lt;br /&gt;
&lt;br /&gt;
1. modprobe mmc_block&lt;br /&gt;
&lt;br /&gt;
2. modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
3. mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
4. RocknRoll &lt;br /&gt;
&lt;br /&gt;
Tested on my X41 with 04:00.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)&lt;br /&gt;
&lt;br /&gt;
=== Automated module loading ===&lt;br /&gt;
&lt;br /&gt;
I'm using ASPLinux release 11 (Seliger) based on FC4 and kernel 2.6.17-1.2142asp.&lt;br /&gt;
&lt;br /&gt;
* 1. Created the script &amp;lt;code&amp;gt;/etc/sysconfig/modules/sd.modules&amp;lt;/code&amp;gt; to load modules on boot. Don't foget to chmod it 775.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
for i in mmc_core mmc_block sdhci wbsd; do&lt;br /&gt;
        modprobe $i &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 2. It will be run after reboot. When you insert card the automount system in the KDE || Gnome will catch the medium on the fly.&lt;br /&gt;
&lt;br /&gt;
Tested on my Z60t with 14:00.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23440</id>
		<title>How to get the internal SD card working</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_get_the_internal_SD_card_working&amp;diff=23440"/>
		<updated>2006-07-22T10:27:26Z</updated>

		<summary type="html">&lt;p&gt;Lazytiger: /* Update for FC5 running the newest 2.6.17 kernel: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1. First of it all you need a working kernel 2.6 source.&lt;br /&gt;
&lt;br /&gt;
2. Get the patches at http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci all the *.bin &lt;br /&gt;
&lt;br /&gt;
3. Patch your Kernel&lt;br /&gt;
&lt;br /&gt;
  cd /usr/src/linux&lt;br /&gt;
  patch -p1 &amp;lt; sdhci-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; pci-sdhc-0001.bin&lt;br /&gt;
  patch -p1 &amp;lt; mmc-respopcode-0001.bin&lt;br /&gt;
&lt;br /&gt;
4. reconfigure your Kernel with menuconfig:&lt;br /&gt;
&lt;br /&gt;
  make menuconfig&lt;br /&gt;
&lt;br /&gt;
5. aktivate &amp;quot;Device Drivers&amp;quot; -&amp;gt; &amp;quot;MMC/SD Card support&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  &amp;lt;*&amp;gt; MMC support&lt;br /&gt;
  &amp;lt;*&amp;gt;   MMC block device driver&lt;br /&gt;
  &amp;lt;M&amp;gt;   Secure Digital Host Controller Interface support  (EXPERIMENTAL)&lt;br /&gt;
&lt;br /&gt;
6. recompile your kernel &amp;amp; reboot&lt;br /&gt;
&lt;br /&gt;
  make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make modules_install.. dont forget to copy your new kernel. ;)&lt;br /&gt;
&lt;br /&gt;
7. Modprobe your new Kernelmodule:&lt;br /&gt;
&lt;br /&gt;
  modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
8. Mount your SD CARD&lt;br /&gt;
&lt;br /&gt;
  mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
9. RocknRoll&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Update for FC5 running the newest 2.6.17 kernel: ==&lt;br /&gt;
&lt;br /&gt;
1. modprobe mmc_block&lt;br /&gt;
&lt;br /&gt;
2. modprobe sdhci&lt;br /&gt;
&lt;br /&gt;
3. mount /dev/mmcblk0p1 /mnt&lt;br /&gt;
&lt;br /&gt;
4. RocknRoll &lt;br /&gt;
&lt;br /&gt;
Tested on my X41 with 04:00.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)&lt;br /&gt;
&lt;br /&gt;
=== Automated module loading ===&lt;br /&gt;
&lt;br /&gt;
I'm using ASPLinux release 11 (Seliger) based on FC4 and kernel 2.6.17-1.2142asp.&lt;br /&gt;
&lt;br /&gt;
* 1. Created the script &amp;lt;code&amp;gt;/etc/sysconfig/modules/sd.modules&amp;lt;/code&amp;gt; to load modules on boot. Don't foget to chmod it 775.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
for i in mmc_core mmc_block wbsd sdhci; do&lt;br /&gt;
        modprobe $i &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 2. It will be run after reboot. When you insert card the automount system in the KDE || Gnome will catch the medium on the fly.&lt;br /&gt;
&lt;br /&gt;
Tested on my Z60t with 14:00.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)&lt;/div&gt;</summary>
		<author><name>Lazytiger</name></author>
		
	</entry>
</feed>