08-18-2010
Mouse freezing after idle time
Hi All,
I am having a problem where my mouse (USB) is freezing after some idle time, and I am having to reboot everytime that happens.
I looked in the file /etc/X11/xorg.config to see if there is an entry for mouse and I could not find it. Instead I found the following entry:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
My question is can I have more than one section input device where one of the identifier is Mouse ?
The /dev/input directory has the following, but I am not sure what to make of this.
[root@jhlinux input]# pwd
/dev/input
[root@jhlinux input]# ls
event0 event1 event2 mice mouse0
Please help the rookie. Thanks in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Help! My mouse gave up the ghost, so I connected a USB wheel mouse, and chose it from the list in Suse's Yast2. Also installed it in Windows 98 on the same machine. It works fine in both linux and Windows 98, except for this fact:
I have to reinstall it every time I boot into Linux.... (1 Reply)
Discussion started by: Sonshyne5
1 Replies
2. UNIX for Dummies Questions & Answers
Hi Guru's,
How do I find and set the login idle time setting in HP-UX 32?
Thanks in advance,
Mani (1 Reply)
Discussion started by: jvmani
1 Replies
3. Shell Programming and Scripting
Matez,
I have a list of process id's in a text file. I want to know how to find the idle time of a process which are more than 300secs and kill them accordingly.
Could you please help me to get these details. I want to write a shell script with this.
Thanks..Krish :) (36 Replies)
Discussion started by: Krrishv
36 Replies
4. Shell Programming and Scripting
Does anyone know how do you determine the user idle time of stdin in order to log the user out for being idle too long. I would like to write a c program to do this but I it is not clear upon how to determine idle time from keyboard input. (9 Replies)
Discussion started by: cpaquette
9 Replies
5. UNIX for Advanced & Expert Users
Hi All
I need to find the idle time of a user... but my OS seems to be not supporting finger
$ finger
-sh: finger: command not found
I need to find the idle time and perform some other operations... So is there any other way i can find the idle time of a user...
$ uname -a... (2 Replies)
Discussion started by: Whiteboard
2 Replies
6. HP-UX
HP-UX B.11.23 ia64
Hi everyone,
First of all I am new member to this forum. Thankyou all for this forum, it helped me many times.
Coming to my question,I am writing a C program to find the log info of the users who are currently logged in(precisely what who -u do).
I am able to get... (0 Replies)
Discussion started by: bhiku matre
0 Replies
7. UNIX for Advanced & Expert Users
I need to find the idle time on a machine in the manner: How long time ago somebody did the last action with mouse or keyboard? Unfortunately "w" doesn't do this. It produced the following output on a machine a user was actually working on with an application:
15# w
15:55:28 up 15 days, ... (1 Reply)
Discussion started by: elbrand
1 Replies
8. SCO
hi
I've configured X Server using Video Configuration Manager on SCO 5.0.6, but the keyboard and mouse are freezing after 5 minutes on the graphical login mask.
---------- Post updated at 01:59 PM ---------- Previous update was at 02:43 AM ----------
BTW I finished the configuration,... (2 Replies)
Discussion started by: ccc
2 Replies
9. Shell Programming and Scripting
Hello..
I have many sleepy users on my Solaris box and need to kill them if they are idle for more than 45 minutes for example...I know who -u gives and the idle time but unable to make a awk line to get the condition perfect. Please help...:wall: (9 Replies)
Discussion started by: wimaxpole
9 Replies
10. Shell Programming and Scripting
I want to get average idle time of the server using mpstat. The problem I am having is %idle is not in same columns in all the versions of linux.
example 1:
example 2:
I tried below command as generalized solution but as Average as one less column output is not proper.
I am... (1 Reply)
Discussion started by: kumarjohn
1 Replies
KBD(4) Kernel Interfaces Manual KBD(4)
NAME
kbd - Keyboard input driver
SYNOPSIS
Section "InputDevice"
Identifier "idevname"
Driver "kbd"
...
EndSection
DESCRIPTION
kbd is an Xorg input driver for keyboards. The driver supports the standard OS-provided keyboard interface, but these are currently only
available to this driver module for Linux, BSD, and Solaris. This driver is the replacement for the built-in keyboard driver formerly
included in Xorg.
The kbd driver functions as a keyboard input device, and may be used as the X server's core keyboard.
CONFIGURATION DETAILS
Depending on the X server version in use, input device options may be set in either a xorg.conf file, or in the configuration files read by
the Hardware Abstraction Layer (HAL) daemon, hald(1).
Please refer to xorg.conf(5) for general configuration details and for options that can be used with all input drivers. This section only
covers configuration details specific to this driver.
The following driver Options are supported:
Option "Device" "string"
Specify the keyboard device. Default: the OS's default console keyboard input source.
Option "Protocol" "string"
Specify the keyboard protocol. Valid protocol types include:
Standard, Xqueue.
Not all protocols are supported on all platforms. Default: "Standard".
Option "XLeds" "ledlist"
makes the keyboard LEDs specified in ledlist available for client use instead of their traditional function (Scroll Lock, Caps Lock
and Num Lock). The numbers in the list are in the range 1 to 3. Default: empty list.
Option "XkbRules" "rules"
specifies which XKB rules file to use for interpreting the XkbModel, XkbLayout, XkbVariant, and XkbOptions settings. Default:
"xorg" for most platforms, but "xfree98" for the Japanese PC-98 platforms. If you use the "xorg" value then you can find listing of
all valid values for these four options in the /usr/share/X11/xkb/rules/xorg.lst file.
Option "XkbModel" "modelname"
specifies the XKB keyboard model name. Default: "pc105" for most platforms, but "pc98" for the Japanese PC-98 platforms.
Option "XkbLayout" "layoutname"
specifies the XKB keyboard layout name. This is usually the country or language type of the keyboard. Default: "us" for most plat-
forms, but "jp" for the Japanese PC-98 platforms.
Option "XkbVariant" "variants"
specifies the XKB keyboard variant components. These can be used to enhance the keyboard layout details. Default: not set.
Option "XkbOptions" "options"
specifies the XKB keyboard option components. These can be used to enhance the keyboard behaviour. Default: not set.
Some other XKB-related options are available, but they are incompatible with the ones listed above and are not recommended, so they are not
documented here.
EXAMPLE
The following xorg.conf fragment ensures that user will be able to switch between us and sk layouts by pressing the "menu" key.
The XkbVariant option defines which variants of the two layouts should be used. In case of the us layout its default variant is used. In
case of the sk layout its qwerty variant is used.
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,sk"
Option "XkbVariant" ",qwerty"
Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
EndSection
SEE ALSO
Xorg(1), xorg.conf(5), Xserver(1), X(7).
hal(7), hald(8), fdi(5).
X Version 11 xf86-input-keyboard 1.4.0 KBD(4)