Page 3 of 25 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 243

Thread: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

  1. #21
    Join Date
    Aug 2008
    Location
    France
    Beans
    21
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Hi all,

    I really can't connect to the wiimote!
    lswm returns well the MAC address but then, I always get a "Socket error" message in both wmgui and wminput.

    Any idea, guys?

    Bye

  2. #22
    Join Date
    Apr 2008
    Location
    In front of my iMac...
    Beans
    364
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Try un and re-plugging your bluetooth device and reinstalling the packages if that doesn't work. Also, did you enable the module uinput?

    Let me know !
    7$]-[!8@\|//\Rr!0|2!!!
    =D>
    My Little Ubuntu Blog!

  3. #23
    Join Date
    Dec 2008
    Beans
    5

    Re: Ok half way there

    Quote Originally Posted by brijizacks View Post
    I typed in gksudo wminput and low and behold, the accelerated movement does work.

    BUT, I want to use the IR as a mouse of course, and when I type in

    gksudo wminput -c ir_ptr, I get this

    housetv@HouseTV:~$ gksudo wminput -c ir_ptr
    gksudo: invalid option -- 'c'
    GKsu version 2.0.0

    Usage: gksudo [-u <user>] [options] <command>

    --debug, -d
    Print information on the screen that might be
    useful for diagnosing and/or solving problems.

    --user <user>, -u <user>
    Call <command> as the specified user.

    --disable-grab, -g
    Disable the "locking" of the keyboard, mouse,
    and focus done by the program when asking for
    password.
    --prompt, -P
    Ask the user if they want to have their keyboard
    and mouse grabbed before doing so.
    --preserve-env, -k
    Preserve the current environments, does not set $HOME
    nor $PATH, for example.
    --login, -l
    Make this a login shell. Beware this may cause
    problems with the Xauthority magic. Run xhost
    to allow the target user to open windows on your
    display!

    --description <description|file>, -D <description|file>
    Provide a descriptive name for the command to
    be used in the default message, making it nicer.
    You can also provide the absolute path for a
    .desktop file. The Name key for will be used in
    this case.
    --message <message>, -m <message>
    Replace the standard message shown to ask for
    password for the argument passed to the option.
    Only use this if --description does not suffice.

    --print-pass, -p
    Ask gksu to print the password to stdout, just
    like ssh-askpass. Useful to use in scripts with
    programs that accept receiving the password on
    stdin.

    --sudo-mode, -S
    Make GKSu use sudo instead of su, as if it had been
    run as "gksudo".
    --su-mode, -w
    Make GKSu use su, instead of usin

    I'm guessing I'm typing it in wrong? perhaps I need to put the command in quotes or something?
    I used:

    sudo wminput -c ir_ptr 00:22:AA:E8:77:09 (use your own code)

    and it worked.

  4. #24
    Join Date
    Aug 2008
    Location
    France
    Beans
    21
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Quote Originally Posted by Toshibawarrior View Post
    Try un and re-plugging your bluetooth device and reinstalling the packages if that doesn't work. Also, did you enable the module uinput?

    Let me know !
    Still the same error!
    The lswm returns well the MAC address of the wiimote.
    But then both wminput and wmgui returns
    "Socket connect error (control channel)
    unable to connect"

    wminput seems ok as wminput does not complain if i run it as sudo

    This is a big mess!

  5. #25
    Join Date
    Apr 2008
    Location
    In front of my iMac...
    Beans
    364
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    I really don't what could be wrong there...

    Can you try with a different bluetooth adapter?...Maybe that's the problem.

    Try using different USB ports also.

    I'm sorry but I really haven't experienced this error ever, so I can't tell you exactly how to fix it. Let me know if what I advised you to do here works, if not post back and I'll dig into it a little more.
    7$]-[!8@\|//\Rr!0|2!!!
    =D>
    My Little Ubuntu Blog!

  6. #26
    Join Date
    Aug 2008
    Location
    France
    Beans
    21
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Quote Originally Posted by Toshibawarrior View Post
    I really don't what could be wrong there...

    Can you try with a different bluetooth adapter?...Maybe that's the problem.

    Try using different USB ports also.

    I'm sorry but I really haven't experienced this error ever, so I can't tell you exactly how to fix it. Let me know if what I advised you to do here works, if not post back and I'll dig into it a little more.
    Sorry but you will have to dig!
    The bluetooth adapter works perfectly with the same wiimote on another PC with ubuntu 08.04.

    On the intrepid one, I tried all the USB ports.

    Nothing works

  7. #27
    Join Date
    Apr 2008
    Location
    In front of my iMac...
    Beans
    364
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    I've been googling and reading around some forums and apparently most people fix that by using the MAC address exactly as it appears in hciscan which I truly believe was changed for lswm.

    Try this on a terminal:

    Code:
    sudo aptitude remove --purge wminput wmgui lswm
    Then restart the computer and type this on a terminal:

    Code:
    sudo aptitude install wminput wmgui lswm
    And try following my guide from the start again. Remember to use sudo or gksudo before wminput commands and also make very sure your bluetooth address MAC is exact. Remember that the correct command to use the wiimote in Accelerometer mode is:

    Code:
    gksudo wminput XX:XX:XX:XX:XX:XX
    Replacing the X's with your address...Tell me if it still doesn't work after doing that and sorry for the inconveniences.
    7$]-[!8@\|//\Rr!0|2!!!
    =D>
    My Little Ubuntu Blog!

  8. #28
    Join Date
    Aug 2008
    Location
    France
    Beans
    21
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    I cannot find how to install the hciscan tool.
    It does not work on my computer.

    Else I tried the
    gksudo wminput XX:XX:XX:XX:XX:XX
    With the MAC address returns by lswm, but I still get the "Socket error" message...

  9. #29
    Join Date
    Apr 2008
    Location
    In front of my iMac...
    Beans
    364
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    Well...apparently hciscan doesn't work anymore...looks like it's an old version of a dead program (in my opinion). I've googled around a lot since yesterday i can't find anything to fix your problem except for the stuff I've mentioned above.

    I'm truly sorry about your situation, but I hope some expert comes and helps you. I just made the guide not the programs. Besides I haven't came across such a problem before.

    Your best bet is to wait for someone to pop in with a magical solution for this problem.

    Did you install all of Intrepid's latest updates?...And do you have other input devices besides a mouse?...Or have you messed around with xorg.conf?
    7$]-[!8@\|//\Rr!0|2!!!
    =D>
    My Little Ubuntu Blog!

  10. #30
    Join Date
    Aug 2008
    Location
    France
    Beans
    21
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO: Wii Remote in Ubuntu Intrepid Ibex (8.10)

    I confirm that I installed all Intrepid's updates, I have no other input beside the mouse, and I never touched the xorg.conf file...

    I tried to compile the latest version of cwiid, but I still get the error with both wmgui and wminput: "Sockect error".

    I figured out that I also get the error message even when I don't touch the wiimote (so the wiimote cannot be found as it is not in sync mode).

    What knid of message do you have when you try to find a wiimote but don't press 1+2 buttons?

Page 3 of 25 FirstFirst 1234513 ... LastLast

Tags for this Thread

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
  •