lkml.org 
[lkml]   [2007]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sysfs/udev broken in latest git?
On Tue, Jul 24, 2007 at 07:39:38AM +0100, Simon Arlott wrote:
> The following commit appears to break some of my udev rules (I don't
> have the time to finish the bisect right now, but there's only four
> changes showing in "git bisect visualize" - this one is tagged
> bisect/bad, and the other three are docs/docs/unrelated).
>
> Neither of these symlinks get created by udev on kernels marked bad
> (see bisect log below):
>
> ACTION=="add", \
> KERNEL=="event*", \
> SUBSYSTEM=="input", \
> SYSFS{description}=="i8042 KBD port", \
> NAME="input/%k", \
> SYMLINK="input/i8042-kbd", \
> MODE="0640", \
> GROUP="event"
>
> ACTION=="add", \
> KERNEL=="event*", \
> SUBSYSTEM=="input", \
> SYSFS{manufacturer}=="Logitech", \
> SYSFS{product}=="USB-PS/2 Optical Mouse", \
> NAME="input/%k", \
> SYMLINK="input/logitech-mouse", \
> MODE="0640", \
> GROUP="event"
>
> Author: Cornelia Huck <cornelia.huck@de.ibm.com> 2007-07-18 09:43:47
> Committer: Greg Kroah-Hartman <gregkh@suse.de> 2007-07-18 23:49:50
> Parent: be3884943674f8ee7656b1d8b71c087ec900c836 (HOWTO: Add the knwon_regression URI to the documentation)
>
> Driver core: check return code of sysfs_create_link()
>
> Check for return value of sysfs_create_link() in device_add() and
> device_rename(). Add helper functions device_add_class_symlinks() and
> device_remove_class_symlinks() to make the code easier to read.
>
> [akpm@linux-foundation.org: fix unused var warnings]
>
> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
> Acked-by: Jeff Garzik <jeff@garzik.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Ugh, I thought this was all fixed up properly :(

Cornelia, can you work to figure this out?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-24 09:29    [W:0.572 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site