Samuel Thibault | 3 Mar 2003 11:07
Picon
Picon

Re: [PATCH 2.4 & 2.5] Armada laptops' apm BIOS flaw

Hello,

It's been a while since I submitted a patch to correct it, but I
couldn't see it applied, except to alan's kernels, here it is again,
still working on both current 2.4 & 2.5:

--- linux-2.4.20-orig/arch/i386/kernel/apm.c	2002-11-29 13:23:24.000000000 +0100
+++ linux-2.4.20/arch/i386/kernel/apm.c	2002-11-29 13:21:05.000000000 +0100
 <at>  <at>  -1074,6 +1074,19  <at>  <at> 
 	}
 	if ((error == APM_SUCCESS) || (error == APM_NO_ERROR))
 		return 1;
+	if (error == APM_NOT_ENGAGED) {
+		static int tried;
+		int eng_error;
+		if (tried++ == 0) {
+			eng_error = apm_engage_power_management(APM_DEVICE_ALL, 1);
+			if (eng_error) {
+				apm_error("set display", error);
+				apm_error("engage interface", eng_error);
+				return 0;
+			} else
+				return apm_console_blank(blank);
+		}
+	}
 	apm_error("set display", error);
 	return 0;
 }

(just to remember, it was intended to fix Armada's bioses which don't
(Continue reading)

Hugo Haas | 6 Mar 2003 00:42

PROBLEM: resume from APM screen blanking locks keyboard

[1.] One line summary of the problem:    

On an Evo N410c, BIOS version F.0E A (26 Feb 03), with the AC adapter
unplugged (for some reason, with the AC adapter plugged, the screen
doesn't blank), the screen blanks after a few minutes of inactivity.

When hitting a key, the screen resumes, but the keyboard locks up and
the machine has to be turned off. The processes keep running, but
there is no way to interact with them.

[2.] Full description of the problem/report:

This behavior has been happening with and without
CONFIG_APM_DISPLAY_BLANK, with and without CONFIG_APM_ALLOW_INTS.

I tried to use setterm to disable screen blanking too, but it doesn't
work either.

[3.] Keywords (i.e., modules, networking, kernel):

APM, screen blanking, keyboard lockup

I put the rest of the bug report as documented in REPORTING-BUGS as a
compressed attachment. I am not sure how to debug the problem, but am
very willing to try things out and send more information.

Regards,

Hugo

(Continue reading)

Werner Heuser | 14 Mar 2003 01:58
Picon

ANN: Linux-Mobile-Guide 3.12

Hi,

The Linux-Mobile-Guide is a manual covering laptop and PDA related Linux
features, such as installation methods (via PCMCIA, without CD drive,
etc.), hardware features (PCMCIA, IrDA, APM, etc.) and configurations for
different (network) environments. 

HTML http://tuxmobil.org/howtos.html
IPK feed for PDAs http://tuxmobil.org/feed.html

Please note these URLs have moved from mobilix.org to tuxmobil.org because
of severe trademark trouble with Asterix and Obelix. A documentation of the
trademark case is at 
http://tuxmobil.org/mobilix_asterix.html

Werner

Changes:

-  v3.12 12 March 2003, 
-  some more hints about noise reduction and 
   power saving (thanks to Serge Winitzki),
-  chapter about hotkeys and extra keys improved,
-  script to check battery status at console prompt 
   with ACPI added (thanks to Fabio 'farnis' Sirna),
-  new chapter about tablet PCs,
-  new chapter about SpeedStep,
-  links to SynCE, MultiSync, battery-stats and Knoppix added,
-  additions to the bibliography 
   (Bob Toxen, Billy Ball, Toms Hardware Guide),
(Continue reading)

Werner Heuser | 24 Mar 2003 15:25
Picon

ANN: lanoche - laptop or notebook report generator for HTML 0.7

Hi,

issue 0.7 of 

	lanoche - laptop or notebook hardware report in HTML

is available at http://tuxmobil.org/software.html

'lanoche' makes writing reports about Linux on different laptops a little
easier. It generates a hardware report about laptop specific features in
HTML. It is a small shell script, using programs like: `SuperProbe',
`free', `apm' and others to get hardware information.

Currently no hardware libraries are used, but you may find a short survey
of libraries and other hardware detection tools below.

The name LaNoChe is an acronym of "LAptop or NOtebook CHEck".

The program is not much sophisticated yet, but I hope it will
be a start in the right direction. A Debian/GNU Linux package
is also available at the download site an soon on the testing release.

Please note these URLs have moved from mobilix.org to tuxmobil.org because
of severe trademark trouble with Asterix and Obelix. A documentation of the
trademark case is at http://tuxmobil.org/mobilix_asterix.html

Werner

Changes:

(Continue reading)

Josh Brooks | 24 Mar 2003 19:33

patching X for zoomed video support


Hello,

I have two questions regarding patching the neomagic driver in XFree86 to
support zoomed video on-screen in X.  First, some background:

Hardware: Toshiba Libretto 100ct
Kernel:	2.4.20 with pcmcia in-kernel, using pcmcia-cs 3.1.26
XFree86: 4.1.0
Slackware 8.0 (very default install)

I have a patch that will allow using my margi "dvd to go" zoomed video
cardbus card and display the video on-screen.  The README for this patch
tells me:

3. How to apply this patch

  cd xc/program/Xserver/hw/xfree86/drivers/neomagic
  patch -p1 -s < neomagic.diff
  make
  make install

When I do this, I get no errors from patch - so the patch seems to work -
it should, since the patch was written for XFree96-4.1.0, and I am using
it on the 4.1.0 source tree - so all is well, I suppose.

However, there is no Makefile, only an Imakefile - so the next step is to
run xmkmf, which succeeds and outputs:

imake -DUseInstalled -I/usr/X11R6/lib/X11/config
(Continue reading)

Werner Heuser | 31 Mar 2003 22:14
Picon

ANN: Infrared-HOWTO 3.5

Hi,

there is a new issue of the InfraRed-HOWTO available in different
formats:

HTML http://tuxmobil.org/howtos.html
SGML http://tuxmobil.org/howtos.html
IPK feed for PDAs http://tuxmobil.org/feed.html

Please note these URLs have moved from mobilix.org to tuxmobil.org because
of severe trademark trouble with Asterix and Obelix. A documentation of the
trademark case is at 
http://tuxmobil.org/mobilix_asterix.html

The Infrared-HOWTO provides an introduction to Linux and infrared
devices and how to use the software provided by the Linux/IrDA
project. This package uses IrDA(TM) compliant standards. IrDA(TM) is
an industrial standard for infrared wireless communication, and most
laptops made after January 1996 are equipped with an IrDA(TM)
compliant infrared transceiver. Infrared ports let you communicate
with printers, modems, fax machines, LANs, and other laptops.

Remote Control (RC) via infrared is the aim of the Linux Infrared Remote
Control - LIRC project, and also described in this HOWTO.

A note to Jean: I have not finished the re-ordering of the HOWTO according
to your recommendation yet. But I'm on the way. Also I have asked to get the
document into CVS at the Linux Documentation Project. But I haven't got an
answer yet.

(Continue reading)


Gmane