From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 31 17:42:59 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5385B16A46B for ; Fri, 31 Aug 2007 17:42:59 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from proxy2.bredband.net (proxy2.bredband.net [195.54.101.72]) by mx1.freebsd.org (Postfix) with ESMTP id DDF7413C458 for ; Fri, 31 Aug 2007 17:42:58 +0000 (UTC) (envelope-from peter.schuller@infidyne.com) Received: from prometheus.scode.org (85.229.22.84) by proxy2.bredband.net (7.3.127) id 46D6D3D000063267 for freebsd-mobile@freebsd.org; Fri, 31 Aug 2007 18:19:54 +0200 Received: from localhost (localhost [127.0.0.1]) by prometheus.scode.org (Postfix) with ESMTP id 552231CC7B for ; Fri, 31 Aug 2007 18:20:09 +0200 (CEST) From: Peter Schuller To: freebsd-mobile@freebsd.org Date: Fri, 31 Aug 2007 18:20:08 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708311820.08340.peter.schuller@infidyne.com> Subject: Option HSDPA USB dongle and mode switching X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 17:42:59 -0000 Hello, I just got a subscription with an Option HSDPA USB dongle. The modem in it supposedly works (based on http://lists.freebsd.org/pipermail/freebsd-bugs/2007-April/023492.html, but first you have to make it switch from mass storage device (containing Windows drivers) to modem. But the mode switching implemented by iconv_switch (against libusb, referenced in the post above) requires two functions that don't seem implemented on FreeBSD: % gcc -L/usr/local/lib -lusb -lusbpp -I/usr/local/include -o ttt icon_switch.c prometheus:/tmp(1) /var/tmp//ccCnzzjn.o(.text+0x26e): In function `main': : undefined reference to `usb_get_driver_np' /var/tmp//ccCnzzjn.o(.text+0x2a7): In function `main': : undefined reference to `usb_detach_kernel_driver_np' Would anyone know of a way to make such USB dongles work, other than properly looking into this stuff and making the necessary code changes? -- / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org