Re: UDEV - DRIVER parameter

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

 



On Tue, Jul 6, 2010 at 12:29, Lee Jones <lee.jones@xxxxxxxxxxxxx> wrote:
> How do you raise the DRIVER parameter from the kernel?
>
> When I register the device the following is produced:
>
> KERNEL[946692859.898376] add      /devices/platform/**** (platform)
> UDEV_LOG=3
> ACTION=add
> DEVPATH=/devices/platform/****
> SUBSYSTEM=platform
> MODALIAS=platform:****
> SEQNUM=735
>
> But I need the DRIVER parameter, i.e:
> DRIVER=****

Only some devices have a driver bound. Only "bus" devices, "class"
devices never have a driver.

It's just the symlink "driver" in /sys in the device directory.

Your platform device may just be a plain registered device, and not
probed and bound by a driver in that sense. Usually only enumeratable
buses have drivers that create devices when they are discovered.

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