OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> Bluetooth Under Debian Eabi, it works!
jpmatrix
post Sep 24 2007, 03:30 AM
Post #1





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



Bluetooth Dialup Networking How To after a fresh install of Debian Eabi

1) apt-get install bluez-utils

2) customize /etc/bluetooth/hcid.conf :

some tips:

security auto;
pairing multi;
passkey "1234"; (this is where you set the bt PIN code)
lm accept;

3) customize /etc/bluetooth/rfcomm.conf :

example :

rfcomm0 {
bind yes;
device xx:xx:xx:xx:xx:xx; fill with gsm bt address
channel 1;
comment "nokia6630";
}


rfcomm1 {
bind no;
device yy:yy:yy:yy:yy:yy;
fill with GPS bt address
channel 1;
comment "GPSlim236";
}



4) customize /etc/ppp/peers/provider

then reboot

5) plug usb bt dongle dongle
you should have the dongle up,
if not verify that ohci-hcd module is loaded

5) hciconfig should say
hci0: type: usb
up running pscan iscan

6) pon provider

et voila
Go to the top of the page
 
+Quote Post
Chero
post Sep 24 2007, 06:02 AM
Post #2





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(jpmatrix @ Sep 24 2007, 12:30 PM)
hi

can someone report about having bluetooth work under debian titchy ?
i mean having a CF Bluetooth recognized (for example a belkin ft0820!), having file transfers done, and having gsm (nokia?) dialup networking up&working ?

it is my first&last question before jumping into debianzaurus !
*


Using the kernel that came with titchy, I couldn't get bluetooth working. There was a problem with loading the serial_cs module.
Using the pdaX-kernel, I can get bluetooth working, but ATM I have no X.

Chero.
Go to the top of the page
 
+Quote Post
tux
post Sep 24 2007, 10:35 AM
Post #3





Group: Members
Posts: 450
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



QUOTE(Chero @ Sep 24 2007, 02:02 PM)
Using the kernel that came with titchy, I couldn't get bluetooth working. There was a problem with loading the serial_cs module.
Using the pdaX-kernel, I can get bluetooth working, but ATM I have no X.

Chero.
*


cool.gif
I inserted my Socket G bluetooth card. This is what I have so far.

The Socket bluetooth card was recognised and various initialisation messages appeared in dmesg.

Message 1: ..HCI device and connection manager installed
Message 2: ..HCI socket layer initialised
Message 3: ..similar to wifi messages, driver needs updating...IRQ..
Message 4: ..Nokia control data = 0f 00

My ignorance of bluetooth from the command line is deep! rolleyes.gif

So I'll do some research and get back to this thread. I hope some clever type will beat me to the punch. biggrin.gif
Cheers
Go to the top of the page
 
+Quote Post
jpmatrix
post Sep 24 2007, 11:30 AM
Post #4





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



ok
if someone could try a bluetooth usb dongle too that could be great smile.gif
perhaps this one would work
Go to the top of the page
 
+Quote Post
jpmatrix
post Sep 25 2007, 01:11 PM
Post #5





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(jpmatrix @ Sep 24 2007, 09:30 PM)
ok
if someone could try a bluetooth usb dongle too that could be great smile.gif
perhaps this one would work
*


well
1) i've just tried my Belkin FT0820 Bluetooth CF and :
it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx sad.gif

2) tried my MSI BT USB dongle and it seems to be well recognized! i'm trying bt dialup

apt-get install bluez-utils

all seems to work but it seems i've a PIN problem which is described here:
http://www.zedd.nl/?p=8

so we need to compile passkey_agent
Go to the top of the page
 
+Quote Post
jpmatrix
post Sep 26 2007, 12:35 AM
Post #6





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(jpmatrix @ Sep 25 2007, 11:11 PM) *
so we need to compile passkey_agent


could someone quickly compile it and share the binary ?
otherwise i'll have to wait until tonight smile.gif
Go to the top of the page
 
+Quote Post
jpmatrix
post Sep 26 2007, 02:01 AM
Post #7





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



gotcha!
thanks to oesf i found that with that line, the zaurus become bluetooth discoverable:

dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable

then i find it on the phone, entered my pin and pon provider

and it works !!!!!!
Go to the top of the page
 
+Quote Post
tux
post Sep 26 2007, 07:28 AM
Post #8





Group: Members
Posts: 450
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



QUOTE(jpmatrix @ Sep 26 2007, 11:01 AM) *
gotcha!
thanks to oesf i found that with that line, the zaurus become bluetooth discoverable:

dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable

then i find it on the phone, entered my pin and pon provider

and it works !!!!!!

cool.gif Help, where do I set the pin on the Z, or what is the default?

The phone can discover the Z, it calls it deb0. I'm using Socket F Bluetooth card. I installed bluez.
smile.gif

But I suppose I do need to compike passkey-agent anyway! sad.gif Later for that.
Go to the top of the page
 
+Quote Post
jpmatrix
post Sep 26 2007, 10:44 AM
Post #9





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



no need for passkey-agent !

here are some tips:

-/etc/bluetooth/hcid.conf:
security auto;
pairing multi;
passkey "1234"; (this is where you set the PIN)
lm accept;

-/etc/bluetooth/rfcomm.conf:
uncomment and fill with your bt gsm address

-/etc/ppp/peers/provider
i think you've customised it

then

rfcomm bind rfcomm0
pon provider (or pppd call provider)

then your zaurus should reach the phone via bt and dial

if something goes wrong, please post your latest messages in /var/log/messages
Go to the top of the page
 
+Quote Post
tux
post Sep 26 2007, 11:05 AM
Post #10





Group: Members
Posts: 450
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



QUOTE(jpmatrix @ Sep 26 2007, 07:44 PM) *
no need for passkey-agent !

here are some tips:

-/etc/bluetooth/hcid.conf:
security auto;
pairing multi;
passkey "1234"; (this is where you set the PIN)
lm accept;

-/etc/bluetooth/rfcomm.conf:
uncomment and fill with your bt gsm address

-/etc/ppp/peers/provider
i think you've customised it

then

rfcomm bind rfcomm0
pon provider (or pppd call provider)

then your zaurus should reach the phone via bt and dial

if something goes wrong, please post your latest messages in /var/log/messages

cool.gif Cheers I should have been able to find all this with a forum search shouldn'tI! sad.gif Thanks for the tips. biggrin.gif
Go to the top of the page
 
+Quote Post
jpmatrix
post Sep 27 2007, 01:46 AM
Post #11





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



good surprise for me:

i'm using my msi bt dongle to download from my umts provider and i now have better download bandwith compared to my Belkin CF BT (used in angstrom or pdaxii13) ! i'm near 40 Kb/s with USB BT whereas i was at 9 Kb/s with my CF BT!!! (data given by apt-get)

do you think this come from the kernel or the usb bus ???
Go to the top of the page
 
+Quote Post
jpmatrix
post Sep 30 2007, 09:46 AM
Post #12





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



you know what ? i'm happy: i succeed in having my bluetooth dialup AND my bluetooth GPS to work at the same time!!
for those interested, you just have to add an rfcomm1 device in rfcomm.conf,
then rfcomm bind rfcomm1
and it works!!!
Go to the top of the page
 
+Quote Post
tux
post Oct 1 2007, 09:12 AM
Post #13





Group: Members
Posts: 450
Joined: 12-August 03
From: Leeds, UK
Member No.: 346



cool.gif Ping jpmatrix Ping jpmatrix Ping jpmatrix Ping jpmatrix ....

Thanks for you contribution to the TitchyLinux peripheral page. biggrin.gif Have you not been able to register with the Wiki? If there is a problem, please respond in the OESF Wiki thread. I'll put a new topic there for any such problems. smile.gif

It helps in the fight against spam and gibber bots if you do register.

It helps in editing and discussions about the Wiki, on the Wiki, if you also put something, at least your id, onto your User page. You can also click on the Discuss this page link and explain why you have altered something.

Cheers
biggrin.gif
Go to the top of the page
 
+Quote Post
Chero
post Oct 2 2007, 11:41 AM
Post #14





Group: Members
Posts: 1,141
Joined: 22-April 04
From: Belgium
Member No.: 2,962



QUOTE(jpmatrix @ Sep 25 2007, 11:11 PM) *
1) i've just tried my Belkin FT0820 Bluetooth CF and :
it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx sad.gif


I had the same with my billionton xars so
I switched to kernel 2.6.22 . Now the messages are gone !
(symbol spectrum wifi also works like a charm)

Now I'll have to figure out what's next, cause the usual "setserial" doesn't seem to work ... sad.gif

Any hints ?

Chero.
Go to the top of the page
 
+Quote Post
jpmatrix
post Oct 2 2007, 12:31 PM
Post #15





Group: Members
Posts: 1,019
Joined: 15-February 05
From: France
Member No.: 6,477



QUOTE(Chero @ Oct 2 2007, 09:41 PM) *
QUOTE(jpmatrix @ Sep 25 2007, 11:11 PM) *
1) i've just tried my Belkin FT0820 Bluetooth CF and :
it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx sad.gif


I had the same with my billionton xars so
I switched to kernel 2.6.22 . Now the messages are gone !
(symbol spectrum wifi also works like a charm)

Now I'll have to figure out what's next, cause the usual "setserial" doesn't seem to work ... sad.gif

Any hints ?

Chero.


kernel 2.6.22 ??? where is it ? where is it ??? smile.gif

to have my belkin work under angstrom, i had to type:
hciattach /dev/ttyS4 bcsp

hope this helps!
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 05:16 PM