On Fri, 9 Aug 2002, Brad Hards wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, 9 Aug 2002 20:54, Morten Holm Larsen wrote:
> > Hi,
> >
> > I have plug several USB keypads into a USB HUB, recompile a 2.4.18 kernel
> > with:
> >
> > USB Human Interface Device (full HID) support
> > /dev/hiddev raw HID device support (EXPERIMENTAL)
> Seems OK.
>
> > USB HIDBP Keyboard (basic) support
> Don't even think about using this. Turn it off, and never turn it back on
> again.
>
> > when I load keybdev,hid,input modules all the keypads work fine as a
> > normal keypads.
> >
> > But I am working on a project, where I have to redirect the keypads to a
> > Daemons. Further more the Daemons has to identity which keypads that
> > submit the keypress.
> >
> > So maybe redirect each keypads to /dev/keypadXX
> Get a newer kernel, turn off CONFIG_USB_HIDINPUT, and read the device info
> from /dev/usb/hiddev
> Or turn on CONFIG_USB_HIDINPUT, and read the device info from
> /dev/input/event.

I have now try kernel-2.4.19 and kernel-2.5.31 and /dev/usb/hiddev is
still not able.

my .config for kernel-2.5.31 is
CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT is not set
# CONFIG_HID_FF is not set
# CONFIG_HID_PID is not set
# CONFIG_LOGITECH_FF is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set


I have also tray to put

vendor 0x04b4 product 0x0102 module hiddev
vendor 0x04b4 product 0x1000 module hiddev

i to /etc/usbmgr/usbmgr.conf (There is non man-pages to usbmgr)

lsmod say:
Module                  Size  Used by    Not tainted
hid                    17376   0  (unused)

lsusb say:
Bus 001 Device 006: ID 04b4:0102 Cypress Semiconductor
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x04b4 Cypress Semiconductor
  idProduct          0x0102
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
cannot get config descriptor 0, Broken pipe (32)
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)

Bus 001 Device 005: ID 04b4:1000 Cypress Semiconductor
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=110:Connection timed out)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         1
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x04b4 Cypress Semiconductor
  idProduct          0x1000
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
cannot get config descriptor 0, Connection timed out (110)
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=110:Connection timed out)

Bus 001 Device 004: ID 04b4:0102 Cypress Semiconductor
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x04b4 Cypress Semiconductor
  idProduct          0x0102
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
cannot get config descriptor 0, Broken pipe (32)
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=32:Broken pipe)

Bus 001 Device 003: ID 04b4:1000 Cypress Semiconductor
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=110:Connection timed out)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         1
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x04b4 Cypress Semiconductor
  idProduct          0x1000
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
cannot get config descriptor 0, Connection timed out (110)
  Language IDs: none (cannot get min. string descriptor; got len=-1,
error=110:Connection timed out)

Bus 001 Device 002: ID 05e3:0604 Genesys Logic, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.01
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x0604
  bcdDevice            0.11
  iManufacturer           0
  iProduct                1 USB Hub
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          1
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)

Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            2.05
  iManufacturer           3 Linux 2.5.31 uhci-hcd
  iProduct                2 Intel Corp. 82371SB PIIX3 USB [Natoma/Triton
II]
  iSerial                 1 00:07.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval             255
  Language IDs: (length=4)
     0000 (null)((null))

And the following on std.err:
cannot get string descriptor 1, error = Broken pipe(32)
cannot get string descriptor 2, error = Broken pipe(32)
cannot get string descriptor 1, error = Connection timed out(110)
cannot get string descriptor 2, error = Connection timed out(110)
cannot get string descriptor 1, error = Broken pipe(32)
cannot get string descriptor 2, error = Broken pipe(32)
cannot get string descriptor 1, error = Connection timed out(110)
cannot get string descriptor 2, error = Connection timed out(110)


I hope you can help me :o)

Thanks for the quick respond :o)

Best regards,
/morten

>
> - --
> http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE9U61QW6pHgIdAuOMRAqcbAKCw4Bs/lyCJO8e8slsg5JIVDo7UqwCeNe9F
> rtXpkaln5AoF+CM/YB5Hjlg=
> =QHTE
> -----END PGP SIGNATURE-----
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
>
>

-- 
--------------------------------------------------------------------------
                     Morten Holm Larsen
 (o>                 M.Sc.E.E stud.
 //\                 Phone  +45 98129195
 V_/_                Email  [EMAIL PROTECTED]
                     URL    www.kom.auc.dk/~mhla00

Vi h�rs.....skall inom kort till heling�r o k�pa �l.
--------------------------------------------------------------------------




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to