LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-12-2012, 04:13 PM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware, Xubuntu, PartedMagic
Posts: 72

Rep: Reputation: 7
sysvinit-scripts-2.0-noarch-9+: frozen mouse and keyboard in X


With sysvinit-scripts-2.0-noarch-9 and 10 I have a completely frozen mouse and keyboard in X. The only thing I can do is telnet in from an other box and reboot.

By applying one change after another I could narrow the problem down to this rc.M phrase:

Before:
======
Code:
# If we are returning from single-user mode we will need to restart
# udevd on systems that use udev:
if grep -wq sysfs /proc/mounts && grep -q tmpfs /proc/filesystems ; then
  if ! grep -wq nohotplug /proc/cmdline ; then
    if [ -x /etc/rc.d/rc.udev ]; then
      /bin/sh /etc/rc.d/rc.udev start
    fi
  fi
fi
After:
=====
Code:
# If we are returning from single-user mode we will need to restart
# udevd on systems that use udev:
if [ "$(/sbin/runlevel | cut -d ' ' -f 1)" == "1" ]; then
  if grep -wq sysfs /proc/mounts && grep -q tmpfs /proc/filesystems ; then
    if ! grep -wq nohotplug /proc/cmdline ; then
      if [ -x /etc/rc.d/rc.udev ]; then
        /bin/sh /etc/rc.d/rc.udev start
      fi
    fi
  fi
fi
At system startup the "before" code executes a "udevadm trigger --action= change", whereas the "after" code does not.
 
Old 09-12-2012, 04:47 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 877

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
Quote:
Originally Posted by burdi01 View Post
At system startup the "before" code executes a "udevadm trigger --action= change", whereas the "after" code does not.
Hmmm... it's looking like the bug before was in the comment, not the code. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 11.10 install frozen on keyboard? ThatPerson Ubuntu 8 09-03-2011 04:56 AM
Mucked Around with Runit, switched back to sysvinit, and now no mouse/kb on laptop gohmifune Linux - Software 0 01-28-2009 11:09 AM
Unlocking a "frozen" keyboard / mouse J.W. Linux - General 12 11-25-2003 03:55 AM
My first linux install, keyboard frozen Doublenewbie Linux - Laptop and Netbook 3 07-03-2003 01:38 PM
frozen mouse mike46 Linux - Hardware 1 05-08-2002 07:03 AM


All times are GMT -5. The time now is 09:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration