Bug#670958: udev/power_supply battery oscilates between remove and add
Adrian Fita wrote:
> I also made and checked a diff between 2.6.37-2 and
> 2.6.38~rc6-1~experimental.1 sources and it looks like there was some
> functionality added to the drivers/power section which doesn't seem to
> work right.
Here's a quick test for the curious:
# configure, if you haven't already done so
cp /boot/config-$(uname -r) .config
scripts/config --disable DEBUG_INFO
make localmodconfig; # optional: minimize configuration
# grab 2.6.38-rc6
git checkout v2.6.38-rc6
# grab drivers/power from 2.6.37
git checkout v2.6.37 -- drivers/power
# build and test
make deb-pkg; # optionally with -j4
dpkg -i ../<name of package>; # as root
reboot
Reply to: