Is it possible to access an IrDA device as a serial device such as /dev/ttyUSB0?
the message from dmesg for the IrDA device:
[ 3635.194162] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 3635.338159] usb 3-1: New USB device found, idVendor=066f, idProduct=4200
[ 3635.338165] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3635.338170] usb 3-1: Product: IrDA/USB Bridge
[ 3635.338173] usb 3-1: Manufacturer: Sigmatel Inc
[ 3635.609988] NET: Registered protocol family 23
[ 3635.671153] SigmaTel STIr4200 IRDA/USB found at address 2, Vendor: 66f, Product: 4200
[ 3635.671499] stir4200 3-1:1.0: IrDA: Registered SigmaTel device irda0
[ 3635.672036] usbcore: registered new interface driver stir4200
I have two IrDA devices and they are the same, I want to read/write the IrDA device in C in order to transfer a small file from my PC to an embeded linux. But I don't know whether it is possible to find a driver to allow me to read/write them as serial devices or write a dirver to archieve it.
|