All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian Löhle" <CLoehle@hyperstone.com>
To: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: RE: mmc-utils: ioctl connection timed out with SD cards
Date: Tue, 4 Apr 2023 17:18:19 +0000	[thread overview]
Message-ID: <19a192bf476c48468429391963679737@hyperstone.com> (raw)
In-Reply-To: <ZCv3OBCE1hB32CDI@sakura.greysector.net>

Nevermind, I can reproduce the issue on my own Pinebook Pro,
Ill take a look at it tomorrow.

-----Original Message-----
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net> 
Sent: Tuesday, April 4, 2023 12:09 PM
To: linux-mmc@vger.kernel.org
Subject: Re: mmc-utils: ioctl connection timed out with SD cards

On Monday, 03 April 2023 at 22:11, Christian Löhle wrote:
> >Hello,
> >is the mmc tool from mmc-utils supposed to work with SD cards?
> Not really no, but status get is pretty much the one thing that should 
> work, apart from register reads that don't issue anything.

I see. I thought any /dev/mmcblk? device would be supported. The documentation doesn't make this clear. :)

> I'm using RK3399 on SD too and it works okay for me, will try updating 
> tomorrow.
> Could you show the debug prints to see the mmc command / responses?
> Ideally for anything in mmc/core

Will something like:

# alias ddcmd='echo $* > /proc/dynamic_debug/control'
# ddcmd 'module mmc_core +p'
# ddcmd 'module rtsx_pci_sdmmc +p'
# mmc status get /dev/mmcblk0
# dmesg | grep -E 'mmc_core|rtsx_pci_sdmmc'

suffice?

Regards,
Dominik
-- 
Fedora   https://getfedora.org  |  RPM Fusion  http://rpmfusion.org
There should be a science of discontent. People need hard times and oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan

Hyperstone GmbH | Reichenaustr. 39a  | 78467 Konstanz
Managing Director: Dr. Jan Peter Berns.
Commercial register of local courts: Freiburg HRB381782


  parent reply	other threads:[~2023-04-04 17:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-03 17:51 mmc-utils: ioctl connection timed out with SD cards Dominik 'Rathann' Mierzejewski
2023-04-03 20:11 ` Christian Löhle
2023-04-04  6:14   ` Christian Löhle
2023-04-04  9:29     ` Dominik 'Rathann' Mierzejewski
2023-04-04 10:08   ` Dominik 'Rathann' Mierzejewski
2023-04-04 11:40     ` Christian Löhle
2023-04-04 17:18     ` Christian Löhle [this message]
2023-04-04 17:32     ` Christian Löhle
2023-04-25 12:41       ` Dominik 'Rathann' Mierzejewski

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=19a192bf476c48468429391963679737@hyperstone.com \
    --to=cloehle@hyperstone.com \
    --cc=dominik@greysector.net \
    --cc=linux-mmc@vger.kernel.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.