Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2007 23:17:28 -0500
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Alltel PPC6700 Wireless Modem
Message-ID:  <11167f520709042117m54b60531l4b23cb4b040f40d4@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hello,

I have a PPC6700 HTC device that acts as a Wireless Modem, I recently
asked in the OpenBSD misc@ list if they could add my device so it
would be detected as a Modem.

I was Given the Following diff, it works Great in OpenBSD now, Would I
beable to ask for some help creating a diff for FreeBSD -Current, I
did Try to Manually Edit the files and Recompile, but the modem still
came up at ugen0

in OpenBSD
You have to run 'make' in /usr/src/sys/dev/usb/ before
compiling a kernel.

do you have to do this In FreeBSD as Well?

***************************************************************************
**** THE FOLLOWING IS A OPENBSD PATCH ****

Index: sys/dev/usb/usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.289
diff -u -p -r1.289 usbdevs
--- sys/dev/usb/usbdevs 30 Aug 2007 05:06:21 -0000      1.289
+++ sys/dev/usb/usbdevs 31 Aug 2007 22:40:07 -0000
@@ -383,6 +383,7 @@ vendor ASUS         0x0b05  ASUS
 vendor SIIG2           0x0b39  SIIG
 vendor TEKRAM          0x0b3b  Tekram Technology
 vendor HAL             0x0b41  HAL Corporation
+vendor HTC             0x0bb4  HTC
 vendor NEC2            0x0b62  NEC
 vendor ATI2            0x0b6f  ATI
 vendor KURUSUGAWA      0x0b7e  Kurusugawa Electronics
@@ -1285,6 +1286,9 @@ product HP 568J                   0x1116  Jornada 568

 /* HP products */
 product HP2 C500               0x6002  PhotoSmart C500
+
+/* HTC products */
+product HTC PPC6700MODEM       0x00cf  PPC6700 Modem

 /* HUAWEI products */
 product HUAWEI E618            0x1001  HUAWEI Mobile E618
Index: sys/dev/usb/uipaq.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/uipaq.c,v
retrieving revision 1.12
diff -u -p -r1.12 uipaq.c
--- sys/dev/usb/uipaq.c 14 Jun 2007 10:11:16 -0000      1.12
+++ sys/dev/usb/uipaq.c 31 Aug 2007 22:40:07 -0000
@@ -121,11 +121,12 @@ struct uipaq_type {
 };

 static const struct uipaq_type uipaq_devs[] = {
+       {{ USB_VENDOR_ASUS, USB_PRODUCT_ASUS_MYPAL_A730} , 0},
+       {{ USB_VENDOR_CASIO, USB_PRODUCT_CASIO_BE300} , 0},
+       {{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_IPAQPOCKETPC} , 0},
       {{ USB_VENDOR_HP, USB_PRODUCT_HP_2215 }, 0 },
       {{ USB_VENDOR_HP, USB_PRODUCT_HP_568J }, 0},
-       {{ USB_VENDOR_COMPAQ, USB_PRODUCT_COMPAQ_IPAQPOCKETPC} , 0},
-       {{ USB_VENDOR_CASIO, USB_PRODUCT_CASIO_BE300} , 0},
-       {{ USB_VENDOR_ASUS, USB_PRODUCT_ASUS_MYPAL_A730} , 0}
+       {{ USB_VENDOR_HTC, USB_PRODUCT_HTC_PPC6700MODEM }, 0}
 };

 #define uipaq_lookup(v, p) ((struct uipaq_type *)usb_lookup(uipaq_devs, v, p))




Thank you for any help you can provide

Sam Fourman Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11167f520709042117m54b60531l4b23cb4b040f40d4>