Option HSDPA USB dongle and mode switching
Peter Schuller
peter.schuller at infidyne.com
Fri Aug 31 10:42:59 PDT 2007
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 <peter.schuller at infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org
More information about the freebsd-mobile
mailing list