Results 1 to 9 of 9

Thread: annoying audio error message: "battery is fully charged

  1. #1
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    annoying audio error message: "battery is fully charged

    Hi,

    Newbie here. Installed Knoppix to harddisk, making it Debian unstable. I'm using gnome. Dell Latitude laptop. I'm getting this very annoying audio message, about every minute: "Battery is fully charged. Please embark a power supply." Note: I've been running the computer plugged in the whole time. Does anybody have any idea 1) what's responsible for this message, and 2) how to disable it? I've been looking around in all the menus on the desktop for ages, but haven't found anything helpful.

    Oh, I doubt this has anything to do with it, but I have a UPS attached to the computer via serial port.

    Thanks in advance,

    V.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: annoying audio error message: "battery is fully cha

    Quote Originally Posted by voldemort_b
    Hi,

    Newbie here. Installed Knoppix to harddisk, making it Debian unstable. I'm using gnome. Dell Latitude laptop. I'm getting this very annoying audio message, about every minute: "Battery is fully charged. Please embark a power supply." Note: I've been running the computer plugged in the whole time. Does anybody have any idea 1) what's responsible for this message, and 2) how to disable it? I've been looking around in all the menus on the desktop for ages, but haven't found anything helpful.

    Oh, I doubt this has anything to do with it, but I have a UPS attached to the computer via serial port.

    Thanks in advance,

    V.
    I would say go in the Control Center -> Power Control -> Laptop Battery and in the Battery tab uncheck the Notify when battery is fully charged option.

  3. #3
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    thanks, but...

    Thanks for the try. But looking through the menus in Gnome, I didn't find a control center > power control. The only thing I COULD do, which I tried, was to right-click on the bar at the top of the screen, choose Add > Utilities > Battery Monitor. Then if I right-click on the icon and chose preferences, I DO have an option "notify when battery is fully charged". That was checked, so I cleared the checkbox. But unfortunately, I'm still getting the annoying audio message anyway. Checking the preferences again, I see that that option is NOT selected anymore. Yet the message still comes.

    Please help me - it's SOOOOOOOOOOo annoying!

    V.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: thanks, but...

    Quote Originally Posted by voldemort_b
    Thanks for the try. But looking through the menus in Gnome, I didn't find a control center > power control.

    V.
    It would be in KDE so no wonder . I never use Gnome so cannot be of much help here, the only thing I can think of is use lsof /dev/dsp when it happens and see what program is using it for the output that may give you a clue as to what is going on or maybe running top in a console window and see if you can catch the process as it is happening.

  5. #5
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    tried that...

    I tried that (lsof /dev/dsp) but it didn't return any value. I had it pasted into a terminal window, and waited to hit enter until the message began. Still, nothing.

    Next time I log in I'll try loging into KDE to see if I can do what you previously suggested that in there.

    Anybody else have an idea?

    Thanks,

    V.

  6. #6
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    oh wait, I take that back

    When I wrote before that lsof /dev/dsp gave me no results, that's when I was running it as a regular user. After posting my previous reply, I decided to try it as root, and it DID give me a result:

    Code:
    COMMAND   PID USER   FD   TYPE DEVICE SIZE   NODE NAME
    flite   24929 root    3w   CHR   14,3      128047 /dev/dsp
    So pardon me for asking, but what do I do with this information? What do I do now?

    Thanks,

    V.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: oh wait, I take that back

    Quote Originally Posted by voldemort_b
    When I wrote before that lsof /dev/dsp gave me no results, that's when I was running it as a regular user. After posting my previous reply, I decided to try it as root, and it DID give me a result:

    Code:
    COMMAND   PID USER   FD   TYPE DEVICE SIZE   NODE NAME
    flite   24929 root    3w   CHR   14,3      128047 /dev/dsp
    So pardon me for asking, but what do I do with this information? What do I do now?

    Thanks,

    V.
    Well normally you would do something like this.
    Code:
    >$ apt-cache search flite
    eflite - Festival-Lite based emacspeak speech server
    yasr - General-purpose console screen reader
    flite - A small run-time speech synthesis engine
    flite1-dev - A small run-time speech synthesis engine - static libraries
    libflite1 - a small run-time speech synthesis engine - shared libraries
    To try and find out what the program does (if you want a more detailed description apt-cache show flite) and it looks like you have the culprit now you can either use kill 24929 (the PID number) as root and see if it solves the problem at least till you restart while making sure your sound still works for other programs. If so then you may want to kill it off everytime you start or look into removing the package (apt-get -s --purge remove flite) if the simulation does not want to remove half the system then you would check out what the other packages it would remove do and see if you can live without them if you can then remove the packages by taking the -s out of the line.

  8. #8
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    um

    the PID seems to change at each instance of the message, such that when I do kill after the message has already been said, it says "no such process".

    Also, if flite's a speech synthesizer, I'd much rather find who's SENDING flite the instructions to give me the stupid message than just killing flite. Maybe one day there'll be other messages that I *will* want to hear from flite. It sounds kind of like plugging your ears when your kid's screaming, instead of figuring out WHY the kid's screaming and getting him to stop.

  9. #9
    Junior Member registered user
    Join Date
    Mar 2004
    Posts
    15

    found the solution!!! happy day! :)

    Okay, I found the solution, and I'm posting it here in case anyone else experiences this problem and can't figure out how to deal with it.

    As I thought before, flite isn't the culprit. In fact, flight's a pretty cool little tool. If you have it installed, try typing in a shell:

    Code:
    echo "hello there, how are you today?" | flite
    You will then hear your computer say those words. Maybe silly, maybe unnecessary, but cute.

    Even though I didn't want to remove it (yet), I did

    Code:
    apt-get -s --purge remove flite
    just to see what stuff it would remove (note the important '-s' there, so that it doesn't actually remove anything). It showed me that:

    Code:
    The following packages will be REMOVED:
      abc* flite*
    Next I did apt-cache show abc, and lo and behold:
    Code:
    Description: Battery information and Audio Allarm
     This Script provide a Configurable
     Speaking Allarm for Battery Level Monitoring.
    Ignoring the spelling mistake, I tried running 'abc' to see if it was configurable, but bash said no such command. So I did 'man abc' and found out that there were two scripts that it used, one called "battery_monitor" and one called "battery_level_control". Examining both the man page of "battery_monitor" and the actual file itself (I used "whereis battery_monitor" to locate it), I discovered that it only invokes "battery_level_control". So I checked out "battery_level_control", edited it with nano, and commented out the lines that dealt with a full battery. And it worked!

    Now, if my battery ever runs low, it will tell me. When it's full, though, it does nothing. Just what I wanted. Who in the world immediately unplugs their computer once the battery's full, anyway? At least the person who made the script should have made it configurabe!

    To close, this should be a lesson to me and everyone else about not installing things that you don't necessarily want or need. Right at the beginning, after I installed linux on my HDD, I wanted to get and use "ABC" - "Another Bittorrent Client" that I'd been using in windowsXP. From their website it seemed that they had a linux version as well. So without checking that 'abc' was the correct package for it, I just did an 'apt-get install abc', without knowing what it was really installing. And that turned out to be the source of my troubles!

    Thank-you Stephen for helping me solve this.

    V.[/b]

Similar Threads

  1. Error message!!!!!
    By Tyler_H72 in forum Hardware & Booting
    Replies: 2
    Last Post: 03-09-2005, 09:03 PM
  2. error message
    By pulsar in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 09-08-2004, 05:48 PM
  3. Change the message "Welcome to the KNOPPIX..."
    By Sago7 in forum Customising & Remastering
    Replies: 3
    Last Post: 07-26-2004, 06:57 AM
  4. Error Message
    By ClubMed in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 03-12-2004, 09:11 PM
  5. error message
    By derek wilkinson in forum General Support
    Replies: 6
    Last Post: 02-21-2004, 11:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$44.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99



TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



5 Port Gigabit Unmanaged Ethernet Switch, AUMOX PRO Home 5|5*1G Port, Black picture

5 Port Gigabit Unmanaged Ethernet Switch, AUMOX PRO Home 5|5*1G Port, Black

$8.95



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears picture

TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears

$99.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP picture

Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP

$127.00