tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD and USB 3G/4G dongles
On Wed, Aug 24, 2011 at 02:20:48PM +0100, Darren Reed wrote:
> On 24/08/2011 9:31 AM, Iain Hibbert wrote:
[..]
> > sounds like you need to add the product/vendor IDs to the u3g_dev table in
> > u3g.c -- if it works then you can proceed to pppd on the tty it attaches.
>
> At first NetBSD/23.8.2011 would only probe it with this message:
>
> u3ginit0 at uhub3 port 1: Switching to 3G mode
> u3ginit0: detached
> u3ginit0: at uhub3 port 1 (addr 3) disconnected
>
> After adding a line to u3g.c:
>
>
> static const struct usb_devno u3g_devs[] = {
> { USB_VENDOR_DELL, USB_PRODUCT_DELL_W5500 },
> /* OEM: Huawei */
> { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 },
> { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 },
> { USB_VENDOR_HUAWEI, 0x1406 },
> { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765 },
> { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
>
> ... the phone is an E1750, product code 0x1406. I tried to add
> the new product to usbdevs but even after running make as suggested
> to rebuild the .h/.c files, the symbol gave me an error, so I stuck
> with the number instead. It should be USB_PRODUCT_HUAWEI_1750 and
> not 0x1406. Anyway, after that, I booted up and got:
> >
If you do a cvs update in src/sys/dev/usb you should get all the changes
which you need so it attaches. I bought the same device 10 days ago
and made the changes then but had no real chance to test it other then
setting the pin and so some basic tests.
Bernd
Home |
Main Index |
Thread Index |
Old Index