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


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


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga0b7004a0b8a62cec44ebe07ae8f54547}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_gabf6d53b1739bae6b93bdd737723a2f88}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga29145441021838f13217d318e855a0f1}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga0681560b002141cf6de6d79b1a86a4e7}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga69026617f5c18b88c60c3ed83aca0f28}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga2cffd75f55ebf5a751eab447cfc7cbd6}{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 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Eeze__Syspath_ga32d8b2e32e958180a56b83bf183b1171}{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}


\subsection{Detailed Description}
These are functions which interact with the syspath (/sys/\$\+P\+A\+TH) of a device. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eeze__Syspath_ga0b7004a0b8a62cec44ebe07ae8f54547}\label{group__Eeze__Syspath_ga0b7004a0b8a62cec44ebe07ae8f54547}} 
\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}}
\subsubsection{\texorpdfstring{eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath()}{eeze\_udev\_devpath\_get\_syspath()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 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().

\mbox{\Hypertarget{group__Eeze__Syspath_gabf6d53b1739bae6b93bdd737723a2f88}\label{group__Eeze__Syspath_gabf6d53b1739bae6b93bdd737723a2f88}} 
\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}}
\subsubsection{\texorpdfstring{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent()}{eeze\_udev\_syspath\_get\_parent()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 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}}
\subsubsection{\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}


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}}
\subsubsection{\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_ga29145441021838f13217d318e855a0f1}\label{group__Eeze__Syspath_ga29145441021838f13217d318e855a0f1}} 
\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}}
\subsubsection{\texorpdfstring{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devpath()}{eeze\_udev\_syspath\_get\_devpath()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 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_ga0681560b002141cf6de6d79b1a86a4e7}\label{group__Eeze__Syspath_ga0681560b002141cf6de6d79b1a86a4e7}} 
\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}}
\subsubsection{\texorpdfstring{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devname()}{eeze\_udev\_syspath\_get\_devname()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 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_ga69026617f5c18b88c60c3ed83aca0f28}\label{group__Eeze__Syspath_ga69026617f5c18b88c60c3ed83aca0f28}} 
\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}}
\subsubsection{\texorpdfstring{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+subsystem()}{eeze\_udev\_syspath\_get\_subsystem()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 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}}
\subsubsection{\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_ga2cffd75f55ebf5a751eab447cfc7cbd6}\label{group__Eeze__Syspath_ga2cffd75f55ebf5a751eab447cfc7cbd6}} 
\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}}
\subsubsection{\texorpdfstring{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+property()}{eeze\_udev\_syspath\_get\_property()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 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\+\_\+add().



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

\mbox{\Hypertarget{group__Eeze__Syspath_ga32d8b2e32e958180a56b83bf183b1171}\label{group__Eeze__Syspath_ga32d8b2e32e958180a56b83bf183b1171}} 
\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}}
\subsubsection{\texorpdfstring{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr()}{eeze\_udev\_syspath\_get\_sysattr()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} 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 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}}
\subsubsection{\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}}
\subsubsection{\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  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}}
\subsubsection{\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}}
\subsubsection{\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}}
\subsubsection{\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}}
\subsubsection{\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}}
\subsubsection{\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}}
\subsubsection{\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().

