David Herrmann
19872d20c8
HID: uhid: allocate static minor
...
udev has this nice feature of creating "dead" /dev/<node> device-nodes if
it finds a devnode:<node> modalias. Once the node is accessed, the kernel
automatically loads the module that provides the node. However, this
requires udev to know the major:minor code to use for the node. This
feature was introduced by:
commit 578454ff7eab61d13a26b568f99a89a2c9edc881
Author: Kay Sievers <kay.sievers@vrfy.org>
Date: Thu May 20 18:07:20 2010 +0200
driver core: add devname module aliases to allow module on-demand auto-loading
However, uhid uses dynamic minor numbers so this doesn't actually work. We
need to load uhid to know which minor it's going to use.
Hence, allocate a static minor (just like uinput does) and we're good
to go.
Reported-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2013-09-26 11:03:29 +02:00
..
2013-09-06 11:58:37 +02:00
2013-09-06 11:58:37 +02:00
2013-07-31 10:12:28 +02:00
2013-09-06 11:58:37 +02:00
2013-04-18 19:06:20 -07:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-09-13 15:13:22 +02:00
2013-01-03 10:27:31 +01:00
2013-05-06 13:07:33 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-05-29 01:11:43 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-05-29 15:04:33 +02:00
2013-08-05 11:29:57 +02:00
2013-05-28 14:29:38 +02:00
2013-08-02 11:34:30 +08:00
2013-04-24 16:32:27 +02:00
2013-09-04 10:50:41 +02:00
2013-09-13 15:13:22 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-07-15 10:25:33 +02:00
2013-01-03 10:27:31 +01:00
2013-09-13 15:15:11 +02:00
2013-09-13 15:12:39 +02:00
2013-09-13 15:12:39 +02:00
2013-09-13 15:12:39 +02:00
2013-02-21 10:45:01 +01:00
2012-09-25 15:41:02 +02:00
2013-09-13 15:12:39 +02:00
2013-09-13 15:13:32 +02:00
2013-07-22 16:32:24 +02:00
2013-09-06 11:58:37 +02:00
2013-04-29 10:16:55 +02:00
2013-01-03 10:27:31 +01:00
2013-09-13 15:13:52 +02:00
2013-09-04 12:00:23 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-09-02 13:36:50 +02:00
2013-09-04 12:03:27 +02:00
2013-07-22 16:16:40 +02:00
2013-09-02 13:36:50 +02:00
2013-02-25 13:26:41 +01:00
2013-02-25 13:26:41 +01:00
2013-04-30 10:19:07 +02:00
2013-09-04 11:58:32 +02:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-09-06 09:30:36 -07:00
2013-09-06 09:30:36 -07:00
2013-03-14 11:50:49 +01:00
2013-09-06 09:30:36 -07:00
2013-04-08 10:33:13 +02:00
2013-09-06 09:30:36 -07:00
2012-11-18 22:58:28 +01:00
2013-09-06 09:30:36 -07:00
2013-03-14 11:50:49 +01:00
2013-09-06 09:30:36 -07:00
2012-11-12 15:30:29 +01:00
2013-01-03 10:27:31 +01:00
2012-10-17 10:44:47 +02:00
2013-08-20 16:59:00 -07:00
2012-11-12 15:30:28 +01:00
2013-08-19 21:46:53 -07:00
2012-07-20 09:50:42 +02:00
2013-06-18 11:00:36 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-09-06 11:59:53 +02:00
2013-02-25 13:26:41 +01:00
2013-09-13 15:12:12 +02:00
2013-08-26 13:51:10 +02:00
2013-09-13 15:12:28 +02:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:40 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-07-04 15:04:47 +02:00
2013-01-03 10:27:31 +01:00
2013-09-07 09:48:41 -07:00
2013-06-03 11:07:06 +02:00
2013-09-07 09:48:41 -07:00
2013-09-07 09:48:41 -07:00
2013-08-26 13:23:04 +02:00
2013-09-13 15:11:34 +02:00
2013-07-31 10:12:28 +02:00
2013-09-04 10:49:57 +02:00
2013-09-13 15:09:52 +02:00
2013-07-29 11:49:29 +02:00
2013-09-26 11:03:29 +02:00