OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: daniel3000 on March 29, 2006, 10:39:36 am
-
Hello,
after installing pdaXrom on my C3000 I thought I'd try bluetooth once more, which I couldn't get to work under Cacko at all. I thought it has to do with a screwed-up BT stack, but it seems it has to do with my inability, since under the vanilla pdaXrom 1.1.0beta2 it does not work either.
I have tried 3 different BT interfaces on the zaurus (Nokia DTL-4 CF card, an USB stick labeled "AGM electronic" and a Billionton CF card) and two different phones (Nokia 6310 and Siemens SK65). Now even two different ROMs.
To no avail!
I always get that error message
"Can't connect RFCOMM socket: Connection refused" when trying to connect with rfcomm.
Please, please:
Could someone write a short howto for dummies how to set up a BT connection to a mobile phone for internet access? Or at least look over the steps I did below and analyze them in order to find my fault?
Here is what I basically did (with lots of variations of course in the hope that some variations may lead to success):
* plug in BT device
* check that hci0 is available with "hciconfig", if it's not, makeing it available with hciconfig hci0 up. --> Always successful.
* hcitool scan --> finds the phone(s).
* sdptool browse --> Find out which channel to use for DUN. It's always channel 1.
* Check that /dev/rfcomm0 device is available --> it is. I am root, and it has access rights crw-rw-rw-
* make /bin/bluepin always output "PIN:0000" or even "PIN:0" by either modifying /etc/bluetooth/pin or by hardcoding that string into the bluepin script.
* rfcomm connect 0 <bdaddr_of_telephone> 1 --> phone asks for connection confirmation and then for PIN. I enter the pin "0000" or "0", depending on what I have set.
* Zaurus responds instantly or after some seconds with "Can't connect RFCOMM socket: Connection refused".
I tried to enter a wrong pin --> same result.
What am I doing wrong???
Thanks
daniel
-
Here is what i do. I have a Billionton CF card and it seems to work fine. Getting this to work on the sharp rom is a pain but in pdaxrom all i do is:
install all the bluez ipks from the main feed (ipkg list | grep bluez) will give you a list of packages you need to install. You dont need one of them but i cant remember which one so i install them all. I make sure that my phone (a nokia 6230) has bluetooth on and its broadcasting. Then i go to the ppp config and select bluetooth. On the second tab i use the search feature. It finds my phone and fills in the right info. I had to get a special phone number from my cell company (*99#) to get my phone to connect to the gsm service, and i had to tweek the init string a small bit but it was because of my phone not pdaxrom.
Before you try to connect the first time reboot the Z
To get to the internet i just fire up the ppp dialer and it connects to my phone, dials and im up and running.
Hope it helps.
Todd
-
Hello,
after installing pdaXrom on my C3000 I thought I'd try bluetooth once more, which I couldn't get to work under Cacko at all. I thought it has to do with a screwed-up BT stack, but it seems it has to do with my inability, since under the vanilla pdaXrom 1.1.0beta2 it does not work either.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120870\"][{POST_SNAPBACK}][/a][/div]
Well, I also have been trying, to no avail. I tried both of the methods here, as well as stuff from all over this board (OK, not very specific, but). I edited, as was obliquely suggested, the config files, but that did not work well mostly because it was unclear what I was supposed to put, where.
My Z is a 3100 with pdaXrom beta1. My bluetooth card is a Belkin F8t020. My phone is a Motorola Razor, on which I have gotten a BT headset to work (so that bit ought to work),
cardctl status reports a 3.3v 16-bit (?) PC card function 0: [ready], [bat dead], [bat low]
cardctl ident returns "CF CARD", "GENERIC" manfid 0x0279 0x950b function: 2 (serial)
I had tried modifying /etc/bluetooth/bt-uart.conf to add this, but something bad happened then, and the hard drive re-mounted on re-boot in an odd way. I got lots of odd file permissions, things did not work, and I had to restore from backup. I may have fscked up something else along the way, but this was not a good thing.
So, is the Belkin card junk? What a waste of $5 plus shipping! What freaking card works? I have yet to talk to my cellular provider about this (BTW, t-mobile), but I figure as long as the Z can't even see the freaking phone that hardly matters.
Anyway, help, or testimonials of how cool the sucker is supposed to work automatically, would be good. Instructions would be best if they were real specific, of course. In general that is the weak link in pdaXrom, in that the stuff is there but no instructions on how to use it.
If'n I can get this, and my secure wifi at the office, I will be in hog heaven.
-
I am struggling with Bluetooth. Like dlj0 I have tried both the above with no success.
I have put my BT card in an XP laptop (with an adapter) and connected just fine. So the card works, the phone works and they can talk to each other.
When I try to connect as trichmon suggests (also with *99#) I get the following message in PPP Dialer:
Using interface ppp0
local IP address 10.64.64.64
remote IP address 10.112.112.112
and nothing else. No request for a PIN or any indication that anything is working.
If I kill the PPP Dialer and run it again then I get
Using interface ppp1
not replacing existing default route to ppp0 [10.64.64.64]
local IP address 10.64.64.65
remote IP address 10.112.112.113
Anybody got any ideas? This is so close to working...
-
Finally I have made it work.
It was as simple as trichmon said, but I needed to set a reset for the phone before dialling. So, in the PPP Modem dialog, I added atz as an init string.
Now it all works.
-
Here is how I got mine working, has worked for a long time on many versions of pdaXrom:
https://www.oesf.org/forums/index.php?showtopic=15397&hl= (https://www.oesf.org/forums/index.php?showtopic=15397&hl=)