* HCI Remote Name Request error "Page Timeout"
@ 2012-07-17 9:34 victor yeo
2012-07-17 18:06 ` Gustavo Padovan
0 siblings, 1 reply; 5+ messages in thread
From: victor yeo @ 2012-07-17 9:34 UTC (permalink / raw)
To: linux-bluetooth
Hi,
The hcidump program shows a remote name request "Page Timeout" error.
I do not understand the reason. The Bluez stack requests for remote
name, the device replied with 'Nonin_Medical_Inc._359443' twice, Then
Bluez stack requests again, got "Page Timeout" error, and connection
stops. What is the reason of this behavior?
Thanks,
Victor
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x04 bdaddr 00:1C:05:00:70:44 name ''
Error: Page Timeout
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HCI Remote Name Request error "Page Timeout"
2012-07-17 9:34 HCI Remote Name Request error "Page Timeout" victor yeo
@ 2012-07-17 18:06 ` Gustavo Padovan
2012-07-18 6:26 ` victor yeo
0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Padovan @ 2012-07-17 18:06 UTC (permalink / raw)
To: victor yeo; +Cc: linux-bluetooth
Hi Victor,
* victor yeo <victoryeo1974@gmail.com> [2012-07-17 17:34:32 +0800]:
> Hi,
>
> The hcidump program shows a remote name request "Page Timeout" error.
> I do not understand the reason. The Bluez stack requests for remote
> name, the device replied with 'Nonin_Medical_Inc._359443' twice, Then
> Bluez stack requests again, got "Page Timeout" error, and connection
> stops. What is the reason of this behavior?
>
> Thanks,
> Victor
>
> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> > HCI Event: Command Status (0x0f) plen 4
> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> > HCI Event: Remote Name Req Complete (0x07) plen 255
> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> > HCI Event: Command Status (0x0f) plen 4
> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> > HCI Event: Remote Name Req Complete (0x07) plen 255
> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> > HCI Event: Command Status (0x0f) plen 4
> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> > HCI Event: Remote Name Req Complete (0x07) plen 255
> status 0x04 bdaddr 00:1C:05:00:70:44 name ''
> Error: Page Timeout
Can you enable dynamic_debug on your kernel for the bluetooth module and post
those logs to us? I wanna see what HCI is doing here.
Gustavo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HCI Remote Name Request error "Page Timeout"
2012-07-17 18:06 ` Gustavo Padovan
@ 2012-07-18 6:26 ` victor yeo
2012-07-18 7:04 ` Andrei Emeltchenko
0 siblings, 1 reply; 5+ messages in thread
From: victor yeo @ 2012-07-18 6:26 UTC (permalink / raw)
To: Gustavo Padovan, victor yeo, linux-bluetooth
> Hi Victor,
>
> * victor yeo <victoryeo1974@gmail.com> [2012-07-17 17:34:32 +0800]:
>
>> Hi,
>>
>> The hcidump program shows a remote name request "Page Timeout" error.
>> I do not understand the reason. The Bluez stack requests for remote
>> name, the device replied with 'Nonin_Medical_Inc._359443' twice, Then
>> Bluez stack requests again, got "Page Timeout" error, and connection
>> stops. What is the reason of this behavior?
>>
>> Thanks,
>> Victor
>>
>> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
>> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
>> > HCI Event: Command Status (0x0f) plen 4
>> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>> > HCI Event: Remote Name Req Complete (0x07) plen 255
>> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
>> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
>> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
>> > HCI Event: Command Status (0x0f) plen 4
>> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>> > HCI Event: Remote Name Req Complete (0x07) plen 255
>> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
>> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
>> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
>> > HCI Event: Command Status (0x0f) plen 4
>> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>> > HCI Event: Remote Name Req Complete (0x07) plen 255
>> status 0x04 bdaddr 00:1C:05:00:70:44 name ''
>> Error: Page Timeout
>
> Can you enable dynamic_debug on your kernel for the bluetooth module and post
> those logs to us? I wanna see what HCI is doing here.
>
> Gustavo
So i re-build the kernel with CONFIG_DYNAMIC_DEBUG, use the newly
built kernel, then run?
echo -n 'module bluetoothd +p' > <debugfs>/dynamic_debug/control
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HCI Remote Name Request error "Page Timeout"
2012-07-18 6:26 ` victor yeo
@ 2012-07-18 7:04 ` Andrei Emeltchenko
2012-07-18 7:39 ` victor yeo
0 siblings, 1 reply; 5+ messages in thread
From: Andrei Emeltchenko @ 2012-07-18 7:04 UTC (permalink / raw)
To: victor yeo; +Cc: Gustavo Padovan, linux-bluetooth
Hi Victor,
On Wed, Jul 18, 2012 at 02:26:47PM +0800, victor yeo wrote:
> > Hi Victor,
> >
> > * victor yeo <victoryeo1974@gmail.com> [2012-07-17 17:34:32 +0800]:
> >
> >> Hi,
> >>
> >> The hcidump program shows a remote name request "Page Timeout" error.
> >> I do not understand the reason. The Bluez stack requests for remote
> >> name, the device replied with 'Nonin_Medical_Inc._359443' twice, Then
> >> Bluez stack requests again, got "Page Timeout" error, and connection
> >> stops. What is the reason of this behavior?
> >>
> >> Thanks,
> >> Victor
> >>
> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> >> > HCI Event: Command Status (0x0f) plen 4
> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
> >> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> >> > HCI Event: Command Status (0x0f) plen 4
> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
> >> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
> >> > HCI Event: Command Status (0x0f) plen 4
> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
> >> status 0x04 bdaddr 00:1C:05:00:70:44 name ''
> >> Error: Page Timeout
BTW: What about adding timestamp, just wondering are those requests sent
immediately one after one.
> > Can you enable dynamic_debug on your kernel for the bluetooth module and post
> > those logs to us? I wanna see what HCI is doing here.
> >
> > Gustavo
>
> So i re-build the kernel with CONFIG_DYNAMIC_DEBUG, use the newly
> built kernel, then run?
>
> echo -n 'module bluetoothd +p' > <debugfs>/dynamic_debug/control
something like this is enough:
echo 'file l2cap_core.c +fpt' > /debugfs/dynamic_debug/control; \
echo 'file hci_conn.c +fpt' > /debugfs/dynamic_debug/control; \
echo 'file hci_event.c +fpt' > /debugfs/dynamic_debug/control; \
echo 'file hci_core.c +fpt' > /debugfs/dynamic_debug/control"
Best regards
Andrei Emeltchenko
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HCI Remote Name Request error "Page Timeout"
2012-07-18 7:04 ` Andrei Emeltchenko
@ 2012-07-18 7:39 ` victor yeo
0 siblings, 0 replies; 5+ messages in thread
From: victor yeo @ 2012-07-18 7:39 UTC (permalink / raw)
To: Andrei Emeltchenko, victor yeo, Gustavo Padovan, linux-bluetooth
On Wed, Jul 18, 2012 at 3:04 PM, Andrei Emeltchenko
<andrei.emeltchenko.news@gmail.com> wrote:
> Hi Victor,
>
> On Wed, Jul 18, 2012 at 02:26:47PM +0800, victor yeo wrote:
>> > Hi Victor,
>> >
>> > * victor yeo <victoryeo1974@gmail.com> [2012-07-17 17:34:32 +0800]:
>> >
>> >> Hi,
>> >>
>> >> The hcidump program shows a remote name request "Page Timeout" error.
>> >> I do not understand the reason. The Bluez stack requests for remote
>> >> name, the device replied with 'Nonin_Medical_Inc._359443' twice, Then
>> >> Bluez stack requests again, got "Page Timeout" error, and connection
>> >> stops. What is the reason of this behavior?
>> >>
>> >> Thanks,
>> >> Victor
>> >>
>> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
>> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
>> >> > HCI Event: Command Status (0x0f) plen 4
>> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
>> >> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
>> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
>> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
>> >> > HCI Event: Command Status (0x0f) plen 4
>> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
>> >> status 0x00 bdaddr 00:1C:05:00:70:44 name 'Nonin_Medical_Inc._359443'
>> >> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
>> >> bdaddr 00:1C:05:00:70:44 mode 2 clkoffset 0x0000
>> >> > HCI Event: Command Status (0x0f) plen 4
>> >> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>> >> > HCI Event: Remote Name Req Complete (0x07) plen 255
>> >> status 0x04 bdaddr 00:1C:05:00:70:44 name ''
>> >> Error: Page Timeout
>
> BTW: What about adding timestamp, just wondering are those requests sent
> immediately one after one.
>
>> > Can you enable dynamic_debug on your kernel for the bluetooth module and post
>> > those logs to us? I wanna see what HCI is doing here.
>> >
>> > Gustavo
>>
>> So i re-build the kernel with CONFIG_DYNAMIC_DEBUG, use the newly
>> built kernel, then run?
>>
>> echo -n 'module bluetoothd +p' > <debugfs>/dynamic_debug/control
>
> something like this is enough:
>
> echo 'file l2cap_core.c +fpt' > /debugfs/dynamic_debug/control; \
> echo 'file hci_conn.c +fpt' > /debugfs/dynamic_debug/control; \
> echo 'file hci_event.c +fpt' > /debugfs/dynamic_debug/control; \
> echo 'file hci_core.c +fpt' > /debugfs/dynamic_debug/control"
>
> Best regards
> Andrei Emeltchenko
>
Hi,
I found out the root cause of the "Page Timeout" error. I swap in
another bluetooth module. The device data is received by Bluez.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-07-18 7:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-17 9:34 HCI Remote Name Request error "Page Timeout" victor yeo
2012-07-17 18:06 ` Gustavo Padovan
2012-07-18 6:26 ` victor yeo
2012-07-18 7:04 ` Andrei Emeltchenko
2012-07-18 7:39 ` victor yeo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.