From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: Regression 2.6.31: ioctl(EVIOCGNAME) no longer returns device name Date: Sun, 19 Jul 2009 21:40:30 +0200 Message-ID: <20090719214030.345a9944@hyperion.delvare> References: <1247862585.10066.16.camel@palomino.walls.org> <1247862937.10066.21.camel@palomino.walls.org> <20090719144749.689c2b3a@hyperion.delvare> <4A6316F9.4070109@rtr.ca> <20090719145513.0502e0c9@hyperion.delvare> <4A631B41.5090301@rtr.ca> <4A631CEA.4090802@rtr.ca> <4A632FED.1000809@rtr.ca> <20090719190833.29451277@hyperion.delvare> <4A63656D.4070901@rtr.ca> <4A637212.2000002@rtr.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A637212.2000002@rtr.ca> Sender: linux-media-owner@vger.kernel.org To: Mark Lord Cc: Andy Walls , linux-media@vger.kernel.org, Jarod Wilson , Mike Isely , Hans Verkuil , Mauro Carvalho Chehab , Janne Grunau , Linux Kernel , Andrew Morton , linux-input@vger.kernel.org List-Id: linux-input@vger.kernel.org On Sun, 19 Jul 2009 15:20:50 -0400, Mark Lord wrote: > Mark Lord wrote: > > (resending.. somebody trimmed linux-kernel from the CC: earlier) FWIW I don't think it was there in the first place. > > Jean Delvare wrote: > >> On Sun, 19 Jul 2009 10:38:37 -0400, Mark Lord wrote: > >>> I'm debugging various other b0rked things in 2.6.31 here right now, > >>> so I had a closer look at the Hauppauge I/R remote issue. > >>> > >>> The ir_kbd_i2c driver *does* still find it after all. > >>> But the difference is that the output from 'lsinput' has changed > >>> and no longer says "Hauppauge". Which prevents the application from > >>> finding the remote control in the same way as before. > >> > >> OK, thanks for the investigation. > >> > >>> I'll hack the application code here now to use the new output, > >>> but I wonder what the the thousands of other users will do when > >>> they first try 2.6.31 after release ? > .. > > Mmm.. appears to be a systemwide thing, not just for the i2c stuff. > *All* of the input devices now no longer show their real names > when queried with ioctl(EVIOCGNAME). This is a regression from 2.6.30. > Note that the real names *are* still stored somewhere, because they > do still show up correctly under /sys/ I was just coming to the same conclusion. So this doesn't have anything to do with the ir-kbd-i2c conversion after all... This is something for the input subsystem maintainers. I suspect this commit is related to the regression: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=3d5cb60ef3042ac479dab82e5a945966a0d54d53 -- Jean Delvare