VDVsx / remoko

OpenMoko Remote Controller
0 stars 0 forks source link

Remoko doesn't work on Om2008.8-upgrade #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install Remoko on 2008.8-update
2. run /usr/bin/remoko
3.

What is the expected output? What do you see instead?
I expect it to work; but i get:
root@om-gta02:~# DISPLAY=:0 /usr/bin/remoko
Traceback (most recent call last):
  File "/usr/share/remoko/remoko/remoko", line 37, in <module>
    from optparse import OptionParser
ImportError: No module named optparse

What version of the product are you using? On what operating system?
remoko 0.3, neo freerunner gta02v5

Please provide any additional information below.

Original issue reported on code.google.com by yorickm...@gmail.com on 26 Aug 2008 at 5:25

GoogleCodeExporter commented 9 years ago
root@om-gta02:~# opkg list python-textutils
python-textutils - 2.5.2-ml0 - Python Option Parsing, Text Wrapping and
Comma-Separated-Value Support

Install this, it helps. This should be added to ipk's dependencies.

Original comment by kwarzecha7@gmail.com on 26 Aug 2008 at 9:45

GoogleCodeExporter commented 9 years ago
package:
http://people.openmoko.org/~zecke/om2008.8-dev/armv4t/python-textutils_2.5.2-ml0
_armv4t.opk

Original comment by kwarzecha7@gmail.com on 26 Aug 2008 at 9:46

GoogleCodeExporter commented 9 years ago
thanks!
(i installed it from
http://buildhost.automated.it/OM2007.2/packages/armv4t/python-textutils_2.5.2-ml
0_armv4t.ipk)
It still seems not to work:

root@om-gta02:~# DISPLAY=:0 remoko
dbus_objectInit...
could not create proxy for
org.freesmartphone.ousaged:/org/freesmartphone/Usage
org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freesmartphone.ousaged was not provided by any .service files
failcount= 1
dbus_objectInit...
could not create proxy for
org.freesmartphone.ousaged:/org/freesmartphone/Usage
org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freesmartphone.ousaged was not provided by any .service files
failcount= 1
dbus_objectInit...
off
transition to bluetooth_off_alert
You are using ASU
finished
transition to main
finished
initializing daemon ...
initializing listener ...
waiting connection ...
waiting connection ...
waiting connection ...
waiting connection ...
waiting connection ...
waiting connection ...

the only way to exit the program is by issuing "killall -9 python"
killall python or killall remoko or pressing the remove button in the top bar 
doesn't
work

On 2007.2 installing python-textutils has no effect

hope these bug reports help!

Original comment by yorickm...@gmail.com on 26 Aug 2008 at 10:33

GoogleCodeExporter commented 9 years ago
It's ok. Try this: 
DISPLAY=:0 dbus-launch remoko
You should get, on freerunner something like this: 
"Error: Bluetooth is off. 
Turn bluetooth on ? 
[no] [yes]"
or
"Waiting for connection ..."

Then, on pc: 
hcitool scan
sudo hidd --connect [freerunner address from hcitool scan]

After that freerunner should say that a pc is connected and should show you 
menu:
http://wiki.openmoko.org/wiki/Image:Remoko_menu.jpg

Original comment by kwarzecha7@gmail.com on 27 Aug 2008 at 2:54

GoogleCodeExporter commented 9 years ago
i had the same problems as "yorickmoko", but now i get

# hidd --connect 00:06:6E:17:62:95
Can't create HID control channel: Connection refused

Original comment by arndtn@gmail.com on 30 Aug 2008 at 4:48

GoogleCodeExporter commented 9 years ago
Bluetooth is on, progam is saying 'waiting for device'.. then:

root@om-gta02:~# hcitool scan
Device is not available: No such device

Original comment by MjBr...@gmail.com on 2 Sep 2008 at 9:23

GoogleCodeExporter commented 9 years ago
Same result as arndtn, only to notice that after starting remoko the name of the
device change 

here the scans results

Before 

mutrox@peregrintux:~$ hcitool scan
Scanning ...
        00:06:6E:17:43:3C       om-gta02 (0)

<Here I started remoko on neo>

mutrox@peregrintux:~$ sudo hidd --connect 00:06:6E:17:43:3C
[sudo] password for mutrox:
Can't create HID control channel: Connection refused

After remoko starts

mutrox@peregrintux:~$ hcitool scan
Scanning ...
        00:06:6E:17:43:3C       BlueZ (0)

mutrox@peregrintux:~$ sudo hidd --connect 00:06:6E:17:43:3C
Can't create HID control channel: Connection refused

Any other Idea to progreess

Original comment by dsamb...@gmail.com on 4 Sep 2008 at 8:02

GoogleCodeExporter commented 9 years ago
more info using remoko_0.3.1_armv4t.ipk and 2008.08-update updated to 04/09

Original comment by dsamb...@gmail.com on 4 Sep 2008 at 8:37

GoogleCodeExporter commented 9 years ago
I get this error on Ubuntu 8.04

ebbe@bohr:~$ sudo hidd --connect 00:06:6E:17:40:8C
HID create error 77 (File descriptor in bad state)

Remoko is running ("Waiting for connection")

Original comment by ebb...@gmail.com on 4 Sep 2008 at 3:33

GoogleCodeExporter commented 9 years ago
In the #3 comment, it seems that you don't have the remoko_server package 
installed.
Sorry but the package manager seems to be a litle bit broken when handles some 
.ipk
packages.

For the rest of the people with problems, please run ReMoko in a shell and put 
here
the  output.
Note that remoko don't work right now with the last Bluez packages (in the 
testing feed) 

Original comment by vdv...@gmail.com on 9 Sep 2008 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by vdv...@gmail.com on 9 Sep 2008 at 8:39

GoogleCodeExporter commented 9 years ago
I can't get it to believe that it's actually connected. :P I have SHR-unstable, 
bluez
3.33 -- output follows

warning: x11-16 is not supported, fallback to x11                               

dbus_objectInit...                                                              

/usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning:
object.__init__() takes no parameters          
  super(Connection, self).__init__(*args, **kwargs)                                 

could not create proxy for 
org.openmoko.accelges:/org/openmoko/accelges/Recognizer
org.freedesktop.DBus.Error.ServiceUnknown: The name org.openmoko.accelges was 
not
provided by any .service files                                                  

error in proxy                                                                  

failcount= 0                                                                    

dbus_objectInit...                                                              

usage ok <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 
0x1c9300>
:1.20 /org/freesmartphone/Usage at 0x1c30b0> implementing 
'org.freesmartphone.Usage'
at 0x1c3210>
failcount= 0
passou
Stopping Bluetooth subsystem: hcid.
Starting Bluetooth subsystem: hcid hid2hci.
initializing daemon ...
initializing listener ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
waiting connection to remoko-server ...
0x000112
0x000112
Device Class changed to: 0x0005c0
connected
dbus.Array([], signature=dbus.Signature('s'))
ERROR: Bluetooth is off
*******I hit the quit button in Remoko here
Device class changed to: 0x000112
Stopping Bluetooth subsystem: hcid.
Starting Bluetooth subsystem: hcid hid2hci.
Connection terminated

Original comment by nat.ho...@gmail.com on 5 Mar 2009 at 1:59