OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: jpmatrix on September 24, 2007, 07:30:03 am
-
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
-
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 !
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167865\"][{POST_SNAPBACK}][/a][/div]
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.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167869\"][{POST_SNAPBACK}][/a][/div]
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!
So I'll do some research and get back to this thread. I hope some clever type will beat me to the punch.
Cheers
-
ok
if someone could try a bluetooth usb dongle too that could be great
perhaps this one would work
-
ok
if someone could try a bluetooth usb dongle too that could be great
perhaps this one would work
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=167894\")
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
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:
[a href=\"http://www.zedd.nl/?p=8]http://www.zedd.nl/?p=8[/url]
so we need to compile passkey_agent
-
so we need to compile passkey_agent
could someone quickly compile it and share the binary ?
otherwise i'll have to wait until tonight
-
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 !!!!!!
-
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 !!!!!!
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.
But I suppose I do need to compike passkey-agent anyway! Later for that.
-
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
-
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
Cheers I should have been able to find all this with a forum search shouldn'tI! Thanks for the tips.
-
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 ???
-
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!!!
-
Ping jpmatrix Ping jpmatrix Ping jpmatrix Ping jpmatrix ....
Thanks for you contribution to the TitchyLinux peripheral page. 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.
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
-
1) i've just tried my Belkin FT0820 Bluetooth CF and :
it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx
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 ...
Any hints ?
Chero.
-
1) i've just tried my Belkin FT0820 Bluetooth CF and :
it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx
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 ...
Any hints ?
Chero.
kernel 2.6.22 ??? where is it ? where is it ???
to have my belkin work under angstrom, i had to type:
hciattach /dev/ttyS4 bcsp
hope this helps!
-
1) i've just tried my Belkin FT0820 Bluetooth CF and :
it has 4 lines of complains about serial_cs: unknown symbol serial8250_xxxx
I had the same with my billionton card 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 ...
Any hints ?
Chero.
kernel 2.6.22 ??? where is it ? where is it ???
to have my belkin work under angstrom, i had to type:
hciattach /dev/ttyS4 bcsp
hope this helps!
I'll check it out this evening. (my bluetooth card is at home)
Where is the kernel :
I downloaded the latest spitz images from the angstrom site.
Then I first copied the modules from the hdimage1.tgz to the correct place.
I put updater.sh together with ZImage.bin on an SD card and flashed the new kernel.
(don't put the hdimage on the card !!!!)
Chero.
-
Off topic:
How is the 2.6.22 kernel running in general? What are the major improvements over 2.6.20 (like sound, speed, etc)?
I am trying the older 2.6.17 kernel with fastfpe and cpufreq, and I now find the way to force the system to load my Ambicom WL1100C. Generally I find the system with the 2.6.17 kernel more responsive than the 2.6.20 in titchy, at least when running xfce4 (so many gnome stuff) and iceweasel.
-
Off topic:
How is the 2.6.22 kernel running in general? What are the major improvements over 2.6.20 (like sound, speed, etc)?
I am trying the older 2.6.17 kernel with fastfpe and cpufreq, and I now find the way to force the system to load my Ambicom WL1100C. Generally I find the system with the 2.6.17 kernel more responsive than the 2.6.20 in titchy, at least when running xfce4 (so many gnome stuff) and iceweasel.
- Not sure whether speed is different - I haven't been testing this.
- The mouse is still "rotated".
- both my wifi cards are recognized out of the box, without having two interfaces (wlan0 and wifi0)
- my bluetooth-CF forces the serial_cs module to load without errors
- sound : I'll check that one
so in general I think it has some benefits.
Chero.
-
Where is the download location? I tried to find it but get lost ...
The only place I can find is here http://www.angstrom-distribution.org/unsta...spitz/20070917/ (http://www.angstrom-distribution.org/unstable/images/spitz/20070917/), but which one?
[ ] Angstrom-x11-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz 17-Sep-2007 09:48 17M
[ ] Angstrom-x11-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz.md5 17-Sep-2007 09:48 170
[ ] Angstrom-x11-office-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz 17-Sep-2007 10:29 45M
[ ] Angstrom-x11-office-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz.md5 17-Sep-2007 10:29 177
[ ] Angstrom-x11-pimlico-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz 17-Sep-2007 09:53 20M
[ ] Angstrom-x11-pimlico-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz.md5
Also does hwclock work in 2.6.22? I cannot access the system clock after switching to 2.6.17 (complaint about missing /etc/rtc ).
-
Where is the download location? I tried to find it but get lost ...
The only place I can find is here http://www.angstrom-distribution.org/unsta...spitz/20070917/ (http://www.angstrom-distribution.org/unstable/images/spitz/20070917/), but which one?
[ ] Angstrom-x11-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz 17-Sep-2007 09:48 17M
[ ] Angstrom-x11-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz.md5 17-Sep-2007 09:48 170
- Angstrom-x11-office-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz 17-Sep-2007 10:29 45M
[ ] Angstrom-x11-office-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz.md5 17-Sep-2007 10:29 177
[ ] Angstrom-x11-pimlico-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz 17-Sep-2007 09:53 20M
[ ] Angstrom-x11-pimlico-image-glibc-ipk-2007.9-test-20070917-spitz-installkit.tgz.md5
Also does hwclock work in 2.6.22? I cannot access the system clock after switching to 2.6.17 (complaint about missing /etc/rtc ).
I used the big one. Not sure if it's any different for the others, I suppose the only difference are the included apps.
I suppose it does : I didn't loose time-settings on reboot and I can use it to query the clock. (I use "date" to change settings, not sure what is called by it but it works)
Chero.
-
Thank. I just choose the small one. Will start over again.
The 2.6.22 kernel seems to have the cpufreq patch. Can you play with dvfm?
dvfm 16 4 1 2 1 # 416 mhz
dvfm 16 5 1 2 1 # 520 mhz
dvfm 16 6 1 2 1 # 624 mhz
-
dvfm: command not found
-
dvfm: command not found
same for me!
i've just upgraded titchy to kernel 2.6.22
tried my belkin bt CF card and ... it works!
though i had to hciattach /dev/ttyS4 bcsp
bad news: i've broker my X server
i wanted to disable auto X login on boot
so i update-rd.c -f remove xdm
then apt-get remove xdm
now /opt/kdrive/Xfbdev complains about libXfont.so.1 that it cannot found............
any help please???????
-
dvfm: command not found
bad news: i've broker my X server
i wanted to disable auto X login on boot
so i update-rd.c -f remove xdm
then apt-get remove xdm
now /opt/kdrive/Xfbdev complains about libXfont.so.1 that it cannot found............
any help please???????
How about reinstalling the libxfont1 package?
-
dvfm: command not found
bad news: i've broker my X server
i wanted to disable auto X login on boot
so i update-rd.c -f remove xdm
then apt-get remove xdm
now /opt/kdrive/Xfbdev complains about libXfont.so.1 that it cannot found............
any help please???????
How about reinstalling the libxfont1 package?
Did you only remove xdm or also the so-called not longer needed packages ?
Maybe just apt-get install xdm again and only remove it from rc.d.
At least your BT card works ....
Chero.
-
- Not sure whether speed is different - I haven't been testing this.
- The mouse is still "rotated".
- both my wifi cards are recognized out of the box, without having two interfaces (wlan0 and wifi0)
- my bluetooth-CF forces the serial_cs module to load without errors
- sound : I'll check that one
My ambicom wifi card cannot work again after switching to 2.6.22. Falling back to 2.6.20 it works just fine. Why?
-
dvfm: command not found
bad news: i've broker my X server
i wanted to disable auto X login on boot
so i update-rd.c -f remove xdm
then apt-get remove xdm
now /opt/kdrive/Xfbdev complains about libXfont.so.1 that it cannot found............
any help please???????
How about reinstalling the libxfont1 package?
Did you only remove xdm or also the so-called not longer needed packages ?
Maybe just apt-get install xdm again and only remove it from rc.d.
At least your BT card works ....
Chero.
playing with apt-get i succeed in reinstalling things... but now i can only log to X as root... it says my usual user is forbidden...
i guess i'd find the answer on google but feel free to help me
guys we're trashing this bluetooth thread! what about opening a new kernel 2.6.22 thread?
and using wifi thread for wifi related problems ? i'll try my asus wl110 with kernel 2.6.22 to see if it continues to work though
-
Good suggestion about a new thread - you took the words right out of my mouth ...
Can't test anything now - I'm creating a rootfs tarball
My kids are using both my home-boxes and all I have left is my second Zaurus, so feel free to start the thread already.
Edit : new thread created
Chero.
-
tested download speed with my belkin FT0820: speed seems limited to 9342 B/s .... (that was the same with angstrom)
with my MSI 6970 USB BT dongle, speed limit was about 43 Kb/s !
little bit disappointed....where is the bottleneck ? CF bus ? belkin limit ??
-
each time i plug my belkin cf bt card or when i resume from suspend, i've to type
hciattach /dev/ttyS4 bcsp
for it to work
do you know a way to do that automaticaly ?
-
each time i plug my belkin cf bt card or when i resume from suspend, i've to type
hciattach /dev/ttyS4 bcsp
for it to work
do you know a way to do that automaticaly ?
http://lkrauss.de/zaurus/billionton-cfbt02-b2.php (http://lkrauss.de/zaurus/billionton-cfbt02-b2.php)
Check the site above (it's in german), especially the /etc/bluetooth/uart file. My guess is you have to do something like that to make it work.
Chero.
-
argh!
i've just tried again my belkin cf under debian eabi kernel 2.6.23 and it no longer works !!!
the card is discovered but when i hciattach it, it keeps on sending error messages that fill the screen without any chance to type something:
bcsp_recv: Error in BCSP hdr checksum
bcsp_recv: Short BCSP packet
i'll google to find out but anyone succeed in ? i'll try my msi bt dongle too
-
my MSI usb BT dongle is working under debian eabi.
so i could have a bt dialup networking with my nokia gsm.
i update the top thread for now; i don't know what is happening about my Belkin CF BT...
-
I am having a bit of trouble getting my (Socket Rev G I think) bluetooth card working
would like to use PPP via GPRS, had this working OK in pdaXrom
yonggon kernel 2.6.23.9
I have installed bluez-utils
pccardctl ident:
Socket 1
product info: "Socket", "CF+ Personal Network Card Rev 2.5", "."
manfid: 0x0104 0x0096
function: 2 (serial)
hciattach: returns nothing
dmesg:
pccard: PCMCIA card inserted into slot 1
pcmcia: registering new device pcmcia1.0
pcmcia: request for exclusive IRQ could not be fulfilled.
pcmcia: the driver needs updating to supported shared IRQ lines.
ttyS0: detected caps 00000700 should be 00000100
1.0: ttyS4 at I/O 0xc48403f8 (irq = 169) is a 16C950/954
hciattach /dev/ttyS4 bcsp
BCSP initialization timed out
any ideas?
-
any ideas?
Try this:
#setserial /dev/ttyS4 baud-base 921600
#hciattach -s 921600 /dev/ttyS4 bcsp
-
any ideas?
Try this:
#setserial /dev/ttyS4 baud-base 921600
#hciattach -s 921600 /dev/ttyS4 bcsp
i'm just trying with my (working) Belkin CF BT and i have a "command not found" with the setserial command. I guess you've to install some package to have it working
which download speed do you have with your CF BT ? mine seems stuck to 9.28kb/s but i can reach more than 40 kb/s when using my USB BT dongle... i wonder if the setserial command would give better results.
-
i'm just trying with my (working) Belkin CF BT and i have a "command not found" with the setserial command. I guess you've to install some package to have it working
apt-get install setserial
which download speed do you have with your CF BT ? mine seems stuck to 9.28kb/s but i can reach more than 40 kb/s when using my USB BT dongle... i wonder if the setserial command would give better results.
I have approximately the same limit for CF BlueTooth (Billionton).
-
any ideas?
Try this:
#setserial /dev/ttyS4 baud-base 921600
#hciattach -s 921600 /dev/ttyS4 bcsp
No joy
with
setserial /dev/ttyS4 baud_base 921600
hciattach -s 921600 /dev/ttyS4 bcsp
I still get BCSP initialization timed out
-
any ideas?
Try this:
#setserial /dev/ttyS4 baud-base 921600
#hciattach -s 921600 /dev/ttyS4 bcsp
No joy
with
setserial /dev/ttyS4 baud_base 921600
hciattach -s 921600 /dev/ttyS4 bcsp
I still get BCSP initialization timed out
After updating to last Angstrom kernel my Belkin CF BT is working perfectly, no need to change nothing, detected and attached at first, dial-up networking working fine with a V3x
-
any ideas?
Try this:
#setserial /dev/ttyS4 baud-base 921600
#hciattach -s 921600 /dev/ttyS4 bcsp
No joy
with
setserial /dev/ttyS4 baud_base 921600
hciattach -s 921600 /dev/ttyS4 bcsp
I still get BCSP initialization timed out
After updating to last Angstrom kernel my Belkin CF BT is working perfectly, no need to change nothing, detected and attached at first, dial-up networking working fine with a V3x
great! are you talkin about this kernel ?
zImage-2.6.23-spitz-20080106233423.bin
-
I used:
http://www.angstrom-distribution.org/unsta...Image-spitz.bin (http://www.angstrom-distribution.org/unstable/autobuild/spitz/zImage-spitz.bin)
and
http://www.angstrom-distribution.org/unsta....6.23-spitz.tgz (http://www.angstrom-distribution.org/unstable/autobuild/spitz/modules-2.6.23-spitz.tgz)
-
I cant get BT worked in eabi. I did all the steps from the first post and when i do 'pon provider' my phone (nokia 6310) asks about passkey, i enter the same passkey from hci.conf and then my nokia displays 'Connecting' progress bar forever. I use BT USB dongle. The very same hardware (phone, usb bt, zaurus) works fine in cacko, so i suppose its not hw problem.
hciconfig hci0 prints 'UP RUNNING PSCAN ISCAN' as it should. RX, TX error counters both zero.
The same BT binding problem i got immediate if i do 'rfcomm connect' instead of rfcomm 'bind', so i believe it is the problem with BT connection itself, not gprs/ppp issue.
Any suggestions ?
-
Seems i solved the problem with http://www.zedd.nl/?p=8 (http://www.zedd.nl/?p=8)