LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   IBM T500 2241CC1 Ubuntu 14.04.4 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/ibm-t500-2241cc1-ubuntu-14-04-4-a-4175574338/)

dave67 03-08-2016 03:20 PM

IBM T500 2241CC1 Ubuntu 14.04.4
 
I needed to install linrunner for battery conservation and it works wonders. But some of the activated settings have me stumped. I do not think my T500 has the Readeon card all I find with the lspci is the Intel card. Linrunner though has this running below. My question is why is this running if I have no RADEON graphics card? I have read and when over the settings and configuration manuals.

Code:

RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto

I am able to use the laptop for over two hours now before the battery drains. before it lasted about 1 hour setting idle.

Before I edit the config file I would like to back it up but I been not using Linux for some time and I forgot the command for backing up config file before I editing.

Thanks
Dave

beachboy2 03-08-2016 04:52 PM

dave8671,

You have an Intel graphics card.

You say you have you looked at the TLP guide:
http://linrunner.de/en/tlp/docs/tlp-...anagement.html

and the TLP FAQ:
http://linrunner.de/en/tlp/docs/tlp-faq.html

Also this:
http://www.webupd8.org/2015/02/advan...-tlp-sees.html

You can keep a copy of the default tlp config file which is:

Code:

/etc/default/tlp
If you wish to modify the file, use:

Code:

gksudo gedit /etc/default/tlp
To restart:

Code:

sudo tlp start

dave67 03-08-2016 09:04 PM

I never got a additional drivers for the laptop In Kubuntu 14.04 so I am thinking it is not installed or failed to install. I know I have the Intel graphics. that is the reason I am wondering why the settings for the RADEON card is active? I know some of these laptop have ATI Technologies Inc Mobility Radeon HD 3650. But I do not think mind does.

rokytnji 03-08-2016 09:44 PM

Just wondering. What is the harm if you comment out the radeon lines?


Code:

#RADEON_POWER_PROFILE_ON_AC=high
#RADEON_POWER_PROFILE_ON_BAT=low
#RADEON_DPM_STATE_ON_AC=performance
#RADEON_DPM_STATE_ON_BAT=battery
#RADEON_DPM_PERF_LEVEL_ON_AC=auto
#RADEON_DPM_PERF_LEVEL_ON_BAT=auto

But first, I would double check

Quote:

But I do not think mind does.
I use inxi

for system info on my installations to make sure I know exactly what I have inside. For example. This IBM Z60 laptop.

Code:

$ inxi -Fxz
System:    Host: biker Kernel: 4.2.1-antix.2-486-smp i686 (32 bit gcc: 4.9.2)
          Desktop: Fluxbox 1.3.5
          Distro: antiX-15-V_386-full Killah P 30 June 2015
Machine:  System: IBM (portable) product: 2529E1U v: ThinkPad Z60m
          Mobo: IBM model: 2529E1U
          Bios: IBM v: 77ET64WW (1.24 ) date: 02/27/2007
CPU:      Single core Intel Celeron M (-UP-) cache: 1024 KB
          flags: (nx pae sse sse2) bmips: 2792 speed: 1396 MHz (max)
Graphics:  Card: Intel Mobile 915GM/GMS/910GML Express Graphics Controller
          bus-ID: 00:02.0
          Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa)
          Resolution: 1280x800@60.00hz
          GLX Renderer: Mesa DRI Intel 915GM x86/MMX/SSE2
          GLX Version: 2.1 Mesa 10.3.2 Direct Rendering: Yes
Audio:    Card Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller
          driver: snd_hda_intel bus-ID: 00:1b.0
          Sound: Advanced Linux Sound Architecture v: k4.2.1-antix.2-486-smp
Network:  Card-1: Broadcom NetXtreme BCM5751M Gigabit Ethernet PCI Express
          driver: tg3 v: 3.137 bus-ID: 02:00.0
          IF: eth0 state: down mac: <filter>
          Card-2: Intel PRO/Wireless 2915ABG [Calexico2] Network Connection
          driver: ipw2200 v: 1.2.2kmprq bus-ID: 14:02.0
          IF: eth1 state: up mac: <filter>
Drives:    HDD Total Size: 320.1GB (7.2% used)
          ID-1: /dev/sda model: HGST_HTS545032A7 size: 320.1GB
Partition: ID-1: / size: 7.6G used: 4.2G (58%) fs: ext4 dev: /dev/sda1
          ID-2: /home size: 68G used: 9.6G (16%) fs: ext4 dev: /dev/sda2
          ID-3: swap-1 size: 4.19GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
Sensors:  System Temperatures: cpu: 54.0C mobo: 52.0C
          Fan Speeds (in rpm): cpu: 2767
Info:      Processes: 109 Uptime: 1:23 Memory: 370.1/2010.1MB
          Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
          Client: Shell (bash 4.3.301) inxi: 2.2.35


rokytnji 03-08-2016 09:54 PM

Here is me backing up /etc/issue

Code:

harry@biker:~
$ sudo -i
root@biker:~# cp /etc/issue /etc/issuebk
root@biker:~# cd /etc
root@biker:/etc# ls
<snip>
bindresvport.blacklist              iso-snapshot.conf  rc4.d
bluetooth                      issue                  rc5.d
bogofilter.cf                      issuebk                  rc6.d
bootchartd.conf                      issue.net       
<snip>

so become root 1st like I did and do the same for /etc/default/tlp and then look and see like I did that the backup file took.

Edit: If not wishing to use inxi. Kubuntu should also include

Code:

harry@biker:~
$ apt-cache policy lshw
lshw:
  Installed: 02.17-1.1
  Candidate: 02.17-1.1
  Version table:
 *** 02.17-1.1 0
        500 http://ftp.us.debian.org/debian/ jessie/main i386 Packages
        100 /var/lib/dpkg/status

then just run

Code:

sudo lshw
and poke around in that readout to see if any radeon gear shows up. lshw can be installed through you package manager or through apt-get in terminal.

Code:

sudo apt-get install lshw

dave67 03-09-2016 10:10 AM

See I knew there was a way to check the hardware but searches I did never gave me the above options. I will see if the commentingraphics the graphics causes any after effects. If so I will just uncomment them.

I am sorry to report I am windozed.

dave67 03-09-2016 03:00 PM

I check the hardware with lshw it was always installed only Intel graphics card.


I typed

Code:

cp /etc/default/tlp etc/default/tlp.bk

ls give me the entire contents of /etc I do not see a default/tlp.bk not errors after the command but I tried to edit anyway and here is the issue.

I can not save the file /default/tlp no permissions to save file. I typed

Code:

sudo gedit /etc/default/tlp
I always have this issue never fails. I even tried kate but had diffrent errors. I am not posting using the kbubuntu system. I will have to change that.

dave67 03-09-2016 03:31 PM

Here I am on my laptop here is the kate errors

Code:

main@ThinkPad-T500:~$ sudo kate  /etc/default/tlp
[sudo]
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-main" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-main" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-main" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-main" is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Error: "/tmp/ksocket-main" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-main" is owned by uid 1000 instead of uid 0.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-main" is owned by uid 1000 instead of uid 0.
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-main" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-main" is owned by uid 1000 instead of uid 0.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-main" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-main" is owned by uid 1000 instead of uid 0.
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-main" is owned by uid 1000 instead of uid 0.
QObject::connect: Cannot connect (null)::resourceScoreUpdated(QString, QString, QString, double) to NepomukPlugin::resourceScoreUpdated(QString, QString, QString, double)
QObject::connect: Cannot connect (null)::recentStatsDeleted(QString, int, QString) to NepomukPlugin::deleteRecentStats(QString, int, QString)
QObject::connect: Cannot connect (null)::earlierStatsDeleted(QString, int) to NepomukPlugin::deleteEarlierStats(QString, int)
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.7'



If I had to guess I am missing some configuration for permissions what I have no clue.

dave67 03-09-2016 05:10 PM

IF I type

Code:

sudo gedit /etc/default/tlp
I get

Code:

main@ThinkPad-T500:~$ sudo gedit /etc/default/tlp
[sudo] password for main:

(gedit:3333): Gtk-WARNING **: Theme file for default has no directories


** (gedit:3333): WARNING **: Could not load theme icon user-bookmarks-symbolic: Icon 'user-bookmarks-symbolic' not present in theme

** (gedit:3333): WARNING **: Could not load theme icon user-home-symbolic: Icon 'user-home-symbolic' not present in theme

** (gedit:3333): WARNING **: Could not load theme icon drive-harddisk-symbolic: Icon 'drive-harddisk-symbolic' not present in theme

I commented the Raedon card out I see nothing new happening.

I tried it again and gedit saved the file (why have have no clue) and I am in battery mode which I set as start charging at 20 percent but I do not think this works I plugged my power in and it started charging at 36 percent.

There was the altra bay settings to but I left them commented out.

dave67 03-12-2016 07:23 AM

For a few seconds days I left it running on battery and plugged in the power core at 36% charge it still had charging and did charge. I will comment out this,and not use it. I did comment Radeon settings and there seems to be a slightly more power drain than with them enabled. Hmm maybe this setting puts through graphics in a lower power stat regardeless of the graphics type. Meant to add that I had the setting to start charging at 25%.

dave67 03-12-2016 04:32 PM

Seems that now the battery is not changing or the laptop seems th Tlp did something so I disabled the battery charge thresholds. I turn it off see what happen in a few hours. it was stuck on 21 % charge and not moved in a hour.

Update

I calibrated the battery to see if this will help which is in process now

dave67 03-14-2016 08:31 PM

Everything is back to normal after calibrating the battery. I think the lesson here learned is best to leave the battery thresholds settings like they are commented out. Seeing that it cause my battery not to charge correctly or have the system think is was fully charged but it was not.


All times are GMT -5. The time now is 12:35 PM.