Skip to contentSkip to conversation

usb mouse, iomega zip and 2.2.19-pre7

PATCH In review f5ibh 4 participants 6 messages Jan 9, 2001 – Jan 12, 2001 USB

lore
Share & tools
lore

f5ibh

author
#0 lore raw

Hi,

usb-mouse
---------
In 2.2.19-pre6 (and previous) we had a CONFIG_INPUT_MOUSEDEV. It has disapearead in 2.2.19-7. The only alternative for an usb mouse seems to be CONFIG_USB_MOUSE which is for an USB HIDBP Mouse.

So there is no mean to get mousedev & input compiled.
Maybe "Input core support" is missing with the matching ../drivers/input directory.

Iomega ZIP support
------------------
IOMEGA parallel port (ppa - older drives)
IOMEGA parallel port (imm - newer drives)
Have vanished from the "SCSI low-level drivers" sub-menu.

--------

Regards

Jean-Luc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 11 lines · On Tue, Jan 09, 2001 at 09:46:14PM +0100, f5ibh wrote:

Hi,

usb-mouse
---------
In 2.2.19-pre6 (and previous) we had a CONFIG_INPUT_MOUSEDEV. It has disapearead in 2.2.19-7. The only alternative for an usb mouse seems to be CONFIG_USB_MOUSE which is for an USB HIDBP Mouse.

So there is no mean to get mousedev & input compiled.
Maybe "Input core support" is missing with the matching ../drivers/input directory.

Crap, I messed up and forgot about this move. Patch soon to fix this, thanks for noticing it.

greg k-h

Signature · 6 lines
greg@(kroah|wirex).com
http://immunix.org/~greg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw

PATCH 1/1 USB Config fix for 2.2.19-pre7

Hi,

Here's a fix for the USB Config for 2.2.19-pre7. I messed up and took out the HID devices in the patch I sent you for 2.2.19-pre6.

thanks,

greg k-h

Signature · 1 line
greg@(kroah|wirex).com
drivers/usb/Config.in +16 -9
diff -Naur -X dontdiff linux-2.2.19-pre7/drivers/usb/Config.in linux-2.2.19-pre7-greg/drivers/usb/Config.in
@@ -36,16 +36,23 @@
    dep_tristate '  USB Printer support' CONFIG_USB_PRINTER $CONFIG_USB
 
    comment 'USB Human Interface Devices (HID)'
-   if [ "$CONFIG_INPUT" = "n" ]; then
-      comment '  Input core support is needed for USB HID'
-   else
-      dep_tristate '  USB Human Interface Device (full HID) support' CONFIG_USB_HID $CONFIG_USB $CONFIG_INPUT
-      if [ "$CONFIG_USB_HID" != "y" ]; then
-         dep_tristate '  USB HIDBP Keyboard (basic) support' CONFIG_USB_KBD $CONFIG_USB $CONFIG_INPUT
-         dep_tristate '  USB HIDBP Mouse (basic) support' CONFIG_USB_MOUSE $CONFIG_USB $CONFIG_INPUT
-      fi
-      dep_tristate '  Wacom Intuos/Graphire tablet support' CONFIG_USB_WACOM $CONFIG_USB $CONFIG_INPUT
+   dep_tristate '  USB Human Interface Device (full HID) support' CONFIG_USB_HID $CONFIG_USB
+   if [ "$CONFIG_USB_HID" != "y" ]; then
+      dep_tristate '  USB HIDBP Keyboard (basic) support' CONFIG_USB_KBD $CONFIG_USB
+      dep_tristate '  USB HIDBP Mouse (basic) support' CONFIG_USB_MOUSE $CONFIG_USB
    fi
+   if [ "$CONFIG_VT" = "y" ]; then
+      dep_tristate '  Keyboard support' CONFIG_INPUT_KEYBDEV $CONFIG_USB $CONFIG_USB_HID
+   fi
+   dep_tristate '  Mouse support' CONFIG_INPUT_MOUSEDEV $CONFIG_USB $CONFIG_USB_HID
+   if [ "$CONFIG_INPUT_MOUSEDEV" != "n" ]; then
+      int '   Horizontal screen resolution' CONFIG_INPUT_MOUSEDEV_SCREEN_X 1024
+      int '   Vertical screen resolution' CONFIG_INPUT_MOUSEDEV_SCREEN_Y 768
+   fi
+   dep_tristate '  Joystick support' CONFIG_INPUT_JOYDEV $CONFIG_USB $CONFIG_USB_HID
+   dep_tristate '  Logitech WingMan Force joystick support' CONFIG_USB_WMFORCE $CONFIG_USB $CONFIG_USB_HID
+   dep_tristate '  Wacom Intuos/Graphire tablet support' CONFIG_USB_WACOM $CONFIG_USB $CONFIG_USB_HID
+   dep_tristate '  Event interface support' CONFIG_INPUT_EVDEV $CONFIG_USB $CONFIG_USB_HID
 
    comment 'USB Imaging devices'
    dep_tristate '  USB Kodak DC-2xx Camera support' CONFIG_USB_DC2XX $CONFIG_USB
#3 lore raw

Re: [linux-usb-devel] [PATCH] USB Config fix for 2.2.19-pre7

Quoted 4 lines · Greg KH

Hi,

Here's a fix for the USB Config for 2.2.19-pre7. I messed up and took out the HID devices in the patch I sent you for 2.2.19-pre6.

Why do the input handlers depend on CONFIG_USB_HID? On PPC we already have trouble with them depending on CONFIG_USB, so everybody has to select CONFIG_USB even if he just has ADB hardware.

Alan, would you accept a patch putting 2 main_menu's for CONFIG_USB and CONFIG_INPUT into usb/Config.in? This avoids the move of the input drivers into drivers/input as in 2.4 (which you seemingly don't want in 2.2) and only requires a minor adjustment in drivers/Makefile.

Franz.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw

Re: [linux-usb-devel] [PATCH] USB Config fix for 2.2.19-pre7

In reply to Greg KH
Quoted 3 lines · Franz Sirl

Why do the input handlers depend on CONFIG_USB_HID? On PPC we already have trouble with them depending on CONFIG_USB, so everybody has to select CONFIG_USB even if he just has ADB hardware.

Don't these input drivers _require_ the USB HID driver core to work properly?

Or am I mistaken, and this is the 2.4.0 input core code, but not in a separate directory, like 2.4.0 has it?

thanks,

greg k-h

Signature · 5 lines
greg@(kroah|wirex).com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#5 lore raw

Re: [linux-usb-devel] [PATCH] USB Config fix for 2.2.19-pre7

Quoted 7 lines · Greg KH
Quoted 3 lines · Franz Sirl

Why do the input handlers depend on CONFIG_USB_HID? On PPC we already have trouble with them depending on CONFIG_USB, so everybody has to select CONFIG_USB even if he just has ADB hardware.

Don't these input drivers _require_ the USB HID driver core to work properly?

No.

Quoted 2 lines

Or am I mistaken, and this is the 2.4.0 input core code, but not in a separate directory, like 2.4.0 has it?

Yes, it's the input core code, but without a separate directory or main_menu entry :-(. That means that currently on PPC people have to select CONFIG_USB even if they just want to have the input core code for CONFIG_INPUT_ADBHID. Since Alan rejected the creation of drivers/input in 2.2 for unknown (?) reasons, I suggest to add a 2nd main_menu in usb/Config.in for CONFIG_INPUT items. Then adjust drivers/Makefile in a way that drivers/usb is entered if CONFIG_USB is unset but CONFIG_INPUT is set.

Franz.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/