Moving joydev back into the main modules package

Hans de Goede hdegoede at redhat.com
Tue May 12 10:20:05 UTC 2015


Hi,

On 12-05-15 10:34, Harald Hoyer wrote:
> On 12.05.2015 09:00, Hans de Goede wrote:
>> Hi,
>>
>> On 12-05-15 03:22, poma wrote:
>>> On 11.05.2015 20:05, Hans de Goede wrote:
>>>> Hi,
>>>>
>>>> On 11-05-15 18:50, Peter Robinson wrote:
>>>>> On Mon, May 11, 2015 at 4:53 PM, Hans de Goede <hdegoede at redhat.com> wrote:
>>>>>> Hi All,
>>>>>>
>>>>>> This weekend I lost 2 hours figuring out why supertuxkart would not
>>>>>> recognize a standard logitech usb gamepad.
>>>>>>
>>>>>> After 2 hours I found out that the problem is that some games
>>>>>> need to joydev module to interact with usb-hid devices as
>>>>>> the use the /dev/js interface rather then the /dev/input/event#
>>>>>> interface, once I had installed kernel-modules-extras everything
>>>>>> just worked, the module auto loaded stk recognized the gamepad
>>>>>> and things just worked (tm) which is what I believe is the
>>>>>> experience we want to offer ootb.
>>>>>>
>>>>>> Therefor I would like to request for the joydev module to be
>>>>>> moved from kernel-modules-extras into the main kernel-modules
>>>>>> package.
>>>>>
>>>>> A bunch of games use the means we now have to specify a "Requires:
>>>>> kernel-module(joydev)" style syntax so it doesn't matter where the
>>>>> module resides (sorry, don't know the exact syntax offhand).
>>>>
>>>> I do not think that sprinkling "Requires: kernel-module(joydev)"
>>>> all over the place for something which is really just core functionality
>>>> which apps should be able to rely on is a good idea. Esp. not when
>>>> we are talking about a module which is 6784 bytes on the filesystem.
>>>>
>>>> Also these requires have funny side effects, they cause dnf to
>>>> install kernel-debug rather then kernel-modules-extra when the
>>>> module is not already present on the system which sorta defeats the
>>>> purpose.
>>>>
>>>
>>> What rhbz is it?
>>
>> The one which you are going to create for it ?
>>
>> Just do: "dnf install joystick-support" on an F-22 system without
>> kernel-modules-extra installed to reproduce.
>>
>> Regards,
>>
>> Hans
>
> In that context, may I ask, if /dev/js* still has to be world readable?
>
> /lib/udev/rules.d/50-udev-default.rules:SUBSYSTEM=="input", KERNEL=="js[0-9]*",
> MODE="0664"

Interesting I see no reason for it be world readable really.

Regards,

Hans


More information about the kernel mailing list