Hello,
I am trying to use a Motorola H350 headset in
FedoraCore 5
kernel-2.6.18
bluez-firmware-1.2
bluez-gnome-0.5
bluez-hcidump-1.32
bluez-libs-3.7
bluez-utils-3.7
I cannot get the PIN paired.
When hcid use the /usr/bin/bluepin I get a
/var/log/messages that says:
Oct 27 11:55:57 tabletPC hcid[4520]: pin_code_request
(sba=00:80:5A:46:5A:5F, dba=00:0C:55:A7:9F:EC)
Oct 27 11:56:04 tabletPC hcid[4533]: PIN helper exited
abnormally with code 256
Perhaps It is a X problem, I mean, that the hcid daemon
whant to start a gtk-X-dialogue to ask user PIN code
and it can't.
OK
So I try to use my own pin_helper file, and then I get
the next /var/log/messages ERROR:
Oct 27 12:03:53 tabletPC hcid[4694]: Can't exec PIN
helper /home/tablet/pin.helper: Permission denied (13)
I do not understand it, because my pin.helper function
has got all the executable permisions, etc.
So, where do I have to change permisions?
Should I have a special /dev/ file?
Thanks in advance,
J
PD: I have tried two pin.helper files:
#!/usr/bin/python
#
# Bluetooth PIN helper
import sys, os, string, popen2, pygtk
print "PIN:0000"
----------------------
and
#!/bin/sh
echo "PIN:0000"
Logged In: YES
user_id=1584018
Originator: NO
hope that helps: I use the bluetooth-manager applet to enter my pin, that works great. maybe the code of it helps you to find out! I messed up with the pin_helper so I spare it now.