3G HUAWEI K4505 usbstick support succes!



  • Hi all,

    I can confirm that i have a working HUAWEI K4505 with pfsense 2.0 final.
    I had to patch 2 files to get the modem working.

    • add to /usr/pfsensesrc/src/sys/dev/usb/usbdevs:
      product HUAWEI K4505_INIT 0x1521 3G modem
      product HUAWEI K4505        0x1464 3G modem

    • add to /usr/pfsensesrc/src/sys/dev/usb/serial/u3g.c:
      U3G_DEV(HUAWEI, K4505_INIT, U3GINIT_HUAWEISCSI),
      U3G_DEV(HUAWEI, K4505, U3GINIT_HUAWEI),

    The stick first presents itself as 0x1521, then after a scsi eject command, it returns als a 0x1464 device and is usable as a u3g device.

    Can these patches be incorporated in de Pfsense source?? otherwise I have to patch these files every time a new version is out.

    regards, bas


  • Netgate Administrator

    You should raise a new pr on FreeBSD to have it added to the source code. Like this one: http://www.freebsd.org/cgi/query-pr.cgi?pr=159836
    It will then filter down to pfSense, hopefully when the new 2.1 code is built on FreeBSD 9.

    Steve


Log in to reply