Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-18 Thread Jörg Otte
What this patch tried to do is to limit it to what userspace is currently actually using. My mistake was to look only at BlueZ 5.x userspace and not at BlueZ 4.x userspace. The fix to not break existing userspace is essentially this: > > diff --git a/net/bluetooth/hidp/core.c

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-18 Thread Jörg Otte
What this patch tried to do is to limit it to what userspace is currently actually using. My mistake was to look only at BlueZ 5.x userspace and not at BlueZ 4.x userspace. The fix to not break existing userspace is essentially this: diff --git a/net/bluetooth/hidp/core.c

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Linus, >> accepting all flags regardless was an oversight on my part in the first >> place. What this patch tried to do is to limit it to what userspace is >> currently actually using. My mistake was to look only at BlueZ 5.x userspace >> and not at BlueZ 4.x userspace. > > So what about

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Linus Torvalds
On Fri, Apr 17, 2015 at 4:35 PM, Marcel Holtmann wrote: > > accepting all flags regardless was an oversight on my part in the first > place. What this patch tried to do is to limit it to what userspace is > currently actually using. My mistake was to look only at BlueZ 5.x userspace > and not

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Linus, >> okay. I only looked at BlueZ 5.x and that might have been my mistake. Let me >> check this and fix this properly. > > Why not just revert that commit. It looks like garbage. It has odd code like > > + u32 valid_flags = 0; > + ci->flags = session->flags & valid_flags; >

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Linus Torvalds
On Fri, Apr 17, 2015 at 1:02 PM, Marcel Holtmann wrote: > > okay. I only looked at BlueZ 5.x and that might have been my mistake. Let me > check this and fix this properly. Why not just revert that commit. It looks like garbage. It has odd code like + u32 valid_flags = 0; +

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Joerg, >> On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: >>> The BT mouse is "death" in v4.1. >>> The BT mouse has been working in 4.0 and previous kernels, so this >>> is a regression. >> >> Any chance of bisecting it? >> >>Linus > I will

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Joerg, > On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: >> The BT mouse is "death" in v4.1. >> The BT mouse has been working in 4.0 and previous kernels, so this >> is a regression. > > Any chance of bisecting it? > > Linus I will try

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 18:55 GMT+02:00 Jörg Otte : > 2015-04-17 18:51 GMT+02:00 Marcel Holtmann : >> Hi Joerg, >> > On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: >> The BT mouse is "death" in v4.1. >> The BT mouse has been working in 4.0 and previous kernels, so this >> is a regression.

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 18:51 GMT+02:00 Marcel Holtmann : > Hi Joerg, > On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: > The BT mouse is "death" in v4.1. > The BT mouse has been working in 4.0 and previous kernels, so this > is a regression. Any chance of bisecting it?

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Joerg, >>> On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: The BT mouse is "death" in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. >>> >>> Any chance of bisecting it? >>> >>> Linus >> I will try that. >> >> Thanks,

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 16:51 GMT+02:00 Jörg Otte : > 2015-04-17 15:44 GMT+02:00 Linus Torvalds : >> On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: >>> The BT mouse is "death" in v4.1. >>> The BT mouse has been working in 4.0 and previous kernels, so this >>> is a regression. >> >> Any chance of bisecting

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 15:44 GMT+02:00 Linus Torvalds : > On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: >> The BT mouse is "death" in v4.1. >> The BT mouse has been working in 4.0 and previous kernels, so this >> is a regression. > > Any chance of bisecting it? > > Linus I will try that.

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Linus Torvalds
On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte wrote: > The BT mouse is "death" in v4.1. > The BT mouse has been working in 4.0 and previous kernels, so this > is a regression. Any chance of bisecting it? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Luiz Augusto von Dentz
Hi Jörg, On Fri, Apr 17, 2015 at 12:36 PM, Jörg Otte wrote: > The BT mouse is "death" in v4.1. > The BT mouse has been working in 4.0 and previous kernels, so this > is a regression. > > BT adapter is an intel 8087:07da. The mouse is an MS Notebook Mouse 500. > > It just doesn't work without any

[V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
The BT mouse is "death" in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. BT adapter is an intel 8087:07da. The mouse is an MS Notebook Mouse 500. It just doesn't work without any errors displayed in dmesg. Thanks, Jörg -- To unsubscribe from this

[V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. BT adapter is an intel 8087:07da. The mouse is an MS Notebook Mouse 500. It just doesn't work without any errors displayed in dmesg. Thanks, Jörg -- To unsubscribe from this list:

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Linus Torvalds
On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. Any chance of bisecting it? Linus -- To unsubscribe from this list: send the line unsubscribe

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Luiz Augusto von Dentz
Hi Jörg, On Fri, Apr 17, 2015 at 12:36 PM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. BT adapter is an intel 8087:07da. The mouse is an MS Notebook Mouse 500. It just doesn't work

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 15:44 GMT+02:00 Linus Torvalds torva...@linux-foundation.org: On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. Any chance of bisecting it?

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 16:51 GMT+02:00 Jörg Otte jrg.o...@gmail.com: 2015-04-17 15:44 GMT+02:00 Linus Torvalds torva...@linux-foundation.org: On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Joerg, On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. Any chance of bisecting it? Linus I will try that. Thanks, Jörg I first

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Joerg, On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. Any chance of bisecting it? Linus I will try that. Thanks, Jörg I first

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 18:51 GMT+02:00 Marcel Holtmann mar...@holtmann.org: Hi Joerg, On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. Any chance of bisecting it?

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Joerg, On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so this is a regression. Any chance of bisecting it? Linus I will try that. Thanks, Jörg I first

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Jörg Otte
2015-04-17 18:55 GMT+02:00 Jörg Otte jrg.o...@gmail.com: 2015-04-17 18:51 GMT+02:00 Marcel Holtmann mar...@holtmann.org: Hi Joerg, On Fri, Apr 17, 2015 at 5:36 AM, Jörg Otte jrg.o...@gmail.com wrote: The BT mouse is death in v4.1. The BT mouse has been working in 4.0 and previous kernels, so

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Linus Torvalds
On Fri, Apr 17, 2015 at 1:02 PM, Marcel Holtmann mar...@holtmann.org wrote: okay. I only looked at BlueZ 5.x and that might have been my mistake. Let me check this and fix this properly. Why not just revert that commit. It looks like garbage. It has odd code like + u32 valid_flags = 0;

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Linus, okay. I only looked at BlueZ 5.x and that might have been my mistake. Let me check this and fix this properly. Why not just revert that commit. It looks like garbage. It has odd code like + u32 valid_flags = 0; + ci-flags = session-flags valid_flags; which is

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Marcel Holtmann
Hi Linus, accepting all flags regardless was an oversight on my part in the first place. What this patch tried to do is to limit it to what userspace is currently actually using. My mistake was to look only at BlueZ 5.x userspace and not at BlueZ 4.x userspace. So what about anybody

Re: [V4.1] Regression: Bluetooth mouse not working.

2015-04-17 Thread Linus Torvalds
On Fri, Apr 17, 2015 at 4:35 PM, Marcel Holtmann mar...@holtmann.org wrote: accepting all flags regardless was an oversight on my part in the first place. What this patch tried to do is to limit it to what userspace is currently actually using. My mistake was to look only at BlueZ 5.x