Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 324407

Summary: sys-kernel/gentoo-sources-2.6.34, sys-power/nut: Powercom BNT-800AP (cypress_m8) doesn't work anymore
Product: Gentoo Linux Reporter: NiTr0 <nitr0>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
URL: https://bugzilla.kernel.org/show_bug.cgi?id=16245
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: current kernel config

Description NiTr0 2010-06-16 22:12:29 UTC
I upgraded kernel to 2.6.34, and found that this kernel doesn't work correctly with my UPS USB->serial (cypress_m8 based). ttyUSB0 was successfully created, but nut can't read response from UPSю Фе startup I get such message:
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)
data receiving error (0 instead of 16 bytes)
data receiving error (0 instead of 16 bytes)  
After switching back to sys-kernel/gentoo-sources-2.6.32-r7 kernel - all working OK.

Reproducible: Always

Steps to Reproduce:
Install Gentoo with sys-kernel/gentoo-sources-2.6.34 + sys-power/nut-2.4.1-r1, configure nut for Powercom UPS, connect UPS and try to start upsdrv.
Comment 1 NiTr0 2010-06-16 22:14:28 UTC
Created attachment 235663 [details]
current kernel config
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-06-17 19:33:40 UTC
kernel: potential breakage in USB stack?
Comment 3 NiTr0 2010-06-18 10:00:10 UTC
USB flash works OK, also all is OK on my netbook (Gentoo/2.6.34) with Quallcom modem (uses modules `usbserial` and `option`). So it looks like trouble is in cypress_m8...
Comment 4 NiTr0 2010-06-18 12:30:32 UTC
Yes, trouble is really in cypress_m8 driver - I've compiled driver from 2.6.32 kernel, and it works perfect.
Comment 5 Mike Pagano gentoo-dev 2010-06-24 20:25:24 UTC
We'll watch the upstream bug and port any resultant patches to earlier kernels.