Bug#341057: laptop-mode-tools: CPU frequency governor not set

2005-11-27 Thread Bart Samwel
Chung-chieh Shan wrote: Package: laptop-mode-tools Version: 1.11-1 Severity: normal Tags: patch THIS_CPU_GOVERNOR is misspelled as THIS_GOVERNOR in /usr/sbin/laptop_mode. Thanks for reporting, I'll have it fixed in the next version. BTW, if this bug is marked "patch", where's the patch? ;-)

Bug#341322: laptop-mode-tools thinks my "/" is not ext3 or not mountet as ext3

2005-11-30 Thread Bart Samwel
Andreas Pakulat wrote: since the last upgrade of laptop-mode-tools (to version 1.11-1) laptop-mode-tools always issues a "BIG FAT WARNING" during boot and when I restart it manually. The problem seems to be that it cannot remount "/" setting another commit-timeout. Now my Kernel has ext3 support

Bug#341322: laptop-mode-tools thinks my "/" is not ext3 or not mountet as ext3

2005-11-30 Thread Bart Samwel
Hi Andreas, Andreas Pakulat wrote: I guess I should have put some evidence into the report, now here it comes: [EMAIL PROTECTED]:~>mount | grep "hda2" /dev/hda2 on / type ext3 (rw,errors=remount-ro) Ah, mount thinks it's ext3. :) Unfortunately, mount simply copies this from fstab at bootup,

Bug#341322: laptop-mode-tools thinks my "/" is not ext3 or not mountet as ext3

2005-12-01 Thread Bart Samwel
Andreas Pakulat wrote: On 30.11.05 13:18:04, Bart Samwel wrote: You added the option but probably didn't recreate the journal file itself. Try "tune2fs -J /dev/hda2". It's a small "j", but anyway it's ok now. But this leads to the following: Why did laptop-

Bug#341322: laptop-mode-tools thinks my "/" is not ext3 or not mountet as ext3

2005-12-01 Thread Bart Samwel
Andreas Pakulat wrote: On 01.12.05 13:46:21, Bart Samwel wrote: Andreas Pakulat wrote: On 30.11.05 13:18:04, Bart Samwel wrote: You added the option but probably didn't recreate the journal file itself. Try "tune2fs -J /dev/hda2". It's a small "j", but anyway

Bug#343967: laptop-mode-tools: CONTROL_DPMS_STANDBY doesn't work

2005-12-19 Thread Bart Samwel
Chung-chieh Shan wrote: Package: laptop-mode-tools Version: 1.11-1 Severity: normal The DPMS control feature in laptop-mode doesn't work. One problem is that the command who |grep \:[0-9].*\: |awk '{print $1";"$2}' in /usr/sbin/laptop_mode does not generate a list of users and displays. (B

Bug#328118: /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected

2005-11-06 Thread Bart Samwel
Le0n_84 debianized wrote: i've solve this problem editing /usr/sbin/laptop_mode and changing " if [ "$VERBOSE_OUTPUT" -ne 0 ] ; then " with " if [ "$VERBOSE_OUTPUT" != 0 ] ; then " next time i've reboot the machine it told me "Sun Nov 6 18:38:17 2005: Enabling laptop mode: Laptop Mode Tools 1.1

Bug#328118: /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected

2005-11-06 Thread Bart Samwel
Le0n_84 debianized wrote: as you can see i don't know too much shell scripting :-D in fact after i've modified and rebooted the machine i saw many messages about the option PARTITION in laptop-mode.conf, so i thought that this solution was wrong... i've installed the 1.11-1 version now...than

Bug#249501: Debian bug 249501

2005-11-10 Thread Bart Samwel
Hi Matthias, I would actually _love_ to have a way of detecting the lid state from pbbuttonsd. My package laptop-mode-tools can enable laptop mode when the lid is closed, but only on ACPI currently. I would like to extend this functionality to pbbuttonsd as well! Cheers, Bart -- To UNSUBSC

Bug#345417: laptop-mode-tools: Purging leaves an invalid symlink for syslog.conf -> /etc/syslog-on-battery.conf behind.

2006-01-06 Thread Bart Samwel
Francesco P. Lovergine wrote: Package: laptop-mode-tools Severity: serious Justification: causes user configuration loss After purging the package, I discovered my syslog ceased to work. I found a dangling symlink /etc/syslog.conf -> /etc/syslog-on-battery.conf This causes sysklog stop worki

Bug#345808: laptop-mode-tools: do not mount with noatime by default

2006-01-06 Thread Bart Samwel
Clemens Buchacher wrote: Package: laptop-mode-tools Version: 1.11-1 Severity: wishlist Hi, Some applications (mutt, for example) depend on file access time updates so I think the CONTROL_NOATIME option should be disabled by default. Not knowing where to look I only found out by chance why mutt

Bug#345521: laptop-mode-tools: Wrong path in /etc/acpi/actions/lm_battery.sh

2006-01-06 Thread Bart Samwel
Daniel Maier wrote: Package: laptop-mode-tools Version: 1.11-1 Severity: minor Wrong path to lm_battery.sh mentioned in line /etc/acpi/actions/lm_battery.sh:52. Should be '/etc/acpi/actions/lm_battery.sh' instead of '/etc/acpi/lm_battery.sh'. Ah, you're right. Will be fixed in the next version

Bug#345523: laptop-mode-tools: typo in config

2006-01-06 Thread Bart Samwel
Daniel Maier wrote: Package: laptop-mode-tools Version: 1.11-1 Severity: minor In /etc/laptop-mode/laptop-mode.conf:107 'Shoudl' should be 'Should'. Thanks! --Bart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#345417: laptop-mode-tools: Purging leaves an invalid symlink for syslog.conf -> /etc/syslog-on-battery.conf behind.

2006-01-10 Thread Bart Samwel
Francesco Paolo Lovergine wrote: It would be better avoiding completely to upset user configuration in that way IMHO. I agree that it would be nice -- but it's impossible. :/ Anyway, this configuration modification is only done on the administrator's request (lm-syslog-setup), so he must have a

Bug#325186: laptop-mode-tools crasher: "hda: DMA timeout error"

2005-10-28 Thread Bart Samwel
I'm sorry to add this so late, the discussion with the submitter was not recorded in the bug report. My original response was: - The FAQ (http://www.xs4all.nl/~bsamwel/laptop_mode/tools/faq.html) has an entry on this, titl

Bug#336294: laptop-mode-tools: dmesg complains hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }

2005-10-29 Thread Bart Samwel
This will be fixed in the next release. --Bart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#335493: laptop-mode-tools: VERBOSE might be set to yes by /etc/default/rcS

2005-11-03 Thread Bart Samwel
Hi Luca, Luca Capello wrote: On Mon 24 Oct 2005 09:52 +0200, Guido Guenther wrote: by laptop-mode-tools on every boot. I'd suggest simply removing $VERBOSE from the tests since this is an old config option anyway: Well, the problem is that /usr/sbin/laptop_mode has that check specifically fo

Bug#335493: laptop-mode-tools: VERBOSE might be set to yes by /etc/default/rcS

2005-11-04 Thread Bart Samwel
Luca Capello wrote: Hello Bart! On Thu 03 Nov 2005 21:35 +0100, Bart Samwel wrote: Luca Capello wrote: So, removing the check can create some glitches (not real a problem) to peopel who still have an old /etc/laptop-mode/laptop-mode.conf, i.e. laptop-mode-tools < 1.10-1, so sarge (1.0

Bug#328118: /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected

2005-11-24 Thread Bart Samwel
Martin Michlmayr wrote: * Bart Samwel <[EMAIL PROTECTED]> [2005-11-06 21:26]: FYI, the bug is fixed in the 1.11 version of laptop-mode-tools, which you can download at the laptop-mode-tools homepage: http://www.xs4all.nl/~bsamwel/laptop_mode/tools Is your sponsor still busy? If so,

Bug#304947: laptop-mode: split configuration for easier upgrades

2005-04-17 Thread Bart Samwel
Jari Aalto wrote: During upgrades there usually appear new varibales and features. This creates conflicts when user has changes the settings. I propose that the configuration file is split in two halves: 1) The most likely settings user would touch 2) Less important options The change in init.d

Bug#294064: laptop-mode-tools: unusable because it tries to open /proc/acpi/ac_adapter/*/state, which doesn't always exist

2005-02-08 Thread Bart Samwel
Rogério Brito wrote: Unfortunately, when I try to use laptop-mode-tools with my system, right upon installation, it dies with: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Setting up laptop-mode-tools (1.04-1.1) ... Initializing laptop mode...awk: cmd. line:1: fatal:

Bug#315451: laptop-mode-tools: ext3,ext2 not recognized as ext3

2005-06-23 Thread Bart Samwel
Hi Dan, Apparently there aren't a lot of people using this feature of fstab. I didn't even know that the possibility existed. :) I'll just check for pattern ".*ext3.*" or something, and the same for the other fstypes, because if there is even the remotest possibility that the fs was mounted as

Bug#311915: sed bails when option has slash, as in 'loop=/dev/loop0'

2005-07-27 Thread Bart Samwel
Hi Karl, A fix for this was included in version 1.04 of laptop-mode-tools, which was dated November 9, 2004. As you reported this bug for a package called "laptop-mode" (which, to my knowledge, does not exist), I suspect that you have a very outdated laptop_mode script installed instead of la

Bug#310436: Wishlist item for laptop mode

2005-07-27 Thread Bart Samwel
Hi Vincent, This lib already exists in various forms on the web. I will consider upgrading laptop-mode-tools to a binary package that includes something like this. It would be a more extended library, that would sync depending on the existence of a given /var/run/... file, perhaps. In additio

Bug#302537: /etc/acpi on PPC machines

2005-07-27 Thread Bart Samwel
Hi Matthias, I was just looking at this bug report, and I'm thinking, this is going to be quite difficult with the way the package is set up now. I think it would require that *either* the package would become an achitecture-dependent package, with different files for each architecture, *or*

Bug#302537: Don't create /etc/acpi on ppc machines

2005-04-01 Thread Bart Samwel
Matthias Grimm wrote: The package shouldn't create the /etc/acpi directory on ppc machines because those machines don't have ACPI and therefore this directory is completely useless. True. I should find out which architectures _do_ support ACPI, and only create /etc/acpi on those architectures. Per

Bug#302571: laptop-mode-tools: [PATCH] Native support for pbbuttonsd

2005-04-01 Thread Bart Samwel
Matthias Grimm wrote: Package: laptop-mode-tools Version: 1.04-1.1 Severity: normal Tags: patch The attached script adds support for pbbuttonsd. I have to be copied in /etc/power/scripts.d and a symbolic link to it has to be created in /etc/power/event.d. This installation should be done if a power

Bug#317554: laptop-mode-tools: package dependency should recommend "acpid | apmd"

2005-07-09 Thread Bart Samwel
Miroslav Maiksnar wrote: Package currently recommens both acpid and apmd installed, but there is no point having installed acpid and apmd together as they are doing same thing in different and incompatible manner. Oh, is it possible to recommend acpid OR apmd then? This always bugged me but I

Bug#317554: laptop-mode-tools: package dependency should recommend "acpid | apmd"

2005-07-09 Thread Bart Samwel
Miroslav Maiksnar wrote: Oh, is it possible to recommend acpid OR apmd then? This always bugged me but I never took the time to figure it out. I'll see what I can do. Yes, it is possible, for example smartmontools package has such dependency. OK, I'll take a look at it. Thanks! --Bart --

Bug#302550: [PATCH] Native support for pbbuttonsd

2005-04-10 Thread Bart Samwel
Matthias Grimm wrote: Package: laptop-mode-tools Version: 1.04-1.1 The attached script adds support for pbbuttonsd. I have to be copied in /etc/power/scripts.d and a symbolic link to it has to be created in /etc/power/event.d. This installation should be done if a powerpc machine is detected during

Bug#302571: laptop-mode-tools: [PATCH] Native support for pbbuttonsd

2005-04-10 Thread Bart Samwel
Hi Matthias, It turns out that I'd already built the pbbuttonsd support somewhere in february, but that I hadn't gotten around to releasing a new version yet. I've been way too busy. :( Anyway, I've got a new package up on the website, and I was wondering if you'd try it out to see if it works a

Bug#273386: laptop-mode-tools: LVM devices are not remounted with commit=N

2005-04-12 Thread Bart Samwel
Benoît Dejean wrote: Package: laptop-mode-tools Version: 1.05-1 Followup-For: Bug #273386 I have a bunch of LVM volumes (/dev/mapper/*) on my laptop and laptop_mode_tools doesn't remount them when commit=600 where my / (/dev/hda5) gets. Hi Benoit, This is by design. As of version 1.05, by default

Bug#327599: Fwd: Bug#327599: korganizer: alarm daemon causes periodic disk spin up in laptop mode

2005-09-11 Thread Bart Samwel
Thomas Uttenthaler wrote: I discovered, that the korganizer alarm daemon [1] causes a disk spin-up in laptop-mode about every 60 seconds. this is not only annoying but also lifetime limiting to the disk. the default value for idle timeout is 5 seconds (see package laptop-mode-utils). so there wi

Bug#327599: Fwd: Bug#327599: korganizer: alarm daemon causes periodic disk spin up in laptop mode

2005-09-11 Thread Bart Samwel
Thomas Uttenthaler wrote: here comes some dmesg output below [1]. I've discovered, that kmail (and the kmail mini icon program) also has this nasty behaviour (about every 60 seconds), of course with automatic checks for new mail deactivated. Maybe I file another bugreport about this tomorrow.

Bug#327599: Fwd: Bug#327599: korganizer: alarm daemon causes periodic disk spin up in laptop mode

2005-09-13 Thread Bart Samwel
Thomas Uttenthaler wrote: An aside: Do you mount /tmp as tmpfs? That might help if these are files in /tmp. Aaa. I just removed this some days ago because I couldn't remember what this was good for ... it works much better now, although kmail still dirties inodes in ~/.kde/share/... . it

Bug#328028: laptop-mode-tools: Invokes hdparm unconditionally

2005-09-13 Thread Bart Samwel
Guillem Jover wrote: Please make the invokation of hdparm only if it's available. Or a less desirable solution would be to move it from a Recommends to a Depends. I'll do that. Thanks for reporting! --Bart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble

Bug#328118: /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected

2005-09-14 Thread Bart Samwel
Jean-Damien Durand wrote: Package: laptop-mode-tools Version: 1.10-1 Severity: normal FYI I got the error mentionned in subject with version 1.10-1. Did you set VERBOSE_OUTPUT=yes? Use "1" instead. None of the laptop mode tools settings work with yes/no, they're all 1/0. --Bart -- To UNSU

Bug#328432: laptop-mode-tools: '/etc/init.d/laptop_mode' status gives 'BLKRAGET: Inappropriate ioctl for device'

2005-09-15 Thread Bart Samwel
Thomas Halva Labella wrote: The problems is due to the bind mount of my directory /home into /var/chroot/ia32/home. /usr/sbin/laptop_mode checks only if /home exists (line 260 - 'if [ -e $DEV]'), not if it is a block device (if [ -b $DEV ]). In fact, 'blockdev--getra /home' returns: BLKRAGET: In

Bug#328118: /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected

2005-09-17 Thread Bart Samwel
Steve Langasek wrote: I've noticed this bug as well. Quite an irksome thing to see on startup/shutdown. :) $VERBOSE is going to be set in the environment, because it's a standard rcS variable in Debian. The /usr/sbin/laptop_mode script should be fixed to not assume that this is evidence that t

Bug#323623: laptop-mode-tools: cpufreq stuff

2005-08-17 Thread Bart Samwel
nokos wrote: Package: laptop-mode-tools Version: 1.08-1 Severity: wishlist Tags: patch laptop-mode-tools only handles the max frequency. The patch adds handing the min frequency and the governor. Thank you, that's a _VERY_ nice addition! I will include it in the next release! --Bart -- To

Bug#324457: laptop-mode-tools: laptop-mode.conf file should fit in 80 char wide screen

2005-08-22 Thread Bart Samwel
Jari Aalto wrote: The current /etc/etc/laptop-mode.conf does not fit to standard 80 char width console screen which makes it hard to read and edit. Please rephrase the comments to brak at maximum of 75 characters. Agreed, this is a problem. I'll do this in the next version (1.11). --Bart --

Bug#333203: laptop-mode-tools: Laptop-mode complains when hdparm is not installed

2005-10-11 Thread Bart Samwel
Thomas Petazzoni wrote: Package: laptop-mode-tools Version: 1.10-1 Severity: normal Hi, laptop-mode-tools only Recommands: hdparm. However, the /usr/sbin/laptop_mode script complains that hdparm cannot be found at line 892 when runned at system startup. I'll move it to depends:. Thank you.

Bug#328432: laptop-mode-tools: why hasn't this bug been fixed yet?

2005-10-15 Thread Bart Samwel
Luis Mondesi wrote: [...] Yet I wonder why it hasn't been fixed yet. This is a very minor cosmetic bug in a pretty new feature (the "status" command was introduced in version 1.06, on July 28). It'll be fixed in the next release, which I have planned for somewhere in the next month. --Bart

Bug#326433: laptop-mode-tools: reads /var/run/laptop-mode-nolm-mountopts which is not there

2005-09-03 Thread Bart Samwel
Andreas Pakulat wrote: laptop-mode tries to read /var/run/laptop-mode-nolm-mountopts, which is not installed by the package and thus is nonexistant. Thus the sed returns an error message, which shows up in the boot log. The fix would be to first check if the file is existent and only then apply

Bug#326880: laptop-mode: please move configuration to /etc/default/laptop_mode

2005-09-06 Thread Bart Samwel
Nikolaus Rath wrote: Package: laptop-mode Version: 0.4 Severity: normal This is a bug for the Ubuntu-only package "laptop-mode". The Debian package "laptop-mode-tools", which is the continued development of the upstream on which "laptop-mode" was originally based, has a configuration file

Bug#327020: laptop-mode-tools: User supplied config missing

2005-09-07 Thread Bart Samwel
Jarne Cook wrote: Package: laptop-mode-tools Version: 1.10-1 Severity: wishlist Every time this package is updated dpkg wants to overwrite my custom alterations to /etc/laptop-mode/laptop-mode.conf . Perhaps it would be good to have a local overriding sourced file which users are suppose to edi

Bug#327028: laptop-mode-tools: changing from laptop mode to laptop mode spins up disks

2005-09-07 Thread Bart Samwel
Jarne Cook wrote: Package: laptop-mode-tools Version: 1.10-1 Severity: minor When the laptop is in LM mode and I close the lid thescript `/usr/sbin/laptop_mode auto` (from /etc/acpi/actions/lm_lid.sh) spins up up the disks. I dont know why it's happening I just know when I call that script (wh

Bug#322867: laptop-mode-tools: reduce logging noise

2005-08-13 Thread Bart Samwel
Andrew Pimlott wrote: Package: laptop-mode-tools Version: 1.08-1 Severity: minor laptop_mode spits a verbose, badly formatted noise to daemon.log: Aug 12 22:24:33 localhost apmd: + Stopping automatic power miser daemon: apmiser. Laptop Mode Tools 1.08 Setting action to "stop" because we ar

Bug#323019: NOLM_AC_HD_POWERMGMT=1 is a poor default

2005-08-14 Thread Bart Samwel
Andrew Pimlott wrote: Package: laptop-mode-tools Version: 1.08-1 Severity: normal I just upgraded my laptop-mode-tools in unstable, and noticed my hard disk was spinning down even on AC power. It never did this with older laptop-mode-tools. (I made only one modification to the shipped config,

Bug#321877: laptop-mode-tools: Typo error line 688 in /usr/sbin/laptop_mode

2005-08-08 Thread Bart Samwel
Damien Raude-Morvan wrote: - if [ "$ACTION" = "start"] ; then + if [ "$ACTION" = "start" ] ; then Whoops! I didn't even know that the space was significant in that place. I'm too much of a C programmer, I suppose. :) Thanks for reporting! --Bart -- To UNSUBSCRIB

Bug#398179: laptop-mode-tools: laptop-mode needs to be reinitialized on resume

2006-11-12 Thread Bart Samwel
John Wright wrote: Package: laptop-mode-tools Version: 1.32-1 Severity: normal Tags: patch On my iBook, if I suspend and then resume, laptop-mode no longer works. Running '/etc/init.d/laptop-mode restart' does the trick, so I've included a patch to etc/power/scripts.d/laptop-mode that makes it r

Bug#240388: Does pasting from kate into konsole still give garbage?

2006-12-08 Thread Bart Samwel
Hi Josh, Josh Metzler wrote: I just tried the experiment you suggested at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240388 with kde 3.5.5, and got the expected result - what I had selected was now pasted into my new file. I am using kde as my desktop enviroment, though. Could you veri

Bug#290441: laptop-mode-tools: fails to restart acpid after installing or removing files from /etc/acpi/events

2005-01-15 Thread Bart Samwel
On Thu, 2005-01-13 at 21:46 -0800, David Ell wrote: > A solution would be to restart acpid (if appropriate) in the postinst > and postrm scripts. Thanks for the report. I'll fix it in the next version! -- Bart Samwel <[EMAIL PROTECTED]>http://www.xs4all.nl/~bsamwel/ Check o

Bug#416445: Should also handle ignore-nice-load

2007-03-28 Thread Bart Samwel
Interesting suggestion. I'll see what I can do for you in the next release. Cheers, Bart Joachim Breitner wrote: Package: laptop-mode-tools Version: 1.32-1 Severity: wishlist Hi, the option ignore-nice-load for cpufreq (as found in devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load)

Bug#417588: #417588

2007-04-06 Thread Bart Samwel
Sheridan Hutchinson wrote: Looking at this a bit more, does laptop-mode-tools invoke xscreensaver while on batteries at all? It's not on when on AC but on when on batteries. Well, laptop-mode-tools doesn't invoke xscreensaver at all. However, it fixes the DPMS settings (but not in your case)

Bug#417588: #417588

2007-04-06 Thread Bart Samwel
Sheridan Hutchinson wrote: Bart Samwel wrote: Well, laptop-mode-tools doesn't invoke xscreensaver at all. However, it fixes the DPMS settings (but not in your case) and it sets the terminal blanking settings (if CONTROL_TERMINAL is set to 1). But you have CONTROL_DPMS_STANDBY=

Bug#384899: laptop-mode-tools: add lsb logging

2006-08-28 Thread Bart Samwel
David Härdeman wrote: On Sun, Aug 27, 2006 at 09:11:44PM +0200, Bart Samwel wrote: David Härdeman wrote: the attached patch changes the laptop-mode-tools init.d script(s) to use lsb logging functions. Looks good, thanks very much for contributing! It will be included in the next release

Bug#389218: laptop-mode-tools: CPU settings only hit CPU #0

2006-10-06 Thread Bart Samwel
John Goerzen wrote: My Macbook Pro has a Core Duo CPU. Each core can run at its own frequency and have its own governor. laptop-mode-tools, though configured to automatically switch the system to the conservative governor when running on battery power, only actually manages to switch CPU #0 to

Bug#384899: laptop-mode-tools: add lsb logging

2006-08-27 Thread Bart Samwel
David Härdeman wrote: the attached patch changes the laptop-mode-tools init.d script(s) to use lsb logging functions. Looks good, thanks very much for contributing! It will be included in the next release. Cheers, Bart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsub

Bug#394557: laptop-mode-tools: LVM partitions not supported

2006-10-21 Thread Bart Samwel
Hi Mikko, Mikko Rapeli wrote: The problem is quite simple, though I don't understand the reasons for the laptop_mode coding style with environment variables. With the fix below I get LVM partitions remounted: I see, thanks for reporting this! Unfortunately adding the spaces to the beginning a

Bug#394557: laptop-mode-tools: LVM partitions not supported

2006-10-22 Thread Bart Samwel
Mikko Rapeli wrote: On Sun, Oct 22, 2006 at 08:14:58AM +0200, Bart Samwel wrote: [...] "grep auto". I think the trick would be to do something like: if ( (echo -n " " ; echo -n "$PARTITIONS" ; echo -n " ") | grep " $DEV " /dev/null ) ; t

Bug#364119: closed by Olivier Vitrat (Closing Debian bug 364119)

2010-03-04 Thread Bart Samwel
gned and he > confirmed > that the tool is deprecated in KDE SC 4 (replaced by PowerDevil) and that > there > are no current efforts to support/maintain the KDE SC 3 version. > Because of this, I will close the reports as UNMAINTAINED. > Regards" > > I'm also closin

Bug#433771: Fixed in svn

2007-08-12 Thread Bart Samwel
I've committed the attached patch. Apparently the power key is in the range checked by acpi_fakekey. I've now changed it so that it assumes that any input device which has a key in the QWERTYUIOP range is "the" keyboard. Could you confirm that this patch fixes your problem? Cheers, Bart--- acpi_fa

Bug#437141: COLUMNS

2007-08-12 Thread Bart Samwel
Hi there, Would it work if I just changed it to: displaynum=`COLUMNS=1000 ps ax | grep -e 'X .* vt'$console | grep -v grep | sed -re 's!.*/X .*:([0-9]+).*!\1!'` I dislike the use of perl in your solution, the acpi-support package does not use perl at the moment and I'm reluctant to add another d

Bug#374069: Possible fix

2007-08-12 Thread Bart Samwel
I've committed the attached patch as a potential fix for this problem. What it does is, it fakes the pressing of the left shift key after it unblanks the screen. Could you confirm whether this fixes your problem? Cheers, Bart--- lid.sh (revision 4358) +++ lid.sh (working copy) @@ -41,6 +41,12 @@

Bug#410952: Wireless hotkeys

2007-08-12 Thread Bart Samwel
Hi Arnout, Sorry for the late response, acpi-support has been swamped in bug reports with not enough maintainer time to fix them all in reasonable time. If I understand you correctly, your Fn+F2 hotkey gives you TWO events per press: 5e/7d 5f/7e 5e/7e 5f/7d It seems that the Fn+F2 hotkey switch

Bug#426936: does not react on Thinkpad X40 Fn-F12

2007-08-12 Thread Bart Samwel
Hi Martin, Could you tell me what ACPI events are fired when Fn+F12 is pressed? (You can check this by pressing the button and then checking /var/log/acpid.) Cheers, Bart

Bug#426946: Merging

2007-08-12 Thread Bart Samwel
I think this bug is because acpi_fakekey is not working on these thinkpads. I'll merge this bug with that particular bug. Cheers, Bart

Bug#391498: #391498

2007-08-12 Thread Bart Samwel
Hi Wolf, Would you mind if I closed this bug (Debian bug #391498)? It seems the main issue of the bug is fixed, and I think the how-to-handle-the-lid thing is a separate issue, that should be filed as a separate bug (at wishlist priority, which means it's out of my "really a bug" box). Cheers, Ba

Bug#424004: Sony brightness

2007-08-12 Thread Bart Samwel
Hi Martin, There is no sony-acpi module in Debian, but there is a sony-laptop module. If you modprobe that module first, does it work then? Cheers, Bart

Bug#421017: acpi-support: Adding a script to HUP ksysguardd on resume in order to alleviate stuck module [un]load

2007-08-12 Thread Bart Samwel
Hi Dimitris, I don't mind including the script, but can you explain to me how it works? I mean, why does it help to HUP ksysguardd *after* the module unload has already failed? Cheers, Bart

Bug#421017: acpi-support: Adding a script to HUP ksysguardd on resume in order to alleviate stuck module [un]load

2007-08-12 Thread Bart Samwel
Dimitris Kogias wrote: Bart Samwel wrote: Hi Dimitris, I don't mind including the script, but can you explain to me how it works? I mean, why does it help to HUP ksysguardd *after* the module unload has already failed? Cheers, Bart Hi Bart, From what I remember (I've since swi

Bug#437141: COLUMNS

2007-08-12 Thread Bart Samwel
Hi Raphael, Raphael Hertzog wrote: On Sun, 12 Aug 2007, Bart Samwel wrote: Hi there, Would it work if I just changed it to: displaynum=`COLUMNS=1000 ps ax | grep -e 'X .* vt'$console | grep -v grep | sed -re 's!.*/X .*:([0-9]+).*!\1!'` I dislike the use of perl in you

Bug#437141: COLUMNS

2007-08-12 Thread Bart Samwel
Hi Raphael, Bart Samwel wrote: The part about the non-maching regexps I don't get, could you explain that a bit further? For now I'll simply commit the COLUMNS=1000 fix and I'll assume that this fixes the COLUMNS problem. It seems really strange to me too. Because ps ax do

Bug#424004: Sony brightness

2007-08-13 Thread Bart Samwel
martin f krafft wrote: also sprach Bart Samwel <[EMAIL PROTECTED]> [2007.08.12.1758 +0200]: There is no sony-acpi module in Debian, but there is a sony-laptop module. If you modprobe that module first, does it work then? No, loading this module does not create /proc/acpi/sony . Hmmm,

Bug#437141: COLUMNS

2007-08-13 Thread Bart Samwel
Raphael Hertzog wrote: On Sun, 12 Aug 2007, Bart Samwel wrote: I checked: if I do "COLUMNS=70 ps ax | less" I certainly get my output cut off at 70 columns. So this may still be an issue, I'm not backing out the commit yet. Right, I noticed that just after. Still setting COLUM

Bug#437913: FATAL: Module cpufreq_performance not found.

2007-08-14 Thread Bart Samwel
Hi Alexander, This issue was reported earlier, and was fixed in laptop-mode-tools 1.34. If you want to upgrade, you can get the package here: http://samwel.tk/laptop_mode/packages/debian Or you can get it from the Debian testing repository, of course. Cheers, Bart Alexander Morozov wrote:

Bug#437940: getXconsole returns wrong DISPLAY="0\n0"

2007-08-15 Thread Bart Samwel
Tobias Lorenz wrote: Package: acpi-support Version: 0.95-2 Hi, playing around with the acpi-support scripts, I found something unusual in /usr/share/acpi-support/power-funcs. The function getXconsole should return the DISPLAY variable of the local X11 screen. In my case it returns "0\n0".

Bug#437141: COLUMNS

2007-08-15 Thread Bart Samwel
Hi Raphael, Bart Samwel wrote: Raphael Hertzog wrote: On Sun, 12 Aug 2007, Bart Samwel wrote: I checked: if I do "COLUMNS=70 ps ax | less" I certainly get my output cut off at 70 columns. So this may still be an issue, I'm not backing out the commit yet. Right, I noticed

Bug#437940: getXconsole returns wrong DISPLAY="0\n0"

2007-08-15 Thread Bart Samwel
On Wed, August 15, 2007 09:10, Bart Samwel wrote: >> playing around with the acpi-support scripts, I found something unusual >> in /usr/share/acpi-support/power-funcs. The function getXconsole should >> return the DISPLAY variable of the local X11 screen. In my case it >>

Bug#437940: getXconsole returns wrong DISPLAY="0\n0"

2007-08-15 Thread Bart Samwel
Tobias Lorenz wrote: Am Mittwoch, 15. August 2007 21:24 schrieben Sie: On Wed, August 15, 2007 09:10, Bart Samwel wrote: playing around with the acpi-support scripts, I found something unusual in /usr/share/acpi-support/power-funcs. The function getXconsole should return the DISPLAY variable

Bug#438430: documentation of hotkeys in ibm_acpi.modprobe

2007-08-17 Thread Bart Samwel
Tobias Lorenz wrote: I was wondering what the hotkey parameter of the ibm_acpi module means. I neither found a documentation in the kernel sources, nor on ThinkWiki.org. According to gentoo-wiki.com, the 12 least significant bits are directly mapped to the Fn+F* combinations. And this works fo

Bug#424004: Sony brightness

2007-08-18 Thread Bart Samwel
On Mon, August 13, 2007 09:43, Bart Samwel wrote: > martin f krafft wrote: >> also sprach Bart Samwel <[EMAIL PROTECTED]> [2007.08.12.1758 +0200]: >>> There is no sony-acpi module in Debian, but there is a sony-laptop >>> module. If you modprobe that module f

Bug#438665: acpi-support appears to have excess dependencies

2007-08-18 Thread Bart Samwel
Hi Ross, This package depends on a number of hardware-specific packages (radeontool, toshset). Shouldn't those be "recommends" or "suggests" rather than "depends" relations? No, not really. The trouble is that this package is installed by default on laptops, and that it's supposed to make la

Bug#438665: acpi-support appears to have excess dependencies

2007-08-19 Thread Bart Samwel
Ross Boylan wrote: On Sun, 2007-08-19 at 01:15 +0200, Bart Samwel wrote: Hi Ross, This package depends on a number of hardware-specific packages (radeontool, toshset). Shouldn't those be "recommends" or "suggests" rather than "depends" relations? No, n

Bug#438782: laptop-mode-tools: Should apply powertop tips

2007-08-19 Thread Bart Samwel
Samuel Thibault wrote: Package: laptop-mode-tools Version: 1.34-1 Severity: normal Hi, Most "powertop" tips should probably be applied automatically by laptop-mode-tools. Namely, for ac97 sound boards: Suggestion: enable AC97 powersave mode by executing the following command: echo 1 > /sys

Bug#425957: laptop-mode-tools: [PATCH] CONTROL_CPU_FREQUENCY assumes governors are compiled as modules

2007-05-25 Thread Bart Samwel
Hi Nathaniel, Thanks for the patch, I'll include it in the next update! Just checking: why does the laptop_mode script crash if the modprobe fails? The way I understand the code, when the modprobe fails it should just print an error message about the modprobe and continue. Cheers, Bart Nath

Bug#425957: laptop-mode-tools: [PATCH] CONTROL_CPU_FREQUENCY assumes governors are compiled as modules

2007-05-25 Thread Bart Samwel
Nathaniel Smith wrote: On Fri, May 25, 2007 at 09:56:31AM +0200, Bart Samwel wrote: Nathaniel Smith wrote: On Fri, May 25, 2007 at 09:48:00AM +0200, Bart Samwel wrote: Hi Nathaniel, Thanks for the patch, I'll include it in the next update! Just checking: why does the laptop_mode s

Bug#425800: Laptop mode disabled by default

2007-05-31 Thread Bart Samwel
Raphael Hertzog wrote: On Thu, 24 May 2007, Bart Samwel wrote: BTW, the reason this was originally set to "false" in Ubuntu was because of inexplicable system hangs that seemed to be related to laptop mode. I've never heard of any of these hangs on any non-Ubuntu systems though,

Bug#427292: Init script outputs "Laptop"

2007-06-02 Thread Bart Samwel
Package: laptop-mode-tools Version: 1.34-1 The package's init script shows the output "Laptop". This is caused by quoting errors in the init script in calls to LSB functions.

Bug#373660: Sleep issue

2007-06-03 Thread Bart Samwel
Hi there, "Works for me", so I'm going to try and "remote debug" this. The reason for the two-stage thing (sending an acpi_fakekey from the button) is that when gnome-power-manager is running, it listens to these events and handles them. When gnome-power-manager or klaptopdaemon are running, the a

Bug#373659: Fixed in svn

2007-06-03 Thread Bart Samwel
FYI: I've committed a fix for this issue, which will be in the next version unless somebody starts yelling loudly. The approach taken is: - Bring down the interfaces listed in /etc/network/run/ifstate using ifdown. On resume, bring exactly those interfaces back up using ifup. - After bringing do

Bug#407510: Partial fix committed

2007-06-03 Thread Bart Samwel
FYI: The upstream fixed some of these, and I committed some additional fixes as well, so that there will be no more bash dependency in the next version. Cheers, Bart

Bug#391498: Additional information request

2007-06-03 Thread Bart Samwel
I committed a fix for the missing XAUTHORITY problem, it should appear in version 0.95. Supporting X servers started with startx is something that I can't/won't fix. For such X servers it's impossible to find out what user is running them, and the effect is that you don't have any way to get the

Bug#373660: Sleep issue

2007-06-03 Thread Bart Samwel
On Sun, Jun 03, 2007 at 12:48:09PM +0200, Bart Samwel wrote: Hi there, "Works for me", so I'm going to try and "remote debug" this. The reason for the two-stage thing (sending an acpi_fakekey from the button) is that when gnome-power-manager is running, it listens to t

Bug#428162: laptop-mode-tools: syntax errors if run as non-user

2007-06-10 Thread Bart Samwel
On Sat, June 9, 2007 4:40 pm, Tormod Volden wrote: > Package: laptop-mode-tools > Version: 1.34-1 > Severity: normal > Tags: patch > > This was reported in https://bugs.launchpad.net/bugs/77560 by Peter > Whittaker, who also wrote the attached patch. > > If "laptop_mode status" is run by a non-root

Bug#428162: laptop-mode-tools: upstream URL is wrong

2007-06-10 Thread Bart Samwel
On Sat, June 9, 2007 4:53 pm, Tormod Volden wrote: > Package: laptop-mode-tools > Version: 1.34-1 > Followup-For: Bug #428162 > > > I guess it isn't useful to make a debdiff, since the debian package is > handled by > upstream. Just wanted to add that the URL in debian/copyright is wrong. Oh, I fo

Bug#423853: laptop-mode-tools: batt-stop services are restarted when booting on battery power

2007-05-14 Thread Bart Samwel
Celejar wrote: Package: laptop-mode-tools Version: 1.32-1 Severity: normal When my system is booted while on battery power, laptop-mode stops the batt-stop services, but since it runs as @S20, services such as anacron and cron, which run as @S89, get restarted. Nice catch! I'll change the init

Bug#423853: laptop-mode-tools: batt-stop services are restarted when booting on battery power

2007-05-14 Thread Bart Samwel
Celejar wrote: On Mon, 14 May 2007 16:52:21 +0200 Bart Samwel <[EMAIL PROTECTED]> wrote: Celejar wrote: Package: laptop-mode-tools Version: 1.32-1 Severity: normal When my system is booted while on battery power, laptop-mode stops the batt-stop services, but since it runs as @S20, se

Bug#458787: hdparm -B 254 applied to disks that don't support that command

2008-02-17 Thread Bart Samwel
[EMAIL PROTECTED] wrote: Unfortunately none of my drives 'hdparm -i' report: AdvancedPM=yes Some report no, others are flash card readers that don't return anything. They all get this error. For a workaround, I edited '/etc/acpi/start.d/90-hdparm.sh'. Setting DO_HDPARM=n Grepping hdparm -i f

  1   2   3   4   5   >