USB Serial Converters to RS232

This is a discussion on USB Serial Converters to RS232 within the Linux Networking forums, part of the Linux Forums category; Thanks everybody for your help and suggestions. I found out that: 1> My USB tty devices do work correctly ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-03-2004
Grahame
 
Posts: n/a
Default USB Serial Converters to RS232

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
  #2 (permalink)  
Old 10-03-2004
Floyd L. Davidson
 
Posts: n/a
Default Re: USB Serial Converters to RS232

Grahame <news@wildpossum.com> 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) floyd@barrow.com
Reply With Quote
  #3 (permalink)  
Old 10-03-2004
Clifford Kite
 
Posts: n/a
Default Re: USB Serial Converters to RS232

Floyd L. Davidson <floyd@barrow.com> wrote:
> Grahame <news@wildpossum.com> 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-ccc@ri1.arg|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
Reply With Quote
  #4 (permalink)  
Old 10-04-2004
Floyd L. Davidson
 
Posts: n/a
Default Re: USB Serial Converters to RS232

Clifford Kite <kite@see.signature.id> wrote:
>Floyd L. Davidson <floyd@barrow.com> wrote:
>> Grahame <news@wildpossum.com> 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) floyd@barrow.com
Reply With Quote
  #5 (permalink)  
Old 10-04-2004
Clifford Kite
 
Posts: n/a
Default Re: USB Serial Converters to RS232

Floyd L. Davidson <floyd@barrow.com> wrote:
> Clifford Kite <kite@see.signature.id> 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-ccc@ri1.arg|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Those who can't write, write manuals. */
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0