public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: linux-kernel@vger.kernel.org, Kay Sievers <kay.sievers@vrfy.org>,
	Vojtech Pavlik <vojtech@suse.cz>, Hannes Reinecke <hare@suse.de>,
	Patrick Mochel <mochel@digitalimplant.org>,
	airlied@linux.ie
Subject: Re: [PATCH] nesting class_device in sysfs to solve world peace
Date: Wed, 5 Oct 2005 17:29:31 -0700	[thread overview]
Message-ID: <20051006002931.GA4854@suse.de> (raw)
In-Reply-To: <20051006000951.GA4411@suse.de>

On Wed, Oct 05, 2005 at 05:09:51PM -0700, Greg KH wrote:
> Here's what sysfs looks like on this box with the patch below:
> 
> $ tree /sys/class/input_dev/ -d
> /sys/class/input_dev/
> |-- input0
> |   |-- capabilities
> |   `-- id
> |-- input1
> |   |-- capabilities
> |   |-- device -> ../../../devices/platform/i8042/serio1
> |   `-- id
> `-- input2
>     |-- capabilities
>     |-- device -> ../../../devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0
>     |-- id
>     `-- mouse0
>         `-- device -> ../../../../devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0

And here it is with all input devices converted over.  Just rename
input_dev to "input" and we are home free...

$ tree -d /sys/class/input_dev/
/sys/class/input_dev/
|-- input0
|   |-- capabilities
|   |-- event0
|   `-- id
|-- input1
|   |-- capabilities
|   |-- device -> ../../../devices/platform/i8042/serio1
|   |-- event1
|   |   `-- device -> ../../../../devices/platform/i8042/serio1
|   `-- id
|-- input2
|   |-- capabilities
|   |-- device -> ../../../devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0
|   |-- event2
|   |   `-- device -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0
|   |-- id                      
|   |-- mouse0                  
|   |   `-- device -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0
|   `-- ts0                     
|       `-- device -> ../../../../devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0
`-- mice                        


thanks,

greg k-h

  parent reply	other threads:[~2005-10-06  0:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-28 23:31 [PATCH] nesting class_device in sysfs to solve world peace Greg KH
2005-09-30  5:32 ` Dmitry Torokhov
2005-10-06  0:09   ` Greg KH
2005-10-06  0:26     ` Greg KH
2005-10-06  0:29     ` Greg KH [this message]
2005-10-06  6:29     ` Dmitry Torokhov
2005-10-06 12:00       ` Michael Tokarev
2005-10-06 17:40         ` Dmitry Torokhov
2005-10-06 21:22       ` Greg KH
2005-10-06 21:59         ` Dmitry Torokhov
2005-10-11  4:00   ` Adam Belay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051006002931.GA4854@suse.de \
    --to=gregkh@suse.de \
    --cc=airlied@linux.ie \
    --cc=dtor_core@ameritech.net \
    --cc=hare@suse.de \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@digitalimplant.org \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox