Palm ZIRE drivers/usb/serial/visor patch

David Garcia (zako@telecable.es)
Mon, 28 Oct 2002 01:01:25 +0100


--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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
--------------------------------------------------------------------
--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch_zire_palm

--- 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 */ };

--cWoXeonUoKmBZSoM-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/