* Device class 0 read from Microsoft Designer Mouse (Bluetooth 4.0)
@ 2015-10-12 22:10 Qingtao Cao
2015-10-12 22:12 ` Qingtao Cao
0 siblings, 1 reply; 4+ messages in thread
From: Qingtao Cao @ 2015-10-12 22:10 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Qingtao Cao
Hi community,
Recently I got a Microsoft Designer Mouse which supports bluetooth 4.0
but it doesn't work on Ubuntu 15.04 with bluez4-4.101-0ubuntu25.
Although I can pair with it, I can't connect with it.
I've noticed that the Class value read in relevant DeviceFound message
is 0 (full message in the bottom), and to my surprise there is no
"org.bluez.Input" interface exposed on relevant object created after
pairing therefore I can't invoke the Connect() method on such
interface.
Furthermore, after pairing its object path is contained in the Devices
property of local adapter, but the linkkeys file contains no relevant
entry.
Home come bluez reads class value 0 from this device? does this
attribute to no input interface exported by bluez? how can I better
attack this problem?
Many thanks for any advice.
Cheers,
Harry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Device class 0 read from Microsoft Designer Mouse (Bluetooth 4.0)
2015-10-12 22:10 Device class 0 read from Microsoft Designer Mouse (Bluetooth 4.0) Qingtao Cao
@ 2015-10-12 22:12 ` Qingtao Cao
2015-10-13 5:20 ` Simon Fels
0 siblings, 1 reply; 4+ messages in thread
From: Qingtao Cao @ 2015-10-12 22:12 UTC (permalink / raw)
To: linux-bluetooth
Sorry, forgot to paste the DeviceFound message during scan operation
for this device:
signal sender=:1.2 -> dest=(null destination) serial=356
path=/org/bluez/969/hci1; interface=org.bluez.Adapter;
member=DeviceFound
string "E1:52:15:B9:F3:E4"
array [
dict entry(
string "Address"
variant string "E1:52:15:B9:F3:E4"
)
dict entry(
string "Class"
variant uint32 0
)
dict entry(
string "Icon"
variant string "input-mouse"
)
dict entry(
string "RSSI"
variant int16 -41
)
dict entry(
string "Name"
variant string "Designer Mouse"
)
dict entry(
string "Alias"
variant string "Designer Mouse"
)
dict entry(
string "LegacyPairing"
variant boolean false
)
dict entry(
string "Paired"
variant boolean false
)
dict entry(
string "Broadcaster"
variant boolean false
)
dict entry(
string "UUIDs"
variant array [
string "00001812-0000-1000-8000-00805f9b34fb"
]
)
]
On Tue, Oct 13, 2015 at 8:10 AM, Qingtao Cao <qingtao.cao.au@gmail.com> wrote:
> Hi community,
>
> Recently I got a Microsoft Designer Mouse which supports bluetooth 4.0
> but it doesn't work on Ubuntu 15.04 with bluez4-4.101-0ubuntu25.
> Although I can pair with it, I can't connect with it.
>
> I've noticed that the Class value read in relevant DeviceFound message
> is 0 (full message in the bottom), and to my surprise there is no
> "org.bluez.Input" interface exposed on relevant object created after
> pairing therefore I can't invoke the Connect() method on such
> interface.
>
> Furthermore, after pairing its object path is contained in the Devices
> property of local adapter, but the linkkeys file contains no relevant
> entry.
>
> Home come bluez reads class value 0 from this device? does this
> attribute to no input interface exported by bluez? how can I better
> attack this problem?
>
> Many thanks for any advice.
>
> Cheers,
> Harry
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Device class 0 read from Microsoft Designer Mouse (Bluetooth 4.0)
2015-10-12 22:12 ` Qingtao Cao
@ 2015-10-13 5:20 ` Simon Fels
2015-10-13 5:43 ` Qingtao Cao
0 siblings, 1 reply; 4+ messages in thread
From: Simon Fels @ 2015-10-13 5:20 UTC (permalink / raw)
To: Qingtao Cao, linux-bluetooth
Hey Harry,
>> Recently I got a Microsoft Designer Mouse which supports bluetooth 4.0
>> but it doesn't work on Ubuntu 15.04 with bluez4-4.101-0ubuntu25.
>> Although I can pair with it, I can't connect with it.
>>
>> I've noticed that the Class value read in relevant DeviceFound message
>> is 0 (full message in the bottom), and to my surprise there is no
>> "org.bluez.Input" interface exposed on relevant object created after
>> pairing therefore I can't invoke the Connect() method on such
>> interface.
The problem here seems to be that the mouse doesn't support HID but HOGP
(see [1]). BlueZ 4.x doesn't support HOGP. Ubuntu 15.10 already has
BlueZ 5.35 which has all needed things to support HOGP but I don't know
for sure if it already works today. Someone else can give you more
details here but you should definetely update to Ubuntu 15.10 to get the
newer required BlueZ version.
regards,
Simon
[1]: https://developer.bluetooth.org/TechnologyOverview/Pages/HOGP.aspx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Device class 0 read from Microsoft Designer Mouse (Bluetooth 4.0)
2015-10-13 5:20 ` Simon Fels
@ 2015-10-13 5:43 ` Qingtao Cao
0 siblings, 0 replies; 4+ messages in thread
From: Qingtao Cao @ 2015-10-13 5:43 UTC (permalink / raw)
To: Simon Fels; +Cc: linux-bluetooth
Thanks Simon for your timely information I really appreciate that!
I will upgrade Ubuntu to have bluez5 to test this mouse.
Cheers,
Harry
On Tue, Oct 13, 2015 at 3:20 PM, Simon Fels <simon.fels@canonical.com> wrote:
> Hey Harry,
>
>>> Recently I got a Microsoft Designer Mouse which supports bluetooth 4.0
>>> but it doesn't work on Ubuntu 15.04 with bluez4-4.101-0ubuntu25.
>>> Although I can pair with it, I can't connect with it.
>>>
>>> I've noticed that the Class value read in relevant DeviceFound message
>>> is 0 (full message in the bottom), and to my surprise there is no
>>> "org.bluez.Input" interface exposed on relevant object created after
>>> pairing therefore I can't invoke the Connect() method on such
>>> interface.
>
>
> The problem here seems to be that the mouse doesn't support HID but HOGP
> (see [1]). BlueZ 4.x doesn't support HOGP. Ubuntu 15.10 already has BlueZ
> 5.35 which has all needed things to support HOGP but I don't know for sure
> if it already works today. Someone else can give you more details here but
> you should definetely update to Ubuntu 15.10 to get the newer required BlueZ
> version.
>
> regards,
> Simon
>
> [1]: https://developer.bluetooth.org/TechnologyOverview/Pages/HOGP.aspx
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-13 5:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12 22:10 Device class 0 read from Microsoft Designer Mouse (Bluetooth 4.0) Qingtao Cao
2015-10-12 22:12 ` Qingtao Cao
2015-10-13 5:20 ` Simon Fels
2015-10-13 5:43 ` Qingtao Cao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox