All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Rafael Waldo Delgado Doblas <lord.rafa@gmail.com>
To: linux-usb@vger.kernel.org
Subject: "GET_CURRENT_CAM command failed"
Date: Wed, 12 May 2021 01:11:23 +0200	[thread overview]
Message-ID: <CAAepdCZcGtCSKTUzkGyAZ2qM5HNRG9cec+9GPPNX-=w03QOfzA@mail.gmail.com> (raw)

Hello,

I am getting the error "GET_CURRENT_CAM command failed" each time that
I start my laptop. After track down a little bit this message I could
find that this has something to do with some ucsi version check:

https://elixir.bootlin.com/linux/v5.11.18/source/drivers/usb/typec/ucsi/ucsi.c#L203

I think that that the message should be out of the conditional "if
(con->ucsi->version > 0x0100) {", so the error is logged when actually
happens. I am supposing that case version > 01.00 it should just
return without update the curr altmode.

Also, I was wondering why only versions under 01.00 are supported to
update their active altmode. The command looks the same in the specs,
why it fails?...

About my set up, I am using two external daisy chained DP monitors
connected to a single USB-C hub without too much problem... just from
time to time when waking up the monitors doesn't turn on and I have to
disconnect and connect the hub but not sure if this is related to
this.

Kind regards,
Rafa

                 reply	other threads:[~2021-05-11 23:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAAepdCZcGtCSKTUzkGyAZ2qM5HNRG9cec+9GPPNX-=w03QOfzA@mail.gmail.com' \
    --to=lord.rafa@gmail.com \
    --cc=linux-usb@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.