From owner-freebsd-current@FreeBSD.ORG Wed Sep 5 04:44:15 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FC5E16A420 for ; Wed, 5 Sep 2007 04:44:15 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id E9AAD13C483 for ; Wed, 5 Sep 2007 04:44:14 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by nf-out-0910.google.com with SMTP id k4so1603257nfd for ; Tue, 04 Sep 2007 21:44:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FBjEKOd7bfamjxybkyB3dU1PDMI0oBCLXrlNq8Ld6jZllY7nYrZQrhqe8zb+nz2PILq9mQx0zwt9Grhw42W1cXouKarjph3rXwPh87O3Z/nbz/4ie+fN41arceb/3G+LMDfLSUt1vGsgEAqrn4X0seSNFW7YraqPJyZIhnbke+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Trv39Exv0Jf0iXzpBs+lQsdj0afo8/TydiNXtaEwwNU21wNO1H9eCy/LUGQ1fV30KvcxcY/DjmU4ijJMooIFgvqBVoSV5ucuRrM7CDs5LEwqAryLRBQ8hGToqYeLDvxqdc202H9R9XpkIOnxqmp+jDA471SW0wGSq/128yNPjYg= Received: by 10.86.81.8 with SMTP id e8mr4844276fgb.1188965853096; Tue, 04 Sep 2007 21:17:33 -0700 (PDT) Received: by 10.86.52.6 with HTTP; Tue, 4 Sep 2007 21:17:28 -0700 (PDT) Message-ID: <11167f520709042117m54b60531l4b23cb4b040f40d4@mail.gmail.com> Date: Tue, 4 Sep 2007 23:17:28 -0500 From: "Sam Fourman Jr." To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Alltel PPC6700 Wireless Modem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2007 04:44:15 -0000 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.