public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Palm ZIRE drivers/usb/serial/visor patch
@ 2002-10-28  0:01 David Garcia
  2002-10-28  0:17 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: David Garcia @ 2002-10-28  0:01 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

Hi all!

I've just made a patch to the 2.4.19 kernel, in order to support the
hotsync with the ZIRE Palm handheld.

The problem was that the product_id of this new palm was not defined,
so the visor.o module didn't recognize it and didn't load.

I added the product_id to the ID defines at
drivers/usb/serial/visor.h and added an array entry with the new
define at drivers/usb/serial/visor.h

I attach the patch needed to make that changes.

I'd like to be CC with the answers, cause i'm not subscribed to the
list.

Stay in touch.
David.

--
--------------------------------++----------------------------------
David Garcia		        ||	            Debian GNU/Linux 
zako@telecable.es	        ||             http://www.debian.org
http://www.asturiaswireless.net || GNU's Not Unix http://www.gnu.org
--------------------------------++----------------------------------
GnuPG Public Key: http://www.asturiaswireless.net/zako@telecable.asc
Key fingerprint = 1D11 9F84 7442 5E01 3462  3CD7 0701 DD7B F04F E15B
--------------------------------------------------------------------

[-- Attachment #2: patch_zire_palm --]
[-- Type: text/plain, Size: 793 bytes --]

--- linux-2.4.19/drivers/usb/serial/visor.h	2002-10-28 00:32:25.000000000 +0100
+++ linux/drivers/usb/serial/visor.h	2002-10-28 00:35:33.000000000 +0100
@@ -27,6 +27,7 @@
 #define PALM_I705_ID			0x0020
 #define PALM_M125_ID			0x0040
 #define PALM_M130_ID			0x0050
+#define PALM_ZIRE_ID                    0x0070
 
 #define SONY_VENDOR_ID			0x054C
 #define SONY_CLIE_3_5_ID		0x0038
--- linux-2.4.19/drivers/usb/serial/visor.c	2002-10-28 00:32:20.000000000 +0100
+++ linux/drivers/usb/serial/visor.c	2002-10-28 00:29:48.000000000 +0100
@@ -182,6 +182,7 @@
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_M125_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_M130_ID) },
 	{ USB_DEVICE(PALM_VENDOR_ID, PALM_I705_ID) },
+        { USB_DEVICE(PALM_VENDOR_ID, PALM_ZIRE_ID) },
 	{ }					/* Terminating entry */
 };
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Palm ZIRE drivers/usb/serial/visor patch
  2002-10-28  0:01 Palm ZIRE drivers/usb/serial/visor patch David Garcia
@ 2002-10-28  0:17 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2002-10-28  0:17 UTC (permalink / raw)
  To: David Garcia; +Cc: linux-kernel

On Mon, Oct 28, 2002 at 01:01:25AM +0100, David Garcia wrote:
> Hi all!
> 
> I've just made a patch to the 2.4.19 kernel, in order to support the
> hotsync with the ZIRE Palm handheld.
> 
> The problem was that the product_id of this new palm was not defined,
> so the visor.o module didn't recognize it and didn't load.

This device is already supported in the 2.4.20-pre kernel series, but
thanks for the patch anyway :)

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-28  0:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-28  0:01 Palm ZIRE drivers/usb/serial/visor patch David Garcia
2002-10-28  0:17 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox