Home
Forum
Blog
News
TopSite
Calendar
Profile
Search
Help
Board Menu
New posts
New Replies
Users
Help
Personal Menu
Welcome Guest
User:
Pass:
Auto-Login:
Register!
Calendar
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2007
2008
2009
2010
2011
2012
2013
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Today's Birthdays:
walter731 (82) Primoz (24) azstang66 (25)
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
July 31, 2010, 09:12:56 pm
Kubuntu Forums
|
Important Information
|
Documentation
|
Experimentation/Customization/Optimization
| Topic:
X Error: BadDevice, invalid or uninitialized input device 168
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: X Error: BadDevice, invalid or uninitialized input device 168 (Read 25758 times)
Hawkwind
Guest
X Error: BadDevice, invalid or uninitialized input device 168
«
on:
August 17, 2006, 10:41:43 am »
Seems a lot of users are getting the below errors when running applications from the console:
Code:
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 148
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 148
Minor opcode: 3
Resource id: 0x0
Failed to open device
To fix this, look for the lines posted below, or similar to, and comment them out of your /etc/X11/xorg.conf file:
Code:
# Section "InputDevice"
# Driver "wacom"
# Identifier "stylus"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/event
# # for USB
# Option "Type" "stylus"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Driver "wacom"
# Identifier "eraser"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/event
# # for USB
# Option "Type" "eraser"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Driver "wacom"
# Identifier "cursor"
# Option "Device" "/dev/wacom" # Change to
# # /dev/input/event
# # for USB
# Option "Type" "cursor"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
Then also a bit further down in the file you need to look for the below lines, or ones similar to these:
Code:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
**WARNING** If you fail to comment the lines below that are commented out, then X will *NOT* start when you go to restart the X server.
Once you comment those things out then a restart of X is needed. Once X is back up and running again you shouldn't see those errors anymore.
Logged
exploder
On a Roll
Offline
Posts: 89
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #1 on:
February 02, 2007, 06:48:58 pm »
Hawkwind your fix works like a charm in Feisty!
Logged
Jeumeu
Always Learning
Offline
Posts: 1
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #2 on:
March 23, 2007, 05:34:39 am »
I discovered your fix several months ago.
Many thanks...
Logged
javierrivera
Still Lots to Learn
Offline
Posts: 786
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #3 on:
March 23, 2007, 06:31:11 am »
Hi Hawkwind... it's strange to see you here.
Anyway those errors are not exactly problems. Those lines are there to enable automagic configuration of watcom compatible tablets.
Those errors are harmless and will only add a not noticeable time to apps startup time. Of course it's harmless to remove them if you don't use a tablet.
Javier.
Logged
bobbythebaer
Guest
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #4 on:
April 26, 2007, 04:39:07 pm »
Quote
Those errors are harmless and will only add a not noticeable time to apps startup time
I had a similar problem with GOPCHOP. The program crashed unless I started it as root. I thought it was a permission issue but Hawkwinds solution solved the problem completely. It's not just a cosmetic problem.
Logged
bobbythebaer
Guest
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #5 on:
April 26, 2007, 04:58:49 pm »
My GOPCHOP problem turned back
Logged
Telengard
Still Lots to Learn
Online
Posts: 899
help.ubuntu.com
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #6 on:
July 29, 2007, 11:30:33 pm »
I was worried I had somehow botched my Kubuntu installation, but this worked for me. Thank you!
Logged
Welcome newbies!
Verify the ISO
Kubuntu's documentation
UnicornRider
Kubuntu Veteran
Offline
Posts: 2533
Gone For Good
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #7 on:
July 30, 2007, 02:04:29 am »
Quote from: bobbythebaer
It's not just a cosmetic problem.
Yep - occasionally, I've seen the K/console choking on wacom crap quite badly.
Logged
Rog131
Kubuntu Veteran
Offline
Posts: 3922
Kubuntu facientes adiuvant
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #8 on:
July 30, 2007, 05:23:48 am »
And it's cluttering bug reports:
Bug #42553 in wacom-tools (Ubuntu)
wacom input devices enabled by default, why?
Quote
Bug #42553, first reported on 2006-05-02 by Alex
This bug has 16 duplicates
Problems with amarok ?:
Quote
See this thread in ubuntuforums.org
http://ubuntuforums.org/showthread.php?p=1264009
Apparently these are for TabletPCs??
While this may just seem like a nuisance bug, it does affect amarok scripts- for me, I could not configure the popular amarok replaygain script until I fixed this error by making the changes to my xorg.conf. My guess is the script doesn't continue to run when it gets an X-error, making it unable for me to get past the initial kdialog box. There are other cases where similar problems occur because of this error, not to mention that there are 8 duplicates of this bug files and having this error generally causes havoc for people, especially beginners, trying to debug problems (since they don't know that it isn't [probably] the real culprit of whatever bug they are having...).
Wondering how many has wacom ? 10 % 20 % 30 %...
«
Last Edit: July 30, 2007, 05:34:04 am by Rog131
»
Logged
Before you edit,
BACKUP !
Links:
The art of using manuals
File management in Linux
dibl
Kubuntu Veteran
Offline
Posts: 10366
What does not kill me makes me stronger ...
X Error: BadDevice, invalid or uninitialized input device 168 -- Mod please move
«
Reply #9 on:
July 30, 2007, 07:16:37 am »
Mr. Mod, may I respectfully recommend that Hawkwind's tutorial be relocated to the "How To" section, so we can point the troubled newbie in that direction when he's worried about his wacom errors?
Thanks!
Logged
Kubuntu 10.04 64-bit
Intel X6800/D975XBX2/GTX260
Top 20 Kubuntu FAQs HERE
Snowhog
KFNs unofficial 'presence' (AHD, SCE, sense 6)
Global Moderator
Kubuntu Veteran
Offline
Posts: 10455
"It is quite a three pipe problem, ..."
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #10 on:
July 30, 2007, 07:05:36 pm »
I too, found Hawkwind's post informative. I commented out my wacom lines. No more boot error notices concerning that. Now if I could just find where the two non-existant font directory pointers are coming from, I'd comment those out also.
Logged
Toshiba Satellite P105-S6147
Intel Mobile 945GM/GMS, 943/940GML
Happily running:
Kubuntu
LL 10.04
VMware Player 3.1.0 (Win XP Pro guest VM)
Using Linux since March 23, 2007
Linux User #446986
Kubuntu User #15733
Rog131
Kubuntu Veteran
Offline
Posts: 3922
Kubuntu facientes adiuvant
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #11 on:
August 30, 2007, 03:05:05 am »
BACKUP BEFORE YOU EDIT !
It is easier to backup than repair xorg.conf.
Before you edit:
Code:
:~$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_my_backup_001
If kubuntu doesn't understand your xorg.conf and X doesn't start.
Press
Ctrl
+
Alt
+
F1
(or F2...6). This should start virtual console.
From
Virtual console
Quote
a virtual console (VC, sometimes virtual terminal, VT) is a conceptual combination of the keyboard and the display for a user interface. The concrete combination is the system console of the computer, where the user can switch between the virtual consoles to access multiple unrelated user interfaces. Usually in Linux, the first six virtual consoles provide a text terminal with a login prompt to a unix shell. The graphical X Window System starts in the seventh virtual console.
After login:
Code:
:~$ sudo cp /etc/X11/xorg.conf_my_backup_001 /etc/X11/xorg.conf
Restart (and try editing again).
Links:
Topic: HOWTO : Repairing xorg.conf
http://kubuntuforums.net/forums/index.php?topic=3082808.0
Topic: How to get started with no GUI
http://kubuntuforums.net/forums/index.php?topic=3085112.0
«
Last Edit: August 30, 2007, 06:24:04 am by Rog131
»
Logged
Before you edit,
BACKUP !
Links:
The art of using manuals
File management in Linux
Surion
Always Learning
Offline
Posts: 1
Re: X Error: BadDevice, invalid or uninitialized input device 168
«
Reply #12 on:
October 01, 2007, 12:14:19 pm »
Thank you for this post. It was a bit annoying to see this "error" all the time...
Logged
Pages:
[
1
]
Kubuntu Forums
|
Important Information
|
Documentation
|
Experimentation/Customization/Optimization
| Topic:
X Error: BadDevice, invalid or uninitialized input device 168
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Important Information
-----------------------------
=> Announcements
===> Administrative Announcements
===> Kubuntu Announcements
=> Documentation
===> How To's
===> Experimentation/Customization/Optimization
===> Kubuntu User Testimonies
===> Bugs
-----------------------------
Newbie Support
-----------------------------
=> Help the New Guy
-----------------------------
Kubuntu Discussion
-----------------------------
=> Kubuntu 10.04 Lucid Lynx (LTS)
===> Pre-installation
===> Post-installation
===> Hardware Support
===> Software Support
===> Network Support
===> Soapbox
===> Pre-Release Testing
=> Kubuntu 9.10 Karmic Koala
===> Install and Boot
===> Software Support
===> Hardware Support
===> Network Support
=> Kubuntu 10.10 Maveric Meerkat (under development)
===> Pre-Release Testing
=> Previous Kubuntu Releases
===> Kubuntu 9.04 Jaunty Jackalope
=====> Installation and Boot
=====> Software Support
=====> Hardware Support
=====> Network Support
=====> Processor Specific Support
=======> 64 Bit Processor Support
=======> Power PC Support
===> Kubuntu 8.10 Intrepid Ibex
=====> Installation and Boot
=====> Software Support
=====> Hardware Support
=====> Network Support
===> Kubuntu 8.04 Hardy Heron
=====> Installation and Boot
=====> Software Support
=====> KDE4 Support
=====> Hardware Support
=====> Network Support
=====> Processor Specific Support
=======> 64 Bit Processor Support
=======> Power PC Support
=====> New Feature Requests
===> Kubuntu 7.10 Gutsy Gibbon
=====> Installation and Boot
=====> Software Support
=====> Hardware Support
=====> Network Support
=====> Processor Specific Support
=======> 64 Bit Processor Support
=======> Power PC Support
=====> Grab Bag (Formally New Feature Requests)
===> Kubuntu 7.04 Feisty Fawn
=====> Installation and Boot
=====> Software Support
=====> Hardware Support
=====> Network Support
=====> Processor Specific Support
=======> 64 Bit Processor Support
=======> Power PC Support
===> Kubuntu 6.06 Dapper Drake (LTS)
=====> Installation and Boot
=====> Software Support
=====> Hardware Support
=====> Network Support
=====> Processor Specific Support
=======> 64 Bit Processor Support
=======> Power PC Support
=====> New Feature Requests
=> Desktop Support
===> KDE Support
===> XFCE Environment Help
===> Gnome
===> Other
=> Kubuntu Transitioners
=> Everything Else
-----------------------------
General
-----------------------------
=> Miscellaneous Linux Info
===> Geek News
===> Coding/Scripting
===> Gaming
===> Artwork
===> Audio/Video
=> Community Cafe
===> Distribution Showdown
===> Classifieds
===> Social/Casual Talk
=> KubuntuForums Feedback
===> Site Improvements
===> Forum Ideas
===> Dynamic FAQ
-----------------------------
Multilingual Kubuntu Support
-----------------------------
=> Kubuntu Español
===> Noticias De Kubuntu
===> Instalacion y Arranque
===> Soporte de Software
===> Soporte de Hardware
===> Misceláneos/Chat General
=> French Support
===> Installation et Premier Lancement
===> Support Logiciel
===> Support Matériel
===> Général
Powered by SMF 1.1.11
|
SMF © 2006-2009, Simple Machines LLC
Page created in 0.269 seconds with 14 queries.
Loading...
Online Users
97
users online:
92
Guests
0
Anonymous
5
Visible:
vinnywright
,
Telengard
,
claydoh
,
linuxwizard
,
rackIT
Last click
Site Stats
234932
Posts:
45883 Topics
189049 Replies
47
Blog:
Created by Members
227
Images:
Inside the Image Gallery
24
Files:
Inside the Downloads Area
9
Sites:
Inside the Top Site List
6
Reviews:
Inside the Reviews Area
17070
Reg. Members:
Last:
ksmmer87
Browsed Pages:
MKPortal
M1.1.1 ©2003-2006
mkportal.it
Page generated in 0.0423 seconds with 10 queries