On 23/05/11 12:41, Mike Blumenkrantz wrote:
> 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.

 From userland:

For my first trick, I will find all of your keyboards and return their 
syspaths.
Found keyboard: /sys/devices/pci0000:00/0000:00:14.5
Found keyboard: /sys/devices/pci0000:00/0000:00:13.2/usb2
Found keyboard: /sys/devices/pci0000:00/0000:00:13.2
Found keyboard: /sys/devices/pci0000:00/0000:00:13.1
Found keyboard: /sys/devices/pci0000:00/0000:00:13.0
Found keyboard: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.1
Found keyboard: /sys/devices/pci0000:00/0000:00:12.2
Found keyboard: /sys/devices/pci0000:00/0000:00:12.1
Found keyboard: /sys/devices/pci0000:00/0000:00:12.0/usb3
Found keyboard: /sys/devices/pci0000:00/0000:00:12.0
Found keyboard: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1
Found keyboard: /sys/devices/pci0000:00/0000:00:12.2/usb1
Found keyboard: /sys/devices/pci0000:00/0000:00:12.1/usb4
Found keyboard: 
/sys/devices/pci0000:00/0000:00:12.1/usb4/4-1/4-1:1.0/input/input6/event4
Found keyboard: /sys/devices/virtual/input/input8/event6

Next, I will find all of your mice and print the corresponding manufacturer.
Found mouse /sys/devices/pci0000:00/0000:00:13.2 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 with vendor: 
Linux 2.6.39-1-amd64 ehci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:12.2 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:12.0/usb3 with vendor: Linux 
2.6.39-1-amd64 ohci_hcd
Found mouse 
/sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/input/input3/event3 with 
vendor: Razer
Found mouse 
/sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/input/input3/mouse0 with 
vendor: Razer

Now let's try something a little more difficult.  Mountable filesystems!
Found device: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.1
         You probably know it better as /dev/bus/usb/001/005
Found device: 
/sys/devices/pci0000:00/0000:00:11.0/host1/target1:0:0/1:0:0:0/block/sr0
         You probably know it better as /dev/sr0
Next, I will find all of your mice and print the corresponding manufacturer.
Found mouse /sys/devices/pci0000:00/0000:00:13.2 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 with vendor: 
Linux 2.6.39-1-amd64 ehci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:12.2 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:12.0/usb3 with vendor: Linux 
2.6.39-1-amd64 ohci_hcd
Found mouse 
/sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/input/input3/event3 with 
vendor: Razer
Found mouse 
/sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/input/input3/mouse0 with 
vendor: Razer

Now let's try something a little more difficult.  Mountable filesystems!
Found device: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.1
         You probably know it better as /dev/bus/usb/001/005
Found device: 
/sys/devices/pci0000:00/0000:00:11.0/host1/target1:0:0/1:0:0:0/block/sr0
         You probably know it better as /dev/sr0
         It's formatted as iso9660!
Found device: 
/sys/devices/pci0000:00/0000:00:11.0/host2/target2:0:0/2:0:0:0/block/sda/sda5
         You probably know it better as /dev/sda5
         It's formatted as ext4!
Found device: 
/sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0/host10/target10:0:0/10$
         You probably know it better as /dev/sdd1
         It's formatted as ext4!

Internal drives, anyone?  With serial numbers?
/sys/devices/pci0000:00/0000:00:11.0/host2/target2:0:0/2:0:0:0/block/sda: 
KINGSTON_SNVP325S264GB_30QS10BCT72Z
/sys/devices/pci0000:00/0000:00:11.0/host4/target4:0:0/4:0:0:0/block/sdb: 
SAMSUNG_HD501LJ_S0MUJ13P229775

Got any removables?  I'm gonna find em!
         Ooh, a OHCI_Host_Controller attached on your usb bus!
         Ooh, a USB_2.0_Hub attached on your usb bus!
         Ooh, a USB_2.0_Hub attached on your usb bus!
         Ooh, a U3_Contour attached on your usb bus!
         Ooh, a U3_Contour attached on your usb bus!
         Ooh, a Photosmart_Premi attached on your usb bus!
         Ooh, a Desire attached on your usb bus!

And now for something more complicated.  Plug or unplug your keyboard or 
mouse for me.
You unplugged (null)!
All tests completed, exiting successfully!

rob

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to