From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FPr60-0001DI-Ut for garchives@archives.gentoo.org; Sun, 02 Apr 2006 01:09:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k3218HRK029636; Sun, 2 Apr 2006 01:08:17 GMT Received: from mtaout-m.tc.umn.edu (mtaout-m.tc.umn.edu [160.94.23.21]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k3213qWu024898 for ; Sun, 2 Apr 2006 01:03:53 GMT Received: from [134.84.129.150] (x84-129-150-dhcp.reshalls.umn.edu [134.84.129.150]) by mtaout-m.tc.umn.edu with ESMTP for gentoo-user@lists.gentoo.org; Sat, 1 Apr 2006 19:03:52 -0600 (CST) X-Umn-Remote-Mta: [N] x84-129-150-dhcp.reshalls.umn.edu [134.84.129.150] #+LO+TS+AU+HN Message-ID: <442F22E3.7010001@gmail.com> Date: Sat, 01 Apr 2006 19:03:31 -0600 From: Jeremy Olexa User-Agent: Mail/News 1.5 (X11/20060328) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT: /sys-demystifying-tool? References: <20060401.053029.93025458.Meino.Cramer@gmx.de> In-Reply-To: <20060401.053029.93025458.Meino.Cramer@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 3af96a64-37ca-437a-b8f8-507fec771fcd X-Archives-Hash: 8a16d6c71f85890713eef820d13c5b38 Meino Christian Cramer wrote: > I am looking for a tool, which makes /sys more humand readable. It dont > need to have a gui or such...something like lspci would be > sufficient. It would be easier to help you if you explained exactly _what_ you are trying to do? I assume you are trying to write udev rules because that is the only thing I have used /sys for. I'll assume that is the case with my reply: Have you read the udev how-to? http://www.gentoo.org/doc/en/udev-guide.xml http://www.reactivated.net/writing_udev_rules.html In particular...notice this part to parse /sys files: http://www.reactivated.net/writing_udev_rules.html#identify-sysfs and this command: udevinfo -a -p /sys/path/to/hardware/info Hope that helps and maybe I assumed wrong...meh, -Jeremy -- gentoo-user@gentoo.org mailing list