Re: ioctl number change / backwards compatibility doubt

2022-03-16 Thread Greg KH
On Sat, Mar 12, 2022 at 01:05:46PM +1300, Paulo Miguel Almeida wrote: > On Mon, Jan 24, 2022 at 07:20:45AM +0100, Greg KH wrote: > > On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote: > > > On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote: > > > > > > when you told me to

Re: ioctl number change / backwards compatibility doubt

2022-03-14 Thread Rogério Valentim Feitoza da Silva
On Friday, 11 March 2022, Paulo Miguel Almeida < paulo.miguel.almeida.rode...@gmail.com> wrote: > On Mon, Jan 24, 2022 at 07:20:45AM +0100, Greg KH wrote: > > On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote: > > > On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote: > > >

Re: ioctl number change / backwards compatibility doubt

2022-03-11 Thread Paulo Miguel Almeida
On Mon, Jan 24, 2022 at 07:20:45AM +0100, Greg KH wrote: > On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote: > > On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote: > > > > when you told me to look for the userspace tool that interfaced with the > > ioctl, my

Re: ioctl number change / backwards compatibility doubt

2022-01-23 Thread Greg KH
On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote: > On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote: > > On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote: > > > > > > I googled a fair bit of time and I'm 99% confident that there isn't such > > >

Re: ioctl number change / backwards compatibility doubt

2022-01-23 Thread Paulo Miguel Almeida
On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote: > On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote: > > > > I googled a fair bit of time and I'm 99% confident that there isn't such > > userspace/lib tool so I guess this will have done the hard way :( > > If there is

Re: ioctl number change / backwards compatibility doubt

2022-01-23 Thread Greg KH
On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote: > > > 1: Given the driver's history and ioctl number conflit, is the backwards > > > compatibility something to be kept or not to be taken into consideration > > > as ioctl numbering rules weren't followed? > > > > Try to find

Re: ioctl number change / backwards compatibility doubt

2022-01-22 Thread Paulo Miguel Almeida
On Mon, Jan 17, 2022 at 01:58:42PM +0100, Greg KH wrote: > Not many people ever look at that file, and it is ok to have conflicts > as the same tool should never have to handle multiple drivers where a > conflict happens. Noted > > 1: Given the driver's history and ioctl number conflit, is the

Re: ioctl number change / backwards compatibility doubt

2022-01-17 Thread Greg KH
On Mon, Jan 17, 2022 at 08:01:25PM +1300, Paulo Miguel Almeida wrote: > Hi everyone, > > Context: > > I've been working on a driver called pi433 in the staging area and it > basically exposes a char device so the user can read/write stuff to > it while obtaining tx/rx configuration via ioctl