Problems with HUAWEI E220 rev 1.10

Hasso Tepper hasso at estpak.ee
Wed Aug 13 06:47:28 PDT 2008


Ühel kenal päeval (kolmapäev 13 august 2008) kirjutas omniuwo:
> * Hasso Tepper (hasso at estpak.ee) wrote:
> > This kind of silly games with "discrete diconnections" shouln't be
> > necessary. Umass support should work, but as there is something wrong
> > with umass part of the device and it's probably not good idea to
> > depend on umass anyway ... Try this patch:
> >
> > http://leaf.dragonflybsd.org/~hasso/ugensa-huawei-e220.patch
>
> I tried your patch but now it does
>
>  Fatal trap 12: page fault while in kernel mode
>  fault virtual address   = 0x38
>  fault code              = supervisor read, page not present

... etc ...

Yes, it wasn't supposed to solve this particular problem. This patch 
solves the problem that you don't have to play silly games with "discrete 
diconnections" to switch modems' mode. And AFAICS it does exactly that:

ucom0: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 
2> on uhub0
device_probe_and_attach: ucom0 attach returned 6
ucom0: at uhub0 port 1 (addr 2) disconnected
ucom0: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 
2> on uhub0
ucom1: <HUAWEI Technologies HUAWEI Mobile, class 0/0, rev 1.10/0.00, addr 
2> on uhub0

That it pagefaults is probably atausb to blame. Please comment natausb 
option out from kernel config and try again.


-- 
Hasso Tepper





More information about the Bugs mailing list