UltraPort Infrared Adapter

From ThinkWiki
Revision as of 10:29, 9 August 2005 by Wyrfel (Talk | contribs) (Linux driver)
Jump to: navigation, search

IBM UltraPort Infrared Adapter

IBM UltraPort Infrared Adapter

This is a Infrared Adapter for the IBM UltraPort. It can also be connected to any USB port by using the included cable.

This adapter is especially useful for X20 and X21 ThinkPads, since they are not equipped with IrDA ports by default.

Features

  • Front to back swivel for greater infrared field of view
  • Transfer rate up to 4 Mbps
  • Maximum range up to 1 meter (3 feet)
  • UltraPort and USB interfaces

IBM Partnumbers

IBM FRU PN: 22P5272, 22P5274

Linux driver

This adapter works with the irda-usb driver of 2.6 type kernels. To enable it, follow these steps:

Enable USB support:

CONFIG_USB → <M> → Support for Host-side USB → USB support → Device Drivers
CONFIG_USB_DEVICEFS → [*] → USB device file system → USB support → Device Drivers

Choose an appropriate USB host driver, one of:

CONFIG_USB_EHCI_HCD → <M> → ECHI HCD (USB 2.0) support → USB support → Device Drivers
CONFIG_USB_UHCI → <M> → UHCI HCD support → USB support → Device Drivers
CONFIG_USB_OHCI → <M> → OHCI HCD support → USB support → Device Drivers

Enable IrDA support:

CONFIG_IRDA → <M> → IrDA (infrared) subsystem support → Networking support → Device Drivers
CONFIG_IRLAN → <M> → IrLAN protocol → IrDA (infrared) subsystem support → Device DriversNetworking support
CONFIG_IRNET → <M> → IrNET protocol → IrDA (infrared) subsystem support → Device DriversNetworking support
CONFIG_IRCOMM → <M> → IrCOMM protocol → IrDA (infrared) subsystem support → Device DriversNetworking support

Finally, enable the irda-usb driver:

CONFIG_USB_IRDA → <M> → IrDA USB dongles → Infrared-port device drivers → Networking supportIrDA (infrared) subsystem support (Device Drivers)

Compile your kernel with these options (don't forget # depmod -ae) and reboot or just load the relevant modules (usb, usb-ehci/usb-uhci/usb-ohci, usb-storage, irda, irlan, irnet, ircomm, ircomm_tty, irda-usb). Attach the IrDA adapter to the UltraPort, if not done already.

Do a # cat /proc/bus/usb/devices to asure yourself that your IrDA adapter is recognized by the USB subsystem.

ThinkPads this addon is suitable for