* [gentoo-user] more bluetooth troubles with 5.14
@ 2014-03-02 7:21 covici
2014-03-02 11:05 ` Mick
0 siblings, 1 reply; 7+ messages in thread
From: covici @ 2014-03-02 7:21 UTC (permalink / raw
To: gentoo-user
Hi. I am getting more troubles with bluetooth 5.14 -- 4 worked fine, 5
seems to have a lot of quirks.
I get the following lines from a program I am running called brltty:
>Mar 1 15:25:35 ccs bluetoothd[2684]: No agent available for request
>type 0
>Mar 1 15:25:35 ccs bluetoothd[2684]: device_request_pin: Operation not
>permitted
>Mar 1 15:25:35 ccs brltty[16004]: RFCOMM connect error 111: Connection
>refused.
HOw can I fix this? There is a new program under bluetooth 5 called
bluetoothctl, and I paired, trusted and connected, and still no joy.
Any ideas would be appreciated.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] more bluetooth troubles with 5.14
2014-03-02 7:21 [gentoo-user] more bluetooth troubles with 5.14 covici
@ 2014-03-02 11:05 ` Mick
2014-03-02 13:05 ` covici
0 siblings, 1 reply; 7+ messages in thread
From: Mick @ 2014-03-02 11:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1703 bytes --]
On Sunday 02 Mar 2014 07:21:18 covici@ccs.covici.com wrote:
> Hi. I am getting more troubles with bluetooth 5.14 -- 4 worked fine, 5
> seems to have a lot of quirks.
I occasionally tether my phone to my laptop using bluetooth and have found
that establishing a connection can be quite temperamental. Rebooting the
phone or disabling/enabling its bluetooth service usually helps get a response
from it.
> I get the following lines from a program I am running called brltty:
> >Mar 1 15:25:35 ccs bluetoothd[2684]: No agent available for request
> >type 0
This is typically obtained when the device is not set to be discoverable.
Check that they both are. If you have restarted/reset either you may need to
set them back to discoverable.
> >Mar 1 15:25:35 ccs bluetoothd[2684]: device_request_pin: Operation not
> >permitted
> >Mar 1 15:25:35 ccs brltty[16004]: RFCOMM connect error 111: Connection
> >refused.
Have you set up the correct device MAC address in /etc/bluetooth/rfcomm.conf
and restarted it? If yes then this may be a matter of misstyping the pin?
> HOw can I fix this? There is a new program under bluetooth 5 called
> bluetoothctl, and I paired, trusted and connected, and still no joy.
I don't have bluetoothctl here to know what it does, but I use l2ping,
hciconfig and sdptool first to make sure that I can see and read the device I
am trying to pair with. If you have indeed managed to pair the two devices
you would not be getting the above connection errors, unless the radio signal
broke down after pairing, due to e.g. weak signal or electromagnetic
interference from some external source.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] more bluetooth troubles with 5.14
2014-03-02 11:05 ` Mick
@ 2014-03-02 13:05 ` covici
2014-03-03 16:15 ` Mick
0 siblings, 1 reply; 7+ messages in thread
From: covici @ 2014-03-02 13:05 UTC (permalink / raw
To: gentoo-user
Mick <michaelkintzios@gmail.com> wrote:
> On Sunday 02 Mar 2014 07:21:18 covici@ccs.covici.com wrote:
> > Hi. I am getting more troubles with bluetooth 5.14 -- 4 worked fine, 5
> > seems to have a lot of quirks.
>
> I occasionally tether my phone to my laptop using bluetooth and have found
> that establishing a connection can be quite temperamental. Rebooting the
> phone or disabling/enabling its bluetooth service usually helps get a response
> from it.
>
>
> > I get the following lines from a program I am running called brltty:
> > >Mar 1 15:25:35 ccs bluetoothd[2684]: No agent available for request
> > >type 0
>
> This is typically obtained when the device is not set to be discoverable.
> Check that they both are. If you have restarted/reset either you may need to
> set them back to discoverable.
>
>
> > >Mar 1 15:25:35 ccs bluetoothd[2684]: device_request_pin: Operation not
> > >permitted
> > >Mar 1 15:25:35 ccs brltty[16004]: RFCOMM connect error 111: Connection
> > >refused.
>
> Have you set up the correct device MAC address in /etc/bluetooth/rfcomm.conf
> and restarted it? If yes then this may be a matter of misstyping the pin?
>
>
> > HOw can I fix this? There is a new program under bluetooth 5 called
> > bluetoothctl, and I paired, trusted and connected, and still no joy.
>
> I don't have bluetoothctl here to know what it does, but I use l2ping,
> hciconfig and sdptool first to make sure that I can see and read the device I
> am trying to pair with. If you have indeed managed to pair the two devices
> you would not be getting the above connection errors, unless the radio signal
> broke down after pairing, due to e.g. weak signal or electromagnetic
> interference from some external source.
I don't even have any /etc/bluetooth/rfcomm.conf. I did pair, trust and
connect with bluetoothctl. Are you using bluetooth5 -- I never had
these problems till the upgrade to 5. The device is pretty close to the
computer and it does show up on the scan from hcitool.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] more bluetooth troubles with 5.14
2014-03-02 13:05 ` covici
@ 2014-03-03 16:15 ` Mick
2014-03-03 19:21 ` covici
0 siblings, 1 reply; 7+ messages in thread
From: Mick @ 2014-03-03 16:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]
On Sunday 02 Mar 2014 13:05:10 covici@ccs.covici.com wrote:
> I don't even have any /etc/bluetooth/rfcomm.conf.
What do you have in your /etc/conf.d/bluetooth? This is mine:
=============================
# Bluetooth configuraton file
# Bind rfcomm devices (allowed values are "true" and "false")
RFCOMM_ENABLE=true
# Config file for rfcomm
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
=============================
Also, /etc/init.d/bluetooth has a dependency on rfcomm, so it starts it first.
I need rfcomm for tethering, but I don't know if it is necessary for your
needs. Is your rfcomm running?
> I did pair, trust and
> connect with bluetoothctl. Are you using bluetooth5 -- I never had
> these problems till the upgrade to 5. The device is pretty close to the
> computer and it does show up on the scan from hcitool.
No, my bluetooth devices are rather ancient, so I don't know if my set up
would work with blutooth 5.0 and in any case I don't seem to have
bluetoothctl. Which program provides it now? I can't fine bluez-utils in
portage.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] more bluetooth troubles with 5.14
2014-03-03 16:15 ` Mick
@ 2014-03-03 19:21 ` covici
2014-03-04 7:01 ` Samuli Suominen
0 siblings, 1 reply; 7+ messages in thread
From: covici @ 2014-03-03 19:21 UTC (permalink / raw
To: gentoo-user
Mick <michaelkintzios@gmail.com> wrote:
> On Sunday 02 Mar 2014 13:05:10 covici@ccs.covici.com wrote:
>
> > I don't even have any /etc/bluetooth/rfcomm.conf.
>
> What do you have in your /etc/conf.d/bluetooth? This is mine:
> =============================
> # Bluetooth configuraton file
>
> # Bind rfcomm devices (allowed values are "true" and "false")
> RFCOMM_ENABLE=true
>
> # Config file for rfcomm
> RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
> =============================
>
> Also, /etc/init.d/bluetooth has a dependency on rfcomm, so it starts it first.
>
> I need rfcomm for tethering, but I don't know if it is necessary for your
> needs. Is your rfcomm running?
>
>
> > I did pair, trust and
> > connect with bluetoothctl. Are you using bluetooth5 -- I never had
> > these problems till the upgrade to 5. The device is pretty close to the
> > computer and it does show up on the scan from hcitool.
>
> No, my bluetooth devices are rather ancient, so I don't know if my set up
> would work with blutooth 5.0 and in any case I don't seem to have
> bluetoothctl. Which program provides it now? I can't fine bluez-utils in
> portage.
I think they may have changed things, in bluetooth 4, I think there was
a separate package, now all seems to be in bluez package. Maybe hcidump
is still separate.
If you have bluez 4, the agent is simple-agent and would not work on 5
-- they changed the apis.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] more bluetooth troubles with 5.14
2014-03-03 19:21 ` covici
@ 2014-03-04 7:01 ` Samuli Suominen
2014-03-04 8:55 ` covici
0 siblings, 1 reply; 7+ messages in thread
From: Samuli Suominen @ 2014-03-04 7:01 UTC (permalink / raw
To: gentoo-user
On 03/03/14 21:21, covici@ccs.covici.com wrote:
> Mick <michaelkintzios@gmail.com> wrote:
>
>> On Sunday 02 Mar 2014 13:05:10 covici@ccs.covici.com wrote:
>>
>>> I don't even have any /etc/bluetooth/rfcomm.conf.
>> What do you have in your /etc/conf.d/bluetooth? This is mine:
>> =============================
>> # Bluetooth configuraton file
>>
>> # Bind rfcomm devices (allowed values are "true" and "false")
>> RFCOMM_ENABLE=true
>>
>> # Config file for rfcomm
>> RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
>> =============================
>>
>> Also, /etc/init.d/bluetooth has a dependency on rfcomm, so it starts it first.
>>
>> I need rfcomm for tethering, but I don't know if it is necessary for your
>> needs. Is your rfcomm running?
>>
>>
>>> I did pair, trust and
>>> connect with bluetoothctl. Are you using bluetooth5 -- I never had
>>> these problems till the upgrade to 5. The device is pretty close to the
>>> computer and it does show up on the scan from hcitool.
>> No, my bluetooth devices are rather ancient, so I don't know if my set up
>> would work with blutooth 5.0 and in any case I don't seem to have
>> bluetoothctl. Which program provides it now? I can't fine bluez-utils in
>> portage.
> I think they may have changed things, in bluetooth 4, I think there was
> a separate package, now all seems to be in bluez package. Maybe hcidump
> is still separate.
> If you have bluez 4, the agent is simple-agent and would not work on 5
> -- they changed the apis.
>
>
correct, bluez-utils was part of bluez 3
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] more bluetooth troubles with 5.14
2014-03-04 7:01 ` Samuli Suominen
@ 2014-03-04 8:55 ` covici
0 siblings, 0 replies; 7+ messages in thread
From: covici @ 2014-03-04 8:55 UTC (permalink / raw
To: gentoo-user
Samuli Suominen <ssuominen@gentoo.org> wrote:
>
> On 03/03/14 21:21, covici@ccs.covici.com wrote:
> > Mick <michaelkintzios@gmail.com> wrote:
> >
> >> On Sunday 02 Mar 2014 13:05:10 covici@ccs.covici.com wrote:
> >>
> >>> I don't even have any /etc/bluetooth/rfcomm.conf.
> >> What do you have in your /etc/conf.d/bluetooth? This is mine:
> >> =============================
> >> # Bluetooth configuraton file
> >>
> >> # Bind rfcomm devices (allowed values are "true" and "false")
> >> RFCOMM_ENABLE=true
> >>
> >> # Config file for rfcomm
> >> RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
> >> =============================
> >>
> >> Also, /etc/init.d/bluetooth has a dependency on rfcomm, so it starts it first.
> >>
> >> I need rfcomm for tethering, but I don't know if it is necessary for your
> >> needs. Is your rfcomm running?
> >>
> >>
> >>> I did pair, trust and
> >>> connect with bluetoothctl. Are you using bluetooth5 -- I never had
> >>> these problems till the upgrade to 5. The device is pretty close to the
> >>> computer and it does show up on the scan from hcitool.
> >> No, my bluetooth devices are rather ancient, so I don't know if my set up
> >> would work with blutooth 5.0 and in any case I don't seem to have
> >> bluetoothctl. Which program provides it now? I can't fine bluez-utils in
> >> portage.
> > I think they may have changed things, in bluetooth 4, I think there was
> > a separate package, now all seems to be in bluez package. Maybe hcidump
> > is still separate.
> > If you have bluez 4, the agent is simple-agent and would not work on 5
> > -- they changed the apis.
> >
> >
>
> correct, bluez-utils was part of bluez 3
Yep, I have the same conf.d/bluetooth and my rfcomm is running.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-03-04 8:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-02 7:21 [gentoo-user] more bluetooth troubles with 5.14 covici
2014-03-02 11:05 ` Mick
2014-03-02 13:05 ` covici
2014-03-03 16:15 ` Mick
2014-03-03 19:21 ` covici
2014-03-04 7:01 ` Samuli Suominen
2014-03-04 8:55 ` covici
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox