[Linux] USB and GPS and TclTk

Steven Benmosh linux@flux.org
Tue, 3 Jun 2008 00:05:42 -0400


------=_Part_7018_14884550.1212465942392
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I won't be near the linux box for another week, so I will check out the
hardware then, as well as try and get the devices you mentioned.

Thanks.

Z.

On Mon, Jun 2, 2008 at 6:56 PM, NV <nv@monsoonrain.net> wrote:

>
>
> To add to Adam's mail:
>
> 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.
>
> 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.
>
> Regards,
> Niranjan
> --
>
>
>
> Adam Glass wrote:
>
> Hmm, someone else from the office just sent this ...
>  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).
>
>
>
> On Mon, Jun 2, 2008 at 5:11 PM, Adam Glass <adamglass@gmail.com> wrote:
>
>> As it happens, folks where I work use USB to serial adapters under Linux.
>>  One from a company named Sewell is reported to work under Fedora and
>> Ubuntu.
>>
>>  Here's a link to another which is reported to work under Ubuntu...
>>
>>  http://www.newegg.com/Product/Product.aspx?Item=N82E16812203018
>>
>>
>>
>>  --Adam
>>
>>
>> On Mon, Jun 2, 2008 at 4:33 PM, Steven Benmosh <wordz2u@gmail.com> wrote:
>>
>>> 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:
>>>
>>> 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.
>>>
>>> 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...
>>>
>>> Thanks,
>>>
>>> Z.
>>>
>>> --
>>> Check out my web site - www.words2u.net
>>
>>
>>
>
>  _______________________________________________ Linux mailing list
> Linux@flux.org http://www.flux.org/mailman/listinfo/linux




-- 
Check out my web site - www.words2u.net

------=_Part_7018_14884550.1212465942392
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I won&#39;t be near the linux box for another week, so I will check out the hardware then, as well as try and get the devices you mentioned.<br><br>Thanks.<br><br>Z.<br><br><div class="gmail_quote">On Mon, Jun 2, 2008 at 6:56 PM, NV &lt;<a href="mailto:nv@monsoonrain.net">nv@monsoonrain.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  
  

<div bgcolor="#ffffff" text="#000000">
<br>
<br>
To add to Adam&#39;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.
&#39;lsusb&#39; can identify if the cable is detected and give some clues about
the specific chip used. &#39;lsmod&#39; 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&#39;s
USB port and not going through a hub. Low power can be an issue.<br>
<br>
Regards,<br>
Niranjan<br>
--<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
Adam Glass wrote:
<blockquote type="cite">Hmm, someone else from the office just sent this ...
  <div><br>
  </div>
  <div><span style="font-family: Helvetica; font-size: 12px;">I use one from Belkin
($5-$10). I think they all &quot;just work&quot;. Only difference is that it will
not communicate via /dev/ttyS0 (serial) but /dev/ttyUSB0 (usb serial
converter).</span><br>
  </div>
  <div><span style="font-family: Helvetica; font-size: 12px;"><br>
  </span></div>
  <div><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
&lt;<a href="mailto:adamglass@gmail.com" target="_blank">adamglass@gmail.com</a>&gt;
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&#39;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 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>
    <div><br>
    <br>
    <div class="gmail_quote">On Mon, Jun 2, 2008 at 4:33 PM, Steven
Benmosh &lt;<a href="mailto:wordz2u@gmail.com" target="_blank">wordz2u@gmail.com</a>&gt; 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&#39;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 href="http://www.words2u.net" target="_blank">www.words2u.net</a>
      </font></blockquote>
    </div>
    <br>
    </div>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  </div>
</blockquote>
<br>
</div></div></div>

_______________________________________________
Linux mailing list
<a href="mailto:Linux@flux.org" target="_blank">Linux@flux.org</a>
<a href="http://www.flux.org/mailman/listinfo/linux" target="_blank">http://www.flux.org/mailman/listinfo/linux</a>
</blockquote></div><br><br clear="all"><br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a>

------=_Part_7018_14884550.1212465942392--