LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-27-2010, 09:54 AM   #1
Cage47
Member
 
Registered: Feb 2003
Location: Pasadena, TX
Distribution: Debian Lenny
Posts: 220

Rep: Reputation: 31
sensors on a Thinkpad A22m


I just got a Thinkpad A22m from ebay and it works great. But I'm running into a couple hangups. First I wanted to run Debian Lenny. But due to copywrite stuff the module for the sound card snd_cs46xx was removed from the stock kernel. So I'm attempting to roll my own kernel. It's processing now. Anyone else have this that have rolled a kernel have a .config file I can check to make sure I don't forget anything or can get rid of what's not needed.

Second. I was attempting to run Mepis Linux 8.0 (which is based on Debian Lenny) It loaded fine and the sound was back. but I wiped it off because I read somewhere that lmsensors can trash these laptops. And not to load it or ksensors. Well Mepis loaded those by default. And rather than risk it. I played it safe and put Lenny back on. Is there anyone running Mepis on a Thinkpad? Is it safe? I liked how it looked and would have liked to keep it on but would rather err on the side of caution.

Also I'm wondering why my screensaver doesn't kick in. Instead the screen seems to freeze and holds until I move the mouse and get it back. This happens on this and my Toshiba. both are running Lenny. Is there a setting I am missing to get the screensaver to run rather than hold the screen.
 
Old 02-27-2010, 12:57 PM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

your problem is not the package lm_sensors. The problem is the program sensors-detect. As stated in the README of lmsensors, sensors-detect can damage your hardware. Not sure if this problems hits on your A22M.

You can consult Thinkwiki, possibly you'll find there some more information.
 
1 members found this post helpful.
Old 02-27-2010, 01:58 PM   #3
Cage47
Member
 
Registered: Feb 2003
Location: Pasadena, TX
Distribution: Debian Lenny
Posts: 220

Original Poster
Rep: Reputation: 31
Appreciate that. I was aware of that site but hadn't dug far enough to find where it said there is a code in the kernel module that detects if an ibm system is present and forces it to ignore the module if there is. I saw it do that when I had Debian installed. I'm now reinstalling Mepis. I've removed ksensors and going to outright remove the module. Mepis again fixes my sound as my kernel recompile wasn't totally successful.

But still wondering about the screensaver issue. Not a biggie just confusing.
 
Old 02-27-2010, 02:04 PM   #4
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

this screensaver thing seems to be somewhat Debian specific, or a thing with the video adapter.
 
Old 02-27-2010, 02:26 PM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
My IBM A22m running AntiX 8.5 rc3 .


Code:
$ inxi -F
System:    Host biker Kernel 2.6.32-1-mepis-smp i686 (32 bit) Distro antiX-M8.5 Marek Edelman 16 February 2010
CPU:       Single core Pentium III (Coppermine) (UP) cache 256 KB flags (sse) bmips 1993.52 clocked at 1000.00 MHz 
Graphics:  Card ATI Rage Mobility P/M AGP 2x X.Org 1.6.5 Res: 1024x768@85.0hz 
           GLX Renderer Software Rasterizer GLX Version 2.1 Mesa 7.6.1 Direct Rendering Yes
Audio:     Card Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] driver Sound Fusion CS46xx BusID: 00:05.0
           Sound: Advanced Linux Sound Architecture Version 1.0.21
Network:   Card-1 3Com 3c556B CardBus [Tornado] driver 3c59x at port 1800 BusID: 00:03.0
           Card-2 RaLink RT2561/RT61 802.11g PCI driver rt61pci v: 2.3.0 BusID: 06:00.0
Disks:     HDD Total Size: 20.0GB (21.8% used) 1: /dev/hda IC25N020ATCS04-0 20.0GB 
Partition: ID:/ size: 5.0G used: 1.8G (38%) fs: ext3 ID:/home size: 7.7G used: 750M (11%) fs: ext3 
           ID:swap-1 size: 0.76GB used: 0.01GB (1%) fs: swap 
Info:      Processes 95 Uptime 1:10 Memory 80.3/247.3MB Runlevel 5 Client Shell inxi 1.4.5
I am posting while running in Dillo 2.2 (I updated it from installed version using a Puppy pet pkg)
So if post doesn't take. That is why.

Edit: Just checking to see if it worked posting in Dillo (in Iceweasel now). Got a error message. But it looks like it posted Ok. Login acts funny using Dillo also.

Last edited by rokytnji; 02-27-2010 at 02:33 PM. Reason: In Iceweasel Now
 
Old 02-27-2010, 02:38 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
I guess I should also mention that my sensors are working, plus sound, plus dvdrom (plays movies) and my pcmcia Belkin F5D 7010 ver.6 Wireless G card also using Wicd.

Code:
$ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
	Kernel driver in use: agpgart-intel
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03)
00:02.0 CardBus bridge [0607]: Texas Instruments PCI1450 [104c:ac1b] (rev 03)
	Subsystem: IBM ThinkPad A21m/T20/T22 [1014:0130]
	Kernel driver in use: yenta_cardbus
00:02.1 CardBus bridge [0607]: Texas Instruments PCI1450 [104c:ac1b] (rev 03)
	Subsystem: IBM ThinkPad A21m/T20/T22 [1014:0130]
	Kernel driver in use: yenta_cardbus
00:03.0 Ethernet controller [0200]: 3Com Corporation 3c556B CardBus [Tornado] [10b7:6056] (rev 20)
	Subsystem: 3Com Corporation Device [10b7:6356]
	Kernel driver in use: 3c59x
00:03.1 Communication controller [0780]: 3Com Corporation Mini PCI 56k Winmodem [10b7:1007] (rev 20)
	Subsystem: 3Com Corporation Device [10b7:6159]
00:05.0 Multimedia audio controller [0401]: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] [1013:6003] (rev 01)
	Subsystem: IBM ThinkPad A20m [1014:0153]
	Kernel driver in use: Sound Fusion CS46xx
00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
	Kernel driver in use: PIIX_IDE
00:07.2 USB Controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01)
	Kernel driver in use: uhci_hcd
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Rage Mobility P/M AGP 2x [1002:4c4d] (rev 64)
	Subsystem: IBM ThinkPad A20m/A21m [1014:0154]
06:00.0 Network controller [0280]: RaLink RT2561/RT61 802.11g PCI [1814:0301]
	Subsystem: Belkin Device [1799:701e]
	Kernel driver in use: rt61pci
 
Old 02-27-2010, 02:46 PM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Here is my .conkyrc

Code:
# set to yes if you want Conky to be forked in the background
background yes

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
 font 8x12
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont gentium:size=10

own_window_transparent yes
own_window_colour hotpink
own_window_type desktop

# Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
own_window no

# Text alpha when using Xft
xftalpha 0.8

#on_bottom no

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 5 5
maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 10

# border width
border_width 2

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white

# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text

gap_x 10
gap_y 10

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer right

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description                
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  battery           (num)           Remaining capasity in ACPI or APM        
#                                    battery. ACPI battery number can be      
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered                
#  cached                            Amount of memory cached                  
#  color             (color)         Change drawing color to color            
#  cpu                               CPU usage in percents                    
#  cpubar            (height)        Bar that shows CPU usage, height is      
#                                    bar's height in pixels                   
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                  
#  exec              shell command   Executes a shell command and displays    
#                                    the output in torsmo. warning: this      
#                                    takes a lot more resources than other    
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execi             interval, shell Same as exec but with specific interval. 
#                    command         Interval can't be less than              
#                                    update_interval in configuration.        
#  fs_bar            (height), (fs)  Bar that shows how much space is used on 
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file      
#                                    system.                                  
#  fs_free           (fs)            Free space on a file system available    
#                                    for users.                               
#  fs_free_perc      (fs)            Free percentage of space on a file       
#                                    system available for users.              
#  fs_size           (fs)            File system size                         
#  fs_used           (fs)            File system used space                   
#  hr                (height)        Horizontal line, height is the height in 
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C  
#                                    device. type is either in (or vol)       
#                                    meaning voltage, fan meaning fan or temp 
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                         
#  machine                           Machine, i686 for example                
#  mails                             Mail count in mail spool. You can use    
#                                    program like fetchmail to get mails from 
#                                    some server using your favourite         
#                                    protocol. See also new_mails.            
#  mem                               Amount of memory in use                  
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                   
#  memperc                           Percentage of memory in use              
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before 
#                                    torsmo displays anything and puts output 
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),        
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line        
#                    (height)        
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                    
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use                
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more 
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't 
#                                    seem to be a way to know how many times  
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow 
#  updates                           Number of updates (for debugging)        
#  upspeed           net             Upload speed in kilobytes                
#  upspeedf          net             Upload speed in kilobytes with one       
#                                    decimal                                  
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         Seti@home current progress
#  seti_progbar      (height)        Seti@home current progress bar
#  seti_credit                       Seti@hoome total user credit


## antiX additives examples. Add below Text##
##${color cccccc}battery: ${color cccccc}$acpiacadapter, ${battery_percent BAT1}% 
##${color}battery:${color} ${battery}
##Witeless example##
#${color cccccc}Wireless:
#${color cccccc}essid: ${wireless_essid wlan0}
#${color cccccc}IP:${color cccccc} ${addr wlan0}
#${color cccccc}speed: ${color cccccc} ${wireless_bitrate wlan0}
#${color cccccc}link strength: ${color cccccc} ${wireless_link_bar 7,50 wlan0}

# stuff after 'TEXT' will be formatted on screen

TEXT
${color}antiX-M8.5 Marek Edelman
${color}$sysname $kernel
${color}Uptime: $uptime
${color}${time %a %d %b %k:%M}
${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
${color}battery: ${color}$acpiacadapter, ${battery_percent BAT0}%
${color}Monitors:
${color}cpu: ${color}${cpu}%
${color}ram : ${color}$mem${color}/${color}$memmax ${color}- ${color}$memperc%
${color}swap: ${color}$swap${color}/${color}$swapmax ${color}- ${color}$swapperc%
${color}processes: ${color}$processes  ${color}running: ${color}$running_processes
${color}Temp: ${color} ${acpitemp}C
${color}Space:
${color}Root:${color} ${fs_free /} ${color}= ${fs_free_perc /}%
${color}Home:${color} ${fs_free /home} ${color}= ${fs_free_perc /home}%
I dual boot Puppy Dingo 4 and AntiX 8.5 on this IBM A22m and Conky picks up my Battery and Temp.

Attachment 2855

Last edited by rokytnji; 11-18-2011 at 07:06 PM.
 
Old 02-28-2010, 01:43 AM   #8
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

i also have no problems with temperature, battery, fanspeed information on all my Thinkpads the problem with lmsensors seems the detection of all this.
For Thinkpads all this hardware information is delivered via kernel module thinkpad_acpi, so lmsensors is not required
 
Old 02-28-2010, 07:51 PM   #9
Cage47
Member
 
Registered: Feb 2003
Location: Pasadena, TX
Distribution: Debian Lenny
Posts: 220

Original Poster
Rep: Reputation: 31
I haven't solved the screensaver issue, but I have found it's specifically the "flying things" screensavers. They won't work in my laptops (either the toshiba or the thinkpad) If I use the others (aside from the opengl savers) it works.
 
Old 03-01-2010, 12:34 AM   #10
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hye

did you check you Xorg.0.log 3D support is enabled?
 
Old 03-01-2010, 07:36 AM   #11
Cage47
Member
 
Registered: Feb 2003
Location: Pasadena, TX
Distribution: Debian Lenny
Posts: 220

Original Poster
Rep: Reputation: 31
I didn't even try. 3d in the ati rage family chips has been touchy at best. Support is not so good in debian (mepis). Are those flying things screensavers 3d? I wasn't aware they were. I thought only the opengl savers were 3d. That would explain it if they are. Not a terrible big deal. Don't really need 3d on the laptop.
 
Old 03-13-2010, 09:32 AM   #12
Cage47
Member
 
Registered: Feb 2003
Location: Pasadena, TX
Distribution: Debian Lenny
Posts: 220

Original Poster
Rep: Reputation: 31
Anyway. I had to come back to this. I've had Mepis 8.0 loaded on the laptop and it has been running fine. I use it for backup when the wife is on the big box. Thing is I am getting the "cup0 has reached temperature threshold, throttling cpu" message when I run dmesg. I'm concerned at this as it is an indication it is running too hot. Since I can't load ksensors (as this is one of the programs that seems to trash these laptops) I have no way of seeing what my temp IS. Those of you who have used linux on these or similar models, have you noticed any heat issues. I'm concerned and don't want to prematurely burn this bugger out as I really like it and plan on keeping it going for a while. I'm considering doing a test install of XP on a spare hd just to test the performance. and maybe check the temp status.
 
  


Reply



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
3D on Thinkpad A22m Rage Mobility w/ Suse 10.0 litlmary Linux - Laptop and Netbook 1 03-16-2006 02:07 PM
GNOME Sensors Applet says NO SENSORS FOUND! badgerbox76 Linux - Newbie 2 12-24-2005 11:58 AM
IBM thinkpad a22m ATI Mobilty greendusk Linux - Laptop and Netbook 1 03-04-2005 04:36 PM
Howto Output with S-video out with IBM thinkpad a22m with ATI Mobility greendusk Linux - Hardware 0 02-12-2004 11:12 PM
IBM TP A22m HARD DISK REPLACEMENT!!! zepplin611 Linux - Hardware 3 02-03-2004 02:20 AM

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

All times are GMT -5. The time now is 04:53 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