Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cell come remote controller via bt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Dec 05, 2007 9:58 am    Post subject: cell come remote controller via bt Reply with quote

sono incappato su amora (http://code.google.com/p/amora/), al di là del fatto che non ci sono ebuilds in giro, qualcuno l'ha mai provato? io ho un symbian (malefico :evil: ) e mi domandavo se pure c'era qualcosa di analogo già testato.
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Dec 05, 2007 1:33 pm    Post subject: Re: cell come remote controller via bt Reply with quote

Peach wrote:
sono incappato su amora (http://code.google.com/p/amora/), al di là del fatto che non ci sono ebuilds in giro, qualcuno l'ha mai provato? io ho un symbian (malefico :evil: ) e mi domandavo se pure c'era qualcosa di analogo già testato.


Un paio di giorni fa ho visto passare nel feed RSS questo tutorial. Prova a darci un occhiata...
_________________
Ciao da me!
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Wed Dec 05, 2007 7:22 pm    Post subject: Reply with quote

Io ho tentato di scrivere qualcosa che funzionasse con gnome e con dbus (gli altri che avevo trovato emulavano le pressioni di tasti della tastiera), riesco a controllare rhythmbox e la sessione (tipo fare il logout, bloccare lo schermo, etc). Se può interessare li posto, sono due file scritti in python.

Segnalo inoltre quest'altro: http://bluepad.sourceforge.net/. é scritto in Java, quindi è compatibile con la maggior parte dei cellulari esistenti.
_________________
Running Fast!
Back to top
View user's profile Send private message
xveilsidex
Guru
Guru


Joined: 27 Dec 2005
Posts: 370
Location: Bari

PostPosted: Sat Dec 08, 2007 3:40 pm    Post subject: Reply with quote

Luca89 wrote:
Io ho tentato di scrivere qualcosa che funzionasse con gnome e con dbus (gli altri che avevo trovato emulavano le pressioni di tasti della tastiera), riesco a controllare rhythmbox e la sessione (tipo fare il logout, bloccare lo schermo, etc). Se può interessare li posto, sono due file scritti in python.

Segnalo inoltre quest'altro: http://bluepad.sourceforge.net/. é scritto in Java, quindi è compatibile con la maggior parte dei cellulari esistenti.


Luca me li faresti vedere?
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Sat Dec 08, 2007 6:07 pm    Post subject: Re: cell come remote controller via bt Reply with quote

randomaze wrote:
Un paio di giorni fa ho visto passare nel feed RSS questo tutorial. Prova a darci un occhiata...


Grazie per la segnalazione, a me funziona abbastanza bene, e devo dire che per gestire Xine è davvero carino 8)

Sì beh, ogni tanto crasha, ma devo dire che è davvero molto promettente :wink:


Una curiosità: per ora ho evitato come la peste il "make install" arrangiangomi in qualche modo. Se lo eseguissi, come posso tornare indietro senza sporcare ovunque il sistema?


Grazie!

edit: usti! non l'avevo notato: https://forums.gentoo.org/viewtopic-t-566951-highlight-anyremote.html
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Sun Dec 09, 2007 1:33 pm    Post subject: Reply with quote

Fatto un po' alla carlona, ma funziona (e anyremote funziona molto bene, qui):
Code:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/ganyremote/ganyremote-2.2.ebuild,v 2.2 2007/05/23 12:47 leio Exp $

inherit autotools eutils

DESCRIPTION="Gnome UI to anyremote"
HOMEPAGE="http://anyremote.sourceforge.net/"
SRC_URI="mirror://sourceforge/anyremote/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""

RDEPEND="app-mobilephone/anyremote
        dev-python/pybluez
        x11-misc/xautomation"

DEPEND="${RDEPEND}
       dev-util/pkgconfig"

DOCS="AUTHORS README NEWS VERSION TODO ChangeLog"

src_unpack() {
        unpack ${A}
}

src_compile() {
        econf --prefix=/usr --datadir=${D}/usr/share/ || die "econf failed"
        emake || die "emake failed"
}

src_install() {
        emake prefix="${D}/usr" install || die "emake install failed"

        dodoc AUTHORS ChangeLog README || die "install doc failed"
}

L'ebuild va chiamato ganyremote-2.2.ebuild

EDIT: senza x11-misc/xautomation ooimpress non funziona correttamente.
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Sun Dec 09, 2007 10:03 pm    Post subject: Reply with quote

xveilsidex wrote:
Luca me li faresti vedere?


Eccoli, questo è il server: http://rafb.net/p/qedrej11.html, e questo il client per PyS60: http://rafb.net/p/eBm30N74.html.

Per utilizzarlo basta lanciare il server da linea di comando (sul pc ovviamente). E poi lanciare lo script python dal cellulare. PyS60 lo si trova qui

Sei hai qualche dubbio o suggerimento fammi sapere ;)
_________________
Running Fast!
Back to top
View user's profile Send private message
xveilsidex
Guru
Guru


Joined: 27 Dec 2005
Posts: 370
Location: Bari

PostPosted: Mon Dec 10, 2007 2:12 pm    Post subject: Reply with quote

questi due link non mi funzionano mi danno errore 404 http://rafb.net/p/qedrej11.html, http://rafb.net/p/eBm30N74.html.
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Mon Dec 10, 2007 2:44 pm    Post subject: Reply with quote

xveilsidex wrote:
questi due link non mi funzionano mi danno errore 404 http://rafb.net/p/qedrej11.html, http://rafb.net/p/eBm30N74.html.
togli la virgola e il punto dalla fine del link ;)
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
xveilsidex
Guru
Guru


Joined: 27 Dec 2005
Posts: 370
Location: Bari

PostPosted: Tue Dec 11, 2007 12:38 pm    Post subject: Reply with quote

koma wrote:
xveilsidex wrote:
questi due link non mi funzionano mi danno errore 404 http://rafb.net/p/qedrej11.html, http://rafb.net/p/eBm30N74.html.
togli la virgola e il punto dalla fine del link ;)

li avevo gia' tolti.. ma nn va ugualmente..
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Tue Dec 11, 2007 1:01 pm    Post subject: Reply with quote

xveilsidex wrote:
koma wrote:
xveilsidex wrote:
questi due link non mi funzionano mi danno errore 404 http://rafb.net/p/qedrej11.html, http://rafb.net/p/eBm30N74.html.
togli la virgola e il punto dalla fine del link ;)

li avevo gia' tolti.. ma nn va ugualmente..
Ora nemmeno a me :)
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Wed Dec 12, 2007 6:38 pm    Post subject: Reply with quote

xveilsidex wrote:
questi due link non mi funzionano mi danno errore 404 http://rafb.net/p/qedrej11.html, http://rafb.net/p/eBm30N74.html.


Dopo 24 ore il sito li ha cancellati, rieccoli:

Client (Script per il telefono) : http://pastebin.com/m45f7b931
Server: http://pastebin.com/m167273cd
_________________
Running Fast!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum