Networking Forums

Networking Forums > Computer Networking > Linux Networking > USB Serial Converters to RS232

Reply
Thread Tools Display Modes

USB Serial Converters to RS232

 
 
Grahame
Guest
Posts: n/a

 
      10-03-2004, 04:30 AM
Thanks everybody for your help and suggestions.

I found out that:

1> My USB tty devices do work correctly under Win2K and 2.4 kernel.
2> My USB tty devices do not work correctly under 2.6 especially 2.6.5-7.200
3> The chmod etc make no differencs, but thanks of the suggestion.
4> I have tried unsuccessfully to get Kernel 2.6.8 (latest release) to work.
5> Minicom always gave the error message:
glider:/home/gmkelly # minicom
LANG/ja
LANG/ko
LANG/ru
minicom: cannot open /dev/usb/ttyUSB0: No such device

On Kernel 2.4.21 its somewhat OK, drops RS signals and hangs occasionally.

As you can see I have tried several serial devices all without success.
glider:/home/gmkelly # lsusb
Bus 003 Device 008: ID 04b8:0803 Seiko Epson Corp.
Bus 003 Device 007: ID 05e3:0701 Genesys Logic, Inc.
Bus 003 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
Port
Bus 003 Device 004: ID 0557:2008 ATEN International Co., Ltd UC-232A Serial
Port [pl2303]
Bus 003 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
Port
Bus 003 Device 002: ID 0409:0058 NEC Corp. USB2.0 Hub Controller
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 051d:0002 American Power Conversion Back-UPS Pro 500
Bus 001 Device 001: ID 0000:0000

Thanks for all your help. I am about to dive into source code at the
deep end.

Cheers. Grahame (at) wildpossum (dot) com.
 
Reply With Quote
 
 
 
 
Floyd L. Davidson
Guest
Posts: n/a

 
      10-03-2004, 08:46 AM
Grahame <(E-Mail Removed)> wrote:
>Thanks everybody for your help and suggestions.
>
>I found out that:
>
>1> My USB tty devices do work correctly under Win2K and 2.4 kernel.
>2> My USB tty devices do not work correctly under 2.6 especially 2.6.5-7.200
>3> The chmod etc make no differencs, but thanks of the suggestion.
>4> I have tried unsuccessfully to get Kernel 2.6.8 (latest release) to work.
>5> Minicom always gave the error message:
>glider:/home/gmkelly # minicom
>LANG/ja
>LANG/ko
>LANG/ru
>minicom: cannot open /dev/usb/ttyUSB0: No such device


That is still the wrong place to look for ttyUSB0 isn't it?

On my box it is /dev/ttyUSB0.

--
FloydL. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      10-03-2004, 02:27 PM
Floyd L. Davidson <(E-Mail Removed)> wrote:
> Grahame <(E-Mail Removed)> wrote:
>>minicom: cannot open /dev/usb/ttyUSB0: No such device


> That is still the wrong place to look for ttyUSB0 isn't it?


> On my box it is /dev/ttyUSB0.


Agreed. /dev/usb/ttyUSB0 is very likely meant for use by the device
filesystem, devfs, which will eventually be removed from the kernel.
Maintenance for it has stopped. For more details see

http://www.kernel.org/pub/linux/util...tplug/udev-FAQ

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
 
Reply With Quote
 
Floyd L. Davidson
Guest
Posts: n/a

 
      10-03-2004, 11:14 PM
Clifford Kite <(E-Mail Removed)> wrote:
>Floyd L. Davidson <(E-Mail Removed)> wrote:
>> Grahame <(E-Mail Removed)> wrote:
>>>minicom: cannot open /dev/usb/ttyUSB0: No such device

>
>> That is still the wrong place to look for ttyUSB0 isn't it?

>
>> On my box it is /dev/ttyUSB0.

>
>Agreed. /dev/usb/ttyUSB0 is very likely meant for use by the device
>filesystem, devfs, which will eventually be removed from the kernel.
>Maintenance for it has stopped. For more details see
>
>http://www.kernel.org/pub/linux/util...tplug/udev-FAQ


Actually I think he's got a typo there. For devfs it would
be /dev/usb/tts/0.

--
FloydL. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) (E-Mail Removed)
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      10-04-2004, 02:37 AM
Floyd L. Davidson <(E-Mail Removed)> wrote:
> Clifford Kite <(E-Mail Removed)> wrote:
>>Agreed. /dev/usb/ttyUSB0 is very likely meant for use by the device
>>filesystem, devfs, which will eventually be removed from the kernel.
>>Maintenance for it has stopped. For more details see
>>
>>http://www.kernel.org/pub/linux/util...tplug/udev-FAQ


> Actually I think he's got a typo there. For devfs it would
> be /dev/usb/tts/0.


Possibly, but he showed

glider:/ # ls -l /dev/usb/ttyUSB[0,1]
crw-rw-rw- 1 root uucp 188, 0 2004-09-29 08:33 /dev/usb/ttyUSB0
crw-rw-rw- 1 root uucp 188, 1 2004-04-06 23:27 /dev/usb/ttyUSB1

in his first thread. It appears he was trying to use /dev/usb/ttyUSB0
from the timestamp.

I really don't known, but tts _is_ used in, e.g., /dev/tts/0 to replace
/dev/ttyS0. The Documentation/filesystems/devfs/README in the 2.6.7
source doesn't contain an example for either /dev/usb/tts/x or for
/dev/usb/ttyUSBx. Regardless, the bottom line is that he should not
be using devfs.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Those who can't write, write manuals. */
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial (RS232) communication - failing to detect stop bit arka.n.roy Linux Networking 13 09-24-2007 03:04 PM
serial RS232 down writethem Linux Networking 3 09-22-2007 07:04 AM
USB serial converter to RS232- HELP Please. Grahame Linux Networking 2 10-01-2004 10:59 PM
wireless 9-pin serial/rs232 Dan Irwin Wireless Internet 13 04-06-2004 03:16 AM
Can I share internet over a RS232 serial link from ADSL ? Tom A Windows Networking 9 09-15-2003 03:54 PM



1 2 3 4 5 6 7 8 9 10 11