LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 03:13 PM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
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, 03:47 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
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



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? anon02 Ubuntu 8 09-03-2011 03:56 AM
Mucked Around with Runit, switched back to sysvinit, and now no mouse/kb on laptop gohmifune Linux - Software 0 01-28-2009 10:09 AM
Unlocking a "frozen" keyboard / mouse J.W. Linux - General 12 11-25-2003 02:55 AM
My first linux install, keyboard frozen Doublenewbie Linux - Laptop and Netbook 3 07-03-2003 12:38 PM
frozen mouse mike46 Linux - Hardware 1 05-08-2002 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:45 AM.

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
Open Source Consulting | Domain Registration