Re: Where to find the information how to write a state of the art USB driver?

2022-01-16 Thread Pavel Skripkin
Hi Philipp, On 1/13/22 21:54, Philipp Hortmann wrote: On 1/13/22 4:33 PM, Greg KH wrote: On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: On 1/12/22 10:54 AM, Greg KH wrote: That driver tried to be an example for an unknown device, doing multiple different things that no

Re: Where to find the information how to write a state of the art USB driver?

2022-01-13 Thread Greg KH
On Thu, Jan 13, 2022 at 08:01:04PM +0100, Greg KH wrote: > On Thu, Jan 13, 2022 at 07:54:19PM +0100, Philipp Hortmann wrote: > > On 1/13/22 4:33 PM, Greg KH wrote: > > > On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: > > > > On 1/12/22 10:54 AM, Greg KH wrote: > > > > > That

Re: Where to find the information how to write a state of the art USB driver?

2022-01-13 Thread Greg KH
On Thu, Jan 13, 2022 at 07:54:19PM +0100, Philipp Hortmann wrote: > On 1/13/22 4:33 PM, Greg KH wrote: > > On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: > > > On 1/12/22 10:54 AM, Greg KH wrote: > > > > That driver tried to be an example for an unknown device, doing multiple >

Re: Where to find the information how to write a state of the art USB driver?

2022-01-13 Thread Philipp Hortmann
On 1/13/22 4:33 PM, Greg KH wrote: On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: On 1/12/22 10:54 AM, Greg KH wrote: That driver tried to be an example for an unknown device, doing multiple different things that no single driver/device would probably ever need. Also it can

Re: Where to find the information how to write a state of the art USB driver?

2022-01-13 Thread Greg KH
On Thu, Jan 13, 2022 at 04:33:50PM +0100, Greg KH wrote: > On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: > > On 1/12/22 10:54 AM, Greg KH wrote: > > > That driver tried to be an example for an unknown device, doing multiple > > > different things that no single driver/device

Re: Where to find the information how to write a state of the art USB driver?

2022-01-13 Thread Greg KH
On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote: > On 1/12/22 10:54 AM, Greg KH wrote: > > That driver tried to be an example for an unknown device, doing multiple > > different things that no single driver/device would probably ever need. > > Also it can almost always just be

Re: Where to find the information how to write a state of the art USB driver?

2022-01-12 Thread Philipp Hortmann
On 1/12/22 10:54 AM, Greg KH wrote: That driver tried to be an example for an unknown device, doing multiple different things that no single driver/device would probably ever need. Also it can almost always just be replaced with a simple userspace program using libusb, as I bet your driver could

Re: Where to find the information how to write a state of the art USB driver?

2022-01-12 Thread Greg KH
On Tue, Jan 11, 2022 at 09:09:31PM +0100, Philipp Hortmann wrote: > On 1/11/22 9:51 AM, Greg KH wrote: > > On Mon, Jan 10, 2022 at 10:31:28PM +0100, Philipp Hortmann wrote: > > > Hi all, > > > > > > template usb-skeleton.c is working but outdated, documentation is helpful > > > but years old and

Re: Where to find the information how to write a state of the art USB driver?

2022-01-11 Thread Philipp Hortmann
On 1/11/22 9:51 AM, Greg KH wrote: On Mon, Jan 10, 2022 at 10:31:28PM +0100, Philipp Hortmann wrote: Hi all, template usb-skeleton.c is working but outdated, documentation is helpful but years old and checkpatch.pl is giving hints to deprecated functions. This information is helpful but it

Re: Where to find the information how to write a state of the art USB driver?

2022-01-11 Thread Greg KH
On Mon, Jan 10, 2022 at 10:31:28PM +0100, Philipp Hortmann wrote: > Hi all, > > template usb-skeleton.c is working but outdated, documentation is helpful > but years old and checkpatch.pl is giving hints to deprecated functions. > This information is helpful but it does not show the way how to

Where to find the information how to write a state of the art USB driver?

2022-01-10 Thread Philipp Hortmann
Hi all, template usb-skeleton.c is working but outdated, documentation is helpful but years old and checkpatch.pl is giving hints to deprecated functions. This information is helpful but it does not show the way how to write a state of the art USB driver. Where to find this information? In