Re: [linux-usb-devel] Edgeport UPS Monitoring Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:
On Fri, 27 Jul 2007 13:37:08 -0700
Nick Pasich <[email protected]> wrote:


Greg/Peter/Al,

added linux-usb-devel.

I've been using the edgeport 4 port USB to Serial Converter
to monitor APC Smart UPS's via apcupsd for quite awhile on
various Linux boxes.

I just upgraded to Kernel Version 2.6.22.1 from 2.6.20.6 on a
couple of systems and both the edgeports stopped communicating.

I tried applying various patches, "PATCH 026/149" and "PATCH 082/149"
and one by Alan Cox..  but they didn't fix the problem.

I copied the 2.6.20.6 edgeport module sources to the new
2.6.22.1 tree and everything works again.

          linux/drivers/usb/serial/io_edgeport.c
          linux/drivers/usb/serial/io_edgeport.h
          linux/drivers/usb/serial/io_edgeport.mod.c
          linux/drivers/usb/serial/io_tables.h

Straightforward regression, most serious.  Thanks for reporting it.

I don't know much of anything about usb-serial, but I'll take a whack at it. Could you enable debug for that driver, launch apcupsd, and report any intersting messages that show up in dmesg? I'd be especially interested in any "Not setting..." or "Not writing..." messages, because some critical-looking code for baud rate setting and similar became conditional in 2.6.22.1 whereas it was always executed before. Apcupsd is going to be rather unhappy if the baud rate doesn't change when it asks. The debug should show if the these operations are being ignored on your hw.

--Adam

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux