Re: [Libmtp-discuss] udev and libmtp: detect a new mtp device based on its USB interface descriptor

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

 



2010/11/24 Marcus Meissner <marcus@xxxxxxxxxxxxxx>:

> A line in the "new style" udev from libgphoto2:
>
> ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="30f2", ENV{ID_GPHOTO2}="1", ENV{GPHOTO2_DRIVER}="proprietary", ENV{ID_MEDIA_PLAYER}="1"
>
> For libmtp this would probably be e.g.:
> ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="30f2", ENV{ID_MEDIA_PLAYER}="1"
>
> Thats it, the rest handling will be done using ACLs from the regular udev code.

I've fixed this in the examples/hotplug.c file last week, so yes this
should be enough for now atleast.

Linus
--
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