ter_AC'
(string)
cat /sys/class/power_supply/AC/online
Shows 1 if plugged in, and 0 if not.
Best regards,
Peter Teichmann
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
gain.
> Not sure how the rest of the XSF would like this to be handled, but you
> could e.g. tag them as upstream.
I will first wait for some other comments on that.
Peter Teichmann
Am Mittwoch, 9. November 2005 13:14 schrieb Michel Dänzer:
> On Wed, 2005-11-09 at 00:20 +0100, Peter Teichmann wrote:
> > diff -urd xc.orig/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c
> > xc/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c ---
> > xc.orig/progra
is a problem. The patch below fixes this.
Peter Teichmann
diff -urd xc.orig/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c
xc/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c
--- xc.orig/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c 2005-10-25
23:02:32.0 +0200
+++ xc/programs
now.
So, the framebuffer driver should fixup these values after setting the
video mode of the framebuffer device. A patch is include below. On my
ARM hardware (Castle Iyonix, Acorn RiscPC) it works fine.
Peter Teichmann
diff -urd xc.orig/programs/Xserver/hw/xfree86/fbdevhw/fbdevhw.c
xc/programs
5 matches
Mail list logo