All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Zhengyang Feng <zyfeng97@gmail.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: An unsupported UVC device
Date: Sun, 28 Feb 2021 11:38:32 +0200	[thread overview]
Message-ID: <CAHp75VftsNoroK3-fKaR5VGsbh-2dahPEM650+Sw880jPFD9dQ@mail.gmail.com> (raw)
In-Reply-To: <CAK80=wMNP=1DPi=4G3ONxjLUm+5Kqv7YULcr85QHd85P_5aktA@mail.gmail.com>

+Cc: maintainers / UVC maintainers


On Sat, Feb 27, 2021 at 12:04 PM Zhengyang Feng <zyfeng97@gmail.com> wrote:
>
> Dear maintainers,
>
> I'm resending this because the previous email was not clear and should
> be ignored. Sorry for the inconvenience caused.
>
> I was using HIK DS-U14 2K camera on Ubuntu 20.04 with built-in MIC
> (but it has only one USB cable) but it seems unsupported. It
> does not need a driver to be used on Windows (usable by just plugging
> in).
> I see no HIK devices on the support list
> (http://www.ideasonboard.org/uvc/), but when I run lsusb -d 2bdf:0281
> -v | grep "14 Video" it does output several lines like these:
>
> bFunctionClass         14 Video
> bInterfaceClass        14 Video
> bInterfaceClass        14 Video
> bInterfaceClass        14 Video
> bInterfaceClass        14 Video
>
> It also says "Couldn't open device, some information will be missing".
> But it does not require a driver to work on Windows, so it should be a
> normal UVC device right?
>
> I observed that it is not supported as a camera, because although I
> see /dev/video0 and /dev/video1 (quite odd since it is only 1 camera),
> it fails by either OpenCV (cv2.VideoCapture(id)) or `cheese`, where it
> says "cannot open by index" (I tried both video0 and video1).
> Then I got the logs with `cheese`, in the zip file attached. I think since the
> device is quite new on the market, maybe you guys haven't tested it.
>
> BTW, I installed the latest from
> https://git.linuxtv.org/media_build.git before I generated the logs.
> The camera shows same behavior before and after I installed the latest
> version. And the USB connection works fine (I can use other cameras on
> this machine), also the camera itself is fine (tested on Windows machines).
>
> Feel free to tell me this is unrelated to the project/this mailing
> list, in that case I'll just
> get another camera.
>
> --
> Yours sincerely,
> Zhengyang



-- 
With Best Regards,
Andy Shevchenko

  reply	other threads:[~2021-02-28  9:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27 10:02 An unsupported UVC device Zhengyang Feng
2021-02-28  9:38 ` Andy Shevchenko [this message]
2021-02-28 11:06   ` Mauro Carvalho Chehab
2021-02-28 13:25     ` Laurent Pinchart
2021-03-01  2:46       ` Zhengyang Feng
2021-03-01  2:58         ` Laurent Pinchart

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=CAHp75VftsNoroK3-fKaR5VGsbh-2dahPEM650+Sw880jPFD9dQ@mail.gmail.com \
    --to=andy.shevchenko@gmail.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=zyfeng97@gmail.com \
    /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.