On Sat, Nov 10, 2007 at 10:10:24AM +0530, Onkar wrote:
> # cat /sys/bus/pci/devices/0000\:00\:14.1/uevent
> 
> cat: /sys/bus/pci/devices/0000:00:14.1/uevent: Permission denied

You are using an older kernel, newer ones you can read from this file:
        $ cat /sys/bus/usb/devices/usb1/uevent
        MAJOR=189
        MINOR=0
        DEVTYPE=usb_device
        DRIVER=usb
        DEVICE=/proc/bus/usb/001/001
        PRODUCT=0/0/206
        TYPE=9/0/1
        BUSNUM=001
        DEVNUM=001

> what is uevent ?

It is what udev and other hotplug programs use to cause the kernel to
emit the uevent for the device after it has been plugged in.  This is so
"coldplugging" can be done easily.  If you write the name of the uevent
you wish to have the object emit (like "add") it will happen.

Hope this helps,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to