Kernel Newbies Archive on lore.kernel.org
 help / color / Atom feed
* How to reverse engineer a PCI-Express driver under Linux ?
@ 2021-03-03  9:18 Tomek LECOCQ
  2021-03-03  9:31 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Tomek LECOCQ @ 2021-03-03  9:18 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to reverse engineer a PCI-Express driver under Linux ?
  2021-03-03  9:18 How to reverse engineer a PCI-Express driver under Linux ? Tomek LECOCQ
@ 2021-03-03  9:31 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-03-03  9:31 UTC (permalink / raw)
  To: Tomek LECOCQ; +Cc: kernelnewbies

On Wed, Mar 03, 2021 at 09:18:18AM +0000, Tomek LECOCQ wrote:
> 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 ?

Please do not ask programmers legal questions, would you ask your
medical doctor kernel programming questions?

If you have legal questions about doing this sort of thing, please
contact a lawyer, don't trust random people on a public mailing list on
the internet for advice.

good luck!

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  9:18 How to reverse engineer a PCI-Express driver under Linux ? Tomek LECOCQ
2021-03-03  9:31 ` Greg KH

Kernel Newbies Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git