One more, from different system:

----

For my first trick, I will find all of your keyboards and return their
syspaths.
Found keyboard: /sys/devices/pci0000:00/0000:00:1d.0/usb2
Found keyboard:
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input0/event0

Next, I will find all of your mice and print the corresponding manufacturer.
Found mouse /sys/devices/pci0000:00/0000:00:1d.7/usb1 with vendor: Linux
2.6.32-5-686 ehci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:1d.7 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.3/usb5 with vendor: Linux
2.6.32-5-686 uhci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:1d.3 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.2 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.1 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.0 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.0/usb2 with vendor: Linux
2.6.32-5-686 uhci_hcd
Found mouse
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1/input/input1/event1
with vendor: Cypress
Found mouse
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1/input/input1/mouse0
with vendor: Cypress
Found mouse /sys/devices/platform/i8042/serio1/input/input7/event7 with
vendor: (null)
Found mouse /sys/devices/platform/i8042/serio1/input/input7/mouse1 with
vendor: (null)

Now let's try something a little more difficult.  Mountable filesystems!

Network devices!
Found device: /sys/devices/pci0000:00/0000:00:1d.7
Found device: /sys/devices/pci0000:00/0000:00:1d.3/usb5
Found device: /sys/devices/pci0000:00/0000:00:1d.3
Found device: /sys/devices/pci0000:00/0000:00:1d.2
Found device: /sys/devices/pci0000:00/0000:00:1d.1
Found device: /sys/devices/pci0000:00/0000:00:1d.0/usb2
Found device: /sys/devices/pci0000:00/0000:00:1d.0
Found device: /sys/devices/pci0000:00/0000:00:1d.7/usb1

-----

But interesting stuff - only on this system, if i unplug keyboard (and not
plug it as in previous test), this is what i get:

-----

For my first trick, I will find all of your keyboards and return their
syspaths.
Found keyboard: /sys/devices/pci0000:00/0000:00:1d.2/usb4
Found keyboard: /sys/devices/pci0000:00/0000:00:1d.0/usb2
Found keyboard:
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input0/event0
Found keyboard:
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input21/event2

Next, I will find all of your mice and print the corresponding manufacturer.
Found mouse /sys/devices/pci0000:00/0000:00:1d.7/usb1 with vendor: Linux
2.6.32-5-686 ehci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:1d.7 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.3/usb5 with vendor: Linux
2.6.32-5-686 uhci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:1d.3 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.2/usb4 with vendor: Linux
2.6.32-5-686 uhci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:1d.2 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.1 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.0 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1d.0/usb2 with vendor: Linux
2.6.32-5-686 uhci_hcd
Found mouse
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1/input/input1/event1
with vendor: Cypress
Found mouse
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1/input/input1/mouse0
with vendor: Cypress
Found mouse /sys/devices/platform/i8042/serio1/input/input7/event7 with
vendor: (null)

Found mouse /sys/devices/platform/i8042/serio1/input/input7/mouse1 with
vendor: (null)

Now let's try something a little more difficult.  Mountable filesystems!

Network devices!
Found device: /sys/devices/pci0000:00/0000:00:1d.7
Found device: /sys/devices/pci0000:00/0000:00:1d.3/usb5
Found device: /sys/devices/pci0000:00/0000:00:1d.3
Found device: /sys/devices/pci0000:00/0000:00:1d.2/usb4
Found device: /sys/devices/pci0000:00/0000:00:1d.2
Found device: /sys/devices/pci0000:00/0000:00:1d.1
Found device: /sys/devices/pci0000:00/0000:00:1d.0/usb2
Found device: /sys/devices/pci0000:00/0000:00:1d.0
Found device: /sys/devices/pci0000:00/0000:00:1d.7/usb1
Found device: /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth0
    You probably know it better as eth0
Found device: /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.0/net/eth1
    You probably know it better as eth1
Found device: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-4/net/ra0
    You probably know it better as ra0
Found device: /sys/devices/virtual/net/lo
    You probably know it better as lo
Found device: /sys/devices/virtual/net/pan0
    You probably know it better as pan0

Internal drives, anyone?  With serial numbers?
/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda:
WDC_WD1200BEVS-22UST0_WD-WXC708253386

Got any removables?  I'm gonna find em!

And now for something more complicated.  Plug or unplug your keyboard or
mouse for me.
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input21/event2
does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input21/event2
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input21/event2
is not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input21 does not
exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input21 does not
exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/input/input21 is not a
keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/0003:1241:1603.000F/hidraw/hidraw2
does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/0003:1241:1603.000F/hidraw/hidraw2
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/0003:1241:1603.000F/hidraw/hidraw2
is not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/0003:1241:1603.000F
does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/0003:1241:1603.000F
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/0003:1241:1603.000F is
not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0 does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0 does not exist!
Sneaky sneaky!  But /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0 is
not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/input/input22/event3
does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/input/input22/event3
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/input/input22/event3
is not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/input/input22 does not
exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/input/input22 does not
exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/input/input22 is not a
keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/0003:1241:1603.0010/hidraw/hidraw3
does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/0003:1241:1603.0010/hidraw/hidraw3
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/0003:1241:1603.0010/hidraw/hidraw3
is not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/0003:1241:1603.0010
does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/0003:1241:1603.0010
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1/0003:1241:1603.0010 is
not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1 does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1 does not exist!
Sneaky sneaky!  But /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.1 is
not a keyboard or a mouse!!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2 does not exist!
ERR<4538>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2 does not exist!
Sneaky sneaky!  But /sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2 is not a
keyboard or a mouse!!

------

And then it waits forever, until ctrl-c is pressed...

Thanks,
Daniel

2011/5/23 Mike Blumenkrantz <m...@zentific.com>

> Hi,
>
> I requested that everyone re-run the eeze udev test a couple weeks ago. I
> got 4
> responses. This is not sufficient.
>
> Take your removable hard drives and plug them in. Put a cd in your cdrom
> drive. Run the test as root to let it open your devices. Reply to me with
> the
> output.
>
> Thanks.
> --
> Mike Blumenkrantz
> Zentific: NULL pointer dereferences now 50% off!
>
>
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to