Re: udev rule executes command, wont add device node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 27, 2009 at 17:11, Luke Harvey <digilogik@xxxxxxxxx> wrote:
> /sys/bus/spi/devices/spi10.0/modalias:harc_xxsc
> /sys/bus/spi/devices/spi10.0/uevent:DRIVER=harc_xxsc
> /sys/bus/spi/devices/spi10.0/uevent:PHYSDEVBUS=spi
> /sys/bus/spi/devices/spi10.0/uevent:PHYSDEVDRIVER=harc_xxsc
> /sys/bus/spi/devices/spi10.0/uevent:MODALIAS=harc_xxsc
>
> I've also tried matching the DRIVER attribute, which also works to
> execute a script but will not create a device node.
>
> udevadm monitor --environment info
> UDEV  [3737.206959] change   /devices/80000000.soc/80011a00.spi/spi10.0 (spi)
> UDEV_LOG=3
> ACTION=change
> DEVPATH=/devices/80000000.soc/80011a00.spi/spi10.0
> SUBSYSTEM=spi
> DRIVER=harc_xxsc
> MODALIAS=harc_xxsc
> SEQNUM=5212


The kernel does not tell that there is a device to create. The driver
needs to provide the major/minor along with the event, then udev will
create the node automatically. This needs to be fixed in the kernel.
Where is that driver from, is it in the upstream kernel?

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux