Slackware :: How-to Disable Hdd Spinoffs On A Laptop
Aug 6, 2010
I have Aspire one 752 netbook with slack 13.1 installed. I installed laptop-mode-tools from slackbuilds to control power management and etc. I'd like to make sure that sda drive in netbook never spins off when not running on batteries. For now it seems to spin down after every half a minute and is producing clicking sounds. I issued 'hdparm -B 255 /dev/sda' which seemed to work - no clicks any more, and no spinning-up sounds. What is the right way to make this change to be applied whenever netbook is on AC power?Edit: Also, how to make this 'hdparm -B 255 /dev/sda' survive hibernate, as it reverts to '96' after being resumed:
# hdparm -B /dev/sda/dev/sda: APM_level = 96Edit2: Ok, i changed hdparm -B values from 254 to 255 in laptop-mode.conf, since values of 254 and any other i tried(1, 96, 128) gave ioctl errors and were not applied to drive.
Code:
# hdparm -B 96 /dev/sda
/dev/sda:
[code]....
View 3 Replies
ADVERTISEMENT
Apr 16, 2011
I am trying to disable the touchpad and when I try to run synclient -l I get
synclient -l Couldn't find synaptics properties. No synaptics driver loaded?
My xorg.conf follows:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
[Code]....
I also have an option in BIOS to disable touchpad when external mouse is plugged in, which I enable without any result.
View 2 Replies
View Related
Jul 6, 2011
I am having a lot of problems with hitting the arrow keys while typing. At least, I think that's what it is. Maybe the page up/down/back buttons, too. Is there a way to disable one or more keys on the keyboard via software, other than going into BIOS? It's getting annoying having to retype stuff over and over. I guess maybe I'm just not used to my new keyboard, is all. But I never use those buttons and likely never will.
View 9 Replies
View Related
Nov 3, 2010
I was trying to plug projector on my laptop with slackware 13.1 installed. The problem is that the projector stops showing whenever I start X. I can see everything starting from LILO loader, but whenever I type "startx" - bam, no signal or just a black screen on the wall. I try to switch to console mode with ctrl+alt+f1 - the view appears, switching back to X with ctrl+alt+f7 - view disappears. I am using awesome WM. I tried XFCE, but the result was the same. I also tried to change resolution to
Code:
xrandr --output default --mode 1024x768 / 800x600
, but again, no difference. My laptop is ASUS F3Jc. Fn keys doesn't help as well.
View 9 Replies
View Related
Sep 15, 2015
I am using a old laptop as a server now and its running great! I would like to disable sleep/hibernation when I close the lid (i would prefer the screen still shut off if possible) ...
This has to be done via command line because I don't use a gui ...
View 3 Replies
View Related
Mar 30, 2014
I have a Dell Vostro 2520 and when I plug in the headphones, the speakers don't mute. I tried to edit /etc/modprobe.d/alsa-base.conf file several times to put different things in, that I found on the internet but non of them worked.
lspci | grep -i audio
Code: Select all00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
sudo vim /etc/modprobe.d/alsa-base.conf
Code: Select all# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
[CODE].....
View 7 Replies
View Related
Apr 23, 2011
I have installed gpointing-device-settings. It does exactly what I want it to do, disable the touchpad, until I reboot (not sure about logging out/in) and the touchpad is again enabled. So the vicious circle continues and I disable it for the session. Back in the days of xorg.conf it was easy enough to disable but of course that file, and the option to disable from within that file no longer exists for me. When I use Debian I can modprobe -r psmouse. That was a perfect solution as the touchpad was never heard from again with regard to that distribution. Attempting to remove that module under Fedora 15 results in the following.
Code: [glenn@f15beta ~>$ sudo modprobe -r psmouse FATAL: Module psmouse is builtin Is this something that I can change? I assume that built-in means that it's built in to the kernel? How about this angle. When I use gpointing-device-settings to toggle the touchpad on/off there must be one or more files that are altered. How easy would it be to find out exactly what files are altered and could I possibly set the immutable flag on this file so that it never gets toggled back to enabled again? There is a function key on this laptop, F9, that looks like it toggles the touchpad but it doesn't work under Fedora 15. Never tried it in any other releases.
View 2 Replies
View Related
Mar 23, 2010
What can I do to disable ONLY the LEFT touchpad button on my laptop? Left Click sticks by itself randomly, this causes problems when using my USB mouse (such as permanent dragging, permanent highlighting, permanent inability to left click anything, the computer is pretty much dead to me unless I try to tab around), it also causes issues with the Tap to Click, and it also causes Ubuntu to not recognize my "Left Handed" mouse button set up after boot for ONLY the touchpad. On the USB mouse, buttons work swapped.
Current solution: Left Handed Button Swap. Touch pad to click. Right touchpad button to right click. Sometimes I use my USB (which does recognize the swap). This is the 3rd install of vanilla Ubuntu (tried it just in case). That's not the issue. This is a Dell Inspiron 6000. I want to just disable the left button on ONLY the touchpad, I don't want this to affect my USB mouse. I want to keep the right button touch pad working. And of course I want my mouse to work. But, actually, my ideal is to sacrifice the left button, use Tap to Click, and use the right mouse button for right clicking. If I can't save the right click, can I disable both buttons?
View 6 Replies
View Related
Jul 4, 2010
I'm running 10.04 LTS
I have loaded ndiswrapper and managed to get my D-Link usb dongle working (this is wireless N) but I need to disable my laptops built in rtl8187B wireless (they both connect at log on).
In Windows I just turn of the wireless switch but in Ubuntu this disables all wireless. I think I have to black list the rtl8178b driver.
View 5 Replies
View Related
Apr 17, 2011
I have an Asus K6LIC laptop. In Windows if I press function+F9, it toggles my touchpad on and off. I'm wondering if I can get this functionality in Ubuntu 10.10. All other function keys work, except for this one. The only thing I can find is to permanently disable the touchpad, which is not what I want to do.
View 3 Replies
View Related
Mar 31, 2016
I'm using xfce, and the power manager settings, to only lock the screen when close, are not honored. The laptop suspends, no matter what, when closed. Is there a way to forcibily only allow xfce power manager to handle the close lid behavior?
View 2 Replies
View Related
Jun 30, 2015
I have tried to use the extensions toggle-touchpad and touchpad-indicator that claim to be able to do this, but neither will load properly. They show up with a little exclamation-point-triangle in the "Tweaks" panel saying "Error loading extension". How to get Jessie gnome system succeeded in getting their touchpad disabled via a simpe toggle mechanism?
View 5 Replies
View Related
Jul 25, 2010
I want to switch off 3d i.e. dri on my laptop to save power. There is a bug in the intel video driver that makes it generate excess wakeups and thus increase power consumption. I don't use 3d so this is very annoying.
I have tried modifying /etc/X11/xorg.conf to insert an "NODRI" option in the "Device" section and have commented out both of the "load dri" commands in the "Modules" section. No go. When I look in the xorg log, these changes are seen but not acted on. The system appears to have hardwired defaults set somewhere which are difficult to override. It appears to be a new issue because with Karmic one still had control with xorg.conf.
Just generally I don't like changes like this because it is not documented on the wiki where and how to change the defaults in Lucid. Linux was supposed to be easily configurable so IMHO this is a step backwards.
View 1 Replies
View Related
Jul 7, 2011
The blueman applet is killing my processor from time to time. The crazy part is that I do not have blue tooth installed in this system. It appears to be a bug upstream and looks like it has been reported but in the mean time is there a way to disable blueman?
View 5 Replies
View Related
May 7, 2010
I'm trying to install ATLAS which requires disabling cpu throttling. Normally one can do it in the BIOS, while there isn't such an option of my dell inspiron 6400. Actually there is a SpeedStep option in the BIOS, however, you cannot get the highest but the lowest performance by disabling it (dell!!!).
After googled a lot, I found in some distros, there is a /usr/bin/cpufreq-selector through which one can disable throttling. But it doesn't exists in slackware.
I known that by appending kernel option "acpi=off", one can disable the whole acpi and thus the throttling control in slackware, but it seems so dirty.
Anyone known a better way to do it?
ps: With a intel T2050 cpu, i didn't find the directory /sys/devices/system/cpu1, but only the /sys/devices/system/cpu0. Similar case in /etc/acpi. it seems that slackware treats my cpu as a single core one, while it is not.
View 21 Replies
View Related
May 1, 2011
I want to install the Nvidia drivers because I suspect nouveau to be responsible for some system freezes. It seems that I need to disable nouveau before I can get nvidia working. How do I do this?
View 5 Replies
View Related
Aug 17, 2010
How to disable KTTSD in slackware linux?
View 2 Replies
View Related
Apr 25, 2010
how to disable backup files? It is kinda annoying when editing lot of files and I personally see no point having them.
View 11 Replies
View Related
Jul 14, 2010
I do not want akonadi on startup. How do I disable it?
View 5 Replies
View Related
May 2, 2010
I've always run as root on Slackware, but having done away with Ubuntu for now, all of my machines including the family desktop are running Slackware. There have been several ups and downs and the last one that I know of (for now) is the HP Device Manager. It doesn't run as root so I've never noticed that it drastically slows down printing via a shared printer. Disabled the system just sends it's requests to the samba/cups server and starts printing instantly. The HP Device Manager seems to go through an intialization step each time that takes several seconds before I can even hit the "print" button.
View 11 Replies
View Related
Mar 22, 2011
I've been messing around with fail2ban regex and heard that you can get better performance by disabling syslogd buffering. By better performance I mean that fail2ban can detect more login failures per second than with syslogd buffering turned on.How do you disable syslogd buffering
View 2 Replies
View Related
Feb 19, 2010
How you disable it? it makes no sense you have to type all those non capital and capital letters just to access a directory correctly.
in windows you just type the name and it detects whatever you type capital or not...
View 3 Replies
View Related
Oct 12, 2010
I login as root every time (its a closed system) and I am running it on a laptop. I want to disable the touch pad after typing for 4 seconds.I have tried adding this command:syndaemon -i 4 -dto rc.4, rc.local, rc.httpd, http.mysqld
View 7 Replies
View Related
May 11, 2011
I can manage my printer through the web browser interface in 12.2 without cookies but in 13.1 I need to allow cookies.
When did CUPS start requiring cookies to be enabled to use the web browser interface?
Is there an option to disable the cookies requirement?
View 4 Replies
View Related
May 7, 2011
I just finished setting up my slack machine as a home server (printers & files) and I noticed that I have an IPv6 address (from ifconfig)... I didn't know I did. I used to work in tech support and when a windows or OSx machine didn't connect properly on a LAN, disabling IPV6 was a common troubleshooting step. Is there a way to easily turn inet6 connectivity off/on in Slackware? (I want to keep the ability to get an IPv6, we will all use those in the future)
View 2 Replies
View Related
May 31, 2010
On a Slack64 13.1 with stock kde :
How can I disable the folder preview which occur when the mouse stay to a folder icon on the desktop (I use "Folder view" on the desktop) ?
Similarly, is it possible to disable the popup displaying comment and help when the mouse stay over a icon shortcut to an application ? If yes, how and where ?
View 2 Replies
View Related
Mar 29, 2010
how to disable pcmcia probing during boot in Slack >= v.13? I have an Asus eeepc 1000HA with no need for pcmcia support.
View 1 Replies
View Related
May 28, 2010
Looking for opinions on what is the best way to disable the touchpad on a Sony VAIO. I just installed Slack64 13.1 and love it...
View 10 Replies
View Related
Nov 8, 2010
I've recently updated my Slackware 13.1 system to the Slackware current. Although I have created my "initrd" image without specifying the "-u" option to "mkinitrd" it still starts up "udev".
That is causing me some difficulty because I am using "dmraid" to detect my RAID arrays. I had created my own device names such as "/dev/sdr2" for my root partition. With 13.1 I had no problem, since "udev" was not started by the "initrd" unless the "-u" option was provided. The current version seems to start up "udev" even without that option.
Is there a way to disable "udev" in the "initrd", or is there a way to specify custom "udev" rules for an "initrd"? I tried placing a "10-local.rules" file in the "etc/udev/rules.d" directory of the "initrd-tree" but that file had no effect on the device names generated by "udev" during the "initrd".
Here is my script that creates the "initrd".
Code:
ROOTDEVNAME="/dev/sdr2"# Name of root device
LINUXVER="2.6.35.7-smp"# Linux modules version
CLIBVER="2.12.1"# C library version
ROOTDIR="/boot/initrd-tree"# Location of root filesystm
[code]....
It will be helpful for me to understand "udev" issues related to an "initrd" because I will eventually try to use "mdadm" instead of "dmraid". So far I have only been able to get my system to boot from the RAID array using "dmraid" and I often run into new problems when I update Linux. Still, Slackware has proven to have the best support for booting from my RAID array because of the user community, documentation and flexibility.
View 1 Replies
View Related
Mar 23, 2011
I've been practicing C programming the past month and had the idea to do this. I don't know if there's already something similar, or if anyone would find this program useful.Slervice simply calls Pat's scripts and the chmod command. I believe it's self explanatory. It can be compiled with cc slervice.c -o slervice.
View 11 Replies
View Related