On 10.06.2016 05:09, Bryan Vyhmeister wrote:
On Thu, Jun 09, 2016 at 10:31:58PM +0200, Gerhard Roth wrote:
If that doesn't help, please set UMB_DEBUG and set umb_debug to 5.
I left that break commented out which perhaps I shouldn't have but below
is the output when I set an apn and bring umb0 up.
Hmm, I don't see the missing break. It is still stuck in the same
state trying to turn on the radio and always getting non-confirmative
resonses.
If the break before "case UMB_S_RADIO:" is missing, I would expect
to see a debug printf "umb0: init: checking SIM state ...".
Could you please check once again?
[...]
umb0: init: turning radio on ...
umb0: set radio on
umb0: -> set MBIM_CID_RADIO_STATE (tid 7)
umb0: sent MBIM_COMMAND_MSG (tid 7)
0: 03 00 00 00 34 00 00 00 07 00 00 00 01 00 00 00
16: 00 00 00 00 a2 89 cc 33 bc bb 8b 4f b6 b0 13 3e
32: c2 aa e6 df 03 00 00 00 01 00 00 00 04 00 00 00
48: 01 00 00 00
umb0: umb_intr: response available
umb0: got response: len 56
0: 03 00 00 80 38 00 00 00 07 00 00 00 01 00 00 00
16: 00 00 00 00 a2 89 cc 33 bc bb 8b 4f b6 b0 13 3e
32: c2 aa e6 df 03 00 00 00 02 00 00 00 08 00 00 00
^^^^^^^^^^^
status == MBIM_STATUS_FAILURE
48: 01 00 00 00 00 00 00 00
^^^^^^^^^^^ ^^^^^^^^^^^^
hw_state on sw_state off
umb0: <- rcv MBIM_COMMAND_DONE (tid 7)
umb0: set/qry MBIM_CID_RADIO_STATE failed: FAILURE
The error code is rather generic and gives us no help to
determine why exactly the device refuses to turn on the
radio. But it reports that the hw-state is on, which means
we can at least exclude any rfkill switch ;)
So why does the firmware refuse to turn it on? Could still
be a problem of the PIN-less SIM card you're using.