Re: Problems with Sierra LTE MC7710 Device



Hi,

Am 17.01.2013 23:42, schrieb Bjørn Mork:
Great! Do you happen to know why the device was using configuration #2 by default? That's unexpected. Recent versions of usb_modeswitch will do that if it sessions a MBIM configuration, but only if you have the cdc_mbim driver. So I don't think that can explain this. Bjørn

I don't have an idea but I speculate that the usb controller on the fujitsu notebook could cause the problem. Until we'll know what causes the unexpected behaviour i did a Q&D hack to solve the problem for now.

#####################
/lib/udev/rules.d/77-mm-fix-unexpected.rules:
ACTION!="add|change", GOTO="mm_fix_end"
SUBSYSTEM!="usb", GOTO="mm_fix_end"
ENV{DEVTYPE}!="usb_device", GOTO="mm_fix_end"

# Sierre LTE MC 7710
ATTRS{idVendor}=="1199", ATTRS{idProduct}=="68a2", RUN+="fix-unexpected"

LABEL="mm_fix_end"
#####################

#####################
/lib/udev/fix-unexpected:
#!/usr/bin/perl

use File::Basename;

my $product = $ENV{PRODUCT};

if($product =~ /^1199\/68a2/)
    {
    my $sys_dir  = '/sys' . $ENV{DEVPATH};
    my $bus_node = basename($sys_dir);
    my $dirs = 0;
    opendir DH, $sys_dir;
    map {$dirs++} (grep /$bus_node/, readdir DH);
    closedir DH;
    if($dirs <= 2)
        {
        open FH , "> $sys_dir/bConfigurationValue";
        print FH "1\n";
        close FH;
        }
    }
#####################

Harald


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]