error: couldn't close device: Transaction timed out

Aleksander Morgado aleksander at
Mon Jun 1 01:39:07 PDT 2015

On Mon, Jun 1, 2015 at 10:14 AM, Joe <joe.on.list at> wrote:
>> >
>> > --register-automatic
>> The problem you see is that the automatic
>> registration operation, through --register-automatic,
>> takes longer than the default 10s that are used in
>> the command to wait for a reply. I updated that value
>> to 120s in git master and the mbim-1-12 branch.
> What do you think about the fact that it works good
> on Slackware-14.0 (kernel updated to 3.19.4) and fails on Debian Jessie
> (kernel updated to 4.0.4)?

Hard to say without looking at debug logs in both systems and comparing... :/

> As regard "--register-automatic" command, it isn't the only failed.
> Also "--connect=apn" fails with similar error "transaction timeout".
> Seems that the first command I send to olicard-300 works properly but
> then all other transactions end in timeout error.

Well, --connect also takes time, but in that one we should already
have a bigger timeout. If you send more debug logs when the issue
happens, we can take a look at them one by one.

> Since libmbim-1.12 can properly connenct my dongle on Slackware
> while fails on Debian, I suspect the matter was anywhere around
> Debian packages... Yet libmbim doesn't seem depending by many
> other packages...
> Possible som trouble with usb drivers?

Hard to say... Not sure if there were many changes in those drivers
between 3.19 and 4.0.

> Almost-OT:
> An other question... I'm not a debian user, how can I try your
> patched git version building a debian like package?
> (I know well enough slackbuilds but I'm at first experience on
> a debian like system).

I think it should be something like "apt-get source libmbim", then
adding the patch file in the proper place of the debian/ directory
there. It's been a long time since I've done debian packaging tasks...
you can likely get better help googling about it.


More information about the libmbim-devel mailing list