Commit Graph

13 Commits

Author SHA1 Message Date
Chris Michael af4af300af eeze: Remove unused device variables
As we do not ever use the udev_devices created from
udev_device_new_from_syspath in these functions, remove them.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-14 07:35:07 -05:00
Chris Michael 5f7d942253 eeze: Don't leak udev enumeration
If we cannot create a new udev device, then we should free the
previously created udev enumeration from above.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-14 07:31:39 -05:00
Amitesh Singh a17909b007 eeze: remove trailing whitespaces 2016-09-07 09:48:39 +05:30
Amitesh Singh a2e3b8ad13 eeze: add support of GPIO sysfs detection and watch.
This adds support for detection and watch of GPIO pins in /sys/class/gpio/*
This detects both gpiochip<N> & gpio<N>.

@feature
2016-09-06 20:42:26 +05:30
Nicolas Aguirre 95a494c73e eeze: add case for Graphics subsystems in eeze_udev_find_by_type
Add code to detect Graphics subsystem, i.e framebuffer devices
/dev/fbX in eeze. This will be used in Ecore-Fb to detect the
framebuffers present on the system.

@feature

Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-10 10:46:45 -08:00
Chris Michael 684d5180c3 eeze: Fix eeze_udev_find_by_subsystem_sysname function
This function was severly broken when used for finding devices of a
particular subsystem. Previously, this function would return every
device in the system, regardless if subsystem or sysname was passed in.
This patch fixes the issue by adding udev_enumerate matches before we
scan for devices. This way, when we enumerate the scan results, we now
get only devices that match the subsystem (if supplied).

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-29 13:46:30 -05:00
Chris Michael 9778443f02 eeze: Add API function for eeze_udev_find_by_subsystem_sysname
Summary: This adds an API function to find a device by
subsystem_sysname. This is needed for the port of ecore_drm to use
libinput.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-09 15:10:43 -05:00
Chris Michael c2f5e8331a eeze: Add cases for backlight and leds in eeze_udev_find_by_type
Summary: Add code to find backlight and led devices inside
eeze_udev_find_by_type function. This will be used in Ecore-Drm to
find the backlight of an output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-23 15:25:29 -04:00
Chris Michael 431c3cac58 eeze: Fix issue with eeze_udev_find_by_type not finding devices when
name is NULL.

Summary: This was totally wrong !! eeze_udev_find_by_type can be
passed EEZE_UDEV_TYPE_NONE to list all devices and it can also be
passed name == NULL to find All devices listed of a certain type. To
check for !etype && !name is just plain Wrong !! We have checks below
for a valid name (and then do a comparison).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-23 14:58:37 -04:00
Chris Michael d0dbd498df eeze: Add case for EEZE_UDEV_TYPE_DRM in eeze_udev_find_by_type function
Summary: This adds the ability to find drm cards using
eeze_udev_find_by_type function.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-23 10:04:30 -04:00
Boris 'billiob' Faure c313a46b5e eeze: do no try to match an unknown property 2013-05-12 22:22:48 +02:00
Gustavo Sverzut Barbieri e4654ee6cf efl/eeze: remove other traces of old libudev support.
SVN revision: 82101
2013-01-03 20:42:37 +00:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
Changes also in this commit:
 * fix missing EAPI in symbols used by modules
 * removed old libudev and libmount support as agreed by discomfitor/zmike
 * replaced __UNUSED__ with EINA_UNUSED
 * fixed docs hierarchy



SVN revision: 82100
2013-01-03 20:37:42 +00:00