Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 171007

Summary: powermate module does not recognize Griffin Powermate device
Product: Red Hat Enterprise Linux 3 Reporter: Dr. Gabriella Schmidt <gabriella.schmidt>
Component: kernelAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: jplans, peterm, petrides, riek, tdunnon
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0436 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-11 17:52:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 190430    
Attachments:
Description Flags
tar file with the user utilities
none
patch from http://sowerbutts.com/powermate/powermate-2.4.21.patch none

Description Dr. Gabriella Schmidt 2005-10-17 11:34:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.7.12-1.1.3.2

Description of problem:
We tested a Griffin Powermate with the latest kernel of RHEL3,  but it is not correctly recognized from the kernel: The error message was "Expected payload of 3 bytes, found 6 bytes!"

From /var/log/messages:
Oct 13 17:32:12 viola kernel: hub.c: new USB device 00:1f.4-1, assigned address 3
Oct 13 17:32:12 viola kernel: usb.c: USB device 3 (vend/prod 0x77d/0x410) is not claimed by any active driver.
Oct 13 17:32:15 viola /etc/hotplug/usb.agent: Setup powermate hid for USB product 77d/410/400
Oct 13 17:32:15 viola kernel: usb.c: registered new driver powermate
Oct 13 17:32:15 viola kernel: powermate: Expected payload of 3 bytes, found 6 bytes!
Oct 13 17:32:15 viola kernel: input: Griffin PowerMate on input1


Version-Release number of selected component (if applicable):
admin@viola(66)# modinfo  powermate
filename:    /lib/modules/2.4.21-37.EL/kernel/drivers/usb/powermate.o
description: "Griffin Technology, Inc PowerMate driver"
author:      "William R Sowerbutts"
license:     "GPL"

How reproducible:
Always

Steps to Reproduce:
1.Plugin powermate device
2. type 'dmesg'
3. Compile user tools from http://sowerbutts.com/powermate/powermate-1.0.tgz
4. call 'rotomatic' 

Actual Results:  No Powermate device was found

Expected Results:  The testprogram should display the rotate steps.

Additional info:

I have rebuild a custom kernel and aplied the 2.4.21 patch from:   http://sowerbutts.com/powermate/powermate-2.4.21.patch

With this modified module testprogram shows the expexted results.

But this is no sulution, because this would prevent our customers from updateing the kernel from future versions, as we can't expect them to recompile new kernels
and apply patches to c file.

Comment 1 Dr. Gabriella Schmidt 2005-10-17 11:37:11 UTC
Created attachment 120050 [details]
tar file with the user utilities

This is the tar file with the user utilities

Comment 2 Dr. Gabriella Schmidt 2005-10-17 11:40:28 UTC
Created attachment 120052 [details]
patch from http://sowerbutts.com/powermate/powermate-2.4.21.patch

This patch, if aplied to /usr/src/linux/driver/usb/powermate.c does fix the
problem.

Comment 3 Pete Zaitcev 2005-10-18 08:55:09 UTC
This patch is in RHEL 4 already. Is a migration feasible?


Comment 4 Dr. Gabriella Schmidt 2005-10-18 09:07:24 UTC
Not at this time. The current Hardware at customers site (HP-xw4200/xw4300)  is
still delivered with RHEL3, and the roadmap of our software does not include RHEL4
either for the next 6 month.

Comment 11 Jay Turner 2006-10-25 14:13:11 UTC
QE ack for 3.9.

Comment 12 Daniel Riek 2006-11-02 16:50:37 UTC
RHEL3.9 is a bugfix only release but this is a Feature addition. It does not
seem to me that this driver should have recognize the hardware?

I understand that the customer has been waiting for this a long time but I do
not see how I could ACK it after RHEL3U8.

Comment 14 Ernie Petrides 2006-11-02 20:59:52 UTC
This is simply a bug fix from upstream 2.4.22 (from 3 years ago),
so I'm removing the FutureFeature keyword.

Comment 15 RHEL Program Management 2006-11-02 21:04:48 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 16 Ernie Petrides 2006-12-21 02:57:32 UTC
A fix for this problem has just been committed to the RHEL3 U9
patch pool this evening (in kernel version 2.4.21-47.4.EL).


Comment 20 Red Hat Bugzilla 2007-06-11 17:52:57 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0436.html