Bug 5908 - drivers/usb/misc/auerswald.c needs 2 more lines to support 2 more TK-Devices
Summary: drivers/usb/misc/auerswald.c needs 2 more lines to support 2 more TK-Devices
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 08:40 UTC by Thomas J
Modified: 2006-07-09 15:47 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.15
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Thomas J 2006-01-17 08:40:17 UTC
Distribution: gentoo
Hardware Environment: Samsung X20 1860SE / Intel Centrino 1,86GHz
Problem Description: 
In drivers/usb/misc/auerswald.c I have to add every time I compile a new kernel
2 extra lines. Only then my Auerswald-TK-device is recognised when I connect it
via USB (I have a COMpact 2204 USB).
I found this workaround at this webpage (in german):
http://www.lug-kr.de/cgi-bin/lugwiki.pl?TelefonanlageVonAuerswald

Almost at the end of drivers/usb/misc/auerswald.c it has to look like this:

static struct usb_device_id auerswald_ids [] = {
	{ USB_DEVICE (ID_AUERSWALD, 0x00C0) }, /* COMpact 2104 USB */
	{ USB_DEVICE (ID_AUERSWALD, 0x00DB) }, /* COMpact 4410/2206 USB */
/* now the 2 extra lines */
        { USB_DEVICE (ID_AUERSWALD, 0x00DC) }, /* COMpact 4406 DSL */
        { USB_DEVICE (ID_AUERSWALD, 0x00DD) }, /* COMpact 2204 USB */
/* end of the 2 extra lines */
	{ USB_DEVICE (ID_AUERSWALD, 0x00F1) }, /* Comfort 2000 System Telephone */
	{ USB_DEVICE (ID_AUERSWALD, 0x00F2) }, /* Comfort 1200 System Telephone */
        { }			               /* Terminating entry */
};


That would be an easy fix.
Comment 1 Greg Kroah-Hartman 2006-01-17 10:52:49 UTC
Care to just send a patch, through email, as per the documented way that is
described in the file Documentation/SubmittingPatches?

Also, contact the driver author, I think they have an updated version that might
not even need the kernel driver anymore, but do everything through
userspace.
Comment 2 Adrian Bunk 2006-07-09 15:47:47 UTC
The suggested change from this bug is already in Linus' tree.

Note You need to log in before you can comment on or make changes to this bug.