Announcement

Collapse
No announcement yet.

Bad Device?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bad Device?

    now I get this whenever I run a gambas app
    Code:
    X Error: BadDevice, invalid or uninitialized input device 169
     Major opcode: 147
     Minor opcode: 3
     Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 169
     Major opcode: 147
     Minor opcode: 3
     Resource id: 0x0
    Failed to open device

    #2
    Re: Bad Device?

    Code:
    X Error: BadDevice, invalid or uninitialized input device 166
     Major opcode: 145
     Minor opcode: 3
     Resource id: 0x0
    Failed to open device
    X Error: BadDevice, invalid or uninitialized input device 166
     Major opcode: 145
     Minor opcode: 3
     Resource id: 0x0
    Failed to open device
    ERROR: #2: Cannot load class 'FMain': Unable to load class file
    Similar error . . .
    Love; joy; peace; patience; kindness; goodness; faithfulness; gentleness; self control

    Comment


      #3
      Re: Bad Device?

      You can eliminate those error messages by commenting out the stanzas in your xorg.conf file that reference the wacom tablet. You will also have to comment out the relevant lines in the "server layout" stanza.

      Comment


        #4
        Re: Bad Device?

        Do I change this
        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
        to this . . .
        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
        and my ServerLayout has this . . .
        Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        InputDevice "Generic Keyboard"
        InputDevice "Configured Mouse"
        InputDevice "stylus" "SendCoreEvents"
        InputDevice "cursor" "SendCoreEvents"
        InputDevice "eraser" "SendCoreEvents"
        EndSection
        Love; joy; peace; patience; kindness; goodness; faithfulness; gentleness; self control

        Comment


          #5
          Re: Bad Device?

          # comment out the entire wacom stanzas from "Section Input Device" to "EndSection". There should be three "wacom" stanzas, one each for stylus, eraser, and cursor. in addition, # comment out, the three lines in ServerLayout that refer to stylus, eraser and cursor. Of course, if you have a tablet PC, you have to leave them in, but then you wouldn't be getting error messages about bad devices.

          Comment


            #6
            Re: Bad Device?

            Now I get this . . .

            ERROR: #2: Cannot load class 'FMain': Unable to load class file
            after trying some examples. Some components misbehaving
            Love; joy; peace; patience; kindness; goodness; faithfulness; gentleness; self control

            Comment


              #7
              Re: Bad Device?

              Which program is giving you that message?

              BTW, I think this thread has drifted far enough off the original topic that I'm going to split it at the start of the Bad Device discussion.

              Comment

              Working...
              X