LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-08-2016, 03:20 PM   #1
dave67
Member
 
Registered: Apr 2007
Posts: 419

Rep: Reputation: 67
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

Last edited by dave67; 03-08-2016 at 03:22 PM. Reason: spelling :(
 
Old 03-08-2016, 04:52 PM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,966
Blog Entries: 32

Rep: Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464
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
 
Old 03-08-2016, 09:04 PM   #3
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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.
 
Old 03-08-2016, 09:44 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,095
Blog Entries: 21

Rep: Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473
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
 
1 members found this post helpful.
Old 03-08-2016, 09:54 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,095
Blog Entries: 21

Rep: Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473
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

Last edited by rokytnji; 03-08-2016 at 10:02 PM.
 
Old 03-09-2016, 10:10 AM   #6
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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.
 
Old 03-09-2016, 03:00 PM   #7
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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.

Last edited by dave67; 03-09-2016 at 03:04 PM.
 
Old 03-09-2016, 03:31 PM   #8
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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.
 
Old 03-09-2016, 05:10 PM   #9
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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.

Last edited by dave67; 03-09-2016 at 08:14 PM.
 
Old 03-12-2016, 07:23 AM   #10
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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%.

Last edited by dave67; 03-12-2016 at 02:36 PM.
 
1 members found this post helpful.
Old 03-12-2016, 04:32 PM   #11
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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

Last edited by dave67; 03-13-2016 at 09:31 AM. Reason: Update
 
Old 03-14-2016, 08:31 PM   #12
dave67
Member
 
Registered: Apr 2007
Posts: 419

Original Poster
Rep: Reputation: 67
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Thinkpad T500 - ati mobility radeon hd3650 Kion36 Linux - Laptop and Netbook 5 11-13-2012 08:48 AM
Best Battery Life on Lenovo Thinkpad t500? john_f_somers Linux - Laptop and Netbook 6 07-25-2010 09:02 PM
[SOLVED] Ubuntu Linux 9.10 Floppy Drive issue on Dell Dimension T500 goofybud16 Linux - Newbie 7 04-10-2010 02:34 PM
Configuring wifi on ThinkPad T500 neuroman Linux - Laptop and Netbook 2 12-22-2009 12:27 AM
problems installing Fedora 10 on a T500 Thinkpad glip Linux - Laptop and Netbook 2 03-12-2009 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration