Re: [BUG?] HID: uhid: add devname module alias

From: David Herrmann
Date: Mon Sep 09 2013 - 12:38:28 EST


Hi Tom

On Mon, Sep 9, 2013 at 5:43 PM, Tom Gundersen <teg@xxxxxxx> wrote:
> Hi Marcel,
>
> The above commit (60cbd53 in mainline) doesn't appear to work for me.
> I.e., depmod does not create an entry in modules.devname and hence no
> device node is created on boot.
>
> If I understand correctly, you'd also need to create the correct
> "char-major-<MAJOR>-<MINOR>" alias (which I don't think you can do as
> long as you are using MISC_DYNAMIC_MINOR).
>
> Or am I missing something?

Nope, that's correct as discussed on IRC. Patch pending as:
Subject: [PATCH] HID: uhid: allocate static minor
Message-Id: <1378744434-10883-1-git-send-email-dh.herrmann@xxxxxxxxx>

Thanks
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/