lkml.org 
[lkml]   [2002]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPalm ZIRE drivers/usb/serial/visor patch
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
----------------------------------------------------------------------- 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 */
};
\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog