[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB to IrDA - Arkmicro



Em Sex, 2012-12-21 às 16:43 +1300, Chris Bannister escreveu:
> [Please don't top post, read:
> http://catb.org/jargon/html/T/top-post.html]
> 

Sorry and thanks for the info.

I did not know that rule.

> On Thu, Dec 20, 2012 at 12:37:38PM -0200, Markos wrote:
> > Dear Chris,
> > 
> > This space appeared only in the copy of the email, it does not exist in
> > the original file.
> 
> ALWAYS copy'n'paste error messages and configuration file snippets! This
> is a great example of what happens when you don't!
> 
> > The problem is that the driver is not creating any device /dev/ttyUSB
> 
> I have no experience with infrared USB devices, but you might want to
> start looking at udev rules.
> 

I even tried to read about udev but found it very difficult to me. :^(

> > The dmesg shows only:
> > 
> >  usb 3-1: new full speed USB device using uhci_hcd and address 3
> > [13039.814371] usb 3-1: configuration #0 chosen from 1 choice
> > [13039.814371] usb 3-1: config 0 descriptor??
> > [13039.821299] usb 3-1: New USB device found, idVendor=18ec,
> > idProduct=3118
> > [13039.821306] usb 3-1: New USB device strings: Mfr=1, Product=3,
> > SerialNumber=0
> > [13039.821309] usb 3-1: Product: USB TO IRDA 
> > [13039.821313] usb 3-1: Manufacturer: ARKMICRO
> > 
> > 
> > What do you suggest to make the driver to create the device /dev/ttyUSB?
> 
> Is there ANY new "files" under /dev/ after plugging it in?
> IOW, why does it have to be "/dev/ttyUSB" ?
> 

I found at http://blog.gmane.org/gmane.linux.irda.general/month=20070101

A message whith the same description of my converter and the response
informs that should be created, for this converter, a device /dev/ttyUSB

"Manufaturer: ARKMICRO
Vendor Id: 18ec
Product Id: 3118
...
...The ARK3116 USB-to-serial adapter is supported by the kernel (at least with
the latest 2.6 ones), so all you need to do is compile the ARK3116 driver,
compile irtty-sir as well, and you're basically done: "irattach /dev/ttyUSB0"
should do the trick..."

Also at http://ubuntuforums.org/archive/index.php/t-1962929.html

A message show that this converter creates a /dev/ttyUSB
...
kernel: [ 375.720348] usb 3-2: ark3116 converter now attached to ttyUSB0
...

The desktop which with I intend to use this converter is being used in
the laboratory for data acquisition and running Lenny. 

Because that will be difficult to update the kernel or distribution (eg
Squeeze) so I'll try to download the driver ark3116.c, edit the source
code, including the VendorID and Productid, then recompile and load.

I believe it will be a less risky procedure. 

I was in doubt how to do that but I found some information on the links

http://www.linuxquestions.org/questions/showthread.php?p=2184457)

http://avr.auctionant.de/ark3116_linux_driver/index.html

I hope that works

Thanks again for your attention,
Markos
www.c2o.pro.br

> -- 
> "If you're not careful, the newspapers will have you hating the people
> who are being oppressed, and loving the people who are doing the 
> oppressing." --- Malcolm X
> 
> 


Reply to: