media:/ and distribution of system scripts within kdebase

Kévin Ottens ervin at ipsquad.net
Tue Jan 11 19:57:04 GMT 2005


Hello list,

First of all, please note that I think that I'm sending this mail a bit 
late... But I've been really overbooked recently and almost forgot to write 
and send this explanation/question mail.

As some of you may know, I worked on media:/ for KDE 3.4, and it is able to 
take care of usb hotplug events. It is designed to have several backends. For 
Linux users there's a HAL backend. But, for people that doesn't want to or 
can't (FreeBSD users for example) use HAL another backend exists.

Since media:/ is really at the frontier with the underlying system, if you 
don't use HAL the necessary events are passed to media:/ using dcop... I've 
made two scripts for Linux:
mediamanager_usbstorage.dev which must be installed into /etc/dev.d/default
usbcam which must be installed into /etc/hotplug/usb

They should work with almost any "modern" Linux distro around (read : 
something with kernel 2.6 and udev).

Hence why I'd like to know how to handle those scripts? How to distribute 
them? Since it's almost the work of a distributor to provide them... but 
media:/ does not work "fully" without them (it simply ignores the hotplug 
events).

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mediamanager_usbstorage.dev
Type: application/x-shellscript
Size: 3510 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050111/2dbefb79/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usbcam
Type: application/x-shellscript
Size: 2200 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050111/2dbefb79/attachment-0001.bin>


More information about the kde-core-devel mailing list