OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: ShiroiKuma on May 23, 2004, 09:45:07 am

Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: ShiroiKuma on May 23, 2004, 09:45:07 am
Hi:

I\'m absolutely desperate, I can\'t get bluetooth to work on my 760 at all. Previously I wrote how I can\'t run affix.

Can\'t even get BlueZ to work. Can someone help?

I flashed Cacko ROM 1.21.

Installed bluez-zaurus_2.3-2.4.18d_arm.ipk

No errors.

But when I run hciconfig to test if all\'s OK, it prints nothing, which I read means that something has gone wrong.

When I eject and insert a regular CF, the tray icon tells me it\'s been ejected or inserted. With the Bluetooth CF it says nothing.

I have an Anycom Bluetooth CF card.

When I type \'cardctl ident\' I get:

Socket 0:
  product info: \"BTCFCARD\", \"LSE139\"
  manfid: 0x0264, 0x000b
  function: 6 (network)
Socket 1:
  no product info available

What should I do? Can someone advise? Thanks a lot.
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: Zuber on May 23, 2004, 11:37:50 am
Cacko rom already has bluez installed.

My guess is reinstalling scrambled it. Try reinstalling the rom and then using the prinstalled bluez software.
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: ShiroiKuma on May 23, 2004, 04:05:46 pm
OK, understand.

So I did a new reflash of Cacko ROM.

How do I use the preinstalled BlueZ software now?

When I do \'cardctl ident\' I get the same reply as previously and \'hciconfig\' doesn\'t show anything.

Also now again when I put in and eject a regular CF card, the task tray notifies me. When I do the same with the Anycom Bluetooth CF card, it says nothing.

Is something still wrong, since hciconfig doesn\'t report anything?

How do you use the Bluetooth within Cacko?

Thanks a lot.
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: Zuber on May 24, 2004, 04:20:18 am
Don\'t have the Anycom card, so can\'t really help. Suggest you do a search on the forum for your particular card, should throw up some results...
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: ShiroiKuma on May 24, 2004, 09:33:01 am
The problem seems to have been, that the newly sold cards have a new revision.

To solve that, had to edit the /etc/pcmcia/bluetooth.conf file. The instructions for this and what I had to do are in the Cacko ROM thread discussion here http://zaurususergroup.com/index.php?name=...r=asc&start=195 (http://zaurususergroup.com/index.php?name=PNphpBB2&file=viewtopic&t=3159&postdays=0&postorder=asc&start=195)

But now it seems I\'m still stuck and it\'s now a BlueZ usage thing.

I created a Bluetooth connection in the Networks tab.

But when following the Bluetooth howto at http://www.zaurususergroup.com/modules.php...ename=Bluetooth (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Bluetooth)

I tried go to the command prompt and do sdptool browse I immediately get the reply:
Inquiring ...
Inquiry failed

What\'s wrong?
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: n8a on May 24, 2004, 10:13:13 am
The key IMO is that hciconfig isn\'t reporting anything.  If that\'s the case, there\'s no reason to go on to sdptool browse.  

In case you haven\'t done this, once you have the bluez drivers loaded appropriately, reset both the pcmcia and bluetooth for good measure:

# /etc/rc.d/init.d/pcmcia restart

# /etc/rc.d/init.d/bluetooth restart

Then, insert the card again:

# cardctl insert
# cardctl status (should be \'ready\')

Then try hciconfig again.  You need to have that command return something for the card to work (from my experience).
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: n8a on May 24, 2004, 10:14:29 am
Also, which version of the bluez drivers are you using?  That\'s very important - there\'s only one set that I was able to get to work with my card, which unfortunately isn\'t Anycom.
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: tumnus on May 24, 2004, 10:37:00 am
The Cacko ROM comes with a set of BlueZ drivers, but they are setup differently. There is no /etc/rc.d/init.d/bluetooth on the Cacko ROM as /etc/pcmcia/bluetooth starts the BlueZ daemons. The Bluetooth Howto in the ZUG Howtos was also written for the BlueZ ipks that you can download and install, which the tkcROMs come with.

But as n8a said, if hciconfig is still not outputting anything or the MAC address it gives is all zeros then the drivers are still not setup correctly. It may well be that the model of BT card you have is not supported at all. It doesn\'t seem to be in the master BlueZ hardware list (http://www.holtmann.org/linux/bluetooth/devices.html) or in the Zaurus Bluetooth support list (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=BluetoothCardSupport)
Title: Can\'t get BlueZ to work at all? What am I doing wrong?
Post by: n8a on May 24, 2004, 01:03:13 pm
Thanks for the correction, Tumnus - I\'m still limited to the 5500 running tkcROM...