[SLUG] USB IrDA attachment

From: Mario Lombardo (mario@alienscience.com)
Date: Wed Mar 09 2005 - 15:22:51 EST


When I insert this USB IrDA device, I hear the computer get busy. I notice
that the following populates via "lsmod|grep stir":

stir4200 13637 0
irda 121469 1 stir4200

I manually seek out what would be the logical device, yet I find no device
under /dev. I execute the following "lsusb -v -s 001:003" and get:

Bus 001 Device 003: ID 066f:4200 SigmaTel, Inc. STIr4200 IrDA Bridge
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 1
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x066f SigmaTel, Inc.
  idProduct 0x4200 STIr4200 IrDA Bridge
  bcdDevice 0.08
  iManufacturer 1 Sigmatel Inc
  iProduct 2 IrDA/USB Bridge
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 17 rulk Transfer
    bmAttributes 0x80
    MaxPower 440mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 0 (Defined at Interface level)
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type none
          Usage Type Data
        wMaxPacketSize 0x0040 bytes 64 once
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type none
          Usage Type Data
        wMaxPacketSize 0x0040 bytes 64 once
        bInterval 0
  Language IDs: (length=4)
     0409 English(US)

I execute "dmesg|grep ird" with some success:

divert: not allocating divert_blk for non-ethernet device irda0
drivers/net/irda/stir4200.c: IrDA: Registered SigmaTel device irda0
divert: no divert_blk to free, irda0 not ethernet
divert: not allocating divert_blk for non-ethernet device irda0
drivers/net/irda/stir4200.c: IrDA: Registered SigmaTel device irda0

So is this thing supposed to attach to some device node irda0 ?? I can't find
it. How should I approach this differently? Am I supposed to make a node?
Also, how is one supposed to know where the heck a usb device attaches
itself?

"ifconfig irda0" says this:

irda0 Link encap:IrLAP HWaddr 00:00:00:00
          NOARP MTU:2048 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

I hope I can still use this thing as a remote control device. That's why I
bought it.

/mario
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:25:40 EDT