gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6230 and DKU-2


From: Brian Wallis
Subject: Re: 6230 and DKU-2
Date: Tue, 19 Apr 2005 22:59:58 +1000
User-agent: KMail/1.7.2

I made the following additions to nokia_dku2.c (the DKU2 serial driver module
in the kernel) and now it recognises my phone when it is plugged in.

Not sure if the kernel driver is the right place to code this but it works OK
for me. There are some issues with gnokii (segfault when trying to get a file)
but it seems to be working pretty well for a CVS snapshot version.


*** /usr/src/linux/drivers/usb/serial/nokia_dku2.c.orig Tue Apr 19 22:56:19 2005
--- /usr/src/linux/drivers/usb/serial/nokia_dku2.c      Tue Apr 19 21:57:37 2005
***************
*** 45,56 ****
--- 45,58 ----

  #define NOKIA_VENDOR_ID       0x0421
  #define NOKIA7600_PRODUCT_ID 0x0400
+ #define NOKIA6230_PRODUCT_ID 0x040f

  /* Function prototypes */
  static int nokia_probe (struct usb_serial *serial, const struct usb_device_id 
*id);

  static struct usb_device_id id_table [] = {
        { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA7600_PRODUCT_ID) },
+       { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6230_PRODUCT_ID) },
        { }                     /* Terminating entry */
  };

-- 
brian...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]