Skip to contentSkip to conversation

Pairing in FC4 without gnome or kde?

Bluez-users David Wuertele 3 participants 3 messages Jun 22, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I've done a complete install of FC4 but I do not run Gnome or KDE (they just drive me nuts). Now I'm trying to pair my headset. I think there is this gnome-bluetooth-manager thingie that is supposed to prompt you for your pin when it gets a message on the dbus, but it isn't working for me, and I suspect it is because I'm not running Gnome or KDE.

So I tried writing my own pin script:

#!/bin/sh

  # leave a trace so I know what's going on
  echo $@ >> /tmp/zeropin.log
  # return the pin for my headset
  echo "PIN:0000"

I changed my /etc/bluetooth/hcid.conf to comment out the dbus system and use my script, like this:

	# D-Bus PIN helper
	#dbus_pin_helper;
	pin_helper /usr/local/bin/zeropin;

I then did "service stop bluetooth" and "service start bluetooth", and then put my headset in pairing mode. But nothing happens.

Can someone give this poor non-gnome non-kde user a clue?

FWIW, here's what bluez I have installed:

  # rpm -qa | grep -i bluez
  bluez-libs-devel-2.15-1
  bluez-libs-2.15-1
  bluez-utils-2.15-7
  bluez-pin-0.24-2
  bluez-utils-cups-2.15-7
  bluez-hcidump-1.18-1
  # hciconfig -a
  hci0:	Type: USB
          BD Address: 00:20:E0:75:D6:F6 ACL MTU: 192:8 SCO MTU: 64:8
          UP RUNNING PSCAN ISCAN 
          RX bytes:879 acl:0 sco:0 events:54 errors:0
          TX bytes:1454 acl:0 sco:0 commands:45 errors:0
          Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
          Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
          Link policy: RSWITCH HOLD SNIFF PARK 
          Link mode: SLAVE ACCEPT 
          Name: 'localhost.localdomain-0'
          Class: 0x120104
          Service Classes: Networking
          Device Class: Computer, Desktop workstation
          HCI Ver: 1.1 (0x1) HCI Rev: 0x222 LMP Ver: 1.1 (0x1) LMP Subver: 0x222
          Manufacturer: Cambridge Silicon Radio (10)
  # hciconfig hci0 revision
  hci0:	Type: USB
          BD Address: 00:20:E0:75:D6:F6 ACL MTU: 192:8 SCO MTU: 64:8
          Build 546
          Chip version: BlueCore02-External
          Max key size: 128 bit
          SCO mapping:  HCI

Thanks,
Dave

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

On Wednesday, 22. June 2005 11:04, David Wuertele wrote:
...

Quoted 4 lines

I then did "service stop bluetooth" and "service start bluetooth", and then put my headset in pairing mode. But nothing happens.

Can someone give this poor non-gnome non-kde user a clue?

You've got to search for the headset and connect to it to trigger the authentication process. Keep an eye on the syslog just in case something went wrong with the pin helper setup.

Fred

Signature · 13 lines
Fred Schaettgen
[email protected]


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#2 lore raw

Hi
I have the same problem... How to connect to the device to trigger the authentication process?

Regards

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de Fred Schaettgen
Enviado el: mi=E9rcoles, 22 de junio de 2005 12:58
Para: [email protected]
CC: David Wuertele
Asunto: Re: [Bluez-users] Pairing in FC4 without gnome or kde?

On Wednesday, 22. June 2005 11:04, David Wuertele wrote:
...

Quoted 4 lines

I then did "service stop bluetooth" and "service start bluetooth", and then put my headset in pairing mode. But nothing happens.

Can someone give this poor non-gnome non-kde user a clue?

You've got to search for the headset and connect to it to trigger the=20 authentication process. Keep an eye on the syslog just in case something went=20
wrong with the pin helper setup.

Fred

--=20
Fred Schaettgen
[email protected]

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. =
http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users