Re: new udev rule proposal for m5602 camera

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

 



2010/2/3 Lukáš Karas <lukas.karas@xxxxxxxxxx>:
> new kernel (>2.6.33-rc1) failed suspend to ram with my build in camera
> (0402:5602). For more information see bug
> http://bugzilla.kernel.org/show_bug.cgi?id=15189
>
> Solution is simple udev rule, that disable wakeup from this ugly hardware:
>
> ## m5602 camera defends to successful suspend
> ATTR{idVendor}=="0402", ATTR{idProduct}=="5602", ATTR{power/wakeup}="disabled"

So far, quirk handling is maintained inside the kernel drivers. Up
until now, udev does not carry any entries like this for any
subsystem. If that should change, it would need commitment from the
video4linux maintainers to maintain the udev rules entries instead of
the in-kernel quirks.

We can not just add entries like this to the udev repository, because
nobody will care about and maintain them when things change, and only
the v4l developers have knowledge about what is needed here for which
kernel driver release, or the current state of the video4linux
subsystem.

I guess, if quirk handling in general, is supposed to live in
userspace instead of the kernel, this informations needs to be shipped
with the kernel itself and somehow exported to udev rules when needed,
otherwise we will end up with a huge pile of random rules, nobody
really knows what they are good for, or if they are still needed.

Thanks for the mail, and sorry, that there is no immediate solution to
your problem,
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