Re: understanding/troubleshooting gnokii

Roberto Verzola <[email protected]> Fri, 12 Jun 2015 16:20:08 +0800
Newsgroups gmane.linux.drivers.gnokii
Organization SRI Pilipinas
Message-ID <20150612162008.73a30572@hotline>
Hi Raphael. Here are the results of the tests you suggested.

I inserted my bluetooth dongle into the usb port which I also use for
printing and reading usb flash disks, so I know that this usb port
works.

I used hcitool to get the port adress of the active bluetooth
device. Then I tried the commands.

rverzola@hotline:~/HotlineSMS$ hcitool dev
Devices:
        hci1    00:15:83:07:C9:F6
rverzola@hotline:~/HotlineSMS$ l2ping 00:15:83:07:C9:F6
Can't create socket: Operation not permitted
rverzola@hotline:~/HotlineSMS$ sudo l2ping 00:15:83:07:C9:F6
[sudo] password for rverzola: 
Can't connect: No route to host
rverzola@hotline:~/HotlineSMS$ sdptool browse 00:15:83:07:C9:F6
Failed to connect to SDP server on 00:15:83:07:C9:F6: No route to host
rverzola@hotline:~/HotlineSMS$ sudo sdptool browse 00:15:83:07:C9:F6
Failed to connect to SDP server on 00:15:83:07:C9:F6: No route to host
rverzola@hotline:~/HotlineSMS$ 

I also tried this variation:

rverzola@hotline:~/HotlineSMS$ l2ping hci1
Can't create socket: Operation not permitted
rverzola@hotline:~/HotlineSMS$ sudo l2ping hci1
Can't connect: Host is down


On Wed, 10 Jun 2015 23:26:05 -0300
RaphaĆ«l <[email protected]> wrote:

> On Thu, Jun 11, 2015 at 09:26:52AM +0800, Roberto Verzola wrote:
> > Specifically, I'd like to understand what other software must work,
> > aside from gnokii.
> 
> 1) look at the debug output adding such a section to
> ~/.config/gnokii/config
> > [logging]
> >   debug = on
> 
> 
> 2) The "port = " stanza you specified in the configuration file
> clearly refers either to a device in /dev/ either to a bluetooth
> address. In the first case kernels modules come into play.
> In the second case it's about bluez (hcitool / hciconfig).
> 
> Ensure the bluez daemons runs.
> Then I'd advise to start with a simple:
> $ l2ping [bt:mac:add:re:ss]
> Then:
> $ sdptool browse [bt:mac:add:re:ss]
> If both succeeds, then run gnokii in debug mode and look closely at
> the output.
> 
> You may want to ensure that the configuration section is correct and
> that you specified it using the --phone option.
> 
> Later may also check that you don't have issue with device association
> (like pin entering on phone side).
> 
> Hope this help.
> 
> 
> Out of curiosity what are these farmers producing?
> 
> _______________________________________________
> gnokii-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/gnokii-users
> 


_______________________________________________
gnokii-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/gnokii-users