Re: Option HSDPA USB dongle and mode switching

Peter Schuller <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
> % 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?

Simply eliminating the driver attach/detach attemps makes the tool compile and 
run, though it complains that it cannot find the device (even though the 
product/vendor matches the config file). I guess it's not visible to the API 
when the driver is attached or some such.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <[email protected]>'
Key retrieval: Send an E-Mail to [email protected]
E-Mail: [email protected] Web: http://www.scode.org

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.