Page 80 of 128 FirstFirst ... 3070787980818290 ... LastLast
Results 791 to 800 of 1273

Thread: btnx: Send keyboard and mouse combination events with mouse buttons

  1. #791
    Join Date
    Oct 2006
    Beans
    43

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    btnx is the only program that even comes close to getting my Logitech MediaPlay mouse working. It worked great under Fiesty and Gutsy, but not under Hardy. I had all of the buttons working wonderfully so it acted not only as a mouse but as a remote control with MythTV. After I rebuilt my machine from scratch with Hardy Alpha 4, I figured that it would only be a quick rebuild and configuration to get btnx working again. WRONG!

    I downloaded the latest tarballs of btnx and btnx-config from the repository, compiled, and installed them per instructions. Next I started configuration via sudo btnx-config. The program detected my mouse and only a single handler, but it could not detect my mouse clicks or wheel scrolls. Since it did not detect any mouse clicks, I could not configure any of the buttons.

    My xorg.conf file is identical to the sample code in the "Troubleshooting Guide." The basic mouse functions work and it is a recognized USB device. xev detects most of my clicks except the rewind and fast forward buttons. I ran lsmod and see that uinput is loaded. As far as I can recall, I have not installed any other potential conflicting programs.

    Unabatedshaggie and I seem to be experiencing the same problems. Does anyone have any idea what the problem could be? I know that some people have it working with Hardy. The fact that I got this mouse working with btnx is why I kept using Ubuntu. Hopefully it will get running especially if it is a candidate program for Hardy.

  2. #792
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by milliman View Post
    btnx is the only program that even comes close to getting my Logitech MediaPlay mouse working. It worked great under Fiesty and Gutsy, but not under Hardy. I had all of the buttons working wonderfully so it acted not only as a mouse but as a remote control with MythTV. After I rebuilt my machine from scratch with Hardy Alpha 4, I figured that it would only be a quick rebuild and configuration to get btnx working again. WRONG!

    I downloaded the latest tarballs of btnx and btnx-config from the repository, compiled, and installed them per instructions. Next I started configuration via sudo btnx-config. The program detected my mouse and only a single handler, but it could not detect my mouse clicks or wheel scrolls. Since it did not detect any mouse clicks, I could not configure any of the buttons.

    My xorg.conf file is identical to the sample code in the "Troubleshooting Guide." The basic mouse functions work and it is a recognized USB device. xev detects most of my clicks except the rewind and fast forward buttons. I ran lsmod and see that uinput is loaded. As far as I can recall, I have not installed any other potential conflicting programs.

    Unabatedshaggie and I seem to be experiencing the same problems. Does anyone have any idea what the problem could be? I know that some people have it working with Hardy. The fact that I got this mouse working with btnx is why I kept using Ubuntu. Hopefully it will get running especially if it is a candidate program for Hardy.
    Did you verify that X is using the options you defined in xorg.conf, and not defaulting to other settings? You can do this by looking at the /var/log/Xorg.0.log file.
    echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
    It compiles! Ship it!

  3. #793
    Join Date
    Oct 2006
    Beans
    43

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Daou:

    Thanks for your response. I think most of the xorg.conf file took but this latest version has a mind of its own. The video settings are what I specified, but the mouse settings vary a bit. I placed the appropriate sections of each file below.

    xorg.conf
    Section "InputDevice"

    # generated from default
    Identifier "Logitech Mouse"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "no"
    Option "Buttons" "3"
    EndSection

    Section "InputDevice"

    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection

    Xorg.0.log

    (**) Option "CoreKeyboard"
    (**) Keyboard0: always reports core events
    (**) Option "Protocol" "standard"
    (**) Keyboard0: Protocol: standard
    (**) Option "AutoRepeat" "500 30"
    (**) Option "XkbRules" "xorg"
    (**) Keyboard0: XkbRules: "xorg"
    (**) Option "XkbModel" "pc105"
    (**) Keyboard0: XkbModel: "pc105"
    (**) Option "XkbLayout" "us"
    (**) Keyboard0: XkbLayout: "us"
    (**) Option "CustomKeycodes" "off"
    (**) Keyboard0: CustomKeycodes disabled
    (**) Option "Protocol" "auto"
    (**) Logitech Mouse: Device: "/dev/psaux"
    (**) Logitech Mouse: Protocol: "auto"
    (**) Option "CorePointer"
    (**) Logitech Mouse: always reports core events
    (**) Option "Device" "/dev/psaux"
    (**) Option "Buttons" "3"
    (**) Option "Emulate3Buttons" "no"
    (**) Option "ZAxisMapping" "4 5"
    (**) Logitech Mouse: ZAxisMapping: buttons 4 and 5
    (**) Logitech Mouse: Buttons: 9
    (**) Logitech Mouse: Sensitivity: 1
    (II) evaluating device (Logitech Mouse)
    (II) XINPUT: Adding extended input device "Logitech Mouse" (type: MOUSE)
    (II) evaluating device (Keyboard0)
    (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
    (--) Logitech Mouse: PnP-detected protocol: "ExplorerPS/2"
    (II) Logitech Mouse: ps2EnableDataReporting: succeeded
    SetClientVersion: 0 9
    .xsession-errors
    ** (gnome-settings-daemon:26317): DEBUG: Starting keyboard manager
    expected keysym, got XF86KbdLightOnOff: line 70 of pc
    last scanned symbol is: XF86KbdLightOnOff
    expected keysym, got XF86KbdBrightnessDown: line 71 of pc
    last scanned symbol is: XF86KbdBrightnessDown
    expected keysym, got XF86KbdBrightnessUp: line 72 of pc
    last scanned symbol is: XF86KbdBrightnessUp
    Error: Meta_R added to symbol map for multiple modifiers
    Using Mod4, ignoring Mod1.
    Error: Meta_L added to symbol map for multiple modifiers
    Using Mod4, ignoring Mod1.
    Error: Key <META> added to map for multiple modifiers
    Using Mod4, ignoring Mod1.
    Warning: Type "PC_RALT_LEVEL2" has 2 levels, but <LALT> has 3 symbols
    Ignoring extra symbols
    Warning: No symbols defined for <SYRQ> (keycode 92)
    Warning: No symbols defined for <II65> (keycode 101)
    Warning: No symbols defined for <BRK> (keycode 114)
    Warning: No symbols defined for <FK13> (keycode 118)
    Warning: No symbols defined for <FK14> (keycode 119)
    Warning: No symbols defined for <FK15> (keycode 120)
    Warning: No symbols defined for <FK16> (keycode 121)
    Warning: No symbols defined for <FK17> (keycode 122)
    Warning: No symbols defined for <KPDC> (keycode 123)
    Warning: No symbols defined for <XFER> (keycode 129)
    Warning: No symbols defined for <I02> (keycode 130)
    Warning: No symbols defined for <NFER> (keycode 131)
    Warning: No symbols defined for <I04> (keycode 132)
    Warning: No symbols defined for <AE13> (keycode 133)
    Warning: No symbols defined for <I06> (keycode 134)
    Warning: No symbols defined for <I07> (keycode 135)
    Warning: No symbols defined for <I08> (keycode 136)
    Warning: No symbols defined for <I09> (keycode 137)
    Warning: No symbols defined for <I0A> (keycode 138)
    Warning: No symbols defined for <I0B> (keycode 139)
    Warning: No symbols defined for <I0C> (keycode 140)
    Warning: No symbols defined for <I0D> (keycode 141)
    Warning: No symbols defined for <I0E> (keycode 142)
    Warning: No symbols defined for <I0F> (keycode 143)
    Warning: No symbols defined for <I10> (keycode 144)
    Warning: No symbols defined for <I11> (keycode 145)
    Warning: No symbols defined for <I12> (keycode 146)
    Warning: No symbols defined for <I13> (keycode 147)
    Warning: No symbols defined for <I14> (keycode 148)
    Warning: No symbols defined for <I15> (keycode 149)
    Warning: No symbols defined for <I16> (keycode 150)
    Warning: No symbols defined for <I17> (keycode 151)
    Warning: No symbols defined for <I18> (keycode 152)
    Warning: No symbols defined for <I19> (keycode 153)
    Warning: No symbols defined for <I1A> (keycode 154)
    Warning: No symbols defined for <I1B> (keycode 155)
    Warning: No symbols defined for <K59> (keycode 157)
    Warning: No symbols defined for <I1E> (keycode 158)
    Warning: No symbols defined for <I1F> (keycode 159)
    Warning: No symbols defined for <I20> (keycode 160)
    Warning: No symbols defined for <I21> (keycode 161)
    Warning: No symbols defined for <I22> (keycode 162)
    Warning: No symbols defined for <I23> (keycode 163)
    Warning: No symbols defined for <I24> (keycode 164)
    Warning: No symbols defined for <I25> (keycode 165)
    Warning: No symbols defined for <I26> (keycode 166)
    Warning: No symbols defined for <I27> (keycode 167)
    Warning: No symbols defined for <I28> (keycode 168)
    Warning: No symbols defined for <I29> (keycode 169)
    Warning: No symbols defined for <K5A> (keycode 170)
    Warning: No symbols defined for <I2B> (keycode 171)
    Warning: No symbols defined for <I2C> (keycode 172)
    Warning: No symbols defined for <I2D> (keycode 173)
    Warning: No symbols defined for <I2E> (keycode 174)
    Warning: No symbols defined for <I2F> (keycode 175)
    Warning: No symbols defined for <I30> (keycode 176)
    Warning: No symbols defined for <I31> (keycode 177)
    Warning: No symbols defined for <I32> (keycode 178)
    Warning: No symbols defined for <I33> (keycode 179)
    Warning: No symbols defined for <I34> (keycode 180)
    Warning: No symbols defined for <K5B> (keycode 181)
    Warning: No symbols defined for <K5D> (keycode 182)
    Warning: No symbols defined for <K5E> (keycode 183)
    Warning: No symbols defined for <K5F> (keycode 184)
    Warning: No symbols defined for <I39> (keycode 185)
    Warning: No symbols defined for <I3A> (keycode 186)
    Warning: No symbols defined for <I3B> (keycode 187)
    Warning: No symbols defined for <I3C> (keycode 188)
    Warning: No symbols defined for <K62> (keycode 189)
    Warning: No symbols defined for <K63> (keycode 190)
    Warning: No symbols defined for <K64> (keycode 191)
    Warning: No symbols defined for <K65> (keycode 192)
    Warning: No symbols defined for <K66> (keycode 193)
    Warning: No symbols defined for <I42> (keycode 194)
    Warning: No symbols defined for <I43> (keycode 195)
    Warning: No symbols defined for <I44> (keycode 196)
    Warning: No symbols defined for <I45> (keycode 197)
    Warning: No symbols defined for <K67> (keycode 198)
    Warning: No symbols defined for <K68> (keycode 199)
    Warning: No symbols defined for <K69> (keycode 200)
    Warning: No symbols defined for <K6A> (keycode 201)
    Warning: No symbols defined for <I4A> (keycode 202)
    Warning: No symbols defined for <K6B> (keycode 203)
    Warning: No symbols defined for <K6C> (keycode 204)
    Warning: No symbols defined for <K6D> (keycode 205)
    Warning: No symbols defined for <K6E> (keycode 206)
    Warning: No symbols defined for <K6F> (keycode 207)
    Warning: No symbols defined for <HKTG> (keycode 208)
    Warning: No symbols defined for <KANA> (keycode 209)
    Warning: No symbols defined for <EISU> (keycode 210)
    Warning: No symbols defined for <AB11> (keycode 211)
    Warning: No symbols defined for <I54> (keycode 212)
    Warning: No symbols defined for <I55> (keycode 213)
    Warning: No symbols defined for <I5A> (keycode 218)
    Warning: No symbols defined for <K74> (keycode 219)
    Warning: No symbols defined for <K75> (keycode 220)
    Warning: No symbols defined for <K76> (keycode 221)
    Warning: No symbols defined for <I5E> (keycode 222)
    Warning: No symbols defined for <I5F> (keycode 223)
    Warning: No symbols defined for <I60> (keycode 224)
    Warning: No symbols defined for <I61> (keycode 225)
    Warning: No symbols defined for <I62> (keycode 226)
    Warning: No symbols defined for <I63> (keycode 227)
    Warning: No symbols defined for <I64> (keycode 228)
    Warning: No symbols defined for <I65> (keycode 229)
    Warning: No symbols defined for <I66> (keycode 230)
    Warning: No symbols defined for <I67> (keycode 231)
    Warning: No symbols defined for <I68> (keycode 232)
    Warning: No symbols defined for <I69> (keycode 233)
    Warning: No symbols defined for <I6A> (keycode 234)
    Warning: No symbols defined for <I6B> (keycode 235)
    Warning: No symbols defined for <I6C> (keycode 236)
    Warning: No symbols defined for <I6D> (keycode 237)
    Warning: No symbols defined for <I6E> (keycode 238)
    Warning: No symbols defined for <I6F> (keycode 239)
    Warning: No symbols defined for <I70> (keycode 240)
    Warning: No symbols defined for <I71> (keycode 241)
    Warning: No symbols defined for <I72> (keycode 242)
    Warning: No symbols defined for <I73> (keycode 243)
    Warning: No symbols defined for <I74> (keycode 244)
    Warning: No symbols defined for <I75> (keycode 245)
    Warning: No symbols defined for <I76> (keycode 246)
    Warning: No symbols defined for <I77> (keycode 247)
    Warning: No symbols defined for <I78> (keycode 248)
    Warning: No symbols defined for <I79> (keycode 249)
    Warning: No symbols defined for <I7A> (keycode 250)
    Warning: No symbols defined for <I7B> (keycode 251)
    Warning: No symbols defined for <I7C> (keycode 252)
    Warning: No symbols defined for <I7D> (keycode 253)
    Warning: No symbols defined for <I7E> (keycode 254)
    Warning: No symbols defined for <I7F> (keycode 255)
    Let me know if you see something strange in these log files. I really miss btnx!

    THANKS MUCH

  4. #794
    Join Date
    Oct 2006
    Beans
    43

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    I just noticed something strange in the xorg.conf file that contradict each other.

    Option "Emulate3Buttons" "no"
    Option "Buttons" "3"
    Could this have any affect on btnx?

  5. #795
    Join Date
    Jan 2007
    Beans
    85

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    They are totally separate, and don't interfere with each other.
    Code:
    Option "Emulate3Buttons"
    With "yes" selected, this allows you to make the mouse have a "middle click" by clicking both the L+R buttons at the same time. A "no" just turns that functionality off.
    Code:
     Option "Buttons" "3"
    Is actually telling your computer that the mouse you are using has only three buttons. In my xorg.conf, I have removed it without any negative consequences. If memory serves me, it was giving me problems as well.
    Here is the current relevent section of my xorg.conf:
    Code:
    Section "InputDevice"
        Identifier    "Configured Mouse"
        Driver        "mouse"
        Option        "CorePointer"
        Option        "Device"    "/dev/psaux"
        Option        "Protocol"    "auto"
        Option        "ZAxisMapping"    "4 5"
        Option        "Emulate3Buttons"    "true"
    EndSection
    It may, or may not work for you. Please let us know.
    When the only peace your enemy understands is the "Peace of the dead," you have no choice but to make peace in those terms.

  6. #796
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by blazoner View Post
    They are totally separate, and don't interfere with each other.
    Code:
    Option "Emulate3Buttons"
    With "yes" selected, this allows you to make the mouse have a "middle click" by clicking both the L+R buttons at the same time. A "no" just turns that functionality off.
    Code:
     Option "Buttons" "3"
    Is actually telling your computer that the mouse you are using has only three buttons. In my xorg.conf, I have removed it without any negative consequences. If memory serves me, it was giving me problems as well.
    Here is the current relevent section of my xorg.conf:
    Code:
    Section "InputDevice"
        Identifier    "Configured Mouse"
        Driver        "mouse"
        Option        "CorePointer"
        Option        "Device"    "/dev/psaux"
        Option        "Protocol"    "auto"
        Option        "ZAxisMapping"    "4 5"
        Option        "Emulate3Buttons"    "true"
    EndSection
    It may, or may not work for you. Please let us know.
    Perhaps I should remove the options from the manual because they don't interfere with btnx, and might be useful for some users.
    echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
    It compiles! Ship it!

  7. #797
    Join Date
    Jun 2006
    Location
    Finland
    Beans
    796
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by milliman View Post
    Daou:

    Thanks for your response. I think most of the xorg.conf file took but this latest version has a mind of its own. The video settings are what I specified, but the mouse settings vary a bit. I placed the appropriate sections of each file below.

    xorg.conf


    Xorg.0.log



    .xsession-errors


    Let me know if you see something strange in these log files. I really miss btnx!

    THANKS MUCH
    The xorg.log looks fine to me. I will need to do some debugging on Hardy to get to the bottom of it. Hopefully I'll have more time in about 2-3 weeks.
    echo -e "\x6f\x61\x73\x61\x6c\x6f\x6e\x65\x6e\x40\x67 \b\x6d\x61\x69\x6c\x2e\x63\x6f\x6d"
    It compiles! Ship it!

  8. #798
    Join Date
    Oct 2006
    Beans
    43

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    I removed the line with "Options 'Buttons' '3'" with no affect on btnx. As far as I can tell X overrides the setting with Buttons=9 anyway. As far as I can guess the Logitech MediaPlay does have 9 buttons and two keys that it emulates.

    I believe that the device is actually being recognized by btnx and 1 handler is identified. It is just that something is intercepting the button presses before btnx.

    Hope that you can find the time to investigate this issue. I can deal with my webcam not working, but I really enjoy having that mouse work completely.

    Thanks again for such a wonderful program.

  9. #799
    Join Date
    Apr 2007
    Location
    Washington state
    Beans
    350
    Distro
    Ubuntu Development Release

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by milliman View Post
    I removed the line with "Options 'Buttons' '3'" with no affect on btnx. As far as I can tell X overrides the setting with Buttons=9 anyway. As far as I can guess the Logitech MediaPlay does have 9 buttons and two keys that it emulates.

    I believe that the device is actually being recognized by btnx and 1 handler is identified. It is just that something is intercepting the button presses before btnx.

    Hope that you can find the time to investigate this issue. I can deal with my webcam not working, but I really enjoy having that mouse work completely.

    Thanks again for such a wonderful program.
    I agree that it is a wonderful program. I am seeing the same thing in Hardy. It is as if the buttons are being intercepted and processed before they get to btnx. Since the Hardy install is on the same box as the Gutsy one, I tried copying the config file from the gutsy to the hardy install. It sorta worked, but finally went totally waco and started outputting a solid stream of characters and I had to turn the computer off to get it to stop.

  10. #800
    Join Date
    Sep 2007
    Location
    Pteleos Greece
    Beans
    408
    Distro
    Ubuntu Development Release

    Re: btnx: Send keyboard and mouse combination events with mouse buttons

    Quote Originally Posted by dondad View Post
    I agree that it is a wonderful program. I am seeing the same thing in Hardy. It is as if the buttons are being intercepted and processed before they get to btnx. Since the Hardy install is on the same box as the Gutsy one, I tried copying the config file from the gutsy to the hardy install. It sorta worked, but finally went totally waco and started outputting a solid stream of characters and I had to turn the computer off to get it to stop.
    try playing with repeat delay in buttons config , that did the trick for me in hardy
    "Computers are like air conditioners, when you open WINDOW$ they stop working."
    Όσο ζώ μαθαίνω ...
    If Microsoft ever does applications for Linux it means I've won.
    Linus Torvalds

Page 80 of 128 FirstFirst ... 3070787980818290 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •