Networking Forums

Networking Forums > Computer Networking > Linux Networking > USB <-> serial, even on same computer

Reply
Thread Tools Display Modes

USB <-> serial, even on same computer

 
 
Dan Jacobson
Guest
Posts: n/a

 
      07-26-2005, 01:29 AM
I bought a USB to serial adapter. Before I attempt communicating to
other computers, I shall first practice by communicating to the same
computer, running Debian Linux 2.6. One end I hook to my computer's
USB port, the other end I hook to my computer's serial port. Let's say
I run getty on ttyS0, but then how do I talk to that from the USB
side? minicom? But to what tty number?

$ echo>/dev/ttyUSB0
bash: /dev/ttyUSB0: No such device
But just moments ago, dmesg:
visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0

As for what my device is, dmesg says
usb 1-2.1.1: new low speed USB device using address 6
usbcore: registered new driver hiddev
hiddev96: USB HID v1.00 Device [SemiTech Semiconductor USB to Serial] on usb-0000:00:10.0-2.1.1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
And lsusb says
Bus 001 Device 006: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM RS232 Adapter

I even do mknod /dev/usb/hiddev0 c 180 96
I even do rmmod usbserial; modprobe usbserial vendor=0x04b4 product=0x5500

If I can one day even figure out how to send a single byte over this
connection, then I will even attempt ppp over this connection.

By the way, can one connect two computers via USB? I notice that would
take a female to female adapter. And of course then what are the tty
numbers, etc.?
 
Reply With Quote
 
 
 
 
James Knott
Guest
Posts: n/a

 
      07-26-2005, 10:49 AM
Dan Jacobson wrote:

> If I can one day even figure out how to send a single byte over this
> connection, then I will even attempt ppp over this connection.
>

FWIW, I recently bought a USB serial port for my notebook. The first one
wouldn't work in either Linux or XP. I tried another model, which I
borrowed from someone at work. It worked fine. I took the one I bought
back to the store and tried a 2nd one. It failed too. Even the store
clerk couldn't get it to work on his computer. Got my money back and
bought a different one elsewhere. That one works fine. So, it's entirely
possible you've got a defective one.

> By the way, can one connect two computers via USB? I notice that would
> take a female to female adapter. And of course then what are the tty
> numbers, etc.?


Why bother, when ethernet is so cheap and easy?
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      07-26-2005, 02:59 PM
On Tue, 26 Jul 2005 09:29:46 +0800, Dan Jacobson
<(E-Mail Removed)> wrote:
> I bought a USB to serial adapter. Before I attempt communicating to
> other computers, I shall first practice by communicating to the same
> computer, running Debian Linux 2.6. One end I hook to my computer's
> USB port, the other end I hook to my computer's serial port. Let's say
> I run getty on ttyS0, but then how do I talk to that from the USB
> side? minicom? But to what tty number?
>
> $ echo>/dev/ttyUSB0
> bash: /dev/ttyUSB0: No such device
> But just moments ago, dmesg:
> visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
>

Do you have a Palm OS PDA? If so, does it connect to the USB serial adapter,
or directly to the USB port?


--
Tonight you will pay the wages of sin; Don't forget to leave a tip.
 
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 down writethem Linux Networking 3 09-22-2007 07:04 AM
serial bit sequence in tcp/ip ws.chong@ieee.org Linux Networking 2 09-02-2006 07:50 PM
Problem using USB to Serial adapter(GUC232A) for a serial modem Shanthi Paladugu Linux Networking 1 05-21-2004 04:28 PM
serial db9 modem behind serial-usb adapter manual install ? MDK9.2 Philippe ROUBACH Linux Networking 0 02-05-2004 11:07 AM
Serial Laplink sd Linux Networking 0 02-02-2004 08:47 PM



1 2 3 4 5 6 7 8 9 10 11