Joshua ChaitinPollak <[EMAIL PROTECTED]> schrieb am 07/03/2006 05:38:40 PM:
> On Jul 3, 2006, at 10:25 AM, [EMAIL PROTECTED] wrote:
>
>
> Hi list!
>
> Has anybody ever tried to communicate through a ft232r, which is a
> usb to rs232 converter?
> I read through the documentation of ftdi (www.ftdichip.com) but all
> I found, was the documentation for windows.
> I want to make this converter work on an embedded linux box, running
> a 2.6.14 kernel, including the module (ftdi_sio)
> I see the device (/dev/ttyUSB0) but, how can I configure it
> (buffers, transfer speed, ...) and how can I read from the device
> and write to the device.
>
> If you are using C, just use it exactly like you would use a serial
> port and it will work fine.
>
> If you see ttyUSB0 already, I'm sure everything is working
> correctly, but just to be sure, you need the usbserial portion of
> the kernel and the correct USB to serial drivers compiled into the
> kernel, or as a module.
I see the ttyUSB0 - device and I tried to work with it, just like ttySx. the strange thing is, that after a very short period, the application running on the embedded board seems to not get any more data from the device. I guess, this is due to buffering things or so. That´s why I asked for some code or header file to be included, to set the correct values. I have to port a qt-application to the system. The application itself works on windows as well as linux and on the embedded board. But on windows, one has to set the properties of the usb-device through the driver. That´s why I asked for code, on how to do this on linux.
Thanks in advance!
kind regards,
Andy
- [gentoo-embedded] Specify Kernel Version for Module e... Joshua ChaitinPollak
- Re: [gentoo-embedded] Specify Kernel Version for... Ahmed Ammar
- Re: [gentoo-embedded] Specify Kernel Version... Joshua ChaitinPollak
- Re: [gentoo-embedded] Specify Kernel Ver... Ahmed Ammar
- Re: [gentoo-embedded] Specify Kernel... Joshua ChaitinPollak
- Re: [gentoo-embedded] Specify K... Ned Ludd
- Re: [gentoo-embedded] Speci... Joshua ChaitinPollak
- [gentoo-embedded] ftdi ... andreas . sumper
- Re: [gentoo-embedded] f... Joshua ChaitinPollak
- Re: Re: [gentoo-embedde... andreas . sumper
- Re: [gentoo-embedded] f... Harald Schioeberg
- Antwort: Re: [gentoo-em... andreas . sumper
- Re: Antwort: Re: [gento... wireless
- Re: Antwort: Re: [gento... Valentin Longchamp
- Antwort: Re: Antwort: R... andreas . sumper
- Re: Antwort: Re: [gento... wireless
- Re: Antwort: Re: [gento... Harald Schioeberg
- Re: [gentoo-embedded] f... wireless
- Antwort: Re: [gentoo-em... andreas . sumper
- Re: [gentoo-embedded] f... Henrik Brix Andersen
