kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Tomek LECOCQ <tomek.lecocq@hotmail.fr>
To: "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org>
Subject: How to reverse engineer a PCI-Express driver under Linux ?
Date: Wed, 3 Mar 2021 09:18:18 +0000	[thread overview]
Message-ID: <AD4B5CA0-0234-4332-B7B4-D8C6480BD67E@hotmail.fr> (raw)

Hello,

I have a PCI-Express video capture card that has a proprietary driver for Linux.
I have some experience with programming in C, and so I would like to start a hobby project to develop a free/libre driver for this device for Linux.
Of course I don’t have access to any documentation about how to communicate with this device, so I think I will need to reverse-engineer the way the existing driver communicates with the hardware. How could I achieve this ?
Also, the long term goal of this project would be to have this driver merged into mainline, so what is allowed or not while doing this to avoid problematic legal ramifications ?
Thank you for your help.

Best regards.
Tomek Lecocq
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2021-03-03  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-03  9:18 Tomek LECOCQ [this message]
2021-03-03  9:31 ` How to reverse engineer a PCI-Express driver under Linux ? Greg KH

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=AD4B5CA0-0234-4332-B7B4-D8C6480BD67E@hotmail.fr \
    --to=tomek.lecocq@hotmail.fr \
    --cc=kernelnewbies@kernelnewbies.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).