aboutsummaryrefslogtreecommitdiffstats
path: root/palm/coldsync/files/patch-palm
blob: 1e63f83b2bcc0b6a48c427b9a345b6c748c50338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: libpconn/PConnection_usb.c
===================================================================
RCS file: /var/lib/cvs/coldsync/libpconn/PConnection_usb.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- libpconn/PConnection_usb.c  30 Jul 2001 07:23:56 -0000      1.26
+++ libpconn/PConnection_usb.c  20 Aug 2001 09:13:00 -0000      1.27
@@ -94,6 +94,7 @@
 #define        hs_usbfun_MAX           4

 #define    HANDSPRING_VENDOR_ID    0x082d
+#define    PALM_VENDOR_ID      0x0830

 static char *hs_usb_functions[] = {
        "Generic",
@@ -505,7 +506,9 @@

        }

-   if (udi.vendorNo != HANDSPRING_VENDOR_ID) {
+   if ((udi.vendorNo != HANDSPRING_VENDOR_ID) &&
+       (udi.vendorNo != PALM_VENDOR_ID))
+   {
        fprintf(stderr,
            _("%s: Warning: Unexpected USB vendor ID %#x.\n"),
            "pconn_usb_open", udi.vendorNo);