[Bug 85748] Re: No support for SMAPI battery

2008-09-29 Thread Leann Ogasawara
Hi Guys,

It looks like tp_smapi is available for both Hardy and the upcoming
Intrepid release.  You need to install the linux-ubuntu-modules package
for Hardy:

[EMAIL PROTECTED]:~$ modinfo tp_smapi
filename:   /lib/modules/2.6.24-19-generic/ubuntu/misc/tp_smapi.ko
license:GPL
version:0.36
description:ThinkPad SMAPI Support
author: Shem Multinymous
srcversion: 80C28C20D57A2C138FA8D02
depends:thinkpad_ec
vermagic:   2.6.24-19-generic SMP mod_unload 586 
parm:   debug:Debug level (0=off, 1=on) (int)

With Intrepid the linux-ubuntu-modules package was merged with the linux
kernel source package:

[EMAIL PROTECTED]:~$ modinfo tp_smapi
filename:   /lib/modules/2.6.27-3-generic/kernel/ubuntu/misc/tp_smapi.ko
license:GPL
version:0.37
description:ThinkPad SMAPI Support
author: Shem Multinymous
srcversion: 7774CFE98BA09B3E60EA564
depends:thinkpad_ec
vermagic:   2.6.27-3-generic SMP mod_unload modversions 586 
parm:   debug:Debug level (0=off, 1=on) (int)

I'm going to go ahead and mark this Fix Released for Hardy and
Intrepid.

** Changed in: linux (Ubuntu)
Sourcepackagename: linux-source-2.6.20 = linux
 Assignee: Kyle McMartin (kyle) = (unassigned)
   Status: In Progress = Fix Released

** Also affects: linux-ubuntu-modules-2.6.24 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: linux-ubuntu-modules-2.6.24 (Ubuntu)
   Status: New = Fix Released

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2008-05-01 Thread Matija Polajnar
tp_smapi is not included into Hardy. What does it mean, it's in
progress? :)

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2008-05-01 Thread R. Nortman
The developer this bug is assigned to (Kyle McMartin) seems to be MIA.
No progress on any bugs assigned to him since last year.  Is there a
process for getting a bug reassigned to somebody else?

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-07-14 Thread R. Nortman
** Description changed:

  Binary package hint: linux-source-2.6.20
  
  Module tp_smapi is not available anymore in Feisty, although it was in
  Edgy kernel, resulting in a lack of functionnality for all IBM/Lenovo
  Thinkpad owners.
  
  The tp_smapi kernel module exposes some features of the IBM/Lenovo
  ThinkPad hardware/firmware via a sysfs interface. Currently, the main
  implemented functionality is control of battery charging and extended
  battery status. The underlying hardware interfaces are SMAPI and direct
  access to the embedded controller.
  
  See http://www.thinkwiki.org/wiki/Tp_smapi for further
  
- Fonctionnality could alternatively be provided by thinkpad-source, but
+ Functionality could alternatively be provided by thinkpad-source, but
  this module can't be compiled with module-assistant.

** Description changed:

  Binary package hint: linux-source-2.6.20
  
  Module tp_smapi is not available anymore in Feisty, although it was in
- Edgy kernel, resulting in a lack of functionnality for all IBM/Lenovo
+ Edgy kernel, resulting in a lack of functionality for all IBM/Lenovo
  Thinkpad owners.
  
  The tp_smapi kernel module exposes some features of the IBM/Lenovo
  ThinkPad hardware/firmware via a sysfs interface. Currently, the main
  implemented functionality is control of battery charging and extended
  battery status. The underlying hardware interfaces are SMAPI and direct
  access to the embedded controller.
  
  See http://www.thinkwiki.org/wiki/Tp_smapi for further
  
  Functionality could alternatively be provided by thinkpad-source, but
  this module can't be compiled with module-assistant.

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-07-13 Thread Shem Multinymous
(I'm the author of tp_smapi.)
Currently, the best way to build tp_smapi on Ubuntu is to manually override the 
kernel source and build paths:

$ make KSRC=/foo KBUILD=/bar ...

Patches to make the Makefile more Ubuntu-friendly (without breaking
other distros) are very welcome.

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 85748] Re: No support for SMAPI battery

2007-06-13 Thread Friedemann Schorer
On Tuesday 12 June 2007 19:58:30 JoeLinux wrote:
 For some reason when following the Tp_smapi wiki, I only receive

  Makefile:25: *** This driver requires kernel 2.6.15 or newer, and
 matching kernel headers..  Stop.

 I have compiled a few other things and never had a problem, the build-
 essential and everything else is up to date. Am I missing something?

Take a look at 
http://www.thinkwiki.org/wiki/Tp_smapi#Installation_on_Ubuntu.2FDebian
It walks you through the compilation.

Best regards,

Friedemann

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-06-12 Thread JoeLinux
For some reason when following the Tp_smapi wiki, I only receive

 Makefile:25: *** This driver requires kernel 2.6.15 or newer, and
matching kernel headers..  Stop.

I have compiled a few other things and never had a problem, the build-
essential and everything else is up to date. Am I missing something?

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-06-12 Thread Matija Polajnar
If you look into the Makefile, you notice it looks for kernel source in 
/lib/modules/$(KVER)/source, where $(KVER) is `uname -r`.
So you should make a symbolic link named 'source' that links to your kernel 
source location. In my case:

[EMAIL PROTECTED]:~$ ls -l /lib/modules/`uname -r`/source
lrwxrwxrwx 1 root root 28 2007-05-29 20:17 
/lib/modules/2.6.20-16-generic/source - /usr/src/linux-source-2.6.20

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-05-21 Thread R. Nortman
A regression only gets a priority of Medium?

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-05-13 Thread Matija Polajnar
 you can manage your battery better
For example ...?

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-05-13 Thread Benjamin Delagoutte
 For example ...?

See my /etc/rc.local :
echo 80  /sys/devices/platform/smapi/BAT0/stop_charge_thresh
echo 20  /sys/devices/platform/smapi/BAT0/start_charge_thresh

If you plug the power when the battery is 45 % full, it won't get
charged. With this setting, the battery would get charged if it's less
than 20 % full. It's a way to preserve battery life.

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-05-13 Thread Matija Polajnar
Well. aren't these provided by exactly those SMAPI modules?

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-05-13 Thread Benjamin Delagoutte
They are. I followed the instructions for building it from source
(http://www.thinkwiki.org/wiki/Tp_smapi).

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-05-13 Thread Matija Polajnar
I've done that as well (as I wanted to retain this functionality) and I would 
like those modules to be included in distribution as they have been before 
Feisty.
I apologize for misunderstanding you; I thought you were trying to tell that 
there are better ways of managing battery than those modules. I've obviously 
misread your sentence...

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-04-24 Thread Benjamin Delagoutte
It seems as if there is no SMAPI support in Feisty : the module is not
included in kernel-2.6.20 and module-assistant fails building thinkpad-
source.

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-04-24 Thread MeneM
By following the directions on this page:
http://www.thinkwiki.org/wiki/Tp_smapi for Ubuntu/Debian (and a bit of
common sense) I managed to get it working.

At the same time though: There is not a lot of added functionality with
these modules; you can manage your battery better (which does make sure
you have a longer lifespan with your battery), and Linux can now monitor
the position of you laptop relative to the horizontal plane...

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-04-21 Thread Matija Polajnar
Any progress?

-- 
No support for SMAPI battery
https://bugs.launchpad.net/bugs/85748
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-03-07 Thread Kyle McMartin
I'll get to this.

** Changed in: linux-source-2.6.20 (Ubuntu)
   Importance: Undecided = Medium
 Assignee: (unassigned) = Kyle McMartin
   Status: Unconfirmed = In Progress

-- 
No support for SMAPI battery
https://launchpad.net/bugs/85748

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 85748] Re: No support for SMAPI battery

2007-02-18 Thread Cristian Aravena Romero
Thanks for taking the time to report this bug. Unfortunately we can't
fix it, because your description didn't include enough information.

Please include the following additional information, if you have not already 
done so (please pay attention to lspci's additional options), as required by 
the Ubuntu Kernel Team:
1. Please include the output of the command uname -a in your next response. 
It should be one, long line of text which includes the exact kernel version 
you're running, as well as the CPU architecture.
2. Please run the command dmesg  dmesg.log and attach the resulting file 
dmesg.log to this bug report.
3. Please run the command lspci -vvnn  lspci-vvnn.log and attach the 
resulting file lspci-vvnn.log to this bug report.

For your reference, the full description of procedures for kernel-
related bug reports is available here:
http://wiki.ubuntu.com/DebuggingKernelProblems Thanks!

-- 
No support for SMAPI battery
https://launchpad.net/bugs/85748

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 85748] Re: No support for SMAPI battery

2007-02-18 Thread Matthew Garrett
 Thanks for taking the time to report this bug. Unfortunately we can't
 fix it, because your description didn't include enough information.

No, this bug contains all the necessary information to fix the issue.

-- 
No support for SMAPI battery
https://launchpad.net/bugs/85748

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs