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


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


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Stringshare__Group_ga2b7dc19609a55e630a96cc1396e38a53}{Eina\+\_\+\+Stringshare} $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \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 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \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\+T\+H) of a device. 



\subsection{Function Documentation}
\hypertarget{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[{eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath(const char $\ast$devpath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+udev\+\_\+devpath\+\_\+get\+\_\+syspath (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{devpath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga0b7004a0b8a62cec44ebe07ae8f54547}


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\+L\+L} 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().

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_gabf6d53b1739bae6b93bdd737723a2f88}


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(), and efl\+::eo\+::parent.

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parent\+\_\+filtered(const char $\ast$syspath, const char $\ast$subsystem, const char $\ast$devtype)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf 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}
)}\label{group__Eeze__Syspath_gac4f162208ccb1cf127a101f3d36d54ef}


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 eina\+\_\+stringshare\+\_\+add(), and efl\+::eo\+::parent.



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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parents(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+List}$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+parents (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_gac61db7c2196278cca15de8d22cc4cee8}


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(), eina\+\_\+stringshare\+\_\+add(), and efl\+::eo\+::parent.

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devpath(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devpath (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga29145441021838f13217d318e855a0f1}


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\+L\+L} on failure
\end{DoxyReturn}
Takes /sys/\$\+P\+A\+T\+H and turns it into the corresponding \char`\"{}/dev/x/y\char`\"{}. 

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



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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devname(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+devname (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga0681560b002141cf6de6d79b1a86a4e7}


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\+L\+L} on failure
\end{DoxyReturn}
Takes /sys/\$\+P\+A\+T\+H and turns it into the corresponding /dev/x/\char`\"{}y\char`\"{}. 

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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+subsystem(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+subsystem (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga69026617f5c18b88c60c3ed83aca0f28}


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\+L\+L} on failure
\end{DoxyReturn}
Takes /sys/\$\+P\+A\+T\+H and returns the corresponding device subsystem, such as \char`\"{}input\char`\"{} for keyboards/mice. 

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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+check\+\_\+property(const char $\ast$syspath, const char $\ast$property, const char $\ast$value)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf 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}
)}\label{group__Eeze__Syspath_ga6cef9e93f35727056a38327424e38bad}


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\+M\+E \\
\hline
{\em value} & The value to check the property against \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if the property matches the supplied value 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+property(const char $\ast$syspath, const char $\ast$property)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+property (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath, }
\item[{const char $\ast$}]{property}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga2cffd75f55ebf5a751eab447cfc7cbd6}


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\+M\+E \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the property or {\ttfamily N\+U\+L\+L} on failure 
\end{DoxyReturn}


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



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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr(const char $\ast$syspath, const char $\ast$sysattr)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const char$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath, }
\item[{const char $\ast$}]{sysattr}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga32d8b2e32e958180a56b83bf183b1171}


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\+M\+E \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared char$\ast$ with the sysattr or {\ttfamily N\+U\+L\+L} on failure 
\end{DoxyReturn}


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



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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+check\+\_\+sysattr(const char $\ast$syspath, const char $\ast$sysattr, const char $\ast$value)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf 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}
)}\label{group__Eeze__Syspath_ga94c379912611f5a1654e019b47f314ce}


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\+M\+E \\
\hline
{\em value} & The value to check the property against \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if the sysattr matches the supplied value 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+10 
\end{DoxySince}


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

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+set\+\_\+sysattr(const char $\ast$syspath, const char $\ast$sysattr, double value)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+udev\+\_\+syspath\+\_\+set\+\_\+sysattr (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath, }
\item[{const char $\ast$}]{sysattr, }
\item[{double}]{value}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_gac63b89936b9348680647de1830c1b68c}


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\+U\+E} if the sysattr value is set  1.\+12 
\end{DoxyReturn}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr\+\_\+list(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+List}$\ast$ eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysattr\+\_\+list (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga64856194969b89b64b71fd8c300bd642}


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\+L\+L} on failure 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+12 
\end{DoxySince}


References eina\+\_\+list\+\_\+append(), and eina\+\_\+stringshare\+\_\+add().

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+mouse(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+mouse (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_gac2f9f24640dc2ab8885fa03ee289b0df}


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\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+kbd(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+kbd (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_gafd9ce2aaac79d83cd3632c797e84446b}


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\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+touchpad(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+touchpad (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_gaed848ffdeb3c32588e8a120a62fbd387}


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\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+joystick(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+udev\+\_\+syspath\+\_\+is\+\_\+joystick (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_gae63926bdb351476ebf4b8850d8c61a95}


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\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{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[{eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysnum(const char $\ast$syspath)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int eeze\+\_\+udev\+\_\+syspath\+\_\+get\+\_\+sysnum (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{syspath}
\end{DoxyParamCaption}
)}\label{group__Eeze__Syspath_ga013ac058b548fcbef0bc7fe7402c79a5}


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().

