maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Introducing BlueMaemo (https://talk.maemo.org/showthread.php?t=24396)

VDVsx 2008-10-18 18:31

Introducing BlueMaemo
 
BlueMaemo is a remote controller program for the Maemo-powered devices. With BlueMaemo you can turn your Maemo-powered device in a mixed Bluetooth keyboard-and-mouse device through the HID Bluetooth profile.

The first BlueMaemo release can be found in the project download page, you must have the Maemo base repository enable in order to satisfy all the BlueMaemo dependencies.
The application are in a beta state right now, so all the suggestions are welcome, I also need some help to figure a way to turn on and off the bluetooth adapter of the devices, if anybody know a way to do this (d-bus,system call...) I appreciate the help :)

More information about the project can be found in: http://www.valeriovalerio.org/?page_id=174 (usage instructions, to-do list...).

qwerty12 2008-10-18 18:40

Re: Introducing BlueMaemo
 
Turn off bt:
Code:

run-standalone.sh dbus-send --system --type=method_call --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:off
Switch on in discoverable mode:
Code:

run-standalone.sh dbus-send --system --type=method_call --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable
Switch on in non-discoverable mode:
Code:

run-standalone.sh dbus-send --system --type=method_call --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:connectable
Thanks to vabgeo.

VDVsx 2008-10-18 18:45

Re: Introducing BlueMaemo
 
Thanks again qwerty12, I will add this calls in the next release to turn the app more user friendly.

Stskeeps 2008-10-18 18:54

Re: Introducing BlueMaemo
 
A small bug report which may be difficult - . on some keyboard layouts are not : in the other end (PC, in this case XP).. had problems with - as well.

VDVsx 2008-10-18 19:00

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by Stskeeps (Post 234564)
A small bug report which may be difficult - . on some keyboard layouts are not : in the other end (PC, in this case XP).. had problems with - as well.

Can you explain it better ?

I have to warning that the only keyboard layout supported at this time are US-ENG, so if you are using for example a Latin layout, the shift combination should produce a different keys from the key that you have pressed in the device.

Thesandlord 2008-10-18 19:18

Re: Introducing BlueMaemo
 
Works on Vista with Microsoft Stack as well

VDVsx 2008-10-18 19:21

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by Thesandlord (Post 234567)
Works on Vista with Microsoft Stack as well

Thanks for the feedback :D

dzahariev 2008-10-18 19:53

Re: Introducing BlueMaemo
 
Hi,
I am facing problems with installation.
Can you please put the configuration for 'base' repository that contain python api for diablo here.
Thank you.

pwsn 2008-10-18 19:56

Re: Introducing BlueMaemo
 
Exactly what I was looking for and then some. Thanks for getting it done.

Works well under WinXP with blue soleil stack. No bugs as of yet.

VDVsx 2008-10-18 20:07

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by dzahariev (Post 234570)
Hi,
I am facing problems with installation.
Can you please put the configuration for 'base' repository that contain python api for diablo here.
Thank you.

The dependencies are almost the same as Canola or Carman have, for example you can easily install the base repository in this link: http://openbossa.indt.org/canola/install_second.html (.install for base rep in the second step).

Laughing Man 2008-10-18 20:15

Re: Introducing BlueMaemo
 
Hmm, whenever I try to connect it only shows up as HSP.

vforviktor@vendetta-laptop:~$ hcitool scan
Scanning ...
00:19:4F:DB:DD:86 vendetta-tablet
vforviktor@vendetta-laptop:~$ sudo 'hidd -connect '00:19:4F:DB:DD:86'
>
>

Just gets stuck on the > prompt, as BlueMaemo just says "waiting for connection".

VDVsx 2008-10-18 20:21

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by Laughing Man (Post 234577)
Hmm, whenever I try to connect it only shows up as HSP.

vforviktor@vendetta-laptop:~$ hcitool scan
Scanning ...
00:19:4F:DB:DD:86 vendetta-tablet
vforviktor@vendetta-laptop:~$ sudo 'hidd -connect '00:19:4F:DB:DD:86'
>
>

Just gets stuck on the > prompt, as BlueMaemo just says "waiting for connection".

You should skip the ' ,this is just to exemplify :D.
The correct command is: sudo hidd -connect 00:19:4F:DB:DD:86

Laughing Man 2008-10-18 20:29

Re: Introducing BlueMaemo
 
When I tried that it just said hidd was not a valid command (guess it's not installed?). Though I do have bluez..

VDVsx 2008-10-18 20:33

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by Laughing Man (Post 234580)
When I tried that it just said hidd was not a valid command (guess it's not installed?). Though I do have bluez..

Some Bluez version don't have hidd, you can use a graphical interface like kinputwizard (try to call it in a terminal).
Which distro are you using ?

VDVsx 2008-10-18 20:56

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by johnkzin (Post 234584)
Anyone tried using it as a keyboard for their Nokia S60 phone?

I already tried a while ago, and doesn't work with the Nokia BT keyboard app, I know where is the problem but can't fix it. I don't know if exist other's S60 app to connect BT keyboards besides the Nokia app.

johnkzin 2008-10-18 21:02

Re: Introducing BlueMaemo
 
I posted an interest in something like this in the past, so I just wanted to say thanks :-)

I see that it's a port of something like ReMoko for OpenMoko, and your page also mentiones testing the Android G1 ... are you going to port this to the G1, as well?

VDVsx 2008-10-18 21:09

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by johnkzin (Post 234590)
I posted an interest in something like this in the past, so I just wanted to say thanks :-)

I see that it's a port of something like ReMoko for OpenMoko, and your page also mentiones testing the Android G1 ... are you going to port this to the G1, as well?

Where you seen that I'm testing the Android G1 ? I'm not a lucky guy with one of those devices:D.

The should be possible to port this to Android, if Google open the system, right now is impossible to port the app, because the app use some low level code and resource that are not available in the Android Java functions.

steelmaverick 2008-10-18 22:33

Re: Introducing BlueMaemo
 
Woot, awesome! Anyone know if this will work under Ubuntu hardy?

johnkzin 2008-10-18 22:37

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by VDVsx (Post 234592)
Where you seen that I'm testing the Android G1 ? I'm not a lucky guy with one of those devices:D.

Right column of your page, under "recent posts" it says:

Test T-Mobile G1 Now

Which I assume is for the emulator. I wasn't saying you've got one in your hands, just that you seem to have an interest in them, so I was hoping that'd eventually lead to a port of the code.

Quote:

The should be possible to port this to Android, if Google open the system, right now is impossible to port the app, because the app use some low level code and resource that are not available in the Android Java functions.
yeah, I'm hoping someone will make it possible to access the linux layers of the device, and not just the java layers.

For example, I want OpenSSH, and maybe VNC, on it. As well as more bluetooth profiles. These would all be easier if developers could get to the linux layers.

Aisu 2008-10-18 22:39

Re: Introducing BlueMaemo
 
Posting from hardy right now, using my N810 as a keyboard :D

Thank you so much for this great app!!!

steelmaverick 2008-10-18 22:43

Re: Introducing BlueMaemo
 
It says im missing some dependencies, and i have all maemo repos

the main one, maemo extras, and extras development

what am i missing? i am running diablo

steelmaverick 2008-10-18 22:58

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by VDVsx (Post 234573)
The dependencies are almost the same as Canola or Carman have, for example you can easily install the base repository in this link: http://openbossa.indt.org/canola/install_second.html (.install for base rep in the second step).

I installed this repo, and looking in the catalog it shows that i get a 404 error.

gemniii42 2008-10-18 23:39

Re: Introducing BlueMaemo
 
Looks great, locked my PS3 up so I had to pull the plug. :(

Laughing Man 2008-10-19 00:21

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by VDVsx (Post 234581)
Some Bluez version don't have hidd, you can use a graphical interface like kinputwizard (try to call it in a terminal).
Which distro are you using ?

Ubuntu Interprid Inex (Its in beta currently, but due out later this month).

Hmm.. found some info..

Quote:

# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
# you will have bluetooth functionality from your dongle instead of only HID.
# Note that not every bluetooth dongle is capable of switching back to HID
# mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
HID2HCI_ENABLED=1
HID2HCI_UNDO=1
Quote:

The new bluetooth system seems fine when connecting my cellphone, but I don't know how to make it to automatically reconnect my BT mouse after reboot. For previous version I had the "HIDD_ENABLED = 1" in file /etc/default/bluetooth and it just worked, but the new version of that file doesn't contain that line, pluse there is no more hidd command in the system.
~ dngpng (Ubuntu Forums)

Edit: Looks like it got removed for some reason...

allnameswereout 2008-10-19 00:25

Re: Introducing BlueMaemo
 
Had to read this 4 times. Perhaps its the really good wine. If I understand correct with this application one can control a bluetooth-enabled device using the NIT's keyboard, touchscreen (or any other input device connected to the NIT). Seems pretty useful.

gemniii42 2008-10-19 00:37

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by allnameswereout (Post 234626)
Had to read this 4 times. Perhaps its the really good wine. If I understand correct with this application one can control a bluetooth-enabled device using the NIT's keyboard, touchscreen (or any other input device connected to the NIT). Seems pretty useful.

Look at the video.

Thesandlord 2008-10-19 00:44

Re: Introducing BlueMaemo
 
The keymap screen seems to have problems mapping to keys like space and return...

I can't exactly control iTunes without play and pause being space...
Works well on rhythmbox though!

Also, it seems that it is NOT sending media keys (those little volume and play/pause keys on to of the keyboard). This is the best, because it works for almost all media players, even if they are in the background.

johnkzin 2008-10-19 01:44

Re: Introducing BlueMaemo
 
Hm. It wants:

efl-core
python2.5-efl-core
python2.5-ecore
python2.5-edbus
python2.5-evas
python2.5-edje

none of which are in the base catalog ("Nokia Catalog"), nor any of the following catalogs:

Nokia Catalog
Nokia Catalog (3rd party software)
Nokia System Software Updates
maemo Extras
Maemo Chinook
Maemo Extras (diablo)
Maemo hackers (chinook)
tschmidt

So, again, which repositories/catalogs are you pulling those from? (don't say "same as canola" -- I don't use canola, so that means nothing to me).

I would love to install it, test it on my macs, and such, but I need more to go on :-)

steelmaverick 2008-10-19 04:43

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by johnkzin (Post 234655)
Hm. It wants:

efl-core
python2.5-efl-core
python2.5-ecore
python2.5-edbus
python2.5-evas
python2.5-edje

none of which are in the base catalog ("Nokia Catalog"), nor any of the following catalogs:

Nokia Catalog
Nokia Catalog (3rd party software)
Nokia System Software Updates
maemo Extras
Maemo Chinook
Maemo Extras (diablo)
Maemo hackers (chinook)
tschmidt

So, again, which repositories/catalogs are you pulling those from? (don't say "same as canola" -- I don't use canola, so that means nothing to me).

I would love to install it, test it on my macs, and such, but I need more to go on :-)

I'm having the same problem, anyone got a solution? I think it might be the same repo as canola, but different distribution.

Thesandlord 2008-10-19 04:47

Re: Introducing BlueMaemo
 
efl was brought to the tablets BY the canola team, so canola is important. I would recommend installing canola just so it sorts out the dependency issues.

also, try apt-get... It might work better...

qwerty12 2008-10-19 04:55

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by johnkzin (Post 234655)
Hm. It wants:

efl-core
python2.5-efl-core
python2.5-ecore
python2.5-edbus
python2.5-evas
python2.5-edje

none of which are in the base catalog ("Nokia Catalog"), nor any of the following catalogs:

Nokia Catalog
Nokia Catalog (3rd party software)
Nokia System Software Updates
maemo Extras
Maemo Chinook
Maemo Extras (diablo)
Maemo hackers (chinook)
tschmidt

So, again, which repositories/catalogs are you pulling those from? (don't say "same as canola" -- I don't use canola, so that means nothing to me).

I would love to install it, test it on my macs, and such, but I need more to go on :-)

I have those packages available to me, so let me see where it comes from:
Quote:

[2|user@Nokia-N800-36-5|~]apt-cache policy python2.5-ecore
python2.5-ecore:
Installed: 0.3.0+svn36098-maemo2
Candidate: 0.3.0+svn36098-maemo2
Version table:
*** 0.3.0+svn36098-maemo2 0
500 http://repository.maemo.org diablo/free Packages
100 /var/lib/dpkg/status
0.3.0+svn36098-maemo1 0
500 http://repository.maemo.org diablo/free Packages
0.3.0-maemo4 0
500 http://repository.maemo.org diablo/free Packages
500 http://repository.maemo.org diablo/free Packages
0.3.0-maemo3 0
500 http://repository.maemo.org diablo/free Packages
It says diablo/free a lot so I guess that it is this one:
<wrong repo, lemme get right one>

Ok, it is in diablo extras. I see you have 3 repositories for extras, you certainly have no need for the chinook one + you have two others left. disable the non-diablo one.

tso 2008-10-19 05:46

Re: Introducing BlueMaemo
 
kinda fun, even tho it seems windows didnt see it disconnect when i accidentally closed the program.

the scroll area may be a bit small for finger use, and way to sensitive for my taste, even at setting 0.

also, any chance that the media controls can act as multimedia keys on a keyboard? ,y preferred play uses either those or some combo of ctrl+letters. right now, neither is a option from what i can tell...

btw, the dependencies are highly weird. after installing canola, it installs fine. but with canola not installed, it fails to find the python stuff needed...

and it seems i cant install canola, install bluemaemo, uninstall canola and run canola-cleanup, as that will result in the removal of bluemaemo as well :(

Bundyo 2008-10-19 06:29

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by johnkzin (Post 234655)
Hm. It wants:

efl-core
python2.5-efl-core
python2.5-ecore
python2.5-edbus
python2.5-evas
python2.5-edje

none of which are in the base catalog ("Nokia Catalog"), nor any of the following catalogs:

Nokia Catalog
Nokia Catalog (3rd party software)
Nokia System Software Updates
maemo Extras
Maemo Chinook
Maemo Extras (diablo)
Maemo hackers (chinook)
tschmidt

So, again, which repositories/catalogs are you pulling those from? (don't say "same as canola" -- I don't use canola, so that means nothing to me).

I would love to install it, test it on my macs, and such, but I need more to go on :-)

They are in Diablo Extras, but maybe the requirements are for specific newer versions which can be in extras-devel...

BTW, A key assignment dialog like in CompizConfig Settings Manager (of course modified to fit the efl keyboard (and with added F? keys)) will be great :).

jackdoor 2008-10-19 09:20

Re: Introducing BlueMaemo
 
Thanks for the great application.

VDVsx 2008-10-19 09:39

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by gemniii42 (Post 234612)
Looks great, locked my PS3 up so I had to pull the plug. :(

I'm searching for a tester with a PS3 and a internet table, if you are interested contact me :D

VDVsx 2008-10-19 09:41

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by Laughing Man (Post 234625)
Ubuntu Interprid Inex (Its in beta currently, but due out later this month).

Hmm.. found some info..



~ dngpng (Ubuntu Forums)

Edit: Looks like it got removed for some reason...

Did you try to run 'kinputwizard' in a terminal ? It exists by default in my ubuntu hardy.

jackdoor 2008-10-19 09:42

Re: Introducing BlueMaemo
 
I couldn't get it to work with windows media player, does anybody know how to do this?

VDVsx 2008-10-19 09:49

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by Thesandlord (Post 234630)
The keymap screen seems to have problems mapping to keys like space and return...

I can't exactly control iTunes without play and pause being space...
Works well on rhythmbox though!

Also, it seems that it is NOT sending media keys (those little volume and play/pause keys on to of the keyboard). This is the best, because it works for almost all media players, even if they are in the background.

You are right I confirm the bug for the space key map, but the return key works fine for me.
Those media keys are not standard keys, if someone have a bluetooth keyboard with those keys can help extracting the correct keycodes for the service record :D

VDVsx 2008-10-19 09:58

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by tso (Post 234703)
kinda fun, even tho it seems windows didnt see it disconnect when i accidentally closed the program.

the scroll area may be a bit small for finger use, and way to sensitive for my taste, even at setting 0.

also, any chance that the media controls can act as multimedia keys on a keyboard? ,y preferred play uses either those or some combo of ctrl+letters. right now, neither is a option from what i can tell...

btw, the dependencies are highly weird. after installing canola, it installs fine. but with canola not installed, it fails to find the python stuff needed...

and it seems i cant install canola, install bluemaemo, uninstall canola and run canola-cleanup, as that will result in the removal of bluemaemo as well :(

The scroll sensitivity can be increased if you increase the value on the settings profile (0- very sensitive, 1- less sensitive ....).

I probably can add the multimedia keys, but I need some help from someone with a bluetooth keyboard with those keys.

About the dependencies, the UI is made using Python-EFL, so request all the python-efl packages nothing else:D, when the app are a little more stable, and I get permission to upload the app to the extras-repo, the installation will be a lot easier.

VDVsx 2008-10-19 10:11

Re: Introducing BlueMaemo
 
Quote:

Originally Posted by jackdoor (Post 234746)
I couldn't get it to work with windows media player, does anybody know how to do this?

You have to map the buttons in the multimedia profile with the windows media player shortcuts (play, pause, stop...), I don't have windows to see where is this information, but should be in some preferences menu.

Note: The space key can't be mapped due a small bug.


All times are GMT. The time now is 02:14.

vBulletin® Version 3.8.8