[lkml]   [2012]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [git pull] Input updates for 3.5-rc0
    On Thu, May 24, 2012 at 02:07:29PM -0700, Linus Torvalds wrote:
    > On Thu, May 24, 2012 at 1:59 PM, Dmitry Torokhov
    > <> wrote:
    > >
    > > I was concerned about the _next_ device (the one that will be created
    > > the moment I plug in the tablet back into the same port) having exact
    > > same name as the one that is half dead and clashing in sysfs and
    > > elsewhere. We used to have issues with this.
    > Ok, that's certainly a valid concern.
    > It's still - I think - really sad/wrong that the device name is then
    > so useless than the drivers end up basically not using it.

    I can see the desire for logging, it is just hard to come with good
    automatic way of doing this without burdening drivers, given that errors
    happen rarely in input core layer and in driver code we already have
    perfect device object to report against.

    Maybe dev_XXX() should report full sysfs path do the dveice? Still does
    not help with the fact that "driver" shown for class devices is not so
    interesting as it will always be the class name.


     \ /
      Last update: 2012-05-25 00:01    [W:0.025 / U:64.632 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site