It is currently Wed Jul 26, 2017 4:39 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: suspend and numlock problems - connected?
PostPosted: Sun Mar 13, 2011 6:16 pm 
Offline

Joined: Thu May 20, 2010 4:30 am
Posts: 27
Howdy.

Recently, my Asus 1001p netbook developed a couple of bad new habits. It no longer suspends when I close the lid. And when I boot-up, numlock is on. On the small keyboard of this netbook, having numlock on is like having the Fn key always pressed - leads to some odd typing errors to say the least.

Anyway, I thought it might have to do with recently commenting out halevt & in ~/.icewm/startup, as suggested in a thread on this forum, to speed boot and shutdown times. I just tried uncommenting that line, and I still seem to have both errors.

Also tried commenting-out the numlock line in slim. No effect.

Maybe something changed with recent apt-get upgrades? I have searched the forums but haven't found much yet. I'm hoping to get pointed in the right direction re: where to look for potential problems. I'm not sure what actually governs suspend when the lid is closed and/or numlock on at boot (which doesn't seem to be slim).

Appreciate any suggestions of where to hunt.
Chris


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Sun Mar 13, 2011 11:48 pm 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
try:
Code:
apt-get remove --purge numlockx
for the numlock problem. and for the lid, try reinstalling eeepc-acpi-scripts or antix had an option to suspend on lid close in one of the mepis assistants, but i can't remember in which one.

_________________
the man in black


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Mon Mar 14, 2011 2:15 am 
Offline

Joined: Thu May 20, 2010 4:30 am
Posts: 27
Cool. Thanks man: apt-get remove --purge numlockx really did the trick.

apt-get also told me that 161 M of stuff could be autoremoved, as it was no longer needed. I can't begin to imagine what some of the stuff it removed had to do with numlockx; but on a little netbook, I'm happy to clean-out 161 M.

I may not get to re-installing eeepc-acpi-scripts tonight. I'll report back on the results when I can do so.

Thanks again!
Chris


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Mon Mar 14, 2011 2:40 am 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
griennehornette, 161 mb to be removed couldn't be from numlockx. maybe the updates to the system messed something. post the packages that will be removed, so we could make an idea if they are safe to be removed.

_________________
the man in black


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Mon Mar 14, 2011 3:46 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4023
Location: Pecos, Texas
Quote:
I can't begin to imagine what some of the stuff it removed


Quote:
so we could make an idea if they are safe to be removed


Sounds like a day late and a dollar short ICE-M. Might be something in /var/log/apt though.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Tue Mar 15, 2011 3:17 am 
Offline

Joined: Thu May 20, 2010 4:30 am
Posts: 27
Yessir Rok, you surmised rightly. I did indeed go ahead an remove. Could be naive on my part, but I figured apt-get is smarter than I am, and wouldn't steer me wrong...

Or would it?

Anyhow, /var/log/apt had the list as suggested. Now for a real trick, do you know how to slow down all the little messages that scroll-by at boot? I get dizzy trying to read them so quick.

Here's the log excerpt:

Start-Date: 2011-03-13 20:03:50
Commandline: apt-get remove --purge numlockx
Purge: numlockx:i386 (1.2-2)
End-Date: 2011-03-13 20:04:00

Start-Date: 2011-03-13 20:04:35
Commandline: apt-get autoremove
Remove: gstreamer0.10-alsa:i386 (0.10.30-1), menu-xdg:i386 (0.5), desktop-base:i386 (6.0.6), libtracker-client-0.8-0:i386 (0.8.17-1), wavpack:i386 (4.60.1-1), libusplash0:i386 (0.5.19-3), gnome-desktop-data:i386 (2.30.2-2), gstreamer0.10-plugins-ugly:i386 (0.10.15-1), libxml-xpathengine-perl:i386 (0.12-2), libdes425-3:i386 (1.6.dfsg.4~beta1-13), libbrasero-media0:i386 (2.30.3-2), brasero-common:i386 (2.30.3-2), libsoundtouch1c2:i386 (1.3.1-2), upower:i386 (0.9.8-2), libglpng:i386 (1.45-6), libxmmsclient6:i386 (0.7DrNo+dfsg-2), app-install-data:i386 (2010.11.17), libftgl2:i386 (2.1.3~rc5-3), libburn4:i386 (0.8.0.pl00-2), python-libxml2:i386 (2.7.8.dfsg-2), libxerces-c28:i386 (2.8.0+deb1-2+b1), libglewmx1.5:i386 (1.5.8-1), libcamel1.2-14:i386 (2.30.3-2), libupower-glib1:i386 (0.9.8-2), metacity-common:i386 (2.30.1-3), libxml-twig-perl:i386 (3.37-1), libcddb2:i386 (1.3.2-2), libtotem-plparser17:i386 (2.30.3-2), python-pyorbit:i386 (2.24.0-6), python-gconf:i386 (2.28.1-1), libedata-cal1.2-7:i386 (2.30.3-2), libdevkit-power-gobject1:i386 (0.9.5-3), libgnome-menu2:i386 (2.30.3-2), libcommons-cli-java:i386 (1.2-3), libpsiconv6:i386 (0.9.8-4.1+b1), system-tools-backends:i386 (2.10.1-2), libgweather1:i386 (2.30.3-1), gnome-human-icon-theme:i386 (5.5.1-1), libgnomekbd-common:i386 (2.30.2-2), sdparm:i386 (1.06-3), libalut0:i386 (1.1.0-2), xmms2-plugin-alsa:i386 (0.7DrNo+dfsg-2), libnet-dbus-perl:i386 (0.33.6-2), python-urwid:i386 (0.9.9.1-1), libgp11-0:i386 (2.30.3-5), xmms2-plugin-id3v2:i386 (0.7DrNo+dfsg-2), libgcr0:i386 (2.30.3-5), ttf-uralic:i386 (0.0.20040829-1), gs-common:i386 (8.71~dfsg2-10), diff:i386 (3.0-1), libgtkimageview0:i386 (1.6.4-1), libcortado-java:i386 (0.5.2-1), libgnome2-vfs-perl:i386 (1.081-1), libegroupwise1.2-13:i386 (2.30.3-2), libglc0:i386 (0.7.2-4), libgweather-common:i386 (2.30.3-1), libecal1.2-7:i386 (2.30.3-2), libgmime-2.4-2:i386 (2.4.14-1+nmu1), libgdata1.2-1:i386 (2.30.3-2), gnome-system-monitor:i386 (2.28.1-1), ufraw:i386 (0.16-3+b1), python-iniparse:i386 (0.3.2-1), libwoodstox-java:i386 (3.9.2.dfsg-2), libgdata-google1.2-1:i386 (2.30.3-2), libebook1.2-9:i386 (2.30.3-2), usplash-theme-debian:i386 (5), libedataserverui1.2-8:i386 (2.30.3-2), xmms2-plugin-mad:i386 (0.7DrNo+dfsg-2), libgnome-window-settings1:i386 (2.30.1-2), libedata-book1.2-2:i386 (2.30.3-2), evolution-data-server:i386 (2.30.3-2), python-gnomekeyring:i386 (2.30.0-4), xmms2-core:i386 (0.7DrNo+dfsg-2), libtie-ixhash-perl:i386 (1.21-2), gpicview:i386 (0.2.1-1+b2), libsidplay1:i386 (1.36.59-5), libxklavier16:i386 (5.0-2), liboobs-1-4:i386 (2.30.1-1), libgucharmap7:i386 (2.30.3-1), lxshortcut:i386 (0.1.1-1), libdb4.5:i386 (4.5.20-13.1), libdb4.6:i386 (4.6.21-17), python-gmenu:i386 (2.30.3-2), xmms2-plugin-vorbis:i386 (0.7DrNo+dfsg-2), python-wnck:i386 (2.30.0-4), libebackend1.2-0:i386 (2.30.3-2), libcommons-lang-java:i386 (2.4-4), gvfs-backends:i386 (1.6.4-3), libisofs6:i386 (0.6.32-2), evolution-data-server-common:i386 (2.30.3-2), desktop-file-utils:i386 (0.15-2), p7zip-full:i386 (9.04~dfsg.1-1), libxmmsclient-glib1:i386 (0.7DrNo+dfsg-2), xarchiver:i386 (0.5.2+20090319+dfsg-4), libmpeg2-4:i386 (0.4.1-3), libspeexdsp1:i386 (1.2~rc1-1), libltdl3:i386 (1.5.26-4+lenny1), libmiglayout-java:i386 (3.7.2-1), java-wrappers:i386 (0.1.18), libmetacity-private0:i386 (2.30.1-3), liba52-0.7.4:i386 (0.7.4-14)


Lotta stuff, huh? Netbook still works fine, so I guess it didn't remove anything really important. At least, nothing I've noticed yet...

Chris


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Tue Mar 15, 2011 4:09 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4023
Location: Pecos, Texas
Quote:
do you know how to slow down all the little messages that scroll-by at boot? I get dizzy trying to read them so quick.


Try the pause key on keyboard. LOL. One persons quick boot is anothers bane.

/var/log/boot may have what you want to see also.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Tue Mar 15, 2011 4:23 am 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
there are no critical packages being removed. if you want you could wait for someone else's opinion or you could go ahead and delete them using:
Code:
apt-get autoremove --purge

_________________
the man in black


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Tue Mar 15, 2011 10:54 am 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5883
Location: Greece
It seems to be removing stuff from gnome so you don't need it.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Tue Mar 15, 2011 3:42 pm 
Offline

Joined: Thu May 20, 2010 4:30 am
Posts: 27
Ice-M, I think you just taught me something. I'm guessing that adding --purge to apt-get autoremove means that the files are still either on my netbook, or apt-get has them flagged in case I want to retrieve them? --purge must either permantently delete them and/or remove any tracking from apt-get.

Was I close?

Many thanks to Ice-M, rokytnji, and anticapitalista! Yes, I'm content to have gnome stuff removed. I have a vague memory of accidentally loading some gnome stuff in the past. My desktop even switched to Gnome somehow! It's a nice lookin' desktop I must say; but on a netbook, I want lightweight; icewm is cool.

I still haven't purged and re-installed the eeepc-scripts. I have a couple of days off coming up, when I'll do so.

I did check a couple of logs - that /var/log file looks like a handy thing, rok! - and one (can't remember the name, it was last night) seemed to indicate that laptop-mode got switched off somehow. When I have more time, I'll reinstall the eeepc-scripts and post the results.

Thanks again!


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Tue Mar 15, 2011 5:04 pm 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
if you use --purge the config files for the packages will be removed.

also if you want to save space on the disk, after updating something, you could use
Code:
apt-get clean
to remove the archives from /var/cache/apt/archives for the installed programs.

_________________
the man in black


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Wed Mar 16, 2011 9:20 pm 
Offline

Joined: Thu May 20, 2010 4:30 am
Posts: 27
OK, so I finally reinstalled eeepc-acpi-scripts. Nada. Or at least no suspend when I close the netbook lid.

Couple of thoughts:

i) I have noticed something called acpi-fakekey scrolling past during bootup. I googled it, and one of the Debian sites says it's a "tool to generate fake key events." OK... still not sure what that means, but I either didn't notice it during boot in the past, or it joined the boot process fairly recently. If closing the lid is the same as a key event, maybe this is related?

ii) something new - I know it's new, 'cause it says so on another Debian site - or at least new as of Squeeze becoming stable, is the "super hybrid engine." The netbook was setup with Win7 and a quick-booting linux which I think they called "super hybrid engine." Why would this be related? No idea; I'm just tossing out things I've noticed.

iii) suspend to disk - again on a Debian site, there's talk of suspending to disk needing a swap space. I don't have a swap space.

I was going to say that I never had a swap space; but I'm not sure that's true. I just checked GParted, and that triggered a vague memory of perhaps converting the swap to an encrypted partition, when I created an encrypted partition not so long ago.

Hmmm. Maybe I figured this out just by rambling...

All thoughts very much appreciated.
Chris


Top
 Profile  
 
 Post subject: Re: suspend and numlock problems - connected?
PostPosted: Wed Mar 16, 2011 9:47 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4023
Location: Pecos, Texas
I just checked with my EEEPC 701. Shutting id does not suspend. But Using the Suspend Button on Logout window works. I have no /swap.

SHE

Quote:
Super Hybrid Engine

As of kernel 2.6.30, the "Super Hybrid Engine" is supported: /sys/devices/platform/eeepc/cpufv contains a value which is 256× the number of available settings plus the current setting; you write a number n (0 ≤ n < number of available settings) to it to alter the setting.

On Celeron-based models, there are two settings.

On Atom-based models, there are three settings:

high speed (1.8GHz)
normal speed (1.6GHz)
low speed (1.2GHz)
This is fully compatible with cpufreq. For example, in low speed mode, Atom-based models are able to switch between 600MHz, 800MHz, 1GHz and 1.2GHz as needed. However, cpufreq is unaware of the S.H.E. and will report speeds as being between 800MHz and 1.6GHz.

As of version 1.1.2, eeepc-acpi-scripts supports these plus "auto" mode (which will, by default, try to underclock when on battery), but no key is assigned by default


A bookmark I use is http://wiki.debian.org/DebianEeePC/HowTo/Configure

I am still a grasshopper with AntiX and EEEPCs. :D

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred