LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shutdown problem as well as .dmrc Problem (https://www.linuxquestions.org/questions/linux-newbie-8/shutdown-problem-as-well-as-dmrc-problem-466964/)

greengrocer 07-23-2006 10:37 PM

Shutdown problem as well as .dmrc Problem
 
Hello all,

I changed mice on my Ubuntu system, changed from PS/2 mouse to a USB mouse.

Prior to changing mice, this system was perfect.

Now the system does two strange things:

1) It will not power down by itself now, I have to hold the power button in for 5 secs.

2) When I log in, I receive a message about ignoring $home/.dmrc file because it does not have correct permissions.


I have chmodded the .dmrc file to all sorts of values such as 755, 777, 644 but no matter what I try this error will not go away.

Any thoughts would be much appreciated.

Regards,
Greenie

raskin 07-24-2006 12:20 AM

First, do you have acpid running? It should read events like pressing power button and react on them. Also check presence of /proc/acpi/button , if there is no such dir, modprobe button . Your way does not let fs's to be cleanyly unmounted.

Proper permissions of .dmrc? I guess 600 .

greengrocer 07-24-2006 01:47 AM

Hi Raskin,

I checked if acpid is running by doing a 'ps x'

The following line would indicate that acpid is running, however not sure if correctly.

7509 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket


I checked for the prescence of /proc/acpi/button/power

I have two directories in there "PWRB" and "PWRB" both of those directories have an "info" file in them.


I dont think there is a problem with the permissions of .dmrc as I have tried every chmod value that would make sense, and the error still appears. (It never was a problem until I added the USB mouse).

So I think the error is a side effect of something else.

greengrocer 07-24-2006 02:47 AM

Hmmmm,

Putting the 'user' into the 'user' group then . . .

chmod 700 /home/user
chmod 644 .dmrc
chown user .dmrc

Seems to fix the error at logon (not sure how any of this got changed)



I thought the shutdown problem was fixed by adding:

'acpi' to the /etc/modules file

but alas, its till has shutdown problem.

I have read comments about including acpi=on but no comments about how to do that. Does anybody know what this means? more info?

greengrocer 07-24-2006 06:15 PM

I had made an image of the Linux Partition prior to these problems, so I re-applied that image back to the Linux partition and rebooted this time with the PS/2 mouse connected.

I tested shut down a few times and had no problems.


I reconnected the USB mouse and the shutdown problems began again (the computer does not power off automatically). So I am 100% certain that using a USB mouse causes this type of shutdown/powerdown problem.

If I disconnect the USB mouse and revert back to the PS/2 mouse without reverting to my backed up image of the partition, the shutdown problem does not go away (ie: Connecting USB mouse causes indefinate power down problem).


The last message to appear on the screen during shutdown is as follows:

shutting down LVM volume Groups [OK]
[4294827.504000] Power Down

The system does not power down at this point.

greengrocer 07-24-2006 08:59 PM

Most Bizzarre,

Everytime I edit the /etc/modules file, the immediate following shutdown will work (power down works).

Then everytime after that, the power down fails at the end of shutdown.

greengrocer 07-24-2006 11:42 PM

I'll be buggered!

If I connect a PS/2 mouse in tandem with the USB mouse, the system powers down just fine, everytime.


All times are GMT -5. The time now is 11:38 PM.