Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-19 Thread Takashi Iwai
At Tue, 19 Aug 2014 22:18:15 -0700, Dmitry Torokhov wrote: > > Hi Andreas, > > On Wed, Aug 20, 2014 at 04:46:38AM +0200, Andreas Mohr wrote: > > > Hi, > > > > > Gameport support hasn't been working well ever since cpufreq became > > > mainstream and it becomes increasingly hard to find hardware

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Takashi Iwai
At Tue, 19 Aug 2014 23:31:30 -0700, Dmitry Torokhov wrote: > > On Wed, Aug 20, 2014 at 08:09:49AM +0200, Takashi Iwai wrote: > > At Tue, 19 Aug 2014 22:18:15 -0700, > > Dmitry Torokhov wrote: > > > > > > Hi Andreas, > > > > > > On Wed

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-20 Thread Takashi Iwai
At Wed, 20 Aug 2014 09:05:58 +0200, Takashi Iwai wrote: > Well, it worked on my test machine a year ago or so. Maybe I had a > good luck. FYI, now I tested again an analog joystick on SB Live put on a Dell IvyBridge desktop with 3.17-rc1 x86-64 kernel, and it worked fine as is. So it'

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-21 Thread Takashi Iwai
At Wed, 20 Aug 2014 09:05:58 +0200, Takashi Iwai wrote: > > > > > > Also, I'm left wondering why e.g. my Athlon XP system (a very popular > > > > > choice for longer times) would be affected by Cpufreq... > > > > > And there are

Re: [PATCH 1/2] SOUND: kill gameport bits

2014-08-25 Thread Takashi Iwai
At Sun, 24 Aug 2014 07:07:16 +0200, Andreas Mohr wrote: > > On Thu, Aug 21, 2014 at 01:29:03PM +0200, Takashi Iwai wrote: > > I did a quick hack and it seems working on my box. > > The patch is below. > > Thanks!! > > Further comments below. > > I will be

[PATCH v2] Input: joystick - Use ktime for measuring timing

2014-09-10 Thread Takashi Iwai
ktime to measure the timing. In case where no high resolution timer is available, use_ktime bool option is provided to both modules. Setting use_ktime=false switches to the old methods. Tested-by: Clemens Ladisch Signed-off-by: Takashi Iwai --- v1->v2: Add paramter descritions, use t3 in

Re: [PATCH v2] Input: joystick - Use ktime for measuring timing

2014-09-18 Thread Takashi Iwai
At Wed, 17 Sep 2014 21:23:37 +0200, Andreas Mohr wrote: > > Hi, > > On Wed, Sep 10, 2014 at 05:57:17PM +0200, Takashi Iwai wrote: > > The current codes in gameport and analog joystick drivers for the time > > accounting have a long-standing problem when the system is r

[PATCH] Input: synaptics - add min/max quirk for Lenovo T440s

2014-11-06 Thread Takashi Iwai
The new Lenovo T440s laptop has a different PnP ID "LEN0039", and it needs the similar min/max quirk to make its clickpad working. BugLink: https://bugzilla.opensuse.org/show_bug.cgi?id=903748 Reported-and-tested-by: Joschi Brauchle Cc: Signed-off-by: Takashi Iwai --- drivers/i

Re: [PATCH 45/50] sound: usb: usx2y: spin_lock in complete() cleanup

2013-07-11 Thread Takashi Iwai
> > Cc: Jaroslav Kysela > > Cc: Takashi Iwai > > Cc: alsa-de...@alsa-project.org > > Signed-off-by: Ming Lei > > --- > > sound/usb/usx2y/usbusx2yaudio.c |4 > > 1 file changed, 4 insertions(+) > > > diff --git a/sound/usb/usx2y/usbus

Re: [PATCH 45/50] sound: usb: usx2y: spin_lock in complete() cleanup

2013-07-11 Thread Takashi Iwai
At Thu, 11 Jul 2013 22:13:35 +0800, Ming Lei wrote: > > On Thu, Jul 11, 2013 at 9:50 PM, Takashi Iwai wrote: > > At Thu, 11 Jul 2013 17:08:30 +0400, > > Sergei Shtylyov wrote: > >> > >> On 11-07-2013 13:06, Ming Lei wrote: > >> > >> > Co

May close() return any error code?

2015-07-29 Thread Takashi Iwai
Hi, while debugging a problem of X and gdm with the old systemd-210, we encountered a sudden death of systemd-logind, and this turned out to be an unexpected errno from close(). The close() call for input devices returns ENODEV error. The logind in systemd-210 treats this error code as fatal, tr

Re: May close() return any error code?

2015-07-30 Thread Takashi Iwai
On Wed, 29 Jul 2015 16:45:11 +0200, Dmitry Torokhov wrote: > > HI Takashi, > > On Wed, Jul 29, 2015 at 12:46:59PM +0200, Takashi Iwai wrote: > > Hi, > > > > while debugging a problem of X and gdm with the old systemd-210, we > > encountered a sudden death of

Re: May close() return any error code?

2015-08-04 Thread Takashi Iwai
On Sun, 02 Aug 2015 16:07:06 +0200, Al Viro wrote: > > On Wed, Jul 29, 2015 at 07:45:11AM -0700, Dmitry Torokhov wrote: > > > This seems coming from evdev_flush(). As there is no fd leak, it's no > > > big problem per se. But, now the question is whether returning such > > > an error code is cor

[PATCH] Input: evdev - Use EBADFD for flush() errors

2015-08-19 Thread Takashi Iwai
above. Bugzilla: http://bugzilla.suse.com/show_bug.cgi?id=939834 Cc: Signed-off-by: Takashi Iwai --- drivers/input/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 9d35499faca4..28e9efd837e1 100644 --- a/drivers/

Re: [PATCH v2] ALSA: ac97: Switch to dev_pm_ops

2015-08-21 Thread Takashi Iwai
On Fri, 21 Aug 2015 09:48:33 +0200, Lars-Peter Clausen wrote: > > Convert the ac97_bus from legacy suspend/resume callbacks to dev_pm_ops. > > Since there isn't anything special to do at the bus level the bus driver > does not have to implement any callbacks. The device driver core will > automat

Re: [PATCH v2] ALSA: ac97: Switch to dev_pm_ops

2015-08-21 Thread Takashi Iwai
On Fri, 21 Aug 2015 18:15:29 +0200, Dmitry Torokhov wrote: > > On Fri, Aug 21, 2015 at 10:25:59AM +0200, Takashi Iwai wrote: > > On Fri, 21 Aug 2015 09:48:33 +0200, > > Lars-Peter Clausen wrote: > > > > > > Convert the ac97_bus from legacy su

Re: [PATCH v2] ALSA: ac97: Switch to dev_pm_ops

2015-08-21 Thread Takashi Iwai
On Fri, 21 Aug 2015 18:59:28 +0200, Mark Brown wrote: > > On Fri, Aug 21, 2015 at 06:27:08PM +0200, Takashi Iwai wrote: > > > Mark, did you already put into your tree? Otherwise I'm going to take > > it to for-next branch. > > No, and I discarded the previous ve

Re: [PATCH] Input: evdev - Use EBADFD for flush() errors

2015-08-31 Thread Takashi Iwai
On Wed, 19 Aug 2015 09:38:15 +0200, Takashi Iwai wrote: > > We've got bug reports showing the old systemd-logind (at least > system-210) aborting unexpectedly, and this turned out to be because > of an invalid error code from close() call to evdev devices. close() > is sup

Re: [PATCH] Input: evdev - Use EBADFD for flush() errors

2015-09-03 Thread Takashi Iwai
On Fri, 04 Sep 2015 07:37:23 +0200, Dmitry Torokhov wrote: > > Hi Takashi, > > On Tue, Sep 01, 2015 at 07:23:25AM +0200, Takashi Iwai wrote: > > On Wed, 19 Aug 2015 09:38:15 +0200, > > Takashi Iwai wrote: > > > > > > We've got bug reports showin

[PATCH] Input: i8042 - Lower log level for "no controller" message

2015-09-04 Thread Takashi Iwai
Nowadays the machines without i8042 controller is popular, and no need to print "No controller found" message in the error log level, which annoys at booting in quiet mode. Let's lower it info level. Signed-off-by: Takashi Iwai --- drivers/input/serio/i8042.c | 2 +- 1

[PATCH] Input: elantech - add Fujitsu Lifebook U745 to force crc_enabled

2015-11-06 Thread Takashi Iwai
Another Lifebook machine that needs the same quirk as other similar models to make the driver working. Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=883192 Cc: Signed-off-by: Takashi Iwai --- drivers/input/mouse/elantech.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a