Re: [RFC][PATCH] Input: support the specified input device number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joonyoung,

On Thu, Oct 08, 2009 at 11:11:23AM +0900, Joonyoung Shim wrote:
> Currently, the input device number is decided by order of driver probe.
> But we need the specified input device number regardless of order of
> driver probe because the platform or the middleware tends to access
> using fixed device node of the input devices.
> 
> This patch supports to use the specified input device number when the
> input device is registered. If the input device number bigger than zero
> is registered before by other input device, returns error.
> 

No, I don't think this is a good solution. You can have persistent
device nodes without hadrcoding it into the driver. See how UDEV creates
'by-id' and 'by-path' links.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux