Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65488 - patch to kernel causes the Revoltec USB/IDE bridge to misidentify HP DVDRW
Summary: patch to kernel causes the Revoltec USB/IDE bridge to misidentify HP DVDRW
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 19:59 UTC by Chad Jannusch
Modified: 2004-09-28 05:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Jannusch 2004-09-26 19:59:16 UTC
After upgrading to kernel 2.6.8 (gentoo-dev-sources), patch made to unusual_devs.h causes the Revoltec USB/IDE bridge to identify itself instead of reporting the type of drive inside (ie. HP DVD300i gets reported as Revoltec USB/IDE brige) so cdrecord --scanbus only identifies it as a Removable disk. If the patch is removed  everything returns to normal.

Here's the patch that causes the problem:

/* <torsten.scherer@uni-bielefeld.de>: I don't know the name of the bridge
 * manufacturer, but I've got an external USB drive by the Revoltec company
 * that needs this. otherwise the drive is recognized as /dev/sda, but any
 * access to it blocks indefinitely.
 * 
*/
UNUSUAL_DEV(  0x0402, 0x5621, 0x0103, 0x0103,
		"Revoltec",
		"USB/IDE Bridge (ATA/ATAPI)",
		US_SC_DEVICE, US_PR_SCM_ATAPI, NULL, US_FL_FIX_INQUIRY),

Reproducible: Always
Steps to Reproduce:
1.Compile new kernel.
2.
3.

Actual Results:  
HP DVD300i attached to a Revoltec USB/IDE bridge, cdrecord --scanbus reports the
drive as Removable disk instead of Removeable CD-ROM

Expected Results:  
Should've stayed at Removeable CD-ROM
Comment 1 Chad Jannusch 2004-09-26 21:37:39 UTC
Sorry, the original code was:

UNUSUAL_DEV(  0x0402, 0x5621, 0x0103, 0x0103,
		"Revoltec",
		"USB/IDE Bridge (ATA/ATAPI)",
		US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-09-28 05:54:51 UTC
Please report this to linux-usb-devel@lists.sourceforge.net (no subscription needed) so that the fix gets into the main kernel and everybody benefits.