Re: [PATCH 00/11] Atari Ethernet/USB patch series - for upstream and debian-kernel

Geert Uytterhoeven
2013-03-29T07:56:44Z

On Fri, Mar 29, 2013 at 12:10 AM, Christian T. Steigies <cts@debian.org> wrote:
> The HID drivers seem to be enabled in the official kernel, which runs on
> kullervo, I don't seem to be able to switch off just the microsoft one.
> Maybe by modifying the generic config, but I am afraid the magical package
> building breaks again, genconfig.py does not run on my testing box, not sure
> why. In Geert's tree, memcmp is not used in the driver, thats probably why
> this one builds:
>
> @@ -47,9 +46,9 @@
> rdesc[559] = 0x45;
> }
> /* the same as above (s/usage/physical/) */
> - if ((quirks & MS_RDESC_3K) && *rsize == 106 &&
> - !memcmp((char []){ 0x19, 0x00, 0x29, 0xff },
> - &rdesc[94], 4)) {
> + if ((quirks & MS_RDESC_3K) && *rsize == 106 && rdesc[94] == 0x19 &&
> + rdesc[95] == 0x00 && rdesc[96] == 0x29 &&
> + rdesc[97] == 0xff) {
> rdesc[94] = 0x35;
> rdesc[96] = 0x45;
> }
>
>> >buildds) another way. kernel-package?

I reported that problem and it got fixed. Probably the fix never made it to
-stable?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds