Hey gang,

So I got this USB IR port and remote bundled with my DVB card. I'd kinda
like a generic IrDA port to use with my phone and iPaq, so I'm wondering if
I can use this one.

What worries me is that it comes up as a USB HID mouse and keyboard device,
which is kinda cool for use with the remote, but I don't know if that'll let
me use it with the IrDA stack. I get the vague impression from some Googling
that the HID stuff is just a layer on top of the standard IrDA stuff that
the hardware already does, and Linux might be able to talk to both at the
same time. *attempts to wave hands intelligently*

I've popped lsusb -v output for it at the bottom of this mail. Here's what
/var/log/messages says:

  May  8 10:19:53 lazarus kernel: usb 1-2.2: new low speed USB device using address 4
  May  8 10:19:53 lazarus kernel: input: USB HID v1.10 Keyboard [Twinhan Tech Remote 
Control] on usb-0000:02:00.0-2.2
  May  8 10:19:53 lazarus kernel: input: USB HID v1.10 Mouse [Twinhan Tech Remote 
Control] on usb-0000:02:00.0-2.2

Hoping someone groks IrDA and stuff like this - I've never really played
with it much. :-)

Thanks,

- Jeff

Bus 001 Device 006: ID 6253:0100  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x6253 
  idProduct          0x0100 
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  bytes 8 once
        bInterval              10
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      63
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  bytes 4 three times
        bInterval              10
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52

-- 
GVADEC 2004: Kristiansand, Norway                    http://2004.guadec.org/
 
     "Ah, now we see the violence inherent in the system." - From Monty
                      Python to ESR, by way of Al Viro
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to