l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social Gathering
Next Installfest:
TBA
Latest News:
Nov. 18: Officers elected
Page last updated:
2004 Feb 03 09:57
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat (IRC)
 Social Networks
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: USB and serial (was Re: [vox-tech] lbncurses.so.4 issue)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB and serial (was Re: [vox-tech] lbncurses.so.4 issue)



Ken Herron wrote:
--On Tuesday, February 03, 2004 06:23:43 AM -0800 "Richard S. Crawford" <rscrawford@mossroot.com> wrote:

Assuming the software wants to talk to a serial port, and the device
only has a USB port, is there a way to make them talk to each other?

If the kernel supports this UPS, then when the UPS is plugged into a USB port, the kernel should create some devices for software to interact with it. If the UPS requires a serial-port device then I'd expect the kernel to create a serial port for it.

What does the kernel do when you plug the UPS into a USB port?

You will need USB Serial Converter support compiled into your kernel (probably default for RH8).

#
# USB Serial Converter support
#
CONFIG_USB_SERIAL=m
# CONFIG_USB_SERIAL_DEBUG is not set
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_BELKIN=m
...

When you plug in your "USB-serial" device, serial device(s) will "magically appear" in your /dev filesystem. For my handspring cradle, it is /dev/usb/tts/0 and /dev/usb/tts/1. Then you need to get software to talk to one of these. Try some googling.

Jonathan

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
facebook
LUGOD Group on Facebook

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Marc Hall
For a generous donation to allow us to continue meeting at the Davis Library.