hi,
        this patch adds support for the casio em500 in the ipaq usbserial
driver.
thanks,
ganesh

# This is a BitKeeper generated patch for the following project:
# Project Name: greg k-h's linux 2.4 USB kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.695   -> 1.696  
#       Documentation/usb/usb-serial.txt        1.13    -> 1.14   
#       drivers/usb/serial/ipaq.h       1.3     -> 1.4    
#       drivers/usb/serial/Config.in    1.23    -> 1.24   
#       Documentation/Configure.help    1.101   -> 1.102  
#       drivers/usb/serial/ipaq.c       1.7     -> 1.8    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/04/30      [EMAIL PROTECTED]      1.696
# Added support for the Casio EM500. Completely untested. Thanks to
# info from Nathan <[EMAIL PROTECTED]>
# --------------------------------------------
#
diff -Nru a/Documentation/Configure.help b/Documentation/Configure.help
--- a/Documentation/Configure.help      Tue Apr 30 12:07:14 2002
+++ b/Documentation/Configure.help      Tue Apr 30 12:07:14 2002
@@ -13170,8 +13170,8 @@
 
 USB Compaq iPAQ Driver
 CONFIG_USB_SERIAL_IPAQ
-  Say Y here if you want to connect to your Compaq iPAQ or HP Jornada
-  548/568 running Windows CE 3.0 or PocketPC 2002 using a USB
+  Say Y here if you want to connect to your Compaq iPAQ, HP Jornada 548/568
+  or Casio EM500 running Windows CE 3.0 or PocketPC 2002 using a USB
   cradle/cable. For information on using the driver,
   read <file:Documentation/usb/usb-serial.txt>.
 
diff -Nru a/Documentation/usb/usb-serial.txt b/Documentation/usb/usb-serial.txt
--- a/Documentation/usb/usb-serial.txt  Tue Apr 30 12:07:14 2002
+++ b/Documentation/usb/usb-serial.txt  Tue Apr 30 12:07:14 2002
@@ -95,10 +95,10 @@
   Kroah-Hartman at [EMAIL PROTECTED]
 
 
-Compaq iPAQ and HP Jornada driver
+Compaq iPAQ, HP Jornada and Casio EM500 driver
 
-  This driver can be used to connect to Compaq iPAQ and HP Jornada PDAs
-  running Windows CE 3.0 or PocketPC 2002 using a USB cable/cradle. It
+  This driver can be used to connect to Compaq iPAQ, HP Jornada and Casio EM500
+  PDAs running Windows CE 3.0 or PocketPC 2002 using a USB cable/cradle. It
   has been tested only on the Compaq H3135, but is rumoured to work on
   with the H3600 and later models as well as the Jornada 548 and 568.
   With minor modifications, it may work for other CE based handhelds too.
diff -Nru a/drivers/usb/serial/Config.in b/drivers/usb/serial/Config.in
--- a/drivers/usb/serial/Config.in      Tue Apr 30 12:07:14 2002
+++ b/drivers/usb/serial/Config.in      Tue Apr 30 12:07:14 2002
@@ -15,7 +15,7 @@
 dep_tristate '  USB Empeg empeg-car Mark I/II Driver (EXPERIMENTAL)' 
CONFIG_USB_SERIAL_EMPEG $CONFIG_USB_SERIAL $CONFIG_EXPERIMENTAL
 dep_tristate '  USB FTDI Single Port Serial Driver (EXPERIMENTAL)' 
CONFIG_USB_SERIAL_FTDI_SIO $CONFIG_USB_SERIAL $CONFIG_EXPERIMENTAL
 dep_tristate '  USB Handspring Visor / Palm m50x / Sony Clie Driver' 
CONFIG_USB_SERIAL_VISOR $CONFIG_USB_SERIAL
-dep_tristate '  USB Compaq iPAQ / HP Jornada Driver' CONFIG_USB_SERIAL_IPAQ 
$CONFIG_USB_SERIAL
+dep_tristate '  USB Compaq iPAQ / HP Jornada / Casio EM500 Driver' 
+CONFIG_USB_SERIAL_IPAQ $CONFIG_USB_SERIAL
 dep_tristate '  USB IR Dongle Serial Driver (EXPERIMENTAL)' CONFIG_USB_SERIAL_IR 
$CONFIG_USB_SERIAL $CONFIG_EXPERIMENTAL
 dep_tristate '  USB Inside Out Edgeport Serial Driver (EXPERIMENTAL)' 
CONFIG_USB_SERIAL_EDGEPORT $CONFIG_USB_SERIAL $CONFIG_EXPERIMENTAL
 dep_tristate '  USB Keyspan PDA Single Port Serial Driver (EXPERIMENTAL)' 
CONFIG_USB_SERIAL_KEYSPAN_PDA $CONFIG_USB_SERIAL $CONFIG_EXPERIMENTAL
diff -Nru a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c
--- a/drivers/usb/serial/ipaq.c Tue Apr 30 12:07:14 2002
+++ b/drivers/usb/serial/ipaq.c Tue Apr 30 12:07:14 2002
@@ -9,6 +9,10 @@
  *     the Free Software Foundation; either version 2 of the License, or
  *     (at your option) any later version.
  *
+ * (30/4/2002) ganesh
+ *     Added support for the Casio EM500. Completely untested. Thanks
+ *     to info from Nathan <[EMAIL PROTECTED]>
+ *
  * (19/3/2002) ganesh
  *     Don't submit urbs while holding spinlocks. Thanks to Greg for pointing
  *     this out.
@@ -58,7 +62,7 @@
  */
 #define DRIVER_VERSION "v0.2"
 #define DRIVER_AUTHOR "Ganesh Varadarajan <[EMAIL PROTECTED]>"
-#define DRIVER_DESC "USB Compaq iPAQ, HP Jornada driver"
+#define DRIVER_DESC "USB Compaq iPAQ, HP Jornada, Casio EM500 driver"
 
 /* Function prototypes for an ipaq */
 static int  ipaq_open (struct usb_serial_port *port, struct file *filp);
@@ -81,6 +85,7 @@
        { USB_DEVICE(COMPAQ_VENDOR_ID, COMPAQ_IPAQ_ID) },
        { USB_DEVICE(HP_VENDOR_ID, HP_JORNADA_548_ID) },
        { USB_DEVICE(HP_VENDOR_ID, HP_JORNADA_568_ID) },
+       { USB_DEVICE(CASIO_VENDOR_ID, CASIO_EM500_ID) },
        { }                                     /* Terminating entry */
 };
 
diff -Nru a/drivers/usb/serial/ipaq.h b/drivers/usb/serial/ipaq.h
--- a/drivers/usb/serial/ipaq.h Tue Apr 30 12:07:14 2002
+++ b/drivers/usb/serial/ipaq.h Tue Apr 30 12:07:14 2002
@@ -23,6 +23,9 @@
 #define HP_JORNADA_548_ID      0x1016
 #define HP_JORNADA_568_ID      0x1116
 
+#define CASIO_VENDOR_ID                0x07cf
+#define CASIO_EM500_ID         0x2002
+
 /*
  * Since we can't queue our bulk write urbs (don't know why - it just
  * doesn't work), we can send down only one write urb at a time. The simplistic
This BitKeeper patch contains the following changesets:
+
## Wrapped with gzip_uu ##


begin 664 bkpatch10032
M'XL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$PS\I>'*[Z[[?`]A#3?8`[=MEHHU2,FDNK^R\96HH%<4VK4#`XM\BQ
M@XBC4*?/3%RUNG<2]S#>8ZAS'<":5UV_QQ!/@C5TEC*J@%7W):X(5[!^CN+L
M]AWXJ@P8"@6/BG2=UCT_HNQUV^?9,9BJCP\GPO!3'DR$#EY><;MK,]_.[-.+
MBDU>'R\H*$&$,--4^S9E=%D@DL-8Q5#'S\OJLO;98'57K$>I8\5I=0W$;)"G
M<:;6@8"74,WY"E9@K')EK*';KKQZ":W+BY^\#P,U<M#O]+SS3P.O'/G#@_;O
ML;,LMDIP_H^*;P]P5JL]2EQ"<7FL0,2QK8H:YR!HK.>'IJI+'X=F&><1Q'@8
M`]/@#;RBR&!&F:C7M[&7K;6G'7TJ$TK.]CK\P!NM;>&2W^IZ$H@P3@2T>]Z7
M3F_0[O1;\&(#XE5M/-VBOB\TSZ'*5NWO$G]EXXO7ZKQJG?>]R\&7SD7[LC?P
MVFI@U5`-5,^OX9_3G4!'!P.]9S6^+]#1^I9M%]BU75H!??"._9RG9`7T\LRP
M)]#1,4`3$^@=/!M37:NA:V3[X<;[_V:^?%UF5OOS_E<2/Q+^.)M/SY`U#''H
+V-J_W1K3\HX1````
`
end

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to