Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old July 9th, 2006   #1
sup
Way Too Much Ubuntu
 
sup's Avatar
 
Join Date: Dec 2005
Location: Kyšice, Czech Republic
Beans: 256
Ubuntu 6.06
X Error: BadDevice, invalid or uninitialized input device 168

sometimes, when I start applications from terminal (opera, for example), I got this:
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
it does not seem to cause any troubles, but I wonder, what it means, any ideas? I tried to google it but without much succes
sup is offline   Reply With Quote
Old July 15th, 2006   #2
Jun-Dai
5 Cups of Ubuntu
 
Join Date: Apr 2005
Location: Tokyo
Beans: 17
Ubuntu 6.10 Edgy
Send a message via MSN to Jun-Dai
Re: X Error: BadDevice, invalid or uninitialized input device 168

Me too.

I just got it loading kcmshell fonts.
__________________
http://chaumurky.net
Jun-Dai is offline   Reply With Quote
Old July 16th, 2006   #3
Jun-Dai
5 Cups of Ubuntu
 
Join Date: Apr 2005
Location: Tokyo
Beans: 17
Ubuntu 6.10 Edgy
Send a message via MSN to Jun-Dai
Re: X Error: BadDevice, invalid or uninitialized input device 168

I figured out on some other threads that this is most likely due to some "wacom" devices in your xorg.conf. Be sure to comment them out in your xorg.conf (there were three such devices in mine). Also be sure to comment out the references to them in the ServerLayout section (one reference to each), otherwise X won't start up again. Here are the sections commented out:
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
. . . and much farther down:
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
__________________
http://chaumurky.net
Jun-Dai is offline   Reply With Quote
Old July 17th, 2006   #4
sup
Way Too Much Ubuntu
 
sup's Avatar
 
Join Date: Dec 2005
Location: Kyšice, Czech Republic
Beans: 256
Ubuntu 6.06
Re: X Error: BadDevice, invalid or uninitialized input device 168

I see that did the trick, thanks.
sup is offline   Reply With Quote
Old July 25th, 2006   #5
robins_web
Just Give Me the Beans!
 
Join Date: Jul 2005
Location: Sacramento, CA
Beans: 78
Re: X Error: BadDevice, invalid or uninitialized input device 168

Thanks! I was having the same problem, and this fixed it. Much obliged!
robins_web is offline   Reply With Quote
Old July 27th, 2006   #6
Lord Illidan
Ubuntu addict and loving it
 
Lord Illidan's Avatar
 
Join Date: Jun 2005
Location: Malta
Beans: 5,097
Ubuntu 7.10 Gutsy Gibbon
Send a message via MSN to Lord Illidan
Re: X Error: BadDevice, invalid or uninitialized input device 168

Regarding the wacom thing, any reason why they are enabled by default in Xorg.conf?
These errors confused the hell out of me, I wonder what they would have done to a new user.
Surely it isn't too much to ask to confirm during installation if the user has any wacom tablets or what not?
Lord Illidan is offline   Reply With Quote
Old July 28th, 2006   #7
rand0m3r
5 Cups of Ubuntu
 
Join Date: Mar 2006
Beans: 19
Re: X Error: BadDevice, invalid or uninitialized input device 168

Sorry i'm new to kubuntu and need some help.

i used kate /etc/X11/xorg.conf to open the file and make the changes. however, it won't let me save, something about write privileges i think.

i type su to login as root, and to my surprise i don't even have the password to root. i thought that the default login i make was the root.
what do i do now? i still have this problem, and its stopping me from using automatix and other programs.
rand0m3r is offline   Reply With Quote
Old July 28th, 2006   #8
sup
Way Too Much Ubuntu
 
sup's Avatar
 
Join Date: Dec 2005
Location: Kyšice, Czech Republic
Beans: 256
Ubuntu 6.06
Re: X Error: BadDevice, invalid or uninitialized input device 168

You need to use sudo, i.e. sudo kate /etc/X11/xorg.conf, it will prompt you for YOUR (not root's) password and then it will be possible to save it.
If you want to make graphical launcher, use gksudo, if you want to havbe root's terminal, type sudo su (Et least I think it is this command)... there is a way to enable root's account (su passwd maybe, i do not remember, search wiki for root account or something and you should find your way, this is very common question to newbies), but it is not recommended - and I think it is right since sudo works so nicely.
sup is offline   Reply With Quote
Old July 28th, 2006   #9
rand0m3r
5 Cups of Ubuntu
 
Join Date: Mar 2006
Beans: 19
Re: X Error: BadDevice, invalid or uninitialized input device 168

this is a bit weird.

i thought sudo was just su but only applied for a single command. hence the password for sudo and su should be the same. anyway i did sudo kate /etc/X11/xorg.conf and made those changes. the error msgs still pop-up, but everything seems to work now.
rand0m3r is offline   Reply With Quote
Old July 29th, 2006   #10
rjz35
5 Cups of Ubuntu
 
Join Date: Apr 2006
Location: Amsterdam, The
Beans: 25
Ubuntu 7.04 Feisty Fawn
Re: X Error: BadDevice, invalid or uninitialized input device 168

Make sence to disable the Tablet things in the conf file. didn't think of that before.

any it helped me thnx alot.
rjz35 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:45 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry