From: Daniel Almeida <daniel.almeida@collabora.com>
To: Colin Braun <colinbrauncl@gmail.com>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"Tamir Duberstein" <tamird@kernel.org>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Onur Özkan" <work@onurozkan.dev>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Alan Stern" <stern@rowland.harvard.edu>,
"Mathias Nyman" <mathias.nyman@intel.com>,
linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org,
linux-usb@vger.kernel.org, linux-media@vger.kernel.org,
"Colin Braun" <colin.braun.cl@gmail.com>,
"Nicolas Dufresne" <nicolas.dufresne@collabora.com>
Subject: Re: [RFC PATCH 0/4] rust: usb: add usb request block abstractions and a user
Date: Tue, 14 Jul 2026 23:35:50 -0300 [thread overview]
Message-ID: <0CCB6F69-1336-4254-AE1A-5DDC63BCA7B1@collabora.com> (raw)
In-Reply-To: <alVGanOux7SJ5dpM@pendragon>
Hi Colin,
> On 13 Jul 2026, at 17:32, Colin Braun <colinbrauncl@gmail.com> wrote:
>
> On Mon, Jul 13, 2026 at 10:53:53AM -0300, Daniel Almeida wrote:
>>
>> Have you talked to the media people about adding a Rust driver?
>>
>
> I have not. I was actually wondering if this belongs in
> drivers/staging/media, given how much work still needs to be done for it
> to support basic functionality. I had seen some v4l2 Rust abstraction
> work done but not merged in, so I had hoped this could eventually be a
Yep, I was behind this for a few years, in a few different ways.
> user of that work. Still trying to get a lay of the land, this is my
> first attempt at contributing to the kernel.
>
I’m cc’ing my colleague Nicolas. He was at the media summit this year
discussing a topic somewhat related to Rust.
IIUC, the consensus is unfavorable for Rust media drivers at the moment. They
are waiting for more progress on gcc-rs before allowing it, as clang does not
fit some of their infrastructure.
This doesn't have to discourage you from this work, though. Last I spoke to
Greg, I think he was OK with having enough infrastructure to build a Rust
version of usb-skeleton.c. You could perhaps work on that? I never really found
the time to, but I can chime in with reviews. It's always nice to onboard new people :)
As Danilo pointed out, there is a competing implementation, though that seems
to be completely AI-generated, IIRC. Perhaps Mike would be interested in
letting you take it over? It's already a lot of work on their plate to do
hardware RE + KMS + usb, so you could work together instead.
Just a suggestion, of course.
-- Daniel
next prev parent reply other threads:[~2026-07-15 2:36 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 21:07 Colin Braun
2026-07-12 21:07 ` [RFC PATCH 1/4] rust: usb: add USB ch9 standard descriptors and constants Colin Braun
2026-07-12 21:07 ` [RFC PATCH 2/4] rust: usb: add usb host interface and endpoint abstractions Colin Braun
2026-07-13 13:22 ` Danilo Krummrich
2026-07-13 20:03 ` Colin Braun
2026-07-13 20:09 ` Danilo Krummrich
2026-07-14 9:26 ` Oliver Neukum
2026-07-14 13:05 ` Danilo Krummrich
2026-07-14 16:26 ` Alan Stern
2026-07-14 17:53 ` Danilo Krummrich
2026-07-14 18:48 ` Oliver Neukum
2026-07-14 18:57 ` Danilo Krummrich
2026-07-14 19:25 ` Alan Stern
2026-07-15 0:27 ` Danilo Krummrich
2026-07-14 17:57 ` Oliver Neukum
2026-07-14 19:03 ` Alan Stern
2026-07-14 18:26 ` Miguel Ojeda
2026-07-12 21:08 ` [RFC PATCH 3/4] rust: usb: add urb abstraction with control and isochronous support Colin Braun
2026-07-12 21:08 ` [RFC PATCH 4/4] media: add gv-usb2 audio capture driver Colin Braun
2026-07-13 14:44 ` Danilo Krummrich
2026-07-13 21:08 ` Colin Braun
2026-07-13 13:22 ` [RFC PATCH 0/4] rust: usb: add usb request block abstractions and a user Danilo Krummrich
2026-07-13 20:10 ` Colin Braun
2026-07-13 13:53 ` Daniel Almeida
2026-07-13 20:32 ` Colin Braun
2026-07-15 2:35 ` Daniel Almeida [this message]
2026-07-15 5:43 ` Greg Kroah-Hartman
2026-07-15 19:57 ` Colin Braun
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=0CCB6F69-1336-4254-AE1A-5DDC63BCA7B1@collabora.com \
--to=daniel.almeida@collabora.com \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=colin.braun.cl@gmail.com \
--cc=colinbrauncl@gmail.com \
--cc=dakr@kernel.org \
--cc=gary@garyguo.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=mathias.nyman@intel.com \
--cc=mchehab@kernel.org \
--cc=nicolas.dufresne@collabora.com \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=work@onurozkan.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox