2018-01-23 22:55:09

by Thomas Green

[permalink] [raw]
Subject: apple keyboard

All,

I have a Bluetooth apple keyboard that I'm trying to use. The keyboard pai=
rs and connects just fine, but the custom apple driver hid_apple.ko is neve=
r loaded. I can

modprobe hid_apple

and it loads and works fine. Where in the driver initialization code shoul=
d I look to find out why the available driver isn't being loaded automatica=
lly? I'm on bluez 5.48

Tom


2018-01-24 15:52:12

by Thomas Green

[permalink] [raw]
Subject: RE: apple keyboard

PkhpIFRob21hcywNCj4NCj5PbiBUdWUsIEphbiAyMywgMjAxOCBhdCA4OjU1IFBNLCBUaG9tYXMg
R3JlZW4gPFRHcmVlbjJAc29yZW5zb24uY29tPiB3cm90ZToNCj4+IEFsbCwNCj4+DQo+PiBJIGhh
dmUgYSBCbHVldG9vdGggYXBwbGUga2V5Ym9hcmQgdGhhdCBJJ20gdHJ5aW5nIHRvIHVzZS4gIFRo
ZSANCj4+IGtleWJvYXJkIHBhaXJzIGFuZCBjb25uZWN0cyBqdXN0IGZpbmUsIGJ1dCB0aGUgY3Vz
dG9tIGFwcGxlIGRyaXZlciANCj4+IGhpZF9hcHBsZS5rbyBpcyBuZXZlciBsb2FkZWQuICBJIGNh
bg0KPj4NCj4+IG1vZHByb2JlIGhpZF9hcHBsZQ0KPj4NCj4+IGFuZCBpdCBsb2FkcyBhbmQgd29y
a3MgZmluZS4gIFdoZXJlIGluIHRoZSBkcml2ZXIgaW5pdGlhbGl6YXRpb24gY29kZSANCj4+IHNo
b3VsZCBJIGxvb2sgdG8gZmluZCBvdXQgd2h5IHRoZSBhdmFpbGFibGUgZHJpdmVyIGlzbid0IGJl
aW5nIGxvYWRlZCANCj4+IGF1dG9tYXRpY2FsbHk/ICBJJ20gb24gYmx1ZXogNS40OA0KPg0KPldo
YXQgbW9kZWw/IFdlIG5lZWQgdG8gY2hlY2sgaWYgdGhlIHBpZC92aWQgaXMgcmVhbGx5IG1hdGNo
aW5nIHRoZSBkcml2ZXIsIHRoaXMgc2hvdWxkIGJlIGF2YWlsYWJsZSBpbiBkbWVzZyB3aGVuIHRo
ZSBoaWQgZGV2aWNlIGFwcGVhcnMuDQo+UGVyaGFwcyBhcHBsZSBoYXMgY2hhbmdlZCB0aGUgcGlk
L3ZpZCB3aGVuIGRpc2NvdmVyZWQgb3ZlciBCbHVldG9vdGguDQoNCk1vZGxlIE5vLiBBMTMxNA0K
QXMgSSB0cmFjZSB0aGUgY29kZSB0aHJvdWdoIHRoZSBzZXQgdXAgSSBzZWUgdGhhdCB0aGUgYnVz
IGlzIDB4NSwgdmVuZG9yIElEIGlzIDB4NWFjIGRldmljZSBpZCBpcyAweDI1NS4NClNvLCBpdCBt
YXRjaGVzIHRoZSBlbnRyeSAgaW4gaGlkLWNvcmUuYywgaGlkX2hhdmVfc3BlY2lhbF9kcml2ZXIg
VVNCX0RFVklDRV9JRF9BUFBMRV9BTFVfV0lSRUxFU1NfMjAxMV9BTlNJDQoNCj4NCj4+IFRvbQ0K
PiA+LS0NCj4gPlRvIHVuc3Vic2NyaWJlIGZyb20gdGhpcyBsaXN0OiBzZW5kIHRoZSBsaW5lICJ1
bnN1YnNjcmliZSANCj4gPmxpbnV4LWJsdWV0b290aCIgaW4gdGhlIGJvZHkgb2YgYSBtZXNzYWdl
IHRvIG1ham9yZG9tb0B2Z2VyLmtlcm5lbC5vcmcgDQo+PiBNb3JlIG1ham9yZG9tbyBpbmZvIGF0
ICBodHRwOi8vdmdlci5rZXJuZWwub3JnL21ham9yZG9tby1pbmZvLmh0bWwNCj4NCj4NCj4NCj4t
LQ0KPkx1aXogQXVndXN0byB2b24gRGVudHoNCg==

2018-01-24 10:54:47

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: apple keyboard

Hi Thomas,

On Tue, Jan 23, 2018 at 8:55 PM, Thomas Green <[email protected]> wrote:
> All,
>
> I have a Bluetooth apple keyboard that I'm trying to use. The keyboard pairs and connects just fine, but the custom apple driver hid_apple.ko is never loaded. I can
>
> modprobe hid_apple
>
> and it loads and works fine. Where in the driver initialization code should I look to find out why the available driver isn't being loaded automatically? I'm on bluez 5.48

What model? We need to check if the pid/vid is really matching the
driver, this should be available in dmesg when the hid device appears.
Perhaps apple has changed the pid/vid when discovered over Bluetooth.

> Tom
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
Luiz Augusto von Dentz