LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-24-2011, 01:38 AM   #1
cricketlong
Member
 
Registered: Dec 2008
Posts: 52

Rep: Reputation: 15
Question 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.
 
Old 05-24-2011, 04:11 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,969

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
I'd think it would end up as a serial device. That is just as good to transfer data.

http://csd.informatik.uni-oldenburg..../stir4200.html

http://tuxmobile.org/ir_misc.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pl2303 attached to ttyUSB0 but driver attached to device is "serial" sheeluh Linux - Software 4 03-12-2007 05:27 AM
What can be the difference between /dev/ttyS0 and a virtual serial device? philipina Programming 5 10-12-2006 10:29 AM
where is my serial device??? /dev/ttyS* is missing! mrchaos Linux - Hardware 2 03-11-2006 03:50 PM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 09:46 PM
serial to USB, trying to read from /dev/ttyUSB0 in C code newguy21 Programming 1 09-29-2004 02:11 PM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration