[Bug 4788] wine should look for joystick devices in /dev/input

Wine Bugs wine-bugs at winehq.org
Thu Mar 9 23:29:12 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=4788





------- Additional Comments From mike at codeweavers.com  2006-09-03 23:29 -------

> So, I'm fairly convinced that any symlink, if available, should 
> actually be /dev/input/js* -> ../js*

That's the wrong way round though.  The old convention was that "/dev/js*"
existed.  New system software maintains compatability with older systems by
creating a symlink from the old location to the new location.  Old systems can't
be changed, and old software uses /dev/js*, so it should always be available.

A newer distribution maintains compatibility with older software by setting up
like follows:

bash-3.00$ ls -l /dev/input/js0 /dev/js0
crw-r--r--  1 root root 13, 0 2001-01-08 08:58 /dev/input/js0
lrwxrwxrwx  1 root root     9 2005-11-23 06:15 /dev/js0 -> input/js0

/dev/js0 shouldn't ever disappear, because there'll always be some old software
round that uses it.  /dev/input/js0 shouldn't be used by Wine because it may be
run on older systems that don't use udev, and don't have /dev/input/js0.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list