mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick Pasich <NewsLetters@NickAndBarb.net>
To: Adam Kropelin <akropel1@rochester.rr.com>
Cc: Nick Pasich <NewsLetters@NickAndBarb.net>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-usb-devel@lists.sourceforge.net,
	Greg Kroah-Hartman <greg@kroah.com>,
	Al Borchers <alborchers@steinerpoint.com>,
	linux-kernel@vger.kernel.org, Peter Berger <pberger@brimson.com>
Subject: Re: [linux-usb-devel] Edgeport UPS Monitoring Problems
Date: Sun, 29 Jul 2007 07:36:02 -0700	[thread overview]
Message-ID: <20070729143602.GA14118@69.17.112.251> (raw)
In-Reply-To: <008001c7d1e9$6a8625b0$03c8a8c0@kroptech.com>

Adam,

Yep..... That did it....

Thank You Very Much for your Super Quick Fix......

         ---( Nick )---

On Sun, Jul 29, 2007 at 10:04:44AM -0400, Adam Kropelin wrote:
> From: "Nick Pasich" <NewsLetters@NickAndBarb.net>
> >Here's the dmesg output ......
> >
> >[...]
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: LCR - 
> >write to send_cmd_write_uart_register register 0x03
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >SendCmdWriteUartReg - Not writing to MCR Register
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: MCR - 
> >write to send_cmd_write_uart_register register 0x0b
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >SendCmdWriteUartReg - Not writing to MCR Register
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >change_port_settings - baud rate = 9600
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >SendCmdWriteBaudRate - NOT Setting baud rate for port = 0, baud = 9600
> 
> Yup, there's what I expected. Not setting the baud rate and not writing 
> status registers is unlikely to produce working results. This 9600 must 
> be the default setting being applied.
> 
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >SendCmdWriteUartReg - Not writing to MCR Register
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: MCR - 
> >write to send_cmd_write_uart_register register 0x0b
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >SendCmdWriteUartReg - Not writing to MCR Register
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >change_port_settings - baud rate = 2400
> >Jul 29 05:20:07 NICK2 kernel: drivers/usb/serial/io_edgeport.c: 
> >SendCmdWriteBaudRate - NOT Setting baud rate for port = 0, baud = 2400
> 
> Here's apcupsd trying to set 2400 baud.
> 
> Please try the attached patch (against 2.6.22.1). This will allow 
> writing to the baud rate and MCR/LCR registers on non-EPIC adapters. I 
> suspect the previous code was a copy-paste error.
> 
> --Adam



-- 
--------
WebSite: http://NickAndBarb.net
--------


      reply	other threads:[~2007-07-29 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 20:37 Nick Pasich
2007-07-27 22:22 ` Andrew Morton
2007-07-28 23:10   ` [linux-usb-devel] " Adam Kropelin
2007-07-29 12:48     ` Nick Pasich
2007-07-29 14:04       ` Adam Kropelin
2007-07-29 14:36         ` Nick Pasich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070729143602.GA14118@69.17.112.251 \
    --to=newsletters@nickandbarb.net \
    --cc=akpm@linux-foundation.org \
    --cc=akropel1@rochester.rr.com \
    --cc=alborchers@steinerpoint.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=pberger@brimson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®