Author Topic: Bluetooth In Rc9  (Read 4292 times)

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Bluetooth In Rc9
« on: February 05, 2005, 04:28:42 am »
I just bought a blue monkey BT card but have been unable to pair with another machine to transfer files (text only required, not a phone for internet).  I have a Mac Powerbook with bluetooth which can see BLUE(Z) but that is all. I have downloaded all the BLUEZ utilities but do not know how to configure in X11. Please can you point me in the right direction, else it will be a reflash and put the BT in a drawer.

Many thanks,


Mark
-----
SLC750 57mb root
Bluetooth CF
Ethernet LAN CF
SD 512
3200 from conics.net (switched from sharp to pdaxii13)

PsyBORG

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://www.pkg.fr
Bluetooth In Rc9
« Reply #1 on: February 06, 2005, 07:54:57 am »
Hello,

personnaly I managed to setup BlueTooth to share the network access from my computer using Pand.

Obviously you maybe need to configure some things in a console. I hope soon Hotplug should manage the CF card for yourself  but for me at that time it doesn't.

So you should check what the linux kernel tell you when you insert the card: just tape "dmesg" in a console. Tape that just before inserting the card, then insert the card and tape again. At last one line should appears. For me, I got that:
Code: [Select]
ttyS03 at port 0xf60002f8 (irq = 39) is a 16C950/954I found somewher my card is a Marvintech one, and I saw on BlueZ site it is fully supported. After some test, I just have to setup the card with that line:
Code: [Select]
hciattach -p ttyS3 bcsp 921600 flow
Hope this will give some way to follow,

I still not found a tool to manage completly BlueTooth in X11, I'm searching. I saw pxaXrom if fully supporting PPP dialing using bluetooth and this what I've searched for.

PsyBORG
« Last Edit: February 06, 2005, 07:59:05 am by PsyBORG »
SLC-700 - pdaXrom rc9 - 45mb root
Bluetooth CF card (Marvintech based)
GSM CF Card
SD 1Gb
CF 1Gb IBM

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Bluetooth In Rc9
« Reply #2 on: February 06, 2005, 12:29:50 pm »
Thanks, but  I don't understand the commands properly. I was hoping to find some GUI to connect. I tried hciattach but it timed out pairing with my mac powerbook.

I'll have to forgo bluetooth till I understand it better o perhaps get a bluetooth airpoint.

Mark
---
slc750 kathryn rc9
bluetooth CF BT0100M
ethernet CF
512 sd
3200 from conics.net (switched from sharp to pdaxii13)

PsyBORG

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://www.pkg.fr
Bluetooth In Rc9
« Reply #3 on: February 07, 2005, 06:12:34 am »
Hi, I further checked the configuration, I understand now how auto-configuration is done with Bluetooth.

Could you provide us the output of "cardctl ident" command ?

Then you will just have to edit the config file "/etc/bluetooth/bt-uart.conf" to explain to cardmgr how to setup the card... This config file still has some configuration but mine was not in. I just add what I found about my CF card and now configuration is automatic.

Provide us what "dmeg" is providing when you insert the card.

Remember you need to type that commands in a console.

Don't give up  
« Last Edit: February 07, 2005, 06:15:29 am by PsyBORG »
SLC-700 - pdaXrom rc9 - 45mb root
Bluetooth CF card (Marvintech based)
GSM CF Card
SD 1Gb
CF 1Gb IBM

badog

  • Full Member
  • ***
  • Posts: 248
    • View Profile
Bluetooth In Rc9
« Reply #4 on: February 07, 2005, 07:42:47 am »
Quote
Hi, I further checked the configuration, I understand now how auto-configuration is done with Bluetooth.

Could you provide us the output of "cardctl ident" command ?

Then you will just have to edit the config file "/etc/bluetooth/bt-uart.conf" to explain to cardmgr how to setup the card... This config file still has some configuration but mine was not in. I just add what I found about my CF card and now configuration is automatic.

Provide us what "dmeg" is providing when you insert the card.

Remember you need to type that commands in a console.

Don't give up 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65946\"][{POST_SNAPBACK}][/a][/div]
do ur gms-cf-card neet to setup?->ex:ppp\pppd
i have to edit some files->gprs.sh,XX.conf...
« Last Edit: February 07, 2005, 07:47:12 am by badog »

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Bluetooth In Rc9
« Reply #5 on: February 07, 2005, 03:35:43 pm »
Hi,

from cardctl.txt I get this info after inserting BT card

>>
Socket 0:
  product info: "Bluetooth BT0100M", "", ""
  function: 2 (serial)
Socket 1:
  no product info available
<<

from dmesg.txt after BT card inserted I get this info
>>
pxa_pcmcia_init(0)
ttyS03 at port 0xf60002f8 (irq = 39) is a 16550A
BlueZ HCI UART driver ver 2.1 Copyright © 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
<<


All I want to do is to be able to transfer plain text files to or from my mac powerbook (instead of using ethernet which I dont always have access to). Don't I need to setup a password somewhere?


Thanks again,


Mark
-----
slc750 57mb root kathryn rc9
Bluemonkey BT card
sd 512
3200 from conics.net (switched from sharp to pdaxii13)

PsyBORG

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • http://www.pkg.fr
Bluetooth In Rc9
« Reply #6 on: February 14, 2005, 06:40:16 am »
Quote
>>
pxa_pcmcia_init(0)
ttyS03 at port 0xf60002f8 (irq = 39) is a 16550A
BlueZ HCI UART driver ver 2.1 Copyright © 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
<<

Hi Mark,

seems your BlueTooth CF card is recognized !!!  In fact, there's still a definition in "/etc/bluettoth/bt-uart.conf" for your card.

Now, can you tell us if the command "hciconfig" returns something like (for me):
Code: [Select]
hci0:   Type: UART
        BD Address: 00:09:DD:10:02:84 ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:14120 acl:120 sco:0 events:111 errors:0
        TX bytes:12015 acl:94 sco:0 commands:15 errors:0

If not, try to use command "hciconfig hci0 up"...

Otherwise, for the pin code... create if not exits the file "/etc/bluetooth/pin" and just insert 4 digits in the first line for a pin code that any device will ask you to pair to your zaurus.

In fact the zaurus should ask you one, but mine is too slow to launch /bin/bluepin...

Is it better now ?
SLC-700 - pdaXrom rc9 - 45mb root
Bluetooth CF card (Marvintech based)
GSM CF Card
SD 1Gb
CF 1Gb IBM

markbedish

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://
Bluetooth In Rc9
« Reply #7 on: February 14, 2005, 09:07:46 am »
Unfortunately, I got too frustrated and moved temporarily to Cacko which works well for my Bluetooth Phone though still struggling with a PAN for my mac powerbook.

I do prefer pdaxrom and so may end up trying a dual boot system, until I can get BT working fully with it or just reflash as needed (got this down to half hour or so)!

---
Mark
slc750 cacko 1.22A / and pdaxrom rc9
Bluemonkey BT0100M
3200 from conics.net (switched from sharp to pdaxii13)

zeigerpuppy

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Bluetooth In Rc9
« Reply #8 on: May 07, 2007, 12:08:08 am »
I am having a problem getting bluetooth going in r198 and it looks quite similar to this thread.
It is a socket card and dmesg returns the following:

1.0: ttyS0 at I/O 0xc48403f8 (irq = 137) is a 16C950/954

but when I try to attach the card, I get

# hciattach -p ttyS0 bcsp 921600 flow
BSCP initialization timed out

any ideas what to try next?  The card worked OK in beta3.
Zaurus C3100, CE-RH2, Socket lowpower CF Wifi, Socket CF Bluetooth
pdaXrom r198 - testing!, IceWM, Bluetooth modem: Sony Ericsson v600i with 3G.
see some howtos and tips at http://greenant.net/portal/greenant/wiki/Zaurus3100