[Bug 429938] Re: laptop-mode verbose is not working

2009-09-15 Thread Tormod Volden
Thanks for your report. Which script is using LM_VERBOSE? -- laptop-mode verbose is not working https://bugs.launchpad.net/bugs/429938 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 429938] Re: laptop-mode verbose is not working

2009-09-15 Thread dlgandalf
the modules scripts in /usr/share/laptop-mode-tools/modules use LM_VERBOSE, which is somewhere derived from VERBOSE in /etc/laptop-mode /laptop-mode.conf and mapped to LM_VERBOSE in /usr/sbin/laptop_mode ** Description changed: Binary package hint: laptop-mode-tools using karmic using

[Bug 429938] Re: laptop-mode verbose is not working

2009-09-15 Thread Tormod Volden
Thanks (I've was looking on the wrong machine...). Yes, LM_VERBOSE is set to [ 1 = 1 ] which will be evaluated as a test statement, because /bin/sh will substitute the string before executing the command list. So this should work. In my (untouched) /etc/laptop-mode/laptop-mode.conf it is

[Bug 429938] Re: laptop-mode verbose is not working

2009-09-15 Thread Tormod Volden
If you run sudo /usr/sbin/laptop_mode start manually, do you see the verbose output? -- laptop-mode verbose is not working https://bugs.launchpad.net/bugs/429938 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 429938] Re: laptop-mode verbose is not working

2009-09-15 Thread dlgandalf
** Description changed: Binary package hint: laptop-mode-tools using karmic using version 1.47 of laptop-mode-tools - I changed the /etc/laptop-mode/laptop-mode.conf to boolean VERBOSE=1 + I changed the /etc/laptop-mode/laptop-mode.conf to boolean VERBOSE_OUTPUT=1 the commented text

[Bug 429938] Re: laptop-mode verbose is not working

2009-09-15 Thread dlgandalf
you were right about post #3, and I DO now see verbose output when run with laptop_mode directly Is it also known that the iwlagn driver does not work with current script, as it has no power_level device file in /sys/class/net/$IF/device/? -- laptop-mode verbose is not working

[Bug 429938] Re: laptop-mode verbose is not working

2009-09-15 Thread Tormod Volden
If you don't see verbose output during boot, it can be something related to how the init script is run and how /dev/stdout is set for it. Try changing OUTPUT in /usr/sbin/laptop_mode to a normal file instead. -- laptop-mode verbose is not working https://bugs.launchpad.net/bugs/429938 You