Re: [PATCH] add sur40 driver for Samsung SUR40 (aka MS Surface 2.0/Pixelsense)

2013-10-02 Thread Florian Echtler
On 18.09.2013 21:38, Henrik Rydberg wrote: > Hi Florian, > Thanks for the driver, this is excellent work. Please find some nit-picks > inline. Hello Henrik, thanks for your feedback and sorry for the long silence - some final questions before the next iteration are below: >> +/* read 512 bytes

Re: [PATCH] add sur40 driver for Samsung SUR40 (aka MS Surface 2.0/Pixelsense)

2013-10-02 Thread David Herrmann
Hi Florian On Wed, Oct 2, 2013 at 10:01 AM, Florian Echtler wrote: >>> +struct sur40_blob { >>> + >>> +uint16_t blob_id; >>> + >>> +uint8_t action; /* 0x02 = enter/exit, 0x03 = update (?) */ >>> +uint8_t unknown; /* always 0x01 or 0x02 (no idea what this is?) */ >>> + >>> +

Re: [PATCH] update my generaltouch driver for linux by luosong

2013-10-02 Thread Benjamin Tissoires
Hi Luosong, ok, your mailer still sends emails as HTML, and it also mangles the tabs, which is not good for the LKML. The commit message is a little bit fuzzy and does not follow the kernel rules. I'll send a followup patch correctly formatted so that we can all switch to something else. Cheers,

[PATCH] HID: multitouch: Fix GeneralTouch products and add more PIDs

2013-10-02 Thread Benjamin Tissoires
From: Luosong GeneralTouch products should use the quirk SLOT_IS_CONTACTID instead of SLOT_IS_CONTACTNUMBER. Adding PIDs 0101,e100,0102,0106,010a from the new products. Tested on new and older products by GeneralTouch engineers. Signed-off-by: Luosong Signed-off-by: Benjamin Tissoires --- H

[PATCH] HID: wiimote: fix FF deadlock

2013-10-02 Thread David Herrmann
The input core has an internal spinlock that is acquired during event injection via input_event() and friends but also held during FF callbacks. That means, there is no way to share a lock between event-injection and FF handling. Unfortunately, this is what is required for wiimote state tracking an

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Mauro Carvalho Chehab
Hi Sarah, Em Tue, 1 Oct 2013 13:45:54 -0700 Sarah Sharp escreveu: > On Tue, Oct 01, 2013 at 10:01:08PM +0300, Xenia Ragiadakou wrote: > > Hi Sarah, > > > > I read the mail on 'possible conflict between xhci_hcd and a patched > > usbhid'. > > For reference to others: > http://marc.info/?l=linux

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Alan Stern
On Tue, 1 Oct 2013, Sarah Sharp wrote: > > When you say a new API, what do you mean? New functions in usbcore > > to be used by usb device drivers? > > Yes. You would export the function in the USB core, and put a prototype > in a USB include file (probably in include/linux/usb.h). Let's say th

Re: [PATCH] HID: multitouch: Fix GeneralTouch products and add more PIDs

2013-10-02 Thread Jiri Kosina
On Wed, 2 Oct 2013, Benjamin Tissoires wrote: > From: Luosong > > GeneralTouch products should use the quirk SLOT_IS_CONTACTID > instead of SLOT_IS_CONTACTNUMBER. > > Adding PIDs 0101,e100,0102,0106,010a from the new products. > > Tested on new and older products by GeneralTouch engineers. >

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Alan Stern
On Wed, 2 Oct 2013, Mauro Carvalho Chehab wrote: > Let me see if I understand the changes at the media drivers. So, please > correct me if I got it wrong. > > I'm yet to get any USB 3.0 media device, although it is common to connect > an USB 1.1 or USB 2.0 device on a USB 3.0 host port. > > So,

Re: [PATCH] HID: Added Holtek USB ID 04d9:a081 SHARKOON DarkGlider Gaming mouse

2013-10-02 Thread Jiri Kosina
On Tue, 1 Oct 2013, Anders F. U. Kiær wrote: > Target: 3.11.2 > Added id, bindings and comments for Holtek USB ID 04d9:a081 SHARKOON > DarkGlider Gaming mouse to use the same corrections of the report > descriptor as Holtek 04d9:a04a. As the mouse exceed HID_MAX_USAGES > at the same offsets in the

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Oct 2013 11:00:13 -0400 (EDT) Alan Stern escreveu: > On Wed, 2 Oct 2013, Mauro Carvalho Chehab wrote: > > > Let me see if I understand the changes at the media drivers. So, please > > correct me if I got it wrong. > > > > I'm yet to get any USB 3.0 media device, although it is common

[PATCH] Input: move name/timer init to input_alloc_dev()

2013-10-02 Thread David Herrmann
We want to allow drivers to call input_event() at any time after the device got allocated. This means input_event() and input_register_device() must be allowed to run in parallel. The only conflicting calls in input_register_device() are init_timer() and dev_set_name(). Both can safely be moved to

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Alan Stern
On Wed, 2 Oct 2013, Mauro Carvalho Chehab wrote: > > > So, there's no need to call usb_change_ep_bandwidth(). > > > > That's right. > > > > > If so, then usb_change_ep_bandwidth() as a quirk, if bInterval > > > or wMaxPacketSize were improperly filled. > > > > > > Right? > > > > Or if the valu

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Mauro Carvalho Chehab
Em Wed, 02 Oct 2013 12:38:14 -0400 (EDT) Alan Stern escreveu: > On Wed, 2 Oct 2013, Mauro Carvalho Chehab wrote: > > > > > So, there's no need to call usb_change_ep_bandwidth(). > > > > > > That's right. > > > > > > > If so, then usb_change_ep_bandwidth() as a quirk, if bInterval > > > > or wM

[hp mini 210-1000] touchpad "jump" when try to select elements

2013-10-02 Thread Stefano Statuti
[1.] One line summary of the problem: [hp mini 210-1000] touch pad "jump" when try to select elements [2.] Full description of the problem/report:     1) if i click on left button and try to select (using 2 different     fingers) some element (like word in a website) the icon of mous

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Sarah Sharp
On Wed, Oct 02, 2013 at 12:16:04AM +0300, Xenia Ragiadakou wrote: > On 10/01/2013 11:45 PM, Sarah Sharp wrote: > >Sure. I would actually suggest you first finish up the patch to issue a > >configure endpoint if userspace wants to clear a halt, but the endpoint > >isn't actually halted. Did your m

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Sarah Sharp
On Wed, Oct 02, 2013 at 10:22:52AM -0400, Alan Stern wrote: > On Tue, 1 Oct 2013, Sarah Sharp wrote: > > > > When you say a new API, what do you mean? New functions in usbcore > > > to be used by usb device drivers? > > > > Yes. You would export the function in the USB core, and put a prototype

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Alan Stern
On Wed, 2 Oct 2013, Sarah Sharp wrote: > > In particular, do we want to go around changing single endpoints, one > > at a time? Or do we want to change all the endpoints in an interface > > at once? > > > > Given that a change to one endpoint may require the entire schedule to > > be recomput

Re: New USB core API to change interval and max packet size

2013-10-02 Thread Alan Stern
On Wed, 2 Oct 2013, Alan Stern wrote: > > Ok, so it sounds like we want to keep the changes the endpoints across > > alt setting changes. > > No, just the opposite. That was the point I was trying to make. Any > changes to ep5 in altsetting 0 (for example) will have no effect on ep1 ---

Re: [PATCH] amba: Ensure drvdata is NULL

2013-10-02 Thread Russell King - ARM Linux
On Mon, Sep 30, 2013 at 08:59:06AM +0200, Michal Simek wrote: > This patch is inpired by the patch for drvdata > "device-core: Ensure drvdata = NULL when no driver is bound" > (sha1: 0998d0631001288a5974afc0b2a5f568bcdecb4d) > > Also it fixes all occurences in drivers. > > Signed-off-by: Michal S

[RFC] Input: introduce ABS_MAX2/CNT2 and friends

2013-10-02 Thread David Herrmann
As we painfully noticed during the 3.12 merge-window our EVIOCGABS/EVIOCSABS API is limited to ABS_MAX<=0x3f. We tried several hacks to work around it but if we ever decide to increase ABS_MAX, the EVIOCSABS ioctl ABI might overflow into the next byte causing horrible misinterpretations in the kern

On behalf of Mrs. Margaret Crawford

2013-10-02 Thread Sokoll, Frances
I am sending you this email on behalf of Mrs. Margaret Crawford in regards to her wish. She have decided to will her inheritance to you for Humanitarian work and your personal use. For more info contact her Attorney, Mark Lawson on email: mark.laws...@rogers.com This electronic transmission m

PROBLEM: Touchpad reported as: "elantech: unknown hardware version, aborting" -- missing multitouch and scrolling

2013-10-02 Thread Clayton Craft
[1.] One line summary of the problem: Touchpad is missing multitouch and scrolling [2.] Full description of the problem/report: Only basic functionality (right/left click, moving pointer) work. Expectation is that the device would be detected as a touchpad with support for multitouch/scrolling/e