Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]: Nokia & Bluetooth @ Linux :)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
^Sporting^
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2003
Posts: 131
Location: 009°11'28'' E 045°36'39'' N

PostPosted: Wed Dec 10, 2003 7:32 pm    Post subject: Reply with quote

Veramente io openobex l'ho installato dal portage. Ma a darmi problemi era la compilazione di ussp-push... o sono lo stesso programma sotto due nomi diversi?
Ma se cosi' fosse dovrei ritrovarmi il cmd ussp-push da qlche parte...ma cosi' nn e'... :?
Ci sono un po' troppe cose che nn mi tornano.... :?
Seguendo la guida li cita come due programmi differenti, tra cui le openobex-apps nn presenti nel portage ma che, cmq mi ha compilato facendo come descritto nella guida. E' ussp-push che mi da' l'errore quando faccio make nella sua dir scompattata..
Mi aiutate solo a chiarire queste cose? :oops: :wink:
Bye!
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Wed Dec 24, 2003 6:09 pm    Post subject: Reply with quote

Qualcuno ha provato tutto ciò con kernel 2.6.0? Dopo aver configurato senza problemi una connessione gprs con 2.4.x non sono riuscito a fare altrettanto.

Il kernel è configurato allo stesso modo, il caricamento dei moduli va a buon fine:

Code:

Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.1
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.0
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized


Eseguendo il bind del telefono con il piccolo script creato ad hoc non ottengo errori:

Code:

#!/bin/sh
modprobe rfcomm
hcid
rfcomm bind /dev/rfcomm0 xx:xx:xx:xx:xx:xx 1


Tuttavia, ad ogni tentativo di accedere al device:

Code:

$ cat /dev/rfcomm0
cat: /dev/rfcomm0: No route to host


A questo punto, ho controllato anche con "hcitool scan", ma nonostante hcid e sdpd siano caricati ottengo sempre:

Code:

# hcitool scan
Device is not available.: Success


Nei log non mi sembra di vedere nulla di anomalo.

Qualche suggerimento?

---EDIT---

A quanto pare panettone e spumante cominciano a fare effetto... :)

Ecco il problema. All'inserimento del dongle bluetooth:

Code:

hub 2-0:1.0: new USB device on port 1, assigned address 3
Bluetooth: HCI USB driver ver 2.4
hci_usb: probe of 2-1:1.1 failed with error -5
hci_usb: probe of 2-1:1.2 failed with error -5
drivers/usb/core/usb.c: registered new driver hci_usb


ma la sostanza non cambia: connessione gprs inutilizzabile con il 2.6.0... :cry:
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Wed Dec 24, 2003 8:38 pm    Post subject: Reply with quote

http://kde-bluetooth.sourceforge.net (ZI ZI ZI sono uno dei tre sviluppatori e mi diletto a rompere le balle ai gentooisti come me)

Buon NATALE!!!
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sun Dec 28, 2003 11:26 pm    Post subject: Reply with quote

Per quanto riguarda i miei problemi con il 2.6 ho scoperto che scollegando e ricollegando il dongle usb questo comincia inspiegabilmente a funzionare...

Code:

usb 2-1: USB disconnect, address 2
hub 2-0:1.0: new USB device on port 1, assigned address 4
Bluetooth: HCI USB driver ver 2.4
hci_usb: probe of 2-1:1.1 failed with error -5
hci_usb: probe of 2-1:1.2 failed with error -5
drivers/usb/core/usb.c: registered new driver hci_usb
hci_usb_isoc_rx_submit: hci0 isoc rx submit failed urb d4ac6614 err -22


mah... :roll:
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sat Jan 03, 2004 11:10 pm    Post subject: Reply with quote

motaboy wrote:
http://kde-bluetooth.sourceforge.net (ZI ZI ZI sono uno dei tre sviluppatori e mi diletto a rompere le balle ai gentooisti come me)


Code:


[...]

Making all in libkobex
make[2]: Entering directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218/libkobex'
/usr/qt/3/bin/moc ./obex.h -o obex.moc
/usr/qt/3/bin/moc ./obexbluetooth.h -o obexbluetooth.moc
/usr/qt/3/bin/moc ./obexclient.h -o obexclient.moc
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obexheader.lo `test -f 'obexheader.cpp' || echo './'`obexheader.cpp
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obexobject.lo `test -f 'obexobject.cpp' || echo './'`obexobject.cpp
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
/usr/qt/3/bin/moc ./obexserver.h -o obexserver.moc
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obex.lo `test -f 'obex.cpp' || echo './'`obex.cpp
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obexbluetooth.lo `test -f 'obexbluetooth.cpp' || echo './'`obexbluetooth.cpp
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
obex.cpp: In member function `void Obex::slotHandleInput(int)':
obex.cpp:185: `::close' undeclared (first use here)
make[2]: *** [obex.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218/libkobex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218'
make: *** [all] Error 2

!!! ERROR: net-wireless/kdebluetooth-20031218 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make


sto usando l'ebuild disponibile sul sito... qualche suggerimento?
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sun Jan 04, 2004 12:29 am    Post subject: Reply with quote

^Sporting^ wrote:

Il sospetto lo avevo...x nn saper ne legger ne scrivere, avevo provato a fare make nella dir scompattata...ma mi da un errore... :cry: ...so sfigato....
Code:
bash-2.05b# make
gcc -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c obex_main.c -o obex_main.o
obex_main.c: In function `__obex_connect':
obex_main.c:224: error: structure has no member named `userdata'
make: *** [obex_main.o] Error 1


Scusa ma ho provato solo adesso ad usare openobex e ho appena finito di dare un'occhiata a ussp-push.

Effettivamente dà lo stesso errore anche da me.

Per prima cosa edita il Makefile cambiando le variabili relative alle directory di openobex, così:

Code:

OBEXINC=-I/usr/include
OBEXLIB=-L/usr/lib -lopenobex


Poi, nella directory dei sorgenti di ussp-push modifica in obex_main.c la riga 224 da così:

Code:

custfunc.userdata = gt->userdata;


a così

Code:

custfunc.customdata = gt->userdata;


(eh sì, è proprio un bug! :))

e ridai il make. In questo modo compila e l'eseguibile funziona.
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Jan 04, 2004 1:55 pm    Post subject: Reply with quote

MyZelF wrote:


Code:


[...]

Making all in libkobex
make[2]: Entering directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218/libkobex'
/usr/qt/3/bin/moc ./obex.h -o obex.moc
/usr/qt/3/bin/moc ./obexbluetooth.h -o obexbluetooth.moc
/usr/qt/3/bin/moc ./obexclient.h -o obexclient.moc
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obexheader.lo `test -f 'obexheader.cpp' || echo './'`obexheader.cpp
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obexobject.lo `test -f 'obexobject.cpp' || echo './'`obexobject.cpp
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
/usr/qt/3/bin/moc ./obexserver.h -o obexserver.moc
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obex.lo `test -f 'obex.cpp' || echo './'`obex.cpp
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/include -I/usr/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o obexbluetooth.lo `test -f 'obexbluetooth.cpp' || echo './'`obexbluetooth.cpp
rm: cannot remove `': Invalid argument
rm: cannot remove `': Invalid argument
obex.cpp: In member function `void Obex::slotHandleInput(int)':
obex.cpp:185: `::close' undeclared (first use here)
make[2]: *** [obex.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218/libkobex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-20031218/work/kdebluetooth-20031218'
make: *** [all] Error 2

!!! ERROR: net-wireless/kdebluetooth-20031218 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make


sto usando l'ebuild disponibile sul sito... qualche suggerimento?


Scusate ragazzi, è il solito problema del pifferone che mi fa incazzare.
Il fatto è che quando usi il namespace std come in questo caso per la chimata a ::close() con il mio sistema gentoo funziona mentre con altri no e perciò questo errore non riesco a riprodurlo.

Bisogna solamente aggiungere un bel

Code:
 include <unistd.h>


al file obexbluetooth.cpp

Cmq nel mentre faccio un altro ebuild potete usare la versione precedente per testare il programma (non dovrebbero esserci grossi cambiamenti a perte qualche bug-fix)

Bye!
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Mon Jan 05, 2004 12:06 pm    Post subject: Reply with quote

motaboy wrote:

Bisogna solamente aggiungere un bel

Code:
 include <unistd.h>


al file obexbluetooth.cpp


ok, così compila, ma il file a cui bisogna aggiungere l'include è obex.cpp e non obexbluetooth.cpp... :)
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Jan 05, 2004 12:58 pm    Post subject: Reply with quote

Quote:
ok, così compila, ma il file a cui bisogna aggiungere l'include è obex.cpp e non obexbluetooth.cpp...


Ormai metto dei bluetooth dappertutto 8O

:twisted: Proprio sicuri che non faccia male? :twisted:

Bye!
Back to top
View user's profile Send private message
mrgamer
Apprentice
Apprentice


Joined: 09 Dec 2003
Posts: 151
Location: Italy, near Rome

PostPosted: Sun Jan 11, 2004 9:16 pm    Post subject: Reply with quote

salve ragazzi.. sto usando il kernel 2.6 e sono riuscito a far andare l'obex

ho usato i driver del kernel (Quelli sotto networking) + bluez-utils

in questo modo se faccio partire hcid all'avvio mi da problemi, quindi una volta inserito il dongle usb, devo andare come root e dare "hciconfig hci0 up", quindi posso usare hcitool e altri programmi (ma solo da root)

per trasferire file uso gnome-bluetooth che include dei comandi per l'obex (volevo dei programmi da console, ma non ne ho trovati :P :P), il mio GROSSO problema e' che devo trasferire i file sulla memory card, invece che nel telefono, poiche sono MOLTO GRANDI

avete idea di come possa fare ? (sto provando obexftp.. ma non si collega neanche a fucilate :P)
Back to top
View user's profile Send private message
Centurion610
Tux's lil' helper
Tux's lil' helper


Joined: 06 May 2003
Posts: 89
Location: Italy: Florence<->Naples

PostPosted: Tue Jan 27, 2004 3:31 pm    Post subject: Reply with quote

Ciao,
ho seguito l'howto se nza aver prb fino a questo punto
Code:
ussp-push /dev/rfcomm0 nome_immagine_locale.jpg nome_immagine_remota.jpg
 

mi da queto errore:
Code:
bash: ussp-push: command not found

a cosa è dovuto?
Ho modificato i file di ussp-push per poterli compilare, e credo di aver fatto qualche errore.
Ho installato openobex da emerge e openobex-apps manualmente (nella directory /home), ussp-push in /usr/src
Ciao
Cent
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Tue Jan 27, 2004 6:17 pm    Post subject: Reply with quote

o copi l'eseguibile di ussp-push in una directory compresa in $PATH

o aggiungi a $PATH la directory dove è contenuto l'eseguibile

o dai il path completo per lanciarlo

Code:
/la/directory/ussp-push [argomenti]


o, se sei nella directory, dove è contenuto l'eseguibile lo lanci con

Code:
./ussp-push


(queste considerazioni valgono per qualunque eseguibile)
Back to top
View user's profile Send private message
Centurion610
Tux's lil' helper
Tux's lil' helper


Joined: 06 May 2003
Posts: 89
Location: Italy: Florence<->Naples

PostPosted: Tue Jan 27, 2004 7:26 pm    Post subject: Reply with quote

Grazie,
ho risolto, avevo fatto un paio di errori nel modificare il makefile.
Ciao
Cent
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sun Mar 14, 2004 3:28 pm    Post subject: Reply with quote

ragazzi ma per il kernel 2.6 i bluez non ci sono!? :O
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Mar 14, 2004 4:39 pm    Post subject: Reply with quote

dehehe, certo che ci sono! (se no come farei :-( )

L'unica cosa è che il modulo principale ha cambiato nome ed adesso si chiama "bluetooth" e non più "bluez". tutti gli altri sono restati invariati.

Nella compilazione devi andare sotto

Device Drivers -> Networking support -> Bluetooth Support.

Bye!
_________________
...
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sun Mar 14, 2004 7:06 pm    Post subject: Reply with quote

infatti, dopo un po' ci sono riuscito a vederlo XD

adeso ho qualche problema di compilazione con ussp che spero di risolvere, grazie cmq per la risposta :)
Back to top
View user's profile Send private message
sciack
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 120
Location: Genoa, Italy.

PostPosted: Sun Mar 14, 2004 11:07 pm    Post subject: dongleUSB/BT o supporto bluetooth on-board?! Reply with quote

Ciao a tutti,

è un po' che non scrivo... chi di voi con un po' di pazienza mi chiarisce qualche passaggio che non ho ben capito?!?

allora il dongle USB->BT è il supporto bluetooth (che si collega tramite USB) per i computer che non lo hanno implementato on-board, giusto?

ma se, come nel mio caso, lo avessi già implementato (sulla mia ASUS ho il bluetooth), come posso configurarlo? Vi sento sempre e solo parlare di sti dongle... non c'è altro modo?

please chiaritemi un po' le mie idee....

bye bye
_________________
the sciack
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Mar 14, 2004 11:19 pm    Post subject: Reply with quote

Se ce l'hai implementato basta farlo partire... :-)

Innanzitutto devi avere compilati i moduli necessari al bluetooth.
Per vedere se è supportato ti consiglio di guardare qua:

http://www.holtmann.org/linux/bluetooth/devices.html

sfortunatamente non vedo asus...

inoltre qua ci sono un sacco di docs.

http://www.holtmann.org/linux/bluetooth/

Bisognerebbe sapere il modello di device bluetooth (magari lspci), alcuni necessitano di programmi aggiuntivi e/o bisogna caricarci il firmware.

Facci sapere.

Bye!
_________________
...
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Mar 14, 2004 11:24 pm    Post subject: Reply with quote

aggiuntina:

alcuni sono veri e propri device USB ma implementati all'interno della scheda madre e perciò lsusb dovrebbe mostrarli. Di solito sono disabilitati e sono necessarie delle utility+moduli per abilitarli. Vedi gli howto relativi ai Toshiba o al Sony Vaio.

bye!
_________________
...
Back to top
View user's profile Send private message
sciack
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2002
Posts: 120
Location: Genoa, Italy.

PostPosted: Mon Mar 15, 2004 12:47 am    Post subject: Reply with quote

capisco... allora c'è bisogno di una indagine più accurata speravo fosse un po' più semplice... ho detto una c*****a ho una MSI non una asus... cmq controllo.. grazie di tutto!!

bye
_________________
the sciack
Back to top
View user's profile Send private message
masterix
n00b
n00b


Joined: 16 Mar 2004
Posts: 15

PostPosted: Sun Apr 25, 2004 8:55 am    Post subject: problemini... Reply with quote

Se lancio 'hcitool scan' ottengo come risposta:

root@dookie log # hcitool scan
Device is not available: Success
root@dookie log #

Ho seguito la guida passo passo... ma il problema è sempre lo stesso! Qualche idea?

Se faccio 'cat /dev/rfcomm0' mi rimane in attesa e il # della console non mi torna finché non dò un bel CTRL+C.

Scollegando e ricollegando il dongle Digicom Palladio usb, ottengo tra i log del kernel il seguente messaggio:

Code:

Apr 25 12:46:58 dookie kernel: ehci_hcd 0000:00:02.2: GetStatus port 1 status 001002 POWER sig=se0  CSC
Apr 25 12:46:58 dookie kernel: hub 1-0:1.0: port 1, status 100, change 1, 12 Mb/s
Apr 25 12:46:58 dookie kernel: ehci_hcd 0000:00:02.2: GetStatus port 3 status 003802 POWER OWNER sig=j  CSC
Apr 25 12:46:58 dookie kernel: hub 1-0:1.0: port 3, status 0, change 1, 12 Mb/s
Apr 25 12:46:58 dookie kernel: ehci_hcd 0000:00:02.2: GetStatus port 6 status 003802 POWER OWNER sig=j  CSC
Apr 25 12:46:58 dookie kernel: hub 1-0:1.0: port 6, status 0, change 1, 12 Mb/s
Apr 25 12:46:58 dookie kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00030100 PESC CSC PPS
Apr 25 12:46:58 dookie kernel: hub 2-0:1.0: port 1, status 100, change 3, 12 Mb/s
Apr 25 12:46:58 dookie kernel: usb 2-1: USB disconnect, address 2
Apr 25 12:46:58 dookie kernel: usb 2-1: usb_disable_device nuking all URBs
Apr 25 12:46:58 dookie kernel: usb 2-1: unregistering interface 2-1:1.0
Apr 25 12:46:58 dookie kernel: usb 2-1:1.0: hotplug
Apr 25 12:46:58 dookie kernel: usb 2-1: unregistering interface 2-1:1.1
Apr 25 12:46:58 dookie kernel: usb 2-1:1.1: hotplug
Apr 25 12:46:58 dookie kernel: usb 2-1: unregistering interface 2-1:1.2
Apr 25 12:46:58 dookie kernel: usb 2-1:1.2: hotplug
Apr 25 12:46:58 dookie kernel: usb 2-1: unregistering device
Apr 25 12:46:58 dookie kernel: usb 2-1: hotplug
Apr 25 12:46:58 dookie kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00020100 PESC PPS
Apr 25 12:46:58 dookie kernel: hub 2-0:1.0: port 1 enable change, status 100
Apr 25 12:47:01 dookie kernel: ehci_hcd 0000:00:02.2: GetStatus port 1 status 001803 POWER sig=j  CSC CONNECT
Apr 25 12:47:01 dookie kernel: hub 1-0:1.0: port 1, status 501, change 1, 480 Mb/s
Apr 25 12:47:01 dookie kernel: hub 1-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x501
Apr 25 12:47:01 dookie kernel: ehci_hcd 0000:00:02.2: port 1 full speed --> companion
Apr 25 12:47:01 dookie kernel: ehci_hcd 0000:00:02.2: GetStatus port 1 status 003001 POWER OWNER sig=se0  CONNECT
Apr 25 12:47:01 dookie kernel: ehci_hcd 0000:00:02.2: GetStatus port 3 status 003802 POWER OWNER sig=j  CSC
Apr 25 12:47:01 dookie kernel: hub 1-0:1.0: port 3, status 0, change 1, 12 Mb/s
Apr 25 12:47:01 dookie kernel: ehci_hcd 0000:00:02.2: GetStatus port 6 status 003802 POWER OWNER sig=j  CSC
Apr 25 12:47:01 dookie kernel: hub 1-0:1.0: port 6, status 0, change 1, 12 Mb/s
Apr 25 12:47:01 dookie kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS
Apr 25 12:47:01 dookie kernel: hub 2-0:1.0: port 1, status 101, change 1, 12 Mb/s
Apr 25 12:47:01 dookie kernel: hub 2-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101
Apr 25 12:47:01 dookie kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
Apr 25 12:47:01 dookie kernel: usb 2-1: new full speed USB device using address 3
Apr 25 12:47:02 dookie kernel: usb 2-1: skipped 1 class/vendor specific interface descriptors
Apr 25 12:47:02 dookie kernel: usb 2-1: new device strings: Mfr=0, Product=2, SerialNumber=0
Apr 25 12:47:02 dookie kernel: usb 2-1: default language 0x0409
Apr 25 12:47:02 dookie kernel: usb 2-1: Product: Bluetooth USB Adapter
Apr 25 12:47:02 dookie kernel: usb 2-1: hotplug
Apr 25 12:47:02 dookie kernel: usb 2-1: adding 2-1:1.0 (config #1, interface 0)
Apr 25 12:47:02 dookie kernel: usb 2-1:1.0: hotplug
Apr 25 12:47:02 dookie kernel: usb 2-1: adding 2-1:1.1 (config #1, interface 1)
Apr 25 12:47:02 dookie kernel: usb 2-1:1.1: hotplug
Apr 25 12:47:02 dookie kernel: usb 2-1: adding 2-1:1.2 (config #1, interface 2)
Apr 25 12:47:02 dookie kernel: usb 2-1:1.2: hotplug
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Apr 25, 2004 11:24 am    Post subject: Reply with quote

L'output di dmesg sembra giusto.

Poi postare cosa dice (eseguito da root) "hciconfig"?

con hciconfig dovresti vedere se il device è: UP RUNNING PSCAN ISCAN.
se non lo è hai avviato "hcid" ed "sdpd"?

Bye!
_________________
...
Back to top
View user's profile Send private message
masterix
n00b
n00b


Joined: 16 Mar 2004
Posts: 15

PostPosted: Sun Apr 25, 2004 4:38 pm    Post subject: Reply with quote

root@dookie masterix # hciconfig hci0 up
Can't get device info: No such device
root@dookie masterix #
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Sun Apr 25, 2004 5:28 pm    Post subject: Reply with quote

L'output di dmesg mi sembrava giusto perchè ero ancora addormententato...

Mancano i moduli del bluetooth.
Ci sono 2 possibilità.

1) non li hai compilati.
2) li hai compilati ma non hai attivo hotplug.

prova a caricarli a mano.
Code:

modprobe bluetooth (o bluex per il 2.4)
modprobe hci_usb
modprobe rfcomm


Ovviamente devono essere attivi anche hcid e sdpd.

Bye!
_________________
...
Back to top
View user's profile Send private message
masterix
n00b
n00b


Joined: 16 Mar 2004
Posts: 15

PostPosted: Sun Apr 25, 2004 9:16 pm    Post subject: Reply with quote

bluetooth ricordo di averlo messo come statico... hci_usb anche...
rfcomm è modulo e lo carico senza errori.

Ora ho fatto:
rc-update -a hotplug default

Dovrebbe essere questo! Ora riavvio e vi faccio sapere!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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