giursino at gmail.com
2009-Jul-27 15:19 UTC
[Nut-upsdev] Liebert Power Sure PSPXT 450 (SERIAL)
Hi! My Liebert Power Sure PSPXT 450 with standard driver doesn't works, so I've done this modification and now it's works. # diff liebert_MY.c liebert.c 178 < ser_set_speed(upsfd, device_path, B9600); --- That is, I've only setup the port's speed. Can you update SVN code? Thanks Bye Beppe Ursino -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20090727/a908bf42/attachment.htm>
On Mon, Jul 27, 2009 at 11:19 AM, <giursino at gmail.com> wrote:> Hi! > > My Liebert Power Sure PSPXT 450 with standard driver doesn't works, so I've > done this modification and now it's works. > > # diff liebert_MY.c liebert.c > 178 > < ser_set_speed(upsfd, device_path, B9600); > --- >> > > That is, I've only setup the port's speed.If the comments in the code are correct, it should not matter what the baud rate was set to (the TX and RX pins are apparently connected together when on battery). Do you know what speed your serial port was using before that fix? -- - Charles Lepple
Since this driver is marked "experimental", I suppose we can add that without worrying too much. Any objections from the other developers? On Jul 28, 2009, at 3:09 AM, giursino at gmail.com wrote:> Yes, it's should be correct..but It is advise to setup the port's > speed before start any communication...probably port's speed was set > to default to 115200 or > 38400, but this speed was too fast to read any status change from ups. > > Il giorno 28/lug/2009 02.37, Charles Lepple <clepple at gmail.com> ha > scritto: > > On Mon, Jul 27, 2009 at 11:19 AM, giursino at gmail.com> wrote: > > > > > Hi! > > > > > > > > > > My Liebert Power Sure PSPXT 450 with standard driver doesn't > works, so I've > > > > > done this modification and now it's works. > > > > > > > > > > # diff liebert_MY.c liebert.c > > > > > 178 > > > > > > > > --- > > > > >> > > > > > > > > > > That is, I've only setup the port's speed. > > > > > > > > If the comments in the code are correct, it should not matter what > the > > > > baud rate was set to (the TX and RX pins are apparently connected > > > > together when on battery). > > > > > > > > Do you know what speed your serial port was using before that fix? > > > > > > > > -- > > > > - Charles Lepple > > > >
On Jul 27, 2009, at 11:19 AM, giursino at gmail.com wrote:> Hi! > > My Liebert Power Sure PSPXT 450 with standard driver doesn't works, > so I've done this modification and now it's works. > > # diff liebert_MY.c liebert.c > 178 > < ser_set_speed(upsfd, device_path, B9600); > --- > > > > That is, I've only setup the port's speed. > > Can you update SVN code?Committed to SVN trunk (r1893).