-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/29/14, 10:26 AM, Jiri Slaby wrote:
On 07/29/2014, 04:18 PM, Jeff Mahoney wrote:
I know this is cumbersome, but the documentation rules are mostly from the upstream kernel. They exist for long-term maintainability of the kernel. I know you just want to get your tablet's keyboard working, but everyone wants to just get /something/ working and we'd end up with a mess if we accepted patches outside of the rules.
What a nice write-up, Jeff!
Unfortunately, it seems that the HID subsystem doesn't support the new_id mechanism that PCI and general USB devices do (HID is an abstraction layer above the USB bus). Otherwise, it would be possible to tell the driver about the new IDs at runtime until your kernel patch is accepted.
new_id support was added some time later after the conversion to bus. So Shawn, you actually can echo something to that file to make your device working. But since I see no device information here, I cannot tell you what exactly to write to which driver in /sys/bus/hid/drivers/*/new_id
Ah, yeah, I tested it on 3.12. I didn't test it with a newer version. If that's the case, then it makes things nicer in the short term. It should be as simple as: echo -n "0x045e 0x07dc" > /sys/bus/hid/drivers/hid_microsoft/new_id It could be hid_microsoft, or hid-microsoft. I don't have a 3.15 kernel booted to check it with. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.19 (Darwin) iQIcBAEBAgAGBQJT16/+AAoJEB57S2MheeWyJDkQAIMSl1kVJ3JO6ap9TgYYcFXH xLpnKp13G6dmDGTwHLW9Yaa5IBEovc9vcI8zLy35amVrVhf38/YlyWziJoFZHYnU 4wfRqPoFOx7W1N2wh6M8LQbIQ4qhSZ5BG44oIW2wxscgKAAX7RLG7a95hZS4T7cu 4VslKAKkEphFHlN6fiPHdZmX1vXpyUEuSne2w/FgoBAiY9ggYQbu3sVCSUXgOSJ2 m71cD+3iD4807CLDEZN9EChbjQJzQI1RWek7f4B6rEYA7FKvTfl0fzh7ZZDMXRL6 JWuwdeeqscFylH5jP6jdUlE3BphWOANSvdGqFNuQvYGerUHM9ggytLVgfo6AtA0K 3hKpwEqywhztvkQp2divi+iLhcWaipTknaWkX/WJggrVvfTVDh82MwVM5MdzWhGr EQXk+gLop/RB51IA6FeEONJu7Ambc+SwGypQYIcyv7Ga0TC13JaK7+ICaMGQSFF0 BG6orJireCBauc561oVe8MlvLMEQjPlWa48OnxaA0AGEcXIaBGsoCMXPCv/LggbI eZbFlFJvE8Jg8vewwj7Wb4wTVR9LftK2ugU1GFFrFRBzo0lWBFV8hgofehw9fBa2 GehS9mgQLVmwfvmYMQlXus/Dh0n71VeAQzsC2bgsCH0Mu+CUaGQEKGJud++zHwFw 6EvPyVCDq4Fsh9lUvy8r =b5gO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org