Re: floppy support (was: [HEADS UP] remove ddate(1) command from rawhide)

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

 



On Tue, Aug 30, 2011 at 07:18:40PM +0200, Lennart Poettering wrote:
> On Tue, 30.08.11 18:30, Kevin Kofler (kevin.kofler@xxxxxxxxx) wrote:
> > An Arch Linux user once pointed out to me that Arch (at the time) probed for 
> > analog joysticks using this udev rule:
> > SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", ATTRS{id}=="PNPb02f", 
> > RUN+="/lib/udev/load-modules.sh analog"
> > (They have since dropped that rule in their trunk.) I don't know whether it 
> > makes any sense though. I presume this is just testing for the presence of a 
> > gameport without caring about what is connected, right?
> 
> If the PNP device with the ID "PNPb02f" is an analog joystick port then
> instead of hacking userspace rules like this the analog.ko kernel module
> should just gain a modinfo alias for it like for example parport_pc has
> for its PNP device ids. See "modinfo parport_pc" as an example.

The id is already present in ns558, which is the driver for the typical 
PC game port. However, this is only the driver for the controller, not 
for the joystick itself. In theory we could have the driver probe for a 
connected device and request_module("analog") if it finds something, but 
(a) that'd only work at boot, and (b) it'd be less than ideal if there's 
something other than a standard analog joystick connected.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux