hello, I have a PPC6700 HTC device that acts as a Wireless Modem, I recently asked in the OpenBSD misc_at_ 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 _at__at_ -383,6 +383,7 _at__at_ 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 _at__at_ -1285,6 +1286,9 _at__at_ 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 _at__at_ -121,11 +121,12 _at__at_ 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.Received on Wed Sep 05 2007 - 02:44:15 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC