On Wed, Jul 18, 2012 at 09:24:01PM +0400, Alexei Malinin wrote:
> 
> But now the patched kernel does not recognize
> the internal CD-ROM of the modem.

This will only have the windows driver, no great loss.

> Also windows (and maybe mac os x) software can:
> - work with the modem as with an ethernet card,

This is possible, but would require a new driver.

> - read/write MicroSD flash card attached to the modem;
> are these possible with OpenBSD?

You'll need to play with the match code a bit to have that work.
Perhaps something like the following will work:

--- umsm.c.orig Thu Jul 19 11:41:00 2012
+++ umsm.c      Thu Jul 19 11:42:09 2012
@@ -293,7 +293,8 @@ umsm_match(struct device *parent, void *match, void *a
                        /*
                         * Some high-speed modems require special care.
                         */
-                       if (flag & DEV_HUAWEI) {
+                       if (flag & DEV_HUAWEI ||
+                           uaa->vendor == USB_VENDOR_HUAWEI) {
                                if (uaa->ifaceno != 2)
                                        return UMATCH_VENDOR_IFACESUBCLASS;
                                else

Reply via email to