[Digikam-users] digikam hotplug and mandriva 2006

Franck Collineau franck-collineau at wanadoo.fr
Sun Oct 16 13:10:55 BST 2005


I have modified usbcam as:
# The script that starts the application, that should react on the camera
apphotplug="/etc/udev/agent.d/usb/digikam-hotplug"
digikamstarted="/etc/udev/agent.d/usb/digikam-already-started"

and here are the outputs:
Oct 16 14:10:07 localhost kernel: ohci_hcd 0000:00:02.1: wakeup
Oct 16 14:10:08 localhost kernel: usb 2-3: new full speed USB device
using ohci_hcd and address 8
Oct 16 14:10:08 localhost [3] usbcam (0.3.3): ps -ef |grep startkde:
franck    3878  3461  0 10:22 ?        00:00:00 /bin/sh /usr/bin/startkde!
Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Started for franck,
action: add
Oct 16 14:10:08 localhost [2] usbcam (0.3.3): /tmp/usbcam.lock detected,
checking age of file!
Oct 16 14:10:08 localhost [2] usbcam (0.3.3): /tmp/usbcam.lock is 117
seconds old; removing it.
Oct 16 14:10:08 localhost [1] usbcam (0.3.3): Can't find .
Oct 16 14:10:08 localhost [3] usbcam (0.3.3): ps -ef |grep startkde:
franck    3878  3461  0 10:22 ?        00:00:00 /bin/sh /usr/bin/startkde!
Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Started for franck,
action: add
Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Creating lockfile
/tmp/usbcam.lock.
Oct 16 14:10:08 localhost [3] usbcam (0.3.3): USB device
/proc/bus/usb/002/008 found trying to start
/etc/udev/agent.d/usb/digikam-hotplug.
Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Starting digikam-hotplug
for franck.
Oct 16 14:10:08 localhost su(pam_unix)[7058]: session opened for user
franck by (uid=0)
Oct 16 14:10:08 localhost su(pam_unix)[7058]: session closed for user franck
Franck

Oliver Dörr wrote:

> Franck Collineau wrote:
>
>>Hello !
>>
>>It doesn't work:
>>Oct 16 12:51:01 localhost kernel: usb 2-3: new full speed USB device
>>using ohci_hcd and address 6
>>Oct 16 12:51:01 localhost [3] usbcam (0.3.3): ps -ef |grep startkde:
>>franck 3878 3461 0 10:22 ? 00:00:00 /bin/sh /usr/bin/startkde!
>>Oct 16 12:51:01 localhost [3] usbcam (0.3.3): Started for franck,
>>action: add
>>Oct 16 12:51:01 localhost [1] usbcam (0.3.3): Can't find .
>>Oct 16 12:51:01 localhost [3] usbcam (0.3.3): ps -ef |grep startkde:
>>franck 3878 3461 0 10:22 ? 00:00:00 /bin/sh /usr/bin/startkde!
>>Oct 16 12:51:01 localhost [3] usbcam (0.3.3): Started for franck,
>>action: add
>>Oct 16 12:51:01 localhost [3] usbcam (0.3.3): Creating lockfile
>>/tmp/usbcam.lock.
>>Oct 16 12:51:01 localhost [3] usbcam (0.3.3): USB device
>>/proc/bus/usb/002/006 found trying to start
>>/etc/hotplug/usb/digikam-hotplug.
>>Oct 16 12:51:01 localhost [3] usbcam (0.3.3): Starting digikam-hotplug
>>for franck.
>>Oct 16 12:51:01 localhost su(pam_unix)[6573]: session opened for user
>>franck by (uid=0)
>>Oct 16 12:51:01 localhost su(pam_unix)[6573]: session closed for user franck
>>
>>Franck
>>
>>Oliver Dörr wrote:
>>
>>  
>>
>>>Franck Collineau wrote:
>>> 
>>>
>>>    
>>>
>>>>Hello !
>>>>; exiting.
>>>>      
>>>>
> ok,
>
> i see a possible reason. As you told me you've placed the scripts in
>
>/etc/udev/agents.d/usb/
>
> but the startup scripts tries to start digiKam with the starter script
> using
>
>/etc/hotplug/usb/digikam-hotplug
>  
>
>
> So this has naturally to fail. I will send you a new version of the
> scripts within the next 1-2  hours.
>
> Oliver
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Digikam-users mailing list
>Digikam-users at kde.org
>https://mail.kde.org/mailman/listinfo/digikam-users
>  
>





More information about the Digikam-users mailing list