On Mon, May 23, 2011 at 11:31 PM, Lucas De Marchi
<[email protected]> wrote:
> Hi,
>
> On Mon, May 23, 2011 at 8:41 AM, Mike Blumenkrantz <[email protected]> wrote:
>> Hi,
>>
>> I requested that everyone re-run the eeze udev test a couple weeks ago. I
>> got 4
>> responses. This is not sufficient.
>
> Call me lazy! What command?
>
> These are in my PATH:
>
> eeze_disk_ls eeze_mount eeze_umount
there is <e17_install_path>/bin/eeze_udev_test
which should output :
~$ eeze_udev_test
For my first trick, I will find all of your keyboards and return their syspaths.
Found keyboard: /sys/devices/pci0000:00/0000:00:1a.2/usb5
Found keyboard:
/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-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 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:1a.7 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1a.2/usb5 with vendor:
Linux 2.6.38-2-amd64 uhci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:1a.2 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1a.1/usb4 with vendor:
Linux 2.6.38-2-amd64 uhci_hcd
Found mouse /sys/devices/pci0000:00/0000:00:1a.1 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1a.0 with vendor: (null)
Found mouse /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2/input/input6/event6
with vendor: X10 Wireless Technology Inc
Found mouse /sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2/input/input6/mouse1
with vendor: X10 Wireless Technology Inc
Found mouse
/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/input/input2/event2
with vendor: Logitech
Found mouse
/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/input/input2/mouse0
with vendor: Logitech
Now let's try something a little more difficult. Mountable filesystems!
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 ext4!
Found device:
/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:1/2:0:1:0/block/sdb/sdb1
You probably know it better as /dev/sdb1
It's formatted as ext3!
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_HD103UJ_S13PJDWS623110
/sys/devices/pci0000:00/0000:00:1f.2/host2/target2:0:1/2:0:1:0/block/sdb:
SAMSUNG_HD103UJ_S13PJDWS621932
Got any removables? I'm gonna find em!
And now for something more complicated. Plug or unplug your keyboard
or mouse for me.
=> I plug an usb key and get the msg :
You plugged in /dev/bus/usb/001/005!
All tests completed, exiting successfully!
=> this is a success :)
>
>
>
>
>
> Lucas De Marchi
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
--
Steven Le Roux
Jabber-ID : [email protected]
0x39494CCB <[email protected]>
2FF7 226B 552E 4709 03F0 6281 72D7 A010 3949 4CCB
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel