\hypertarget{group__Eeze__Syspath}{}\doxysection{Syspath}
\label{group__Eeze__Syspath}\index{Syspath@{Syspath}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga6e382443ca02c94a084a3abe854fc761}{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 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga76c1bdae58caf911065410b6f331f42b}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__Stringshare__Group_ga2b7dc19609a55e630a96cc1396e38a53}{Eina\+\_\+\+Stringshare}} $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gac4f162208ccb1cf127a101f3d36d54ef}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gac61db7c2196278cca15de8d22cc4cee8}{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 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga817a7d56f1c2941ae2506f8682cd122f}{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 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga979b5c522958dbb798b4327dad452a9f}{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 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga0e6585a637e02a3513b87fc86e5c8c74}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gad28919ef545acb089d7622769d3549ec}{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 
const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gaafc2f4fea6ea0d3d9d13324b2255cf49}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga64856194969b89b64b71fd8c300bd642}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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/\$\+P\+A\+TH) of a device. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eeze__Syspath_ga6e382443ca02c94a084a3abe854fc761}\label{group__Eeze__Syspath_ga6e382443ca02c94a084a3abe854fc761}} 
\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 const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 N\+U\+LL} on failure
\end{DoxyReturn}
Takes \char`\"{}/dev/path\char`\"{} and returns the corresponding /sys/ path (without the \char`\"{}/sys/\char`\"{}) 

References eina\+\_\+stringshare\+\_\+add().



Referenced by eeze\+\_\+disk\+\_\+new(), and eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount().

\mbox{\Hypertarget{group__Eeze__Syspath_ga76c1bdae58caf911065410b6f331f42b}\label{group__Eeze__Syspath_ga76c1bdae58caf911065410b6f331f42b}} 
\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 const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 eina\+\_\+stringshare\+\_\+add().

\mbox{\Hypertarget{group__Eeze__Syspath_gac4f162208ccb1cf127a101f3d36d54ef}\label{group__Eeze__Syspath_gac4f162208ccb1cf127a101f3d36d54ef}} 
\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 E\+I\+N\+A\+\_\+\+S\+A\+F\+E\+T\+Y\+\_\+\+O\+N\+\_\+\+N\+U\+L\+L\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+AL, Eina\+\_\+\+Stringshare, and eina\+\_\+stringshare\+\_\+add().



Referenced by ecore\+\_\+drm\+\_\+device\+\_\+find().

\mbox{\Hypertarget{group__Eeze__Syspath_gac61db7c2196278cca15de8d22cc4cee8}\label{group__Eeze__Syspath_gac61db7c2196278cca15de8d22cc4cee8}} 
\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 eina\+\_\+list\+\_\+append(), and eina\+\_\+stringshare\+\_\+add().

\mbox{\Hypertarget{group__Eeze__Syspath_ga817a7d56f1c2941ae2506f8682cd122f}\label{group__Eeze__Syspath_ga817a7d56f1c2941ae2506f8682cd122f}} 
\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 const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 N\+U\+LL} on failure
\end{DoxyReturn}
Takes /sys/\$\+P\+A\+TH and turns it into the corresponding \char`\"{}/dev/x/y\char`\"{}. 

References eina\+\_\+stringshare\+\_\+add().



Referenced by ecore\+\_\+drm\+\_\+device\+\_\+find().

\mbox{\Hypertarget{group__Eeze__Syspath_ga979b5c522958dbb798b4327dad452a9f}\label{group__Eeze__Syspath_ga979b5c522958dbb798b4327dad452a9f}} 
\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 const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 N\+U\+LL} on failure
\end{DoxyReturn}
Takes /sys/\$\+P\+A\+TH and turns it into the corresponding /dev/x/\char`\"{}y\char`\"{}. 

References eina\+\_\+stringshare\+\_\+add().

\mbox{\Hypertarget{group__Eeze__Syspath_ga0e6585a637e02a3513b87fc86e5c8c74}\label{group__Eeze__Syspath_ga0e6585a637e02a3513b87fc86e5c8c74}} 
\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 const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 N\+U\+LL} on failure
\end{DoxyReturn}
Takes /sys/\$\+P\+A\+TH and returns the corresponding device subsystem, such as \char`\"{}input\char`\"{} for keyboards/mice. 

References 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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 F\+I\+X\+ME \\
\hline
{\em value} & The value to check the property against \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if the property matches the supplied value 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\mbox{\Hypertarget{group__Eeze__Syspath_gad28919ef545acb089d7622769d3549ec}\label{group__Eeze__Syspath_gad28919ef545acb089d7622769d3549ec}} 
\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 const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 F\+I\+X\+ME \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the property or {\ttfamily N\+U\+LL} on failure 
\end{DoxyReturn}


References Eina\+\_\+\+Stringshare, and eina\+\_\+stringshare\+\_\+add().



Referenced by ecore\+\_\+drm\+\_\+device\+\_\+find(), and ecore\+\_\+drm\+\_\+inputs\+\_\+device\+\_\+axis\+\_\+size\+\_\+set().

\mbox{\Hypertarget{group__Eeze__Syspath_gaafc2f4fea6ea0d3d9d13324b2255cf49}\label{group__Eeze__Syspath_gaafc2f4fea6ea0d3d9d13324b2255cf49}} 
\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 const \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 F\+I\+X\+ME \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the sysattr or {\ttfamily N\+U\+LL} on failure 
\end{DoxyReturn}


References eina\+\_\+stringshare\+\_\+add().



Referenced by 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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 F\+I\+X\+ME \\
\hline
{\em value} & The value to check the property against \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE} if the sysattr matches the supplied value 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 E\+I\+N\+A\+\_\+\+T\+R\+UE} if the sysattr value is set @\+Since 1.\+12 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eeze__Syspath_ga64856194969b89b64b71fd8c300bd642}\label{group__Eeze__Syspath_ga64856194969b89b64b71fd8c300bd642}} 
\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 N\+U\+LL} on failure 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References eina\+\_\+list\+\_\+append(), and 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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \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 E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\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 \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 ecore\+\_\+drm\+\_\+device\+\_\+find().

