[Linux] USB and GPS and TclTk
NV
linux@flux.org
Mon, 02 Jun 2008 15:56:32 -0700
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
To add to Adam's mail:<br>
<br>
The USB to Serial cable looks like a dumb/passive cable but there is a
converter chip built into the plug. Your Linux kernel must have support
for CONFIG_USB_SERIAL as well as a driver for the appropriate chip.
'lsusb' can identify if the cable is detected and give some clues about
the specific chip used. 'lsmod' will tell you if the appropriate
modules have been loaded. You should typically see usbserial and a
dependent module like ftdi_sio (in my case) in the lsmod output.<br>
<br>
Also, make sure you are connecting the cable directly to the computer's
USB port and not going through a hub. Low power can be an issue.<br>
<br>
Regards,<br>
Niranjan<br>
--<br>
<br>
<br>
Adam Glass wrote:
<blockquote
cite="mid:33427efe0806021448q278eap68962b6d09b37c20@mail.gmail.com"
type="cite">Hmm, someone else from the office just sent this ...
<div><br>
</div>
<div><span class="Apple-style-span"
style="font-family: Helvetica; font-size: 12px;">I use one from Belkin
($5-$10). I think they all "just work". Only difference is that it will
not communicate via /dev/ttyS0 (serial) but /dev/ttyUSB0 (usb serial
converter).</span><br>
</div>
<div><span class="Apple-style-span"
style="font-family: Helvetica; font-size: 12px;"><br>
</span></div>
<div><span class="Apple-style-span"
style="font-family: Helvetica; font-size: 12px;"><br>
</span></div>
<div><br>
<div class="gmail_quote">On Mon, Jun 2, 2008 at 5:11 PM, Adam Glass
<<a moz-do-not-send="true" href="mailto:adamglass@gmail.com">adamglass@gmail.com</a>>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">As
it happens, folks where I work use USB to serial adapters under Linux.
<div><br>
</div>
<div>One from a company named Sewell is reported to work under
Fedora and Ubuntu.</div>
<div><br>
</div>
<div>Here's a link to another which is reported to work under
Ubuntu...</div>
<div><br>
</div>
<div>
<p
style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><a
moz-do-not-send="true"
href="http://www.newegg.com/Product/Product.aspx?Item=N82E16812203018"
target="_blank">http://www.newegg.com/Product/Product.aspx?Item=N82E16812203018</a></p>
<p
style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
</p>
<font color="#888888">
<p
style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
</p>
<p
style="margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">--Adam</p>
</font></div>
<div>
<div class="Wj3C7c">
<div><br>
<br>
<div class="gmail_quote">On Mon, Jun 2, 2008 at 4:33 PM, Steven
Benmosh <<a moz-do-not-send="true" href="mailto:wordz2u@gmail.com"
target="_blank">wordz2u@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Several related questions - trying to get a Garmin Geko/eTrex serial
adapter connected to a USB port, and use GPSman to communicate with the
GPS:<br>
<br>
1. Anyone had any luck with a USB to Serial Converters under Linux? I
bought one from TigerDirect to connect my GPS to a USB slot, and it did
not even work in Windows, where there was a drivers disk.<br>
<br>
2. Anyone knows how to run GPSMan (written in Tcl/Tk) on OSX? I have
someone offering me a converter, and I want to try it on a macbook (the
only computer I have access to right now), and I installed something
called Aqua which is Tcl/Tk for mac, and it has an interface called
Wish, but I still can't seem to run anything on it...<br>
<br>
Thanks,<br>
<br>
Z.<br clear="all">
<font color="#888888"><br>
-- <br>
Check out my web site - <a moz-do-not-send="true"
href="http://www.words2u.net" target="_blank">www.words2u.net</a>
</font></blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>