Bug 91309
Summary: | /etc/modules.conf should be updated while joystick package rpm is installed | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Paul Osmialowski <newchief> |
Component: | modutils | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | rvokal, zaitcev |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.4.25-2 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-05-28 19:41:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paul Osmialowski
2003-05-21 10:19:42 UTC
perhaps kudzu should detect joystick and add the correct parameters in /etc/modules.conf Non-USB joysticks can't be detected, afaik. What messages do you get when you plug in the joystick without those two lines? Hotplug should be loading the joystick module for you.... (for USB) This is the info you'd asked for: I've removed these two lines from /etc/modules.conf and after restart I can see: [root@oyster root]# dmesg|grep -i joy input0: USB HID v1.10 Joystick [Logitech WingMan Attack 2] on usb4:2.0 [root@oyster root]# cat /dev/js0 cat: /dev/js0: Device not found After I've removed joystick plug from USB connector and connected it again I've got: [root@oyster root]# dmesg |grep -i joy input0: USB HID v1.10 Joystick [Logitech WingMan Attack 2] on usb4:2.0 input0: USB HID v1.10 Joystick [Logitech WingMan Attack 2] on usb4:3.0 [root@oyster root]# cat /dev/js0 cat: /dev/js0: Device not found I'm using USB 2.0 EHCI controller: [root@oyster root]# dmesg |grep -i ehci ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Controller ehci-hcd 00:1d.7: irq 3, pci mem e0890c00 ehci-hcd 00:1d.7: enabled 64bit PCI DMA ehci-hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22 Pete: is hotplugging joysticks supposed to load the joydev input driver? Does it need usb ids added to it? Paul forgets that the input layer is layered itself. The "input" driver registers itself with the character device layer and is autoloaded whenever anything with major 13 is open. The "alias char-major-13 input" is not needed, because it's built into modprobe. Run "modprobe -c | grep input" to see it. Instead, he wants "alias char-major-13-0 joydev", which is autoloaded by [already autoloaded] input driver with the fix attached to the bug 35215. The /sbin/hotplug calls usb.agent, which loads hid. This has nothing to do with the joydev, so don't pull this into the discussion. So, `echo "alias char-major-13-0 joydev" >> /etc/modules.conf` covers the USB side of things. I suggest to forget the analog stuff. It never worked reliably, we had some bugs filed before, and I discussed it with the upstream. It simply cannot be supported. If someone wants to play with that, they should configure the system manually and cross their fingers. Of course, we pre-build all necessary components, so they don't need to compile kernels or anything. But if it fails to work, tough luck. OK, assigning to modutils so we can make this alias default. Will be in 2.4.25-2. |