[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnokii --identify help
From: |
mikha |
Subject: |
Re: gnokii --identify help |
Date: |
Tue, 27 Feb 2007 23:54:03 -0800 (PST) |
Hello, I indicated below what happens when I do the things instructed in the
gnokii wiki bluetooth, I get some responses which puzzles me..
mikha wrote:
>
> Hello,
>
>
> Pawel Kot wrote:
>>
>> Hi,
>>
>> On 2/26/07, mikha <address@hidden> wrote:
>>> what is my problem now and how do I solve it? Please help me.
>>> Im using ubuntu6.06 and I can succesfully connect and send files to my
>>> phone
>>> via bluetooth.
>>> Pin helper in hcid is also set to /usr/bin/bluez-pin. I once managed to
>>> make
>>> 'gnokii --identify' work with the same phone and the same type of
>>> connection
>>> but that was with gnokii0.6.12. Why can't gnokii identify work now?
>>
>> Hard to say. You probably don't have some bluetooth daemon running. I
>> have usually sdpd and hcid.
>>
>>
>
> how do I know if I dont have bluetooth daemon running?
> When i do 'hciconfig' I can get the address of my bluetooth dongle..
> And when i do 'hcitool scan', I think it detects my phone because it
> returns the port address of the phone..
>
> here's what's in my hcid and rfcomm file, (if this can help)
>
> #
> # HCI daemon configuration file.
> #
>
> # HCId options
> options {
> # Automatically initialize new devices
> autoinit yes;
>
> # Security Manager mode
> # none - Security manager disabled
> # auto - Use local PIN for incoming connections
> # user - Always ask user for a PIN
> #
> security auto;
>
> # Pairing mode
> # none - Pairing disabled
> # multi - Allow pairing with already paired devices
> # once - Pair once and deny successive attempts
> pairing multi;
>
> # PIN helper
> pin_helper /usr/bin/bluez-pin;
>
> # D-Bus PIN helper
> #dbus_pin_helper;
> }
>
> # Default settings for HCI devices
> device {
> # Local device name
> # %d - device id
> # %h - host name
> name "%h-%d";
>
> # Local device class
> class 0x3e0100;
>
> # Default packet type
> #pkt_type DH1,DM1,HV1;
>
> # Inquiry and Page scan
> iscan enable; pscan enable;
>
> # Default link mode
> # none - no specific policy
> # accept - always accept incoming connections
> # master - become master on incoming connections,
> # deny role switch on outgoing connections
> lm accept;
>
> # Default link policy
> # none - no specific policy
> # rswitch - allow role switch
> # hold - allow hold mode
> # sniff - allow sniff mode
> # park - allow park mode
> lp rswitch,hold,sniff,park;
>
> # Authentication and Encryption (Security Mode 3)
> #auth enable;
> #encrypt enable;
> }
>
>
> #
> # RFCOMM configuration file.
> #
>
> # example:
> #
> # rfcomm0 {
> # bind yes;
> # # Bluetooth address of the device
> # device 00:0E:ED:E0:5E:DD;
> # # RFCOMM channel for the connection
> # channel 1;
> # # Description of the connection
> # comment "Nokia 6230";
> #}
>
> I don't know what to do and how to fix this.. Thanks to all of you and for
> all your help..
> I hope we could fix this.. I really need to get this fixed
>
> Thanks
>
when I do what's indicated in the gnokii wiki for bluetooth
here's what happens
$ bluez-bin --dbus &
[1] 6626
$ bash: bluez-bin: command not found
[1]+ Exit 127 bluez-bin --dbus
even when I do this as superuser, I get the same response
but when I do
$ sudo /etc/init.d/bluez-utils restart
* Restarting Bluetooth services... [
ok ]
and when I do hcitool cc
$ hcitool cc 00:0E:ED:E0:5E:DD
Can't create connection: Operation not permitted
=( help please
--
View this message in context:
http://www.nabble.com/gnokii---identify-help-tf3290922.html#a9199433
Sent from the gnokii-users mailing list archive at Nabble.com.