Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-14 Thread Donnie Smith
I don't think it'll make any difference, but try the latest SVN version. Got a reply from the BlueZ folks, I think we may have found the problem, although fixing it may be another matter.

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-12 Thread Petter Reinholdtsen
[Donnie Smith] Hthis is a tricky one. One other idea to try (attached). Make sure you have no other bluetooth devices around. With this patch in place, it seem to connect ever time. I've tried 5 times so far. Friendly, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-12 Thread Donnie Smith
Aha - progress! I actually commented 2 parts, now lets uncomment one of them and see what happens. Donnie Index: libcwiid/bluetooth.c === --- libcwiid/bluetooth.c(revision 83) +++ libcwiid/bluetooth.c(working copy) @@

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-12 Thread Petter Reinholdtsen
[Donnie Smith] Aha - progress! I actually commented 2 parts, now lets uncomment one of them and see what happens. Still work with the hci_open_dev() in place and the call to get the name commented out. :) Friendly, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-11 Thread Petter Reinholdtsen
[Donnie Smith] Try this one. I added an error message if the device socket doesn't close, and added a pause before the connect. I'm thinking perhaps the device hasn't closed and cleaned up by the time wiimote_connect tries to connect to it. The addresses print out the same, so I'm thinking

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-11 Thread Donnie Smith
Hthis is a tricky one. One other idea to try (attached). Make sure you have no other bluetooth devices around. I've posted the question to the BlueZ-devel mailing list, hopefully someone has come across something similar. Donnie Index: libcwiid/bluetooth.c

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-10 Thread Romain Beauxis
Hi ! For this kind of bug report, you better submit to cwiid's main trac system.. However, cwiid's author is CCed in this mail.. Romain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-10 Thread Donnie Smith
Hello again, Petter. This is a currently unsolved mystery experienced by a lot of people, and unfortunately, I'm unable to duplicate it. I'd be much obliged if you could help me debug it. Thanks, Donnie

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-10 Thread Petter Reinholdtsen
[Donnie Smith] Hello again, Petter. This is a currently unsolved mystery experienced by a lot of people, and unfortunately, I'm unable to duplicate it. I'd be much obliged if you could help me debug it. I'm happy to help debug it, but have no idea where to start. I've done some initial

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-10 Thread Romain Beauxis
Le mardi 10 avril 2007 17:39, Petter Reinholdtsen a écrit : [Donnie Smith] Hello again, Petter. This is a currently unsolved mystery experienced by a lot of people, and unfortunately, I'm unable to duplicate it.  I'd be much obliged if you could help me debug it. I'm happy to help

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-10 Thread Donnie Smith
First thing I want to see is the bluetooth address that it finds: in cwiid/wiimote/connect.c (assuming 0.5.02), declare a char bd_str[18] in wiimote_connect, then after line 85, add: ba2str(bdaddr, bd_str); printf(found wiimote at %s\n, bd_str); The output should match the address you get from

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-10 Thread Petter Reinholdtsen
[Donnie Smith] The output should match the address you get from hci_tool and lswm. I suspect it won't. I applied this patch to the svn version: Index: wiimote/connect.c === --- wiimote/connect.c (revisjon 81) +++

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-10 Thread Donnie Smith
Try this one. I added an error message if the device socket doesn't close, and added a pause before the connect. I'm thinking perhaps the device hasn't closed and cleaned up by the time wiimote_connect tries to connect to it. The addresses print out the same, so I'm thinking it might be the

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-08 Thread Petter Reinholdtsen
Package: wmgui Version: 0.5.02-1 Severity: important I ran into a problem with wmgui and wminput with the package I rebuilt for Debian/etch. It fail to detect the Wii handset. I have to give the handset ID on the command line to get it to detect it. With wmgui, I select File-Connect, press 1

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-08 Thread Petter Reinholdtsen
I tried the debugging steps described on the trac page, after fetching the svn version of the source to get lswm. Here is the output: % hcitool scan; hcitool inq 00:19:1D:C4:72:F8 ; LD_LIBRARY_PATH=../wiimote ./lswm Scanning ... 00:19:1D:C4:72:F8 Nintendo RVL-CNT-01

Bug#418221: wmgui: fail to autodetect my wii handset, Error opening control channel

2007-04-08 Thread Petter Reinholdtsen
I just tried to connect to the wiimote using an arm machine I have available (Linksys NSLU2). This one was able to connect to the remote without any problems. Here is the output from this machine: slug:~# hcitool scan; hcitool inq 00:19:1D:C4:72:F8 Scanning ... 00:19:1D:C4:72:F8