Index: src/lib/eeze_udev_syspath.c
===================================================================
--- src/lib/eeze_udev_syspath.c	(revision 57816)
+++ src/lib/eeze_udev_syspath.c	(working copy)
@@ -180,6 +180,32 @@
 }
 
 /**
+ * Get the sysname from the /sys/ path.
+ *
+ * @param syspath The /sys/ path with or without the /sys/
+ * @return A stringshared char* with the sysname or NULL on failure
+ */
+EAPI const char *
+eeze_udev_syspath_get_sysname(const char *syspath)
+{
+   _udev_device *device;
+   const char *name = NULL;
+
+   if (!syspath)
+     return NULL;
+
+   if (!(device = _new_device(syspath)))
+     return NULL;
+
+   if (!(name = udev_device_get_sysname(device)))
+     return NULL;
+
+   name = eina_stringshare_add(name);
+   udev_device_unref(device);
+   return name;
+}
+
+/**
  * Checks whether the device is a mouse.
  *
  * @param syspath The /sys/ path with or without the /sys/
Index: src/lib/Eeze.h
===================================================================
--- src/lib/Eeze.h	(revision 57816)
+++ src/lib/Eeze.h	(working copy)
@@ -206,6 +206,7 @@
    EAPI Eina_List       *eeze_udev_syspath_get_parents(const char *syspath);
    EAPI const char      *eeze_udev_syspath_get_devpath(const char *syspath);
    EAPI const char      *eeze_udev_syspath_get_subsystem(const char *syspath);
+   EAPI const char      *eeze_udev_syspath_get_sysname(const char *syspath);
    EAPI const char      *eeze_udev_syspath_get_property(const char *syspath, const char *property);
    EAPI const char      *eeze_udev_syspath_get_sysattr(const char *syspath, const char *sysattr);
 
