Hardware :: Battery Hotplug Not Working
Sep 23, 2010
I'm running Linux 2.6.35.4 on a Kontron COMExpress board. The device has 2 battery slots so that a user can hot swap batteries while the device is running.The problem I'm having is that battery information is never updated in /sys unless I read /proc/acpi/BAT[12]/state.When booting the device, the battery state is correctly detected by the kernel but after that it seems like nothing happens.
My current solution is to poke at /proc from time to time, it works but I'm forced to compile my kernel with CONFIG_ACPI_PROCFS_POWER which is marked as deprecated..
View 2 Replies
ADVERTISEMENT
Jan 6, 2010
Hotplug of USB not working after yum update.Fedora 11, with KDE4.3.4-1 Kernel 2.6.30.10-105.fc11.i686.PAE.This problem occurred after I ran "yum update" on 28th December 2009, which updated the kernel to the current above version, from 2.6.30.9-96.c11.i686. PAE.Prior to this update, when a USB device(either a scanner, printer, pendrive or camera) was plugged in (hotplug) the device was detected and could be used by the appropriate application. The camera and pendrives were reported by the KDE Device Notifier.
I can mount the pendrive and camera manually, but I cannot use the scanner or printer applications as the devices are not seen.Interestingly if the printer and scanner devices are plugged in/switched on at boot time,they are seen and are usable, eg the Scanner-Tool sees the scanners and the printers print.Logging in as root, exhibits the same symptoms.This feature has occurred on two machines, both after running yum update.Please what has broken with this yum update.How can I overcome this "feature".
View 4 Replies
View Related
Jun 10, 2010
The following config works and creates a good VM in Xen:
Code:
# Kernel Setup
kernel = "/boot/vmlinuz-2.6.18.8-xenU"
# Memory
memory = "256"
# Disk
disk = [
"file:/opt/xen/domains/110/sda1.img,sda1,w",
"file:/opt/xen/domains/110/swap.img,sda2,w"
]
# container name
name = "110"
hostname = "boo"
# Networking
vif = ["type=ieomu, bridge=xenbr0"]
# VNC
vnc = 1
#vfb = [ 'type=vnc,vncdisplay=2,vnclisten=0.0.0.0,vncpasswd=110' ]
# Behavior Settings
root = "/dev/sda1"
extra = "fastboot"
But when I uncomment the VFB line, I get the following error after it hangs for at least 30 seconds:
Code:
[root@customer 110]# xm create boo.cfg
Using config file "./boo.cfg".
Error: Device 0 (vkbd) could not be connected. Hotplug scripts not working.
Part two of this question:
Sometimes it actually works, and a port is opened. When this happens, nmap shows the VNC ports open and I can connect via the VNC client, but it just hangs at "Connection established." and no VNC display shows up. I've tried multiple VNC clients (TightVNC, TightVNC Java Console, RealVNC), but they all fail to connect. Does VNC through Xen require X to be started in order to function? I was under the impression that it would show the console screen.
View 2 Replies
View Related
Sep 9, 2011
when running on AC-power, only on battery.When I have my laptop on battery, and I plug the mouse in, then the USB mouse is working if I keep moving it around. If I then lay it alone for 5 secs, or so. it stops working.I cannot get USB sticks to work as well.
View 3 Replies
View Related
Jan 10, 2010
After suspending my computer, the battery icon doesn't work anymore (nothing happens when I put my mouse over it and it doesn't detect wether the computer is plugged in or not). Also, the brightness of the computer doesn't change when I plug/unplug the computer. All of that works fine before i suspend the computer.
View 7 Replies
View Related
Jun 18, 2010
I've just installed 10.04 and everything seemed to work fine. I am running it on a Q-Force laptop. The moment I removed the electricity plug though, my laptop shut down in less than 5 seconds. I'm guessing my battery isn't fully recognised. When I check the power management menu under battery, I get all information. Status = fully_charged.
View 3 Replies
View Related
Dec 26, 2010
I just got new netbook for christmas and so I promptly set it up with a dual boot system cause Windows 7 starter is garbage.Anyways after ditching the Netbook Remix because quite frankly I found the Unity setup to be quite garbage. Nothing worked the way I wanted it to and I found it quite annoying.So I ditched it for the regular desktop version. I quickly found that the battery indicator didn't work.
I removed and re added the indicator panel. Nothing. killed the gnome panel and restarted it multiple times. still nothing. Restarted multiple times. nothing. I even reinstalled gnome-power-management to no avail. I also installed laptop-mode-tools and nothing has worked. I went into the power settings and set it to always display the icon and it simply showed a lightning bolt as if there was no battery and it was a tower computer.
View 4 Replies
View Related
Apr 10, 2011
I just updated my Ubuntu to Maverick Meerkat and it seems that now the battery monitor doesn't work. It shoes the icon on top and the battery icon gets full while the battery charged but it doesn't say the percent, it just says Laptop battery (estimating...)
View 1 Replies
View Related
Aug 28, 2010
I'm trying to make my system automatically shutdown once the battery level is low, but still without success. I've tried kpowersave, gnome-power-manager, kpower, klaptop but none of these worked for me. Well, I can't imagine I would be that stupid, but simply it doesn't work. In all cases mentioned above (kpower, klaptop, gnome-power-manager) I've tried to setup the laptop to shutdown once the defined level is reached, but the laptop never actually switched off unless all the battery was drained.
Btw. I think all the above mentioned apps only work once the user is logged in. But I'd like the solution to work also when the PC is on without anyone logged in. I thought I could write a bash script based on parsing of acpitools output and define it as a service, which would monitor the battery level, but I simply don't believe there isn't any functional solution to this.
View 3 Replies
View Related
Mar 2, 2010
getting back to our laptop, the stability window is ~3.2V. Meaning that when you operate the battery above this the electrolyte is oxidized on the positive electrode and reduced on the negative electrode. Remember that we only want to oxidize and reduce the active materials and don't want to do anything else. All these reactions other than the ones we want are called side reactions and these are really bad for the battery. The nominal voltage of a laptop battery is 3.7 V which means that something bad wants to happen as we use the battery.So long story short, stuff (e.g., passive layers and poor kinetics of reactions) happens and things are not as bad as they seem and you can increase the voltage up to 4.2V without bad things really happening. All chargers for Li-ion cells today cut the battery off when it reaches 4.2V. What you have to realize is that at 4.2V, these side reactions are present in finite amounts and start to chemically kill the battery, but its not that dramatic.
Operating to 4.1V makes things better and extends the life, 4.0 V is even better and so on. So why don't battery manufacturers cut the voltage off at, say, 4 V to get better battery life? Because every time you cut this voltage down you decrease the capacity of the battery and its run time. The 4.2V cutoff is a compromise between good run time and decent (read "not pathetic) life.On the other hand, if you charge the battery and then pull the plug (so to speak), the battery discharges some, the voltage drops, and these reactions become less of a problem and your battery life goes up. So the best things you can do is to charge the laptop (or cell phone, camera etc.) and once its charged, pull the plug. Your battery will thank you for it.As a matter of fact, if you own a Lenovo Thinkpad, you can actually change the state of charge to which you charge the battery using the Battery Maintenance utility. You can change this from charging to 100% state (where the voltage is 4.2V) to 90% so that your voltage is less. You lose some energy is doing that, but atleast you can change it to 100% when you need battery power and put it back down to 90% when you can plug in. I wish my Mac has the same feature.
I typically use the battery for a while (say 1/2 hour to 1 hour), then plug it in and wait to fully charge it, then I pull the plug and use it again for 1/2 hour to 1h and then I repeat this. Takes some getting used to and I forget to do this, but I try.
View 1 Replies
View Related
Oct 19, 2010
The Time and Date at the top docking bar is Hanged. It shows Mon, Oct 18, 6:35 PM. That's all. But when I click on it, it shows correct date in Calender. And correct time in the bottom. I believe those gadgets are not updating at all. Cause my Battery indicator is also not working.
View 2 Replies
View Related
Feb 24, 2010
I am using a Fujitsu Amilo pi3560 with a Realtek rtl8172 wireless card, and running the latest driver (rtl8192se_linux_2.6.0014.0115.2010). The OS is Ubuntu 9.10.
Everything runs perfectly - when my laptop is connected with the power cord. But when I go battery the wireless disconnects after a few minutes. It then asks for the wpa password, searches for the router, asks again, and so on indefinitely, until I reboot and it all replays once more.
View 2 Replies
View Related
May 1, 2010
Just installed 9.10 followed by a 10.04 upgrade (wouldn't work as a 10.04 clean install). The install and upgrade all seemed to go well.
But now when booting I get a message saying "checking battery state" and then it boots no further. This is a laptop without a battery installed, running permanently from the mains through the charger.
How can I disable this check so that the laptop will still boot without a battery fitted?
View 5 Replies
View Related
Feb 10, 2010
Current stable Debian runs on both machines. I connect a digital camera to the USB on the server ("a") and the camera's filesystem is mounted automatically.I want that same filesystem to be made available to the other machine ("b") through nfs.What should be in fstab for that filesystem, or is something else needed in the configuration for "b" in order to access the filesystem which is physically on "a"?
View 5 Replies
View Related
May 1, 2010
Trying to install Natty 11.04 via PXE. The ethernet is a Realtek RTL8168d/8111d gigabit. It DHCPs and configures just fine. Then it downloads what it needs for partitioning and does that. After partitioning, it runs net/hw-detect.hotplug which discovers the interface as new, then strips it of any configuration so it can not proceed further. Is there any way to disable this secondary hotplug detection of the ethernet interface?
View 4 Replies
View Related
Jan 10, 2011
I was just wondering if there's any point having both auto and allow-hotplug against the same interface in network/interfaces as allow-hotplug seems to bring an interface up at boot on its own.
View 3 Replies
View Related
May 8, 2011
My Ubuntu laptop gets docked into a few different locations per day with different hardware and use cases. I'd like to automate the preference settings for each of these locations:
Work computer, dual head 1280x1024
External USB audio and bluetooth audio
Home computer, dual head 1280x1024, 1080p
External USB audio
Basically, when I dock the box in either (1) or (2), I want to automagically get the right xrandr settings for the different screen geometries and the right audio routing.
What scripts, etc. are responsible for the inscrutable default behavior?
Are there packages for customizing this?
If I wanted to roll my own, what is the right library to use to catch the hotplug events?
View 1 Replies
View Related
May 15, 2011
I upgraded to Xfce 4.8 following instructions: [url]
Everything is fine except for my ntfs usb drives are read-only.
udisks reports that the drive mounted is not read only:
Code:
mtab is showing that the drive is also rw
Code:
However when I try to create a new file or folder on the drive in Thunar, I get:
Code:
Or ...
Code:
Permissions on the mounted folder are as follows:
Code:
View 3 Replies
View Related
Jan 13, 2010
I'm having trouble getting a PCIe device to show up in lspci using pcie hotplug.
After booting the system I load the pciehp module, I then plug-in my PCIe card. After that I do an lspci, but I don't see my PCIe card. When I cold boot with the PCIe card installed the system sees it fine, i.e. it show up in lspci.
Does anyone know of an easy way to figure out if my hardware even supports pcie hotplug?
When I load the hotplug module I just do a modprobe pciehp. Is this all I need to do prior to plugging-in my pcie card?
I will try running pciehp with debugging turn on to see if that gives me any additional info.
View 2 Replies
View Related
May 5, 2010
I am running Fedora 12 on a T400 Thinkpad. When connector my external monitor prior to powering on the computer or if I restart it, I get a lot of resolution choices from xrandr. See below.
Code:
$ xrandr
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
1440x900 60.0*+ 50.0
1024x768 60.0
[Code].....
Is there some daemon I need to restart to detect the monitor resolutions correctly, or is there a module I can reload?
There seem to several variables to reproducing the behavior. If I restart without the laptop without the monitor plugged in, log in, and then, plug the monitor in with the monitor powered on prior to plugging, all resolutions are detected properly. However, if I plug the monitor in with it powered off, then power it on, I only get the few options shown in above. Once I get the reduced number of options, it seems to stay that way till I restart regardless of how I unplug the monitor.
I have found a work-around by just forcing the modes with xrandr --newmode and xrandr --addmode, but I would much rather have the modes autodetected.
View 1 Replies
View Related
Aug 31, 2010
I have a 3 year old laptop with the original battery and its drained pretty bad. The "Battery may be broken" popup was driving me insane and this is how you disable it, in case you are in the same situation as me. Open terminal
Code:
gconf-editor
Drill down to...
apps --> gnome-power-manager --> notify
uncheck the low_capacity checkbox. This should disable the popup for you if your battery has little life left in it. Now, if any knows how to disable the Avahi popup, let me know.
View 3 Replies
View Related
Nov 8, 2010
I have a new 64 bit workstation (Dell Vostro i7) which I usually keep running for extended periods (read; days and weeks). I have realized that the system completely ignores when I insert a USB stick (LaCie 8Gb USB Key). By ignore, I mean it doesn't get mounted, and /media/ is empty. Interesting enough if I go into YAST and probe for Hardware Information, I find my USB stick there under the USB section. There is no specific entry for the key in /etc/fstab by the way, as far as I know I don't need to specify how a USB stick should be mounted. Auto-mount, when it actually works, is perfectly fine.
View 7 Replies
View Related
Feb 8, 2011
OpenSuSE 11.3/KDE4 32-bit
Kernel 2.6.34.7-0.7-desktop
It's been a while but I just hit a brick wall. Well, this has been building for a week or so, I can't figure out what's causing it. I thought there was a sudden conflich with the bluetooth dongle, since that one piece of hardware is not listed right from boot (sometimes has a dmesg error related to loading the module), but I find now this is not the case. Today I ran the full update to the current kernel hoping to fix the problem, but to no avail (caused some interesting issued with the video (intel 945) which I ironed out). Symptom: With the exception of the bluetooth, all devices hooked up to the USB ports at boot are recognized and usable. No device that I plug in after booting is recognized, period. lsusb output does not change. Plugging in a USB flash drive produces no output for dmesg.
[Code]...
View 3 Replies
View Related
Jul 13, 2010
Is there any USB mouse battery indicators for Ubuntu that can tell me the battery level of my Logitech USB mouse? (something like a laptop battery one) I want to add it the panel.
View 6 Replies
View Related
Aug 15, 2011
Problem as in title: on AC everything ok, but on battery my wireless is not working.openSUSE 11.4, gnome 3.0lspci:Code:03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)Subsystem: Askey Computer Corp. Device [144f:7179]Kernel driver in use: wl
View 6 Replies
View Related
Jul 2, 2011
I av just started out with fedora (fedora 15 64bit) and everything is dandy except i get less than an hour of battery life on my laptop. I used to get around 2 and half hours on ubuntu natty. could someone help me figure out whats going on?All hardware has been working well and i havent installed any proprietary drivers except the WLAN broadcom driver.
View 1 Replies
View Related
Nov 24, 2010
My battery Icon dosn't showup.
I did
Code:
I recieve back
Code:
Traceback:
And I also did
Code:
View 9 Replies
View Related
Apr 30, 2011
I just upgraded to Ubuntu 11.04 on my Acer Aspire One netbook and no longer have a battery applet on the top bar. I used to have one on 10.10 but not now that I've upgraded ... I have tried going into power preferences and i couldn't get it to work.The Power Manager options suggest that there is no battery present which is obviously not the case...
View 6 Replies
View Related
Apr 4, 2010
I installed the latest version of puppy linux on this Nobilis laptop and I am having a little trouble with the battery. As you can imagine being able to see the battery power left is a bit more then convenience. I am running it frugal install. Is there just a setting or something that I am flat out missing? I used the Hardinfo hardware information tool (A tool in puppy linux) and it also didn't find the battery.
View 6 Replies
View Related
Jun 22, 2011
I've recently installed Squeeze on my laptop. All was fine (except for a small change I needed to make to the GRUB code in order to install and boot it) and I find the OS easy to use. I am sure I will be using it for a long time! I might even change my desktop over to Squeeze as well - I'm using Linux Mint 10 at the moment.I have found just one minor problem: the battery icon continuously shows 100% full, even when the indicator on the laptop is showing that it needs recharging - after about two hours' use.This has not happened before:although the laptop is about two years' old, I have had this battery for only a month, so it has not yet done much work!
View 4 Replies
View Related