ok guys, i need demi gods please~~~
How can I do this? in my ubuntu 10.10
FedoraForum.org - View Single Post - Alienware M11X Thread
Where do i put those attached files?
Also the /etc/rc.d/rc.local in my linux is etc/rc.local
Ok i got past that but now
echo 0 >/sys/bus/pci/devices/0000:01:00.0/enable
echo 1 >/sys/bus/pci/devices/0000:01:00.0/remove
/sbin/insmod /usr/local/lib/m11xr2hack.ko
/sbin/rmmod /usr/local/lib/m11xr2hack.ko
The bolded arent there, when i type this in, it says no such file or directory
please help
my goal is to disable the dedicated gpu ( gt 335m) and activate the integrated ( intel HD).
I have the m11x R2
Thanks,
Dalli
-
ALLurGroceries Vegan Vermin Super Moderator
The missing instructions for that are in this post:
You need to have build-essential and git-core packages installed, and probably your kernel headers:
Then pull in the acpi_call stuff into your home directory (~/), move to the directory where the source is, download the source file from the post you linked, move the stock makefile out of the way, then pull in the makefile from the post you linked.Code:sudo apt-get update && sudo apt-get install build-essential git-core linux-headers-`uname -r`
Finally, build the module:Code:cd ~ git clone http://github.com/mkottman/acpi_call.git cd acpi_call wget -O m11xr2hack.c http://forums.fedoraforum.org/attachment.php?attachmentid=20129 mv Makefile Makefile.old wget -O Makefile http://forums.fedoraforum.org/attachment.php?attachmentid=20130&d=1285685283
If you don't see "Error: blah blah blah", your m11xr2hack.ko should be somewhere in that directory. If not, and the build didn't work, post the error message and I'll try to figure out where it broke.Code:make
Now you're ready to test it out. First open another terminal window and run sudo tail -f /var/log/syslog
In the other window, try the module to see if it works:
If you don't get any error messages in syslog, you can copy the kernel module into the place they want:Code:sudo insmod m11xr2hack.ko
You can then rmmod and insmod it with that line you tried.Code:sudo cp m11xr2hack.ko /usr/local/lib sudo chmod 0400 /usr/local/lib/m11xr2hack.ko
I just tried the above on Debian Sid and all went fine. I just don't own the hardware to test it on.Code:sudo /sbin/rmmod /usr/local/lib/m11xr2hack.ko sudo /sbin/insmod /usr/local/lib/m11xr2hack.ko
-
I have toyed with running 10.10 server on my m11x, the only issue would be the color keyboard. I like that feature, even though I only use one color, its nice to see and use. Maybe if I get bored tonight Ill setup a VM and test it out...
-
ALLurGroceries Vegan Vermin Super Moderator
Dunno if it works for the m11xr2, but there's a java applet for the lights: [other] AlienFX Lite (Linux + Windows) - Ubuntu Forums
-
Although my m11x retains the windows settings for lights and I don't plan on changing my settings. But I think I may try this to at least be able to customize.
-
Everything is good till
I open another terminal and run... I type "sudo tail -f /var/log/syslog"
without quotes
Everything is good so far
then when you said "In other window, try the module to see if it works:"
By what you wrote, i just went back to the original terminal and typed in what you told me to type: "sudo insmod m11xr2hack.ko"
This is what i get in return after typing that:
" insmod: error inserting 'm11xr2hack.ko' : -1 file exists "
Thank you for your help so far
I am redoing the link i posted because when i go into the directory i posted, m11xr2hack.ko is there
now i got this problem
echo 0 >/sys/bus/pci/devices/0000:01:00.0/enable
echo 1 >/sys/bus/pci/devices/0000:01:00.0/remove
/sbin/insmod /usr/local/lib/m11xr2hack.ko
/sbin/rmmod /usr/local/lib/m11xr2hack.ko
I get Permission denied
xD
help! -
ALLurGroceries Vegan Vermin Super Moderator
That -1 file exists error means the module is already loaded -- so you're past that step.
Where you're getting permission denied, you need root privileges, so put sudo before those commands, or just run sudo -s first (your prompt will change from $ to # so you know you have root).
As far as I can tell from what you've said, you should have the module working already now, so you should be good to go. -
ok i think it worked because i am at 15434 mW discharge, before i saw 20~23k mW
Thank you, if you have any idea on how to make this lower, i will happily follow your instructions.
reps!
EDIT
13423 mW, with wifi off, no lights, no cooler attached and less heat coming from laptop
your the best!, i am looking at tear down pics of the m11x r2 currently ( trying to look for good ones)
and ill tell you if my dedi card is totally off or what
EDIT
I restarted the laptop, its back to phase 1, is there a way to permanently shut off the dedicated card for linux?
EDIt
or do i have to keep inputing:
sudo /sbin/rmmod /usr/local/lib/m11xr2hack.ko
sudo /sbin/insmod /usr/local/lib/m11xr2hack.ko
in terminal on every start up?
thank you again! -
ALLurGroceries Vegan Vermin Super Moderator
To get the module to load automatically at startup, you should be able to paste your commands into /etc/rc.local as they have shown, there are other (cleaner) ways but they are more complicated.
-
Nice! Down to 13.4watts on linux! Im still waiting for the time to disable the nvidia card. Keep up the good work guys.
-
User Retired 2 Notebook Nobel Laureate NBR Reviewer
An alternative you could try also to switch off either gpu would be to put setpci commands in the /boot/grub/grub.cfg to disable the IGP or GT335M from being on the PCI BUS altogether. Eg:
Code:[B]Disable IGP[/B] : setpci -s 0:0.0 54.b=0:8 [B]Disable GT335M[/B] : setpci -s 0:0.0 54.b=0:2 [B]Enable IGP[/B] : setpci -s 0:0.0 54.b=8:8 [B]Enable GT335M[/B] : setpci -s 0:0.0 54.b=2:2
Help a new linux user out, m11x r2
Discussion in 'Linux Compatibility and Software' started by Dalli, Feb 8, 2011.