LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 01-27-2014, 08:17 AM   #1
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 442

Rep: Reputation: 17
Unhappy keyboard and mouse stop working in starting X in raspberryPI


I made a linux image with buildroot 2013.11 for rpi it startsup with no problem and my keyboard works fine but when I try to run startx or anything that starts X my keyboard and mouse stops working. I worked on this problem for two weeks but still no success.
another issue that I have is that X does not starts by default and I have to start it manually.

just for more information this is my config file:
Quote:
BR2_HAVE_DOT_CONFIG=y
BR2_arm=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="arm1176jzf-s"
BR2_GCC_TARGET_ARCH="armv6zk"
BR2_GCC_TARGET_ABI="aapcs-linux"
BR2_GCC_TARGET_FPU="vfp"
BR2_GCC_TARGET_FLOAT_ABI="softfp"
BR2_GCC_TARGET_MODE="arm"
BR2_ARM_CPU_HAS_VFPV2=y
BR2_ARM_CPU_HAS_THUMB=y
BR2_arm1176jzf_s=y
BR2_ARM_EABI=y
BR2_ARM_FPU_VFPV2=y
BR2_ARM_INSTRUCTIONS_ARM_CHOICE=y
BR2_ARM_INSTRUCTIONS_ARM=y
BR2_WGET="wget --passive-ftp -nd -t 3"
BR2_SVN="svn"
BR2_BZR="bzr"
BR2_GIT="git"
BR2_CVS="cvs"
BR2_LOCALFILES="cp"
BR2_SCP="scp"
BR2_SSH="ssh"
BR2_HG="hg"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_XZCAT="xzcat"
BR2_TAR_OPTIONS=""
BR2_DEFCONFIG="$(CONFIG_DIR)/defconfig"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_HOST_DIR="$(BASE_DIR)/host"
BR2_PRIMARY_SITE=""
BR2_BACKUP_SITE="http://sources.buildroot.net/"
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
BR2_DEBIAN_MIRROR="http://ftp.debian.org"
BR2_JLEVEL=0
BR2_STRIP_none=y
BR2_OPTIMIZE_S=y
BR2_PACKAGE_OVERRIDE_FILE="$(TOPDIR)/local.mk"
BR2_GLOBAL_PATCH_DIR=""
BR2_TOOLCHAIN_USES_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT=y
BR2_KERNEL_HEADERS_3_10=y
BR2_DEFAULT_KERNEL_HEADERS="3.10.20"
BR2_TOOLCHAIN_BUILDROOT_EGLIBC=y
BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"
BR2_BINUTILS_VERSION_2_22=y
BR2_BINUTILS_VERSION="2.22"
BR2_BINUTILS_EXTRA_CONFIG_OPTIONS=""
BR2_GCC_NEEDS_MPC=y
BR2_GCC_VERSION_4_8_X=y
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
BR2_GCC_VERSION="4.8.2"
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_GCC_ENABLE_TLS=y
BR2_GCC_ENABLE_OPENMP=y
BR2_GCC_ENABLE_LIBMUDFLAP=y
BR2_LARGEFILE=y
BR2_INET_IPV6=y
BR2_TOOLCHAIN_HAS_NATIVE_RPC=y
BR2_USE_WCHAR=y
BR2_ENABLE_LOCALE=y
BR2_INSTALL_LIBSTDCPP=y
BR2_TOOLCHAIN_HAS_THREADS=y
BR2_TOOLCHAIN_HAS_THREADS_DEBUG=y
BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS=y
BR2_TOOLCHAIN_HAS_SSP=y
BR2_GENERATE_LOCALE=""
BR2_USE_MMU=y
BR2_TARGET_OPTIMIZATION="-pipe"
BR2_TARGET_LDFLAGS=""
BR2_TARGET_GENERIC_HOSTNAME="buildroot"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot"
BR2_TARGET_GENERIC_PASSWD_MD5=y
BR2_TARGET_GENERIC_PASSWD_METHOD="md5"
BR2_INIT_BUSYBOX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV=y
BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt"
BR2_ROOTFS_SKELETON_DEFAULT=y
BR2_TARGET_GENERIC_ROOT_PASSWD="amirali"
BR2_TARGET_GENERIC_GETTY=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
BR2_TARGET_GENERIC_GETTY_BAUDRATE="115200"
BR2_TARGET_GENERIC_GETTY_TERM="vt100"
BR2_TARGET_GENERIC_GETTY_OPTIONS=""
BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW=y
BR2_ROOTFS_OVERLAY=""
BR2_ROOTFS_POST_BUILD_SCRIPT=""
BR2_ROOTFS_POST_IMAGE_SCRIPT=""
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="http://192.168.1.4/linux-3.10.20.tar.bz2"
BR2_LINUX_KERNEL_VERSION="custom"
BR2_LINUX_KERNEL_PATCH=""
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="/home/ehsand/saedteach/configs/tmpconfig"
BR2_LINUX_KERNEL_ZIMAGE=y
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_PACKAGE_BUSYBOX=y
BR2_BUSYBOX_VERSION_1_21_X=y
BR2_BUSYBOX_VERSION="1.21.1"
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.21.x.config"
BR2_PACKAGE_FLEX=y
BR2_PACKAGE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
BR2_PACKAGE_XFONT_FONT_MISC_MISC=y
BR2_PACKAGE_XCB_PROTO=y
BR2_PACKAGE_XPROTO_BIGREQSPROTO=y
BR2_PACKAGE_XPROTO_COMPOSITEPROTO=y
BR2_PACKAGE_XPROTO_DAMAGEPROTO=y
BR2_PACKAGE_XPROTO_DMXPROTO=y
BR2_PACKAGE_XPROTO_DRI2PROTO=y
BR2_PACKAGE_XPROTO_FIXESPROTO=y
BR2_PACKAGE_XPROTO_FONTSPROTO=y
BR2_PACKAGE_XPROTO_GLPROTO=y
BR2_PACKAGE_XPROTO_INPUTPROTO=y
BR2_PACKAGE_XPROTO_KBPROTO=y
BR2_PACKAGE_XPROTO_RANDRPROTO=y
BR2_PACKAGE_XPROTO_RECORDPROTO=y
BR2_PACKAGE_XPROTO_RENDERPROTO=y
BR2_PACKAGE_XPROTO_RESOURCEPROTO=y
BR2_PACKAGE_XPROTO_SCRNSAVERPROTO=y
BR2_PACKAGE_XPROTO_VIDEOPROTO=y
BR2_PACKAGE_XPROTO_XCMISCPROTO=y
BR2_PACKAGE_XPROTO_XEXTPROTO=y
BR2_PACKAGE_XPROTO_XF86BIGFONTPROTO=y
BR2_PACKAGE_XPROTO_XF86DGAPROTO=y
BR2_PACKAGE_XPROTO_XF86DRIPROTO=y
BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO=y
BR2_PACKAGE_XPROTO_XINERAMAPROTO=y
BR2_PACKAGE_XPROTO_XPROTO=y
BR2_PACKAGE_XUTIL_UTIL_MACROS=y
BR2_PACKAGE_XDATA_XBITMAPS=y
BR2_PACKAGE_RDESKTOP=y
BR2_PACKAGE_X11VNC=y
BR2_PACKAGE_XTERM=y
BR2_PACKAGE_LIBERATION=y
BR2_PACKAGE_LIBERATION_MONO=y
BR2_PACKAGE_LIBERATION_SANS=y
BR2_PACKAGE_LIBERATION_SERIF=y
BR2_PACKAGE_XKEYBOARD_CONFIG=y
BR2_PACKAGE_BLACKBOX=y
BR2_PACKAGE_ENLIGHTENMEN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_PACKAGE_MTDEV=y
BR2_PACKAGE_TSLIB=y
BR2_PACKAGE_EXPAT=y
BR2_PACKAGE_LIBXML2=y
BR2_PACKAGE_LIBNL=y
BR2_PACKAGE_LIBPCAP=y
BR2_PACKAGE_SNMPPP=y
BR2_PACKAGE_GMP=y
BR2_PACKAGE_LIBCAP=y
BR2_PACKAGE_LIBCOFI=y
BR2_PACKAGE_LIBFFI=y
BR2_PACKAGE_LIBGLIB2=y
BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT=y
BR2_PACKAGE_NCURSES=y
BR2_PACKAGE_PCRE=y
BR2_PACKAGE_PCRE_UTF=y
BR2_PACKAGE_PCRE_UCP=y
BR2_PACKAGE_POPT=y
BR2_PACKAGE_READLINE=y
BR2_PACKAGE_AUTOSSH=y
BR2_PACKAGE_DHCPCD=y
BR2_PACKAGE_HTTPING=y
BR2_PACKAGE_HTTPING_TFO=y
BR2_PACKAGE_IFTOP=y
BR2_PACKAGE_IPERF=y
BR2_PACKAGE_IPTABLES=y
BR2_PACKAGE_NETSNMP=y
BR2_PACKAGE_NETSNMP_ENABLE_MIBS=y
BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES="host ucd-snmp/dlmod agentx"
BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES="disman/event disman/schedule utilities"
BR2_PACKAGE_NETSTAT_NAT=y
BR2_PACKAGE_OPENSSH=y
BR2_PACKAGE_PPPD=y
BR2_PACKAGE_PPPD_FILTER=y
BR2_PACKAGE_PPPD_RADIUS=y
BR2_PACKAGE_RP_PPPOE=y
BR2_PACKAGE_SAMBA=y
BR2_PACKAGE_SAMBA_MAX_DEBUGLEVEL=-1
BR2_PACKAGE_SAMBA_EVENTLOGADM=y
BR2_PACKAGE_SAMBA_NET=y
BR2_PACKAGE_SAMBA_NMBD=y
BR2_PACKAGE_SAMBA_NMBLOOKUP=y
BR2_PACKAGE_SAMBA_NTLM_AUTH=y
BR2_PACKAGE_SAMBA_PDBEDIT=y
BR2_PACK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y
BR2_PACKAGE_NANO=y
BR2_PACKAGE_NANO_TINY=y
BR2_PACKAGE_UEMACS=y
BR2_TARGET_ROOTFS_TAR=y
BR2_TARGET_ROOTFS_TAR_NONE=y
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL=""
BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION=""
BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL=""
BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION=""
and this is my X.org.log:
Quote:
[ 247.524] (II) Module ABI versions:
[ 247.524] X.Org ANSI C Emulation: 0.4
[ 247.525] X.Org Video Driver: 12.1
[ 247.525] X.Org XInput driver : 16.0
[ 247.525] X.Org Server Extension : 6.0
[ 247.525] (II) LoadModule: "extmod"
[ 247.536] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 247.544] (II) Module extmod: vendor="X.Org Foundation"
[ 247.545] compiled for 1.12.4, module version = 1.0.0
[ 247.545] Module class: X.Org Server Extension
[ 247.545] ABI class: X.Org Server Extension, version 6.0
[ 247.545] (II) Loading extension XFree86-VidModeExtension
[ 247.545] (II) Loading extension XFree86-DGA
[ 247.545] (II) Loading extension DPMS
[ 247.545] (II) Loading extension XVideo
[ 247.545] (II) Loading extension XVideo-MotionCompensation
[ 247.545] (II) Loading extension X-Resource
[ 247.545] (II) LoadModule: "dbe"
[ 247.547] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 247.550] (II) Module dbe: vendor="X.Org Foundation"
[ 247.550] compiled for 1.12.4, module version = 1.0.0
[ 247.550] Module class: X.Org Server Extension
[ 247.550] ABI class: X.Org Server Extension, version 6.0
[ 247.551] (II) Loading extension DOUBLE-BUFFER
[ 247.551] (II) LoadModule: "record"
[ 247.552] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 247.557] (II) Module record: vendor="X.Org Foundation"
[ 247.557] compiled for 1.12.4, module version = 1.13.0
[ 247.557] Module class: X.Org Server Extension
[ 247.557] ABI class: X.Org Server Extension, version 6.0
[ 247.557] (II) Loading extension RECORD
[ 247.557] (==) Matched fbdev as autoconfigured driver 0
[ 247.558] (==) Assigned the driver to the xf86ConfigLayout
[ 247.558] (II) LoadModule: "fbdev"
[ 247.559] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 247.562] (II) Module fbdev: vendor="X.Org Foundation"
[ 247.562] compiled for 1.12.4, module version = 0.4.2
[ 247.562] ABI class: X.Org Video Driver, version 12.1
[ 247.562] (II) FBDEV: driver for framebuffer: fbdev
[ 247.563] (--) using VT number 2

[ 247.567] (WW) Falling back to old probe method for fbdev
[ 247.567] (II) Loading sub module "fbdevhw"
[ 247.567] (II) LoadModule: "fbdevhw"
[ 247.568] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 247.572] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 247.572] compiled for 1.12.4, module version = 0.0.2
[ 247.572] ABI class: X.Org Video Driver, version 12.1
[ 247.573] (II) FBDEV(0): using default device
[ 247.573] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 247.573] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 16/16
[ 247.574] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[ 247.574] (==) FBDEV(0): RGB weight 565
[ 247.574] (==) FBDEV(0): Default visual is TrueColor
[ 247.574] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 247.574] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 675kB)
[ 247.574] (II) FBDEV(0): checking modes against framebuffer device...
[ 247.574] (II) FBDEV(0): checking modes against monitor...
[ 247.575] (--) FBDEV(0): Virtual size is 720x480 (pitch 720)
[ 247.575] (**) FBDEV(0): Built-in mode "current"
[ 247.575] (==) FBDEV(0): DPI set to (96, 96)
[ 247.575] (II) Loading sub module "fb"
[ 247.575] (II) LoadModule: "fb"
[ 247.577] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 247.589] (II) Module fb: vendor="X.Org Foundation"
[ 247.589] compiled for 1.12.4, module version = 1.0.0
[ 247.589] ABI class: X.Org ANSI C Emulation, version 0.4
[ 247.590] (**) FBDEV(0): using shadow framebuffer
[ 247.590] (II) Loading sub module "shadow"
[ 247.590] (II) LoadModule: "shadow"
[ 247.591] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 247.596] (II) Module shadow: vendor="X.Org Foundation"
[ 247.596] compiled for 1.12.4, module version = 1.1.0
[ 247.596] ABI class: X.Org ANSI C Emulation, version 0.4
[ 247.597] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 247.611] (==) FBDEV(0): Backing store disabled
[ 247.612] (==) FBDEV(0): DPMS enabled
[ 247.612] (==) RandR enabled
[ 247.613] (II) Initializing built-in extension Generic Event Extension
[ 247.613] (II) Initializing built-in extension SHAPE
[ 247.613] (II) Initializing built-in extension MIT-SHM
[ 247.613] (II) Initializing built-in extension XInputExtension
[ 247.613] (II) Initializing built-in extension XTEST
[ 247.613] (II) Initializing built-in extension BIG-REQUESTS
[ 247.613] (II) Initializing built-in extension SYNC
[ 247.613] (II) Initializing built-in extension XKEYBOARD
[ 247.613] (II) Initializing built-in extension XC-MISC
[ 247.613] (II) Initializing built-in extension XINERAMA
[ 247.613] (II) Initializing built-in extension XFIXES
[ 247.613] (II) Initializing built-in extension RENDER
[ 247.614] (II) Initializing built-in extension RANDR
[ 247.614] (II) Initializing built-in extension DAMAGE
[ 248.180] (II) config/udev: Adding input device USB-compliant keyboard (/dev/input/mouse0)
[ 248.180] (II) No input driver specified, ignoring this device.
[ 248.181] (II) This device may have been added with another device file.
[ 248.224] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 848.235] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 848.235] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 848.237] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
and my kernel info is:
Quote:
Linux buildroot 3.10.18+ #587 Sun Nov 10 15:30:45 GMT 2013 armv6l GNU/Linux
I tested it with 3 different keyboard and mouse but no success.
what is my problem that my keyboard and mouuse stop working in X and my X does not starts automatically on startup in raspberry PI?
 
Old 01-27-2014, 05:59 PM   #2
casualfred
Member
 
Registered: Aug 2012
Location: USA
Distribution: Slackware 14.1
Posts: 67

Rep: Reputation: 13
Hello, first of all, what distribution are you running on the RPi?

To fix your keyboard and mouse problem I would look at your /etc/X11/xorg.conf file and make sure there is something in there like:
Code:
Section "InputDevice"
      Identifier "Keyboard1"
      Driver "kbd"
EndSection

Section "InputDevice"
      Identifier "Mouse1"
      Driver "mouse"
      Option "Protocol" "Auto"
      # look in /dev/ maybe there is a link called "mouse" that points to your real device
      # or you might have to set it to your actual device (/dev/mouse0 maybe?)
      Option "Device" "/dev/mouse"
EndSection
Maybe your distribution comes with a handy xorg.conf set up script, maybe xorgsetup?

To make it start up in graphical mode, look at your /etc/inittab file, and if there is a line that says
Code:
id:3:initdefault:
You can change that to
Code:
id:4:initdefault:

Last edited by casualfred; 01-27-2014 at 06:03 PM. Reason: that is not his /boot/config.txt file.
 
Old 01-29-2014, 12:56 AM   #3
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 442

Original Poster
Rep: Reputation: 17
unfortunately my image has no /etc/X11 directory so it has not xorg.conf too and I did not find any line similar to what you said in inttab. even I made xorg.conf myself and copied what you said with these changes:
Quote:
Section "InputDevice"
Identifier "Keyboard1"
#Driver "kbd"
Driver "fbdev"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "fbdev"
Option "Protocol" "Auto"
# look in /dev/ maybe there is a link called "mouse" that points to your real device
# or you might have to set it to your actual device (/dev/mouse0 maybe?)
Option "Device" "/dev/input/mouse0"
EndSection

and my inittab is like this:
Quote:
# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw / # REMOUNT_ROOTFS_RW
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS

# Put a getty on the serial port
tty1::respawn:/sbin/getty -L tty1 115200 vt100 # GENERIC_SERIAL

# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
null::shutdown:/etc/init.d/rcK
null::shutdown:/bin/umount -a -r
null::shutdown:/sbin/swapoff -a
but it did not work too I mean I have no keyboard and mouse functional when I startx. ((((((((
 
Old 01-29-2014, 01:40 AM   #4
casualfred
Member
 
Registered: Aug 2012
Location: USA
Distribution: Slackware 14.1
Posts: 67

Rep: Reputation: 13
Alright, I'm not sure what to do about the mouse and keyboard.

As for auto starting X, at the end of the /etc/init.d/rcS script you could put in:
Code:
su - root -c startx &
(especially if you're okay starting X as root). I'm used to the systemv inittab, and I believe you are using a busybox inittab, so that was my mistake.

I was confused at first what distribution you were using, but I now understand a little more about buildroot. There may be some better distributions if you want a desktop and everything...
 
Old 01-29-2014, 02:53 AM   #5
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 442

Original Poster
Rep: Reputation: 17
thanks for your fast reply and I know there is some other distros that has better support for X but I am experiencing and learning . I want to know why my X does not work with keyboard and mouse with buildroot to understand the concept of what is happening background it is more that three weeks that I am working on it with no success. but still keen to read more guide and solutions from you or others.
 
Old 02-09-2014, 12:10 AM   #6
golden_boy615
Member
 
Registered: Dec 2008
Distribution: Ubuntu Fedora
Posts: 442

Original Poster
Rep: Reputation: 17
I have found the solution. I was copying kernel.img instead of zImage so all of my problems was because of this. (damn bad howtos)
 
  


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
Mouse and keyboard stop working when X server starts Parent5446 Ubuntu 2 12-03-2009 03:20 PM
Keyboard and Mouse randomly stop working link470 Linux - Hardware 3 08-03-2005 07:12 PM
keyboard and mouse suddenly stop working TexasDex Linux - Hardware 2 06-04-2004 11:26 PM
Mouse and Keyboard stop working when X loads BrigitteT Linux - General 7 04-12-2004 01:21 AM
mouse & keyboard stop working! shycalais Linux - Hardware 6 03-19-2004 07:52 AM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
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