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 578454ff7e
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-02 11:49:56 +05:30
2013-09-06 13:21:16 -07:00
2013-09-09 16:35:29 -07:00
2013-09-10 13:33:09 -07:00
2013-09-05 14:54:29 -07:00
2013-09-12 11:35:33 -07:00
2013-09-10 13:03:41 -07:00
2013-09-01 13:50:20 +01:00
2013-09-10 13:33:09 -07:00
2013-09-10 20:04:59 -07:00
2013-09-05 14:54:29 -07:00
2013-09-11 15:58:04 -07:00
2013-09-11 15:59:04 -07:00
2013-09-04 09:23:46 -04:00
2013-09-11 15:56:57 -07:00
2013-09-11 15:58:25 -07:00
2013-09-13 15:09:52 +02:00
2013-09-10 02:54:50 +02:00
2013-09-11 15:59:10 -07:00
2013-09-07 12:56:26 +10:00
2013-09-10 18:56:29 -04:00
2013-09-05 20:46:06 -04:00
2013-09-09 10:26:33 -07:00
2013-09-10 13:37:36 -07:00
2013-09-03 20:57:49 -04:00
2013-09-07 19:54:57 -04:00
2013-09-12 10:12:47 -07:00
2013-09-13 23:06:40 -04:00
2013-09-06 09:17:30 +01:00
2013-09-06 09:17:30 +01:00
2013-09-03 07:41:11 +02:00
2013-09-11 15:57:35 -07:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:11:21 +02:00
2013-09-12 15:38:03 -07:00
2013-09-11 15:57:49 -07:00
2013-09-11 15:59:37 -07:00
2013-09-13 15:09:52 +02:00
2013-09-11 15:59:42 -07:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-13 15:09:52 +02:00
2013-09-11 15:58:52 -07:00
2013-09-10 18:56:32 -04:00
2013-09-07 15:49:18 -07:00
2013-09-11 15:59:45 -07:00
2013-09-11 15:57:51 -07:00
2013-09-12 15:38:02 -07:00
2013-09-11 15:57:48 -07:00
2013-09-13 10:55:58 -07:00
2013-09-26 11:03:29 +02:00
2013-09-11 15:58:01 -07:00
2013-09-13 10:55:58 -07:00
2013-09-12 15:38:03 -07:00
2013-09-11 15:58:01 -07:00
2013-09-07 09:48:41 -07:00
2013-09-03 16:35:47 +09:30
2013-09-08 20:20:23 -04:00
2013-09-06 14:43:49 -04:00
2013-09-06 14:49:16 -04:00
2013-09-03 15:26:29 -04:00
2013-09-05 10:40:45 -04:00
2013-09-03 16:40:32 -04:00
2013-09-10 13:53:52 -07:00
2013-09-10 13:53:52 -07:00
2013-09-03 22:52:48 -04:00
2013-09-05 14:54:29 -07:00
2013-09-15 17:41:30 -04:00
2013-09-06 13:30:06 -07:00
2013-09-09 14:29:15 -07:00
2013-09-04 11:55:10 -07:00
2013-09-11 15:59:36 -07:00
2013-09-11 15:59:37 -07:00
2013-09-11 15:59:20 -07:00
2013-09-03 10:07:40 -07:00
2013-09-12 15:38:02 -07:00
2013-09-12 15:38:02 -07:00
2013-09-12 09:25:23 -07:00
2013-09-10 18:56:32 -04:00
2013-09-01 14:16:33 -07:00
2013-09-04 00:27:25 -04:00
2013-09-04 20:51:33 +03:00
2013-09-04 23:11:42 +03:00
2013-09-04 20:53:16 +03:00
2013-09-11 15:58:25 -07:00
2013-09-12 15:38:02 -07:00
2013-09-11 15:58:25 -07:00
2013-09-03 09:10:24 -04:00
2013-09-07 14:35:32 -07:00
2013-09-03 19:17:59 +02:00
2013-09-11 15:57:09 -07:00
2013-09-03 18:25:03 -07:00
2013-09-11 15:58:01 -07:00
2013-09-11 15:58:02 -07:00