From: Andrey Borzenkov All other input devices are under /dev/input; any reason joystick is the exception? --- 25-akpm/drivers/input/joydev.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/input/joydev.c~devfs-joystick-fix drivers/input/joydev.c --- 25/drivers/input/joydev.c~devfs-joystick-fix Thu Jan 15 17:33:34 2004 +++ 25-akpm/drivers/input/joydev.c Thu Jan 15 17:34:08 2004 @@ -143,7 +143,7 @@ static int joydev_fasync(int fd, struct static void joydev_free(struct joydev *joydev) { - devfs_remove("js%d", joydev->minor); + devfs_remove("input/js%d", joydev->minor); joydev_table[joydev->minor] = NULL; class_simple_device_remove(MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + joydev->minor)); kfree(joydev); @@ -444,7 +444,7 @@ static struct input_handle *joydev_conne joydev_table[minor] = joydev; devfs_mk_cdev(MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + minor), - S_IFCHR|S_IRUGO|S_IWUSR, "js%d", minor); + S_IFCHR|S_IRUGO|S_IWUSR, "input/js%d", minor); class_simple_device_add(input_class, MKDEV(INPUT_MAJOR, JOYDEV_MINOR_BASE + minor), dev->dev, "js%d", minor); _