I have an HP tx2500z laptop running Xubuntu 10.04. It has a Radeon HD3200 (RS780) GPU. I am using the free driver (see attached xorg.conf) and it works great, except the computer does not poweroff on halt. Turns out, this is because it is unable to unload the Radeon module when KMS (kernel modesetting) is enabled. I can verify this by adding "radeon.modeset=0" to my grub command line, which disabled KMS, and then it shuts down properly. I submitted this launchpad bug about it https://bugs.launchpad.net/ubuntu/+s...ti/+bug/569271
Well, I have come up with a sort of workaround. I created an init script, which I called "uloadradeon" (attached), put it in /etc/init.d, and ran "update-rc.d uloadradeon stop 80 0 ." to create symlinks in /etc/rc0.d so that it will run at shutdown.
So far so good. I tested in first in recovery (single-user) mode, just calling "shutdown -h now" and it shutdown perfectly (it wasn't able to do so before I added that script).
Unfortunately, that wasn't the end. It still was unable to shutdown when I was in normal mode. I am still not entirely sure what is causing this, but I suspect it is related to upstart, although I think upstart should still run the old sysv init scripts when changing runlevels, I am not sure, and I haven't been able to find any good documentation on upstart, particularly how to get a script to run at a certain point during shutdown.
Anyone know anything about this?



Adv Reply



Bookmarks