\hypertarget{group__Eeze__Syspath}{}\doxysection{Syspath}
\label{group__Eeze__Syspath}\index{Syspath@{Syspath}}


These are functions which interact with the syspath (/sys/\$\+PATH) of a device.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gaa66d998e533fcc49ffb21c60ceb36ce1}{eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath}} (const char $\ast$devpath)
\begin{DoxyCompactList}\small\item\em Get the syspath of a device from the /dev/ path. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga6267eb501affefae6487751c72dd69eb}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Find the root device of a device from its syspath. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Stringshare__Group_ga2b7dc19609a55e630a96cc1396e38a53}{Eina\+\_\+\+Stringshare}} $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gaed26d65a4748cd647e1e08fc093874ab}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent\+\_\+filtered}} (const char $\ast$syspath, const char $\ast$subsystem, const char $\ast$devtype)
\begin{DoxyCompactList}\small\item\em Find the parent device of a device from its syspath with a filter applied. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga8e2d560bc2247bfc780247c849f25768}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parents}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Returns a list of all parent device syspaths for {\ttfamily syspath}. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gacf0369a74fe38f3575128641b1da6ae1}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devpath}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Get the /dev/ path from the /sys/ path. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gad1864d9c7f74145614bc8d76361ed0bd}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devname}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Get the /dev/ name from the /sys/ path. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga9404a7b522f76a04442672c5b0e83a6e}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+subsystem}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Get the subsystem of a device from the /sys/ path. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Syspath_ga6cef9e93f35727056a38327424e38bad}{eeze\+\_\+udev\+\_\+syspath\+\_\+check\+\_\+property}} (const char $\ast$syspath, const char $\ast$property, const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Check the property value of a device from the /sys/ path against a provided value. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga06d99f31cbfe74e4739b214e9d2638f6}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+property}} (const char $\ast$syspath, const char $\ast$property)
\begin{DoxyCompactList}\small\item\em Get the property value of a device from the /sys/ path. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga9aaf351ad74ca6a000a250504a148424}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr}} (const char $\ast$syspath, const char $\ast$sysattr)
\begin{DoxyCompactList}\small\item\em Get the sysattr value of a device from the /sys/ path. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Syspath_ga94c379912611f5a1654e019b47f314ce}{eeze\+\_\+udev\+\_\+syspath\+\_\+check\+\_\+sysattr}} (const char $\ast$syspath, const char $\ast$sysattr, const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Check the sysattr value of a device from the /sys/ path against a provided value. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Syspath_gac63b89936b9348680647de1830c1b68c}{eeze\+\_\+udev\+\_\+syspath\+\_\+set\+\_\+sysattr}} (const char $\ast$syspath, const char $\ast$sysattr, double value)
\begin{DoxyCompactList}\small\item\em Set the sysattr value of a device from the /sys/ path. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gad97c4fb6e8496dc3a82b1366edaf9525}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr\+\_\+list}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Get the sysattr list of a device from the /sys/ path. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Syspath_gac2f9f24640dc2ab8885fa03ee289b0df}{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+mouse}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Checks whether the device is a mouse. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Syspath_gafd9ce2aaac79d83cd3632c797e84446b}{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+kbd}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Checks whether the device is a keyboard. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Syspath_gaed848ffdeb3c32588e8a120a62fbd387}{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+touchpad}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Checks whether the device is a touchpad. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Syspath_gae63926bdb351476ebf4b8850d8c61a95}{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+joystick}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Checks whether the device is a joystick. \end{DoxyCompactList}\item 
EAPI int \mbox{\hyperlink{group__Eeze__Syspath_ga013ac058b548fcbef0bc7fe7402c79a5}{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysnum}} (const char $\ast$syspath)
\begin{DoxyCompactList}\small\item\em Get the sysnum value of a device from the /sys/ path. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These are functions which interact with the syspath (/sys/\$\+PATH) of a device. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eeze__Syspath_gaa66d998e533fcc49ffb21c60ceb36ce1}\label{group__Eeze__Syspath_gaa66d998e533fcc49ffb21c60ceb36ce1}} 
\index{Syspath@{Syspath}!eeze\_udev\_devpath\_get\_syspath@{eeze\_udev\_devpath\_get\_syspath}}
\index{eeze\_udev\_devpath\_get\_syspath@{eeze\_udev\_devpath\_get\_syspath}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_devpath\_get\_syspath()}{eeze\_udev\_devpath\_get\_syspath()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath (\begin{DoxyParamCaption}\item[{const char $\ast$}]{devpath }\end{DoxyParamCaption})}



Get the syspath of a device from the /dev/ path. 


\begin{DoxyParams}{Parameters}
{\em devpath} & The /dev/ path of the device \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ which corresponds to the /sys/ path of the device or {\ttfamily NULL} on failure
\end{DoxyReturn}
Takes \char`\"{}/dev/path\char`\"{} and returns the corresponding /sys/ path (without the \char`\"{}/sys/\char`\"{}) 

References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Eeze__Disk_ga5c147ad9c1d2dc4dad04c2045a9dd1f2}{eeze\+\_\+disk\+\_\+new()}}, and \mbox{\hyperlink{group__Eeze__Disk_ga4f86f4abef7200b5b3696d0461f43498}{eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga6267eb501affefae6487751c72dd69eb}\label{group__Eeze__Syspath_ga6267eb501affefae6487751c72dd69eb}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_parent@{eeze\_udev\_syspath\_get\_parent}}
\index{eeze\_udev\_syspath\_get\_parent@{eeze\_udev\_syspath\_get\_parent}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_parent()}{eeze\_udev\_syspath\_get\_parent()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Find the root device of a device from its syspath. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The syspath of a device, with or without \char`\"{}/sys/\char`\"{} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The syspath of the parent device
\end{DoxyReturn}
Return a stringshared syspath (/sys/\$syspath) for the parent device. 

References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gaed26d65a4748cd647e1e08fc093874ab}\label{group__Eeze__Syspath_gaed26d65a4748cd647e1e08fc093874ab}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_parent\_filtered@{eeze\_udev\_syspath\_get\_parent\_filtered}}
\index{eeze\_udev\_syspath\_get\_parent\_filtered@{eeze\_udev\_syspath\_get\_parent\_filtered}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_parent\_filtered()}{eeze\_udev\_syspath\_get\_parent\_filtered()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Stringshare__Group_ga2b7dc19609a55e630a96cc1396e38a53}{Eina\+\_\+\+Stringshare}} $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent\+\_\+filtered (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath,  }\item[{const char $\ast$}]{subsystem,  }\item[{const char $\ast$}]{devtype }\end{DoxyParamCaption})}



Find the parent device of a device from its syspath with a filter applied. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The syspath of a device, with or without \char`\"{}/sys/\char`\"{} \\
\hline
{\em subsystem} & The desired subsystem of the parent device \\
\hline
{\em devtype} & The desired device type of the parent device \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The syspath of the parent device
\end{DoxyReturn}
Return a stringshared syspath (/sys/\$syspath) for the parent device if one exists which matches the filter. \begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm__Device__Group_ga0c6bdd909fef2f525c562bd0d6636675}{ecore\+\_\+drm\+\_\+device\+\_\+find()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga8e2d560bc2247bfc780247c849f25768}\label{group__Eeze__Syspath_ga8e2d560bc2247bfc780247c849f25768}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_parents@{eeze\_udev\_syspath\_get\_parents}}
\index{eeze\_udev\_syspath\_get\_parents@{eeze\_udev\_syspath\_get\_parents}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_parents()}{eeze\_udev\_syspath\_get\_parents()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parents (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Returns a list of all parent device syspaths for {\ttfamily syspath}. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The device to find parents of \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared list of the parent devices of {\ttfamily syspath} 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gacf0369a74fe38f3575128641b1da6ae1}\label{group__Eeze__Syspath_gacf0369a74fe38f3575128641b1da6ae1}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_devpath@{eeze\_udev\_syspath\_get\_devpath}}
\index{eeze\_udev\_syspath\_get\_devpath@{eeze\_udev\_syspath\_get\_devpath}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_devpath()}{eeze\_udev\_syspath\_get\_devpath()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devpath (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Get the /dev/ path from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the /dev/ path or {\ttfamily NULL} on failure
\end{DoxyReturn}
Takes /sys/\$\+PATH and turns it into the corresponding \char`\"{}/dev/x/y\char`\"{}. 

References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm__Device__Group_ga0c6bdd909fef2f525c562bd0d6636675}{ecore\+\_\+drm\+\_\+device\+\_\+find()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gad1864d9c7f74145614bc8d76361ed0bd}\label{group__Eeze__Syspath_gad1864d9c7f74145614bc8d76361ed0bd}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_devname@{eeze\_udev\_syspath\_get\_devname}}
\index{eeze\_udev\_syspath\_get\_devname@{eeze\_udev\_syspath\_get\_devname}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_devname()}{eeze\_udev\_syspath\_get\_devname()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devname (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Get the /dev/ name from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ of the device name without the /dev/ path, or {\ttfamily NULL} on failure
\end{DoxyReturn}
Takes /sys/\$\+PATH and turns it into the corresponding /dev/x/\char`\"{}y\char`\"{}. 

References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga9404a7b522f76a04442672c5b0e83a6e}\label{group__Eeze__Syspath_ga9404a7b522f76a04442672c5b0e83a6e}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_subsystem@{eeze\_udev\_syspath\_get\_subsystem}}
\index{eeze\_udev\_syspath\_get\_subsystem@{eeze\_udev\_syspath\_get\_subsystem}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_subsystem()}{eeze\_udev\_syspath\_get\_subsystem()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+subsystem (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Get the subsystem of a device from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the subsystem of the device or {\ttfamily NULL} on failure
\end{DoxyReturn}
Takes /sys/\$\+PATH and returns the corresponding device subsystem, such as \char`\"{}input\char`\"{} for keyboards/mice. 

References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga6cef9e93f35727056a38327424e38bad}\label{group__Eeze__Syspath_ga6cef9e93f35727056a38327424e38bad}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_check\_property@{eeze\_udev\_syspath\_check\_property}}
\index{eeze\_udev\_syspath\_check\_property@{eeze\_udev\_syspath\_check\_property}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_check\_property()}{eeze\_udev\_syspath\_check\_property()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+udev\+\_\+syspath\+\_\+check\+\_\+property (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath,  }\item[{const char $\ast$}]{property,  }\item[{const char $\ast$}]{value }\end{DoxyParamCaption})}



Check the property value of a device from the /sys/ path against a provided value. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
{\em property} & The property to check; full list of these is a FIXME \\
\hline
{\em value} & The value to check the property against \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the property matches the supplied value 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga06d99f31cbfe74e4739b214e9d2638f6}\label{group__Eeze__Syspath_ga06d99f31cbfe74e4739b214e9d2638f6}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_property@{eeze\_udev\_syspath\_get\_property}}
\index{eeze\_udev\_syspath\_get\_property@{eeze\_udev\_syspath\_get\_property}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_property()}{eeze\_udev\_syspath\_get\_property()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+property (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath,  }\item[{const char $\ast$}]{property }\end{DoxyParamCaption})}



Get the property value of a device from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
{\em property} & The property to get; full list of these is a FIXME \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the property or {\ttfamily NULL} on failure 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm__Device__Group_ga0c6bdd909fef2f525c562bd0d6636675}{ecore\+\_\+drm\+\_\+device\+\_\+find()}}, and \mbox{\hyperlink{group__Ecore__Drm__Input__Group_ga9b416ea62b58fab5a4f611863e057309}{ecore\+\_\+drm\+\_\+inputs\+\_\+device\+\_\+axis\+\_\+size\+\_\+set()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga9aaf351ad74ca6a000a250504a148424}\label{group__Eeze__Syspath_ga9aaf351ad74ca6a000a250504a148424}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_sysattr@{eeze\_udev\_syspath\_get\_sysattr}}
\index{eeze\_udev\_syspath\_get\_sysattr@{eeze\_udev\_syspath\_get\_sysattr}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_sysattr()}{eeze\_udev\_syspath\_get\_sysattr()}}
{\footnotesize\ttfamily EAPI const char $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath,  }\item[{const char $\ast$}]{sysattr }\end{DoxyParamCaption})}



Get the sysattr value of a device from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
{\em sysattr} & The sysattr to get; full list of these is a FIXME \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the sysattr or {\ttfamily NULL} on failure 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm__Device__Group_ga0c6bdd909fef2f525c562bd0d6636675}{ecore\+\_\+drm\+\_\+device\+\_\+find()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga94c379912611f5a1654e019b47f314ce}\label{group__Eeze__Syspath_ga94c379912611f5a1654e019b47f314ce}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_check\_sysattr@{eeze\_udev\_syspath\_check\_sysattr}}
\index{eeze\_udev\_syspath\_check\_sysattr@{eeze\_udev\_syspath\_check\_sysattr}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_check\_sysattr()}{eeze\_udev\_syspath\_check\_sysattr()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+udev\+\_\+syspath\+\_\+check\+\_\+sysattr (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath,  }\item[{const char $\ast$}]{sysattr,  }\item[{const char $\ast$}]{value }\end{DoxyParamCaption})}



Check the sysattr value of a device from the /sys/ path against a provided value. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
{\em sysattr} & The sysattr to check; full list of these is a FIXME \\
\hline
{\em value} & The value to check the property against \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the sysattr matches the supplied value 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gac63b89936b9348680647de1830c1b68c}\label{group__Eeze__Syspath_gac63b89936b9348680647de1830c1b68c}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_set\_sysattr@{eeze\_udev\_syspath\_set\_sysattr}}
\index{eeze\_udev\_syspath\_set\_sysattr@{eeze\_udev\_syspath\_set\_sysattr}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_set\_sysattr()}{eeze\_udev\_syspath\_set\_sysattr()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+udev\+\_\+syspath\+\_\+set\+\_\+sysattr (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath,  }\item[{const char $\ast$}]{sysattr,  }\item[{double}]{value }\end{DoxyParamCaption})}



Set the sysattr value of a device from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
{\em sysattr} & The sysattr to set; \\
\hline
{\em value} & The value of sysattr to be set \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if the sysattr value is set 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gad97c4fb6e8496dc3a82b1366edaf9525}\label{group__Eeze__Syspath_gad97c4fb6e8496dc3a82b1366edaf9525}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_sysattr\_list@{eeze\_udev\_syspath\_get\_sysattr\_list}}
\index{eeze\_udev\_syspath\_get\_sysattr\_list@{eeze\_udev\_syspath\_get\_sysattr\_list}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_sysattr\_list()}{eeze\_udev\_syspath\_get\_sysattr\_list()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr\+\_\+list (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Get the sysattr list of a device from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Eina\+\_\+list containing list of sysattr for a device or {\ttfamily NULL} on failure 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gac2f9f24640dc2ab8885fa03ee289b0df}\label{group__Eeze__Syspath_gac2f9f24640dc2ab8885fa03ee289b0df}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_is\_mouse@{eeze\_udev\_syspath\_is\_mouse}}
\index{eeze\_udev\_syspath\_is\_mouse@{eeze\_udev\_syspath\_is\_mouse}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_is\_mouse()}{eeze\_udev\_syspath\_is\_mouse()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+mouse (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Checks whether the device is a mouse. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If true, the device is a mouse 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gafd9ce2aaac79d83cd3632c797e84446b}\label{group__Eeze__Syspath_gafd9ce2aaac79d83cd3632c797e84446b}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_is\_kbd@{eeze\_udev\_syspath\_is\_kbd}}
\index{eeze\_udev\_syspath\_is\_kbd@{eeze\_udev\_syspath\_is\_kbd}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_is\_kbd()}{eeze\_udev\_syspath\_is\_kbd()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+kbd (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Checks whether the device is a keyboard. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If true, the device is a keyboard 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gaed848ffdeb3c32588e8a120a62fbd387}\label{group__Eeze__Syspath_gaed848ffdeb3c32588e8a120a62fbd387}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_is\_touchpad@{eeze\_udev\_syspath\_is\_touchpad}}
\index{eeze\_udev\_syspath\_is\_touchpad@{eeze\_udev\_syspath\_is\_touchpad}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_is\_touchpad()}{eeze\_udev\_syspath\_is\_touchpad()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+touchpad (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Checks whether the device is a touchpad. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If true, the device is a touchpad 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Syspath_gae63926bdb351476ebf4b8850d8c61a95}\label{group__Eeze__Syspath_gae63926bdb351476ebf4b8850d8c61a95}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_is\_joystick@{eeze\_udev\_syspath\_is\_joystick}}
\index{eeze\_udev\_syspath\_is\_joystick@{eeze\_udev\_syspath\_is\_joystick}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_is\_joystick()}{eeze\_udev\_syspath\_is\_joystick()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+joystick (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Checks whether the device is a joystick. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If true, the device is a joystick 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+7 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Eeze__Syspath_ga013ac058b548fcbef0bc7fe7402c79a5}\label{group__Eeze__Syspath_ga013ac058b548fcbef0bc7fe7402c79a5}} 
\index{Syspath@{Syspath}!eeze\_udev\_syspath\_get\_sysnum@{eeze\_udev\_syspath\_get\_sysnum}}
\index{eeze\_udev\_syspath\_get\_sysnum@{eeze\_udev\_syspath\_get\_sysnum}!Syspath@{Syspath}}
\doxysubsubsection{\texorpdfstring{eeze\_udev\_syspath\_get\_sysnum()}{eeze\_udev\_syspath\_get\_sysnum()}}
{\footnotesize\ttfamily EAPI int eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysnum (\begin{DoxyParamCaption}\item[{const char $\ast$}]{syspath }\end{DoxyParamCaption})}



Get the sysnum value of a device from the /sys/ path. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The /sys/ path with or without the /sys/ \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A integer with the sysnum or -\/1 on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


Referenced by \mbox{\hyperlink{group__Ecore__Drm__Device__Group_ga0c6bdd909fef2f525c562bd0d6636675}{ecore\+\_\+drm\+\_\+device\+\_\+find()}}.

