Re: APM failure on Thinkpad R40
Hi,
I just got an R40 and plan on installing Debian <Libranet> on it. I know that on their support database section <on their website www.libranet.com> that they have a section on APM for laptops. Maybe this could be of some help to you...
I will be doing the install in a week or two <other things to do, dang!>. Please keep me posted on how you do.
cheers
On Tue, Sep 16, 2003 at 12:09:10PM -0400, Patricio Rojo wrote:
> Nice people out there:),
>
> I have been using Debian on a Thinkpad R40 for a couple of months now,
> trying all this time to ignore a couple of problems. However, I
> discovered a few more symptoms, and I'll very grateful if some of you can
> help me now.
>
> To install Debian, I guided myself mostly through Thomas Marquart page:
> http://tom.uni-hd.de/thinkpad-r40.html,
> hence, I have installed the latest drm-trunk and dri-trunk packages, along
> with XFree86 4.3 from
> deb http://penguinppc.org/~daniels/sid/i386 ./
>
> Right now, the machine is working almost perfectly. The only 2
> important problems remaining seems to be related with APM. Note however,
> that I'm able to suspend (Fn-F4) and wake-up the machine flawlessly
> (well... it goes to sleep only if I'm not using the audio output, but that
> is something I can live with:D)
> The two problems from which I would really appreciate any advice...
> First, whenever I blank the LCD (Fn-F3), it will never go back on, and
> I'll have to remove the battery to reboot... just pressing the power
> button does nothing. That also applies to automatic BIOS turning off of
> the display, i.e. if I'm working with battery only and I don't touch the
> keyboard or mouse every 5 minutes... I'll have to reboot!!!
> Second problem is that the computer doesn't halt cleanly. Rather, I'll
> have to keep the power button pressed down 5 seconds to really turn it
> off after the last "Halting..." (or something like that) message.
>
> In the XFree86.0.log file, I recently discovered the following weird
> message:
> ...
> (II) LoadModule: "apm"
> (WW) Warning, couldn't open module apm
> (II) UnloadModule: "apm"
> (EE) Failed to load module "apm" (module does not exist, 0)
> ...
>
> but, the lsmod output (attached below) do show a loaded and used apm
> module, and remeber that the suspend function do work for me!
>
> I'm using Debian unstable with Gnome and kernel 2.4.21, I'm also
> attaching below the lsmod output and the contents of XF86Config-4 file. If
> you think you'll need more info to help me better, please let me know and
> I'll gladly send it.
>
> Thank you very much in advance, sincerely...
>
> Patricio
>
> -------------------------------------
> #lsmod
> Module Size Used by Not tainted
> mousedev 4340 1 (autoclean)
> radeon 101916 1
> agpgart 39264 3 (autoclean)
> i810_audio 24540 1 (autoclean)
> soundcore 3972 2 (autoclean) [i810_audio]
> ac97_codec 11860 0 (autoclean) [i810_audio]
> ds 6868 1
> i82365 24528 1
> pcmcia_core 40832 0 [ds i82365]
> af_packet 13704 1 (autoclean)
> e100 47208 1 (autoclean)
> nls_cp437 4348 1 (autoclean)
> vfat 10860 1 (autoclean)
> fat 32088 0 (autoclean) [vfat]
> serial 48260 0 (autoclean) (unused)
> thinkpad 2500 0 (unused)
> usbmouse 2264 0 (unused)
> input 3648 0 [mousedev usbmouse]
> usb-uhci 23696 0 (unused)
> usbcore 63436 0 [usbmouse usb-uhci]
> apm 10568 1
> rtc 6792 0 (autoclean)
>
> ------------------------------------------
> # cat /etc/X11/XF86Config-4
> ### BEGIN DEBCONF SECTION
> # XF86Config-4 (XFree86 server configuration file) generated by dexconf,
> the
> # Debian X Configuration tool, using values from the debconf database.
> #
> # Edit this file with caution, and see the XF86Config-4 manual page.
> # (Type "man XF86Config-4" at the shell prompt.)
> #
> # If you want your changes to this file preserved by dexconf, only make
> changes
> # before the "### BEGIN DEBCONF SECTION" line above, and/or after the
> # "### END DEBCONF SECTION" line below.
> #
> # To change things within the debconf section, run the command:
> # dpkg-reconfigure xserver-xfree86
> # as root. Also see "How do I add custom sections to a dexconf-generated
> # XF86Config or XF86Config-4 file?" in
> /usr/share/doc/xfree86-common/FAQ.gz.
>
> Section "Files"
> FontPath "unix/:7100" # local font
> server
> # if the local font server has problems, we can fall back on these
> FontPath "/usr/lib/X11/fonts/Type1"
> FontPath "/usr/lib/X11/fonts/CID"
> FontPath "/usr/lib/X11/fonts/Speedo"
> FontPath "/usr/lib/X11/fonts/misc"
> FontPath "/usr/lib/X11/fonts/cyrillic"
> FontPath "/usr/lib/X11/fonts/100dpi"
> FontPath "/usr/lib/X11/fonts/75dpi"
> EndSection
>
> Section "Module"
> Load "GLcore"
> Load "bitmap"
> Load "dbe"
> Load "ddc"
> Load "dri"
> Load "extmod"
> Load "freetype"
> Load "glx"
> Load "int10"
> Load "record"
> Load "speedo"
> Load "type1"
> Load "vbe"
> Load "apm"
> EndSection
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "keyboard"
> Option "CoreKeyboard"
> Option "XkbRules" "xfree86"
> Option "XkbModel" "pc101"
> Option "XkbLayout" "us"
> EndSection
>
> Section "InputDevice"
> Identifier "Touchpad"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/psaux"
> Option "Protocol" "PS/2"
> Option "Emulate3Buttons" "true"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> Section "InputDevice"
> Identifier "Generic Mouse"
> Driver "mouse"
> Option "SendCoreEvents" "true"
> Option "Device" "/dev/input/mice"
> Option "Protocol" "ImPS/2"
> Option "Emulate3Buttons" "true"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> Section "Device"
> Identifier "Generic Video Card"
> Driver "vesa"
> EndSection
>
> Section "Device"
> Identifier "Radeon Card"
> Driver "radeon"
> Option "AGPMode" "2"
> Option "EnablePageFlip" "true"
> # Option "UseFBDev" "true"
> EndSection
>
> Section "Monitor"
> Identifier "Generic Monitor"
> # HorizSync 28-60
> # VertRefresh 43-90
> Option "DPMS"
> EndSection
>
> Section "Screen"
> Identifier "Default Screen"
> Device "Radeon Card"
> Monitor "Generic Monitor"
> DefaultDepth 24
> SubSection "Display"
> Depth 1
> Modes "1280x1024" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 4
> Modes "1280x1024" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 8
> Modes "1280x1024" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 15
> Modes "1280x1024" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 16
> Modes "1400x1050" "1024x768" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 24
> Modes "1400x1050" "1280x1024" "800x600"
> "640x480"
> EndSubSection
> EndSection
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen "Default Screen"
> InputDevice "Generic Keyboard"
> InputDevice "Touchpad"
> InputDevice "Generic Mouse"
> EndSection
>
> Section "DRI"
> Mode 0666
> EndSection
>
> ### END DEBCONF SECTION
>
>
> --
> ----------------------------------------------------------------
> . . /.
> . * /`'\ . Patricio Rojo
> . / ./ \.. 516 Space Sciences Building
> ../ .' \. Cornell University
> ../ / ../ \ Ithaca, NY 14853
> ./ ./ ./ \ (607)255-6438
> ./ ./ \ \. pato@astro.cornell.edu
> ----------------------------------------------------------------
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Luc Lefebvre
In the beginner's mind there are many possibilities,
in the expert's mind there are few. <Shunryu Suzuki>
Key fingerprint = D2E5 5E35 B910 6F4E 0242 EC63 0FD9 96D0 C7F4 784E
Reply to: