Well, after the intervening updates, things have changed for the better: sh -x /usr/sbin/laptop-detect + PRINTIT=/bin/true + [ != ] + test -d /proc/pmu + [ -r /dev/mem -a -x /usr/sbin/dmidecode ] + /sbin/modprobe battery + [ -d /sys/class/power_supply ] + grep -q Battery /sys/class/power_supply/AC/type /sys/class/power_supply/BAT0/type + /bin/true We're a laptop (ACPI batteries found) + exit 0
$ sudo sh -x /usr/sbin/laptop-detect + PRINTIT=/bin/true + [ != ] + test -d /proc/pmu + [ -r /dev/mem -a -x /usr/sbin/dmidecode ] + dmidecode --string chassis-type + dmitype=Notebook + test Notebook = Notebook + /bin/true We're a laptop (dmidecode returned Notebook) + exit 0 Shall we mark it resolved? Or I can carry on with your tests if there's any reason On Tue, Oct 15, 2013 at 1:59 PM, Tormod Volden <[email protected]>wrote: > Thanks, but I forgot the "sudo", please try: > sudo sh -x /usr/sbin/laptop-detect > > Also, please give the output from: > cat /sys/devices/virtual/dmi/id/chassis_type > > What kind of a laptop is this (brand, model, etc)? Does it have a > battery? > > Eventually, the whole output from "sudo dmidecode" could be interesting, > but you may want to remove serial numbers etc from it before attaching > it here. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1231757 > > Title: > laptop-detect gives wrong answer on a laptop (13.10) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/laptop-detect/+bug/1231757/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1231757 Title: laptop-detect gives wrong answer on a laptop (13.10) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/laptop-detect/+bug/1231757/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
