> you are using the test located in eeze/src/bin, correct? not one which was
> previously installed?
> 

Apologies! I changed to eeze/src/bin, then forgot to put ./ on the
command, so it used the old one anyway. To think I was so close to doing
something right today....

Anyway, I've done it properly this time:

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/usb5/5-1/5-1:1.0/input/input4/event4
Found keyboard:
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.1/input/input5/event5
Found keyboard: /sys/devices/platform/i8042/serio0/input/input3/event3

Next, I will find all of your mice and print the corresponding manufacturer.
Found mouse
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/event6
with vendor: Microsoft
Found mouse
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/mouse0
with vendor: Microsoft
Found mouse /sys/devices/platform/i8042/serio2/input/input9/event9 with
vendor: (null)
Found mouse /sys/devices/platform/i8042/serio2/input/input9/mouse1 with
vendor: (null)

Now let's try something a little more difficult.  Mountable filesystems!
Found device:
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1
        You probably know it better as /dev/sdb1
        It's formatted as vfat!
Found device:
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:09.1/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p1
        You probably know it better as /dev/mmcblk0p1
        It's formatted as vfat!
Found device:
/sys/devices/pci0000:00/0000:00:1e.0/0000:02:09.1/mmc_host/mmc0/mmc0:aaaa/block/mmcblk0/mmcblk0p2
        You probably know it better as /dev/mmcblk0p2
        It's formatted as vfat!
Found device:
/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda1
        You probably know it better as /dev/sda1
        It's formatted as vfat!
Found device:
/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda2
        You probably know it better as /dev/sda2
        It's formatted as vfat!
Found device:
/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:0/2:0:0:0/block/sda/sda3
        You probably know it better as /dev/sda3
        It's formatted as ext3!

Network devices!
Found device: /sys/devices/pci0000:00/0000:00:1c.0/0000:09:00.0/net/eth0
        You probably know it better as eth0
Found device: /sys/devices/pci0000:00/0000:00:1c.1/0000:0b:00.0/net/wlan0
        You probably know it better as wlan0
Found device: /sys/devices/virtual/net/lo
        You probably know it better as lo
Found device: /sys/devices/virtual/net/vboxnet0
        You probably know it better as vboxnet0

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

Got any removables?  I'm gonna find em!
        Ooh, a DataTraveler G2  attached to the scsi subsytem!

And now for something more complicated.  Plug or unplug your keyboard or
mouse for me.
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/mouse0
does not exist!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/mouse0
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/mouse0
is not a keyboard or a mouse!!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/event6
does not exist!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/event6
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16/event6
is not a keyboard or a mouse!!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16 does
not exist!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16 does
not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input16 is
not a keyboard or a mouse!!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0005/hidraw/hidraw2
does not exist!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0005/hidraw/hidraw2
does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0005/hidraw/hidraw2
is not a keyboard or a mouse!!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0005 does
not exist!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0005 does
not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0005 is
not a keyboard or a mouse!!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0 does not exist!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0 does not exist!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0 is not a keyboard
or a mouse!!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2 does not exist!
ERR<23507>:eeze_udev eeze_udev_private.c:26 _new_device() device
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2 does not exist!
Sneaky sneaky!  But /sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2 is not
a keyboard or a mouse!!
Sneaky sneaky!  But /sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2 is not
a keyboard or a mouse!!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0 is not a keyboard
or a mouse!!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0006 is
not a keyboard or a mouse!!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/0003:045E:0039.0006/hidraw/hidraw2
is not a keyboard or a mouse!!
Sneaky sneaky!  But
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input17 is
not a keyboard or a mouse!!
You plugged in /dev/input/event6!
All tests completed, exiting successfully!


This time it found the USB stick as a removable, although not the SD
card slot. That may or may not be correct - you will know!

For the plug/unplug test I removed the mouse and reconnected it. I'll
leave you to decide what the messages mean...

Hope this is more useful.
Steve.


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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