 |
|
 |
|
Next: Tracking in Word 2004
|
| Author |
Message |
External

Since: Jul 20, 2009 Posts: 7
|
(Msg. 1) Posted: Mon Jul 20, 2009 12:15 am
Post subject: USB-to-Serial adapter problems Archived from groups: comp>sys>mac>comm, others (more info?)
|
|
|
This is all about installing drivers and poking around with the Terminal. So
if you're uncomfortable with that, "avert your eyes at the proper moment"...
I acquired a couple of different USB-serial adapter cables with built-in
conversion chips. The thing they all have in common is that they use the
Prolific USB-serial converter IC. Prolific has an OS X driver available which
I've installed.
When I open Sys Prefs>Network>Show:Network Port Configurations I see a new
one called "usbserial".
When I open Terminal and enter
cd /dev
ls -l
I see a new device called "tty.usbserial". When I unplug the serial cable and
repeat the above listing, the device is not listed. So the driver is loading
when the adapter is connected(?).
And that's as far as I've gotten.
I read (on-line) that one way to confirm that the adapter is
talking/listening is to enter in Terminal:
cat /dev/tty.usbserial
and look for a response. When I do this the Terminal command line prompt
never returns; I have to Cmd-period (terminate) it.
I know nothing of what to expect, or if these instructions are valid (I just
*love* instructions that say "you should see..." but *never* say "and if you
don't, do this...").
The raison d'etre for this adapter is to talk to an APC UPS that has a serial
connector, not a USB.
Might this be an issue of baud rate mismatch? How does one go about setting
such an adapter's baud rate? Or is it too early to talk of that if I've yet
to confirm that the driver is talking/listening with the adapter?
Googling around, I see many have had success with such drive / cable forced
marriages, some have not.
Any suggestions would be greatly appreciated.
Thanks,
Dave
--
PowerBook G3/400; OS X 10.4.11
Prolific USB-Serial 2303 driver for OS X, v. 1.2.1r2
No-name USB-Serial adapter cable (ProductID:0x2303; VendorID:0x067b) |
|
| Back to top |
|
 |  |
External

Since: Oct 17, 2007 Posts: 3
|
(Msg. 2) Posted: Wed Jul 22, 2009 7:20 am
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
[f'up2 csm.comm]
DaveC <invalid.DeleteThis@invalid.net> wrote:
> The raison d'etre for this adapter is to talk to an APC UPS that has a serial
> connector, not a USB.
Have you made sure you have the proper cable? APC upsen do not have the
'regular', IBM PC-AT 9pin serial sub-d pinout.
> Might this be an issue of baud rate mismatch? How does one go about setting
> such an adapter's baud rate? Or is it too early to talk of that if I've yet
> to confirm that the driver is talking/listening with the adapter?
You could get xterm - that's what I occasionally run a prolific-based
serial dongle with. There's minicom on the unix side, if you prefer
that, but it takes a bit of set-up work.
HTH,
hauke
--
Eine Linux User Group, um soziale Blockaden gegenüber Frauen
abzubauen? Da wäre ja ein Schwulengesangsverein noch produktiver.
{David Kastrup @ d.t.r} |
|
| Back to top |
|
 |  |
External

Since: Oct 17, 2007 Posts: 3
|
(Msg. 3) Posted: Wed Jul 22, 2009 7:20 am
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
[f'up2 csm.comm]
DaveC <invalid.DeleteThis@invalid.net> wrote:
> The raison d'etre for this adapter is to talk to an APC UPS that has a serial
> connector, not a USB.
Have you made sure you have the proper cable? APC upsen do not have the
'regular', IBM PC-AT 9pin serial sub-d pinout.
> Might this be an issue of baud rate mismatch? How does one go about setting
> such an adapter's baud rate? Or is it too early to talk of that if I've yet
> to confirm that the driver is talking/listening with the adapter?
You could get ZTerm - that's what I occasionally run a prolific-based
serial dongle with. There's minicom on the unix side, if you prefer
that, but it takes a bit of set-up work.
HTH,
hauke
--
Eine Linux User Group, um soziale Blockaden gegenüber Frauen
abzubauen? Da wäre ja ein Schwulengesangsverein noch produktiver.
{David Kastrup @ d.t.r} |
|
| Back to top |
|
 |  |
External

Since: Jan 29, 2005 Posts: 150
|
(Msg. 4) Posted: Wed Jul 22, 2009 7:20 am
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: comp>sys>mac>comm (more info?)
|
|
|
In article <1j3917g.1kwjw6a1mxnqmoN%dont-spam-usenet@googlemail.com>, dont-spam-usenet.TakeThisOut@googlemail.com (Hauke Fath) writes:
>[f'up2 csm.comm]
>
>DaveC <invalid.TakeThisOut@invalid.net> wrote:
>
>> The raison d'etre for this adapter is to talk to an APC UPS that has a serial
>> connector, not a USB.
>
>Have you made sure you have the proper cable? APC upsen do not have the
>'regular', IBM PC-AT 9pin serial sub-d pinout.
Right. In fact, connecting with normal fulll-signal cable can cause
the APC to power-down immediately. The correct pinout for communica-
tion with an APC serial unit is:
APC CPU
1 <--> 3
2 <--> 2
9 <--> 5
2400 baud.
>> Might this be an issue of baud rate mismatch? How does one go about setting
>> such an adapter's baud rate? Or is it too early to talk of that if I've yet
>> to confirm that the driver is talking/listening with the adapter?
>
>You could get xterm - that's what I occasionally run a prolific-based
>serial dongle with. There's minicom on the unix side, if you prefer
>that, but it takes a bit of set-up work.
First, confirm that you can communicate with the USB serial adapter.
Short pins 2 and 3 to loop back the tranmit to the receive signals.
Then, open up a terminal and type in:
% cu -s 2400 -l /dev/{USB-serial-device-name}
You should be able to type, once 'cu' connects and see the characters
typed echoed back. If not, don't waste your time trying to talk with
the APC. One you've gotten this to work, you can try the APC comms.
Connect up with a cable that is configured as I've described above.
Then, again with 'cu' issue the command and now type an UPPERCASE Y.
If you are communicating with an APC UPS which will "talk back", the
UPS will respond with "SM" to your "Y".
FWIW, I've been selling an HTTP based APC monitor program for use on
VMS for years. I'm well aware of the headaches of getting communica-
tion between the APC UPS and serial comms functioning.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
http://www.quirkfactory.com/popart/asskey/eqn2.png
"Well my son, life is like a beanstalk, isn't it?" |
|
| Back to top |
|
 |  |
External

Since: Sep 09, 2006 Posts: 2803
|
(Msg. 5) Posted: Wed Jul 22, 2009 9:29 am
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: comp>sys>mac>comm, others (more info?)
|
|
|
In article
<0001HW.C689679A0082080EB08A39AF DeleteThis @news.eternal-september.org>,
DaveC <invalid DeleteThis @invalid.net> wrote:
> The raison d'etre for this adapter is to talk to an APC UPS that has a serial
> connector, not a USB.
Most APC UPS models have had USB for some time now, so this may be a
rather aged unit whose battery may not last much longer anyway. I have
to wonder if it's worth the trouble.
--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.
JR |
|
| Back to top |
|
 |  |
External

Since: Jul 22, 2009 Posts: 4
|
(Msg. 6) Posted: Wed Jul 22, 2009 11:05 am
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
>> The raison d'etre for this adapter is to talk to an APC UPS that has a
>> serial connector, not a USB.
> Have you made sure you have the proper cable? APC [UPS's] do not have
> the 'regular', IBM PC-AT 9pin serial sub-d pinout.
I'm using the APC cable that was provided with the UPS. I took it out of the
new package (along with documentation) myself, so I know it's the original.
> You could get xterm - that's what I occasionally run a prolific-based
> serial dongle with. There's minicom on the unix side, if you prefer
> that, but it takes a bit of set-up work.
I'm using Zterm for OS X. Zterm allows me to choose the port (usbserial shows
up as a choice which means that the USB part of the adapter is recognized)
and set baud (2400), stop bits (1), and protocol (Xon/Xoff) as specified by
APC tech support.
Typing in Zterm results in nothing: no characters on-screen, nothing.
What should I see?
How can I confirm that the USB-Serial adapter is working and that my problem
is with the APC UPS? I have no "dumb terminals" with RS232 port to connect to
the other end of the adapter.
Is this a situation in which a serial loop-back test connector could be
useful? ::
<http://www.passmark.com/support/loopback.htm>
Ideas?
No "UPS" option is showing up in Sys Prefs>Energy Saver (Tiger), which is
what this whole exercise is about.
Thanks. |
|
| Back to top |
|
 |  |
External

Since: Jul 12, 2003 Posts: 283
|
(Msg. 7) Posted: Wed Jul 22, 2009 11:17 am
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 7/22/09 9:29 AM, in article
jollyroger-D8A557.09294922072009.DeleteThis@news.individual.net, "Jolly Roger"
<jollyroger.DeleteThis@pobox.com> wrote:
> In article
> <0001HW.C689679A0082080EB08A39AF.DeleteThis@news.eternal-september.org>,
> DaveC <invalid.DeleteThis@invalid.net> wrote:
>
>> The raison d'etre for this adapter is to talk to an APC UPS that has a serial
>> connector, not a USB.
>
> Most APC UPS models have had USB for some time now, so this may be a
> rather aged unit whose battery may not last much longer anyway. I have
> to wonder if it's worth the trouble.
Batteries are not the problem. I just threw an 11 year old 500v/a APC
Back-UPS in the recycle bin because it no longer could charge the battery,
or pass AC to the connected appliances. In it's life, I put in 3 replacement
batteries (about $16 each). I guess I was luck to get that much out of it.
And the newer units consume less power and are somewhat 'smart', while
costing less per v/a. |
|
| Back to top |
|
 |  |
External

Since: Sep 09, 2006 Posts: 2803
|
(Msg. 8) Posted: Wed Jul 22, 2009 12:02 pm
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <C68CA5DE.3064E%ghost_topper@hotmail.com>,
George Kerby <ghost_topper.TakeThisOut@hotmail.com> wrote:
> On 7/22/09 9:29 AM, in article
> jollyroger-D8A557.09294922072009.TakeThisOut@news.individual.net, "Jolly Roger"
> <jollyroger.TakeThisOut@pobox.com> wrote:
>
> > In article
> > <0001HW.C689679A0082080EB08A39AF.TakeThisOut@news.eternal-september.org>,
> > DaveC <invalid.TakeThisOut@invalid.net> wrote:
> >
> >> The raison d'etre for this adapter is to talk to an APC UPS that has a
> >> serial
> >> connector, not a USB.
> >
> > Most APC UPS models have had USB for some time now, so this may be a
> > rather aged unit whose battery may not last much longer anyway. I have
> > to wonder if it's worth the trouble.
>
> Batteries are not the problem. I just threw an 11 year old 500v/a APC
> Back-UPS in the recycle bin because it no longer could charge the battery,
> or pass AC to the connected appliances. In it's life, I put in 3 replacement
> batteries (about $16 each). I guess I was luck to get that much out of it.
> And the newer units consume less power and are somewhat 'smart', while
> costing less per v/a.
Right I know you can replace the battery. I still wonder if it's worth
the trouble though. Anyhow, best of luck with that!
--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.
JR |
|
| Back to top |
|
 |  |
External

Since: Jul 12, 2003 Posts: 283
|
(Msg. 9) Posted: Wed Jul 22, 2009 2:46 pm
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 7/22/09 12:02 PM, in article
jollyroger-699813.12025622072009.TakeThisOut@news.individual.net, "Jolly Roger"
<jollyroger.TakeThisOut@pobox.com> wrote:
> In article <C68CA5DE.3064E%ghost_topper@hotmail.com>,
> George Kerby <ghost_topper.TakeThisOut@hotmail.com> wrote:
>
>> On 7/22/09 9:29 AM, in article
>> jollyroger-D8A557.09294922072009.TakeThisOut@news.individual.net, "Jolly Roger"
>> <jollyroger.TakeThisOut@pobox.com> wrote:
>>
>>> In article
>>> <0001HW.C689679A0082080EB08A39AF.TakeThisOut@news.eternal-september.org>,
>>> DaveC <invalid.TakeThisOut@invalid.net> wrote:
>>>
>>>> The raison d'etre for this adapter is to talk to an APC UPS that has a
>>>> serial
>>>> connector, not a USB.
>>>
>>> Most APC UPS models have had USB for some time now, so this may be a
>>> rather aged unit whose battery may not last much longer anyway. I have
>>> to wonder if it's worth the trouble.
>>
>> Batteries are not the problem. I just threw an 11 year old 500v/a APC
>> Back-UPS in the recycle bin because it no longer could charge the battery,
>> or pass AC to the connected appliances. In it's life, I put in 3 replacement
>> batteries (about $16 each). I guess I was luck to get that much out of it.
>> And the newer units consume less power and are somewhat 'smart', while
>> costing less per v/a.
>
> Right I know you can replace the battery. I still wonder if it's worth
> the trouble though. Anyhow, best of luck with that!
Yep. Took me awhile to figure out how to do it with some of the earlier
Tripp units before I figured out how to tinker around and take one apart.
First one shipped from Amazon came shipped where I had to go inside and
connect the battery and I figured out that it looked just like the lead
cells that were sold by my local wholesale alarm supply company. I'm sorta a
tightwad, according to my better half. |
|
| Back to top |
|
 |  |
External

Since: Jul 22, 2009 Posts: 4
|
(Msg. 10) Posted: Wed Jul 22, 2009 10:26 pm
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Wed, 22 Jul 2009 02:51:07 -0700, VAXman- @SendSpamHere.ORG wrote
(in article <00A8EE18.DECF44D3.RemoveThis@SendSpamHere.ORG>):
> Right. In fact, connecting with normal fulll-signal cable can cause
> the APC to power-down immediately.
Yeah, I did that, at first. I connected my USB<->Serial adapter right to the
UPS. It shut off *right now*.
> The correct pinout for communica-
> tion with an APC serial unit is:
>
> APC CPU
> 1 <--> 3
> 2 <--> 2
> 9 <--> 5
I'm using the APC cable #940-0095B that came with the unit. Confirmed with
APC tech support that this is the right p/n for this Backup-Pro 650 UPS
(model BP650S).
> 2400 baud.
I built a serial loop-back tester tonight and plugged it onto the
USB<->Serial adapter. I'm seeing the characters that I type into the terminal
program displayed on the screen as received data. This is good news. The
adapter is working.
So, this means that the UPS, for some reason, isn't communicating. I've tried
powering it off and back on both before and after after connecting the serial
cable. No joy.
APC makes software for the Mac, but it's too recent for this older model of
UPS. APC tech support says to use the built-in UPS utility in System
Preferences. I would if OS X would recognize the UPS.
That's where I am.
I'm running out of ideas.
Ideas?
Thanks. |
|
| Back to top |
|
 |  |
External

Since: Oct 22, 2003 Posts: 20
|
(Msg. 11) Posted: Thu Jul 23, 2009 2:58 pm
Post subject: Re: USB-to-Serial adapter problems [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Greetings
You are not alone.
I had to shop for a specific APC unit for my Ready NAS server which
recognizes and reports on the unit but whenever I plug the USB cable
into a Mac OS X: there is no response. The Ready NAS community forum
had a dedicated APC section for troubles and woes. These server forums
are the place to seek info.
Kind regards
>
--
--------------------------------- |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|