All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/1] qmimodem: fix sim file reading on MC7304
Date: Fri, 17 Feb 2017 11:18:12 -0600	[thread overview]
Message-ID: <d73cc7da-a705-ce72-85b5-5f5475fe42b3@gmail.com> (raw)
In-Reply-To: <20170217150612.24137-2-c.ronco@kerlink.fr>

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

Hi Christophe,

On 02/17/2017 09:06 AM, Christophe Ronco wrote:
> Command read_file_info on MC7304 always fails.
> Using qmicli or AT command, I am able to read file info.
> Qmicli command is:
> qmicli -d /dev/cdc-wdm0 --uim-get-file-attributes=0x3f00,0x7fff,0x6fad
> [(null)] Successfully got file '/dev/cdc-wdm0' attributes from the UIM:
> Card result:
>         SW1: '0x90'
>         SW2: '0x00'
> File attributes:
>         File size: 4
>         File ID: 28589
>         File type: transparent
>         Record size: 0
>         Record count: 0
>         Read security attributes: (always) (null)
>         Write security attributes: (single) adm
>         Increase security attributes: (always) (null)
>         Deactivate security attributes: (single) adm
>         Activate security attributes: (single) adm
>         Raw:    62:17:82:02:41:21:83:02:6F:AD:8A:01:05:8B:...
>
> After a check of parameters sent by qmimodem driver and qmicli,
> the only difference is on parameter "Session Information".
> Session type sent by qmimodem driver is 'Card on slot 1'.
> Session type sent by qmicli command is 'primary-gw-provisioning'.
> Changing session type in qmimodem driver fixed problem (on this modem).
>
> Comparing with what is done by qmili command
> ---
>  drivers/qmimodem/sim.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>

Applied, thanks.

Regards,
-Denis


      reply	other threads:[~2017-02-17 17:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 15:06 [PATCH 0/1] fix SIM file reading on MC7304 modem Christophe Ronco
2017-02-17 15:06 ` [PATCH 1/1] qmimodem: fix sim file reading on MC7304 Christophe Ronco
2017-02-17 17:18   ` Denis Kenzior [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d73cc7da-a705-ce72-85b5-5f5475fe42b3@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.