CHDK and Raspberry Pi GUI

  • 2 Replies
  • 859 Views
CHDK and Raspberry Pi GUI
« on: 03 / May / 2016, 16:56:04 »
Advertisements
Hi,

I installed CHDK on my IXUS and it works... until I rung GUI on my Raspberry PI.
If GUI in booted and I turn on camera I get a window prompting me if I want to mount USB disc. Even if I press 'Cancel' it doesn't make a difference.

If I then fun CHDK-PTP and run 'list' I get

___> list
open_camera_dev_usb: ptp_opensession failed 0x2ff
open_camera_dev_usb:usb_ptp_device_reset(): Device or resource busy
usb_ptp_get_device_status(): Device or resource busy


I can connect to camera but if I run rec I get

ERROR: switch failed

This is dmesg


[ 1639.739946] usb 1-1.4: Product: Canon Digital Camera
[ 1639.739961] usb 1-1.4: Manufacturer: Canon Inc.
[ 1639.739977] usb 1-1.4: SerialNumber: 0558DBBC21C5474597A675CA0B4D3C9D
[ 1671.596710] usb 1-1.4: usbfs: interface 0 claimed by usbfs while 'chdkptp' sets config #1
[ 1671.596883] usb 1-1.4: usbfs: process 3015 (chdkptp) did not claim interface 0 before use
[ 1671.596980] usb 1-1.4: usbfs: process 3015 (chdkptp) did not claim interface 0 before use
[ 1671.597211] usb 1-1.4: usbfs: process 3015 (chdkptp) did not claim interface 0 before use


any ideas hot to set GUI to ignore USB?

*

Offline reyalp

  • ******
  • 11271
Re: CHDK and Raspberry Pi GUI
« Reply #1 on: 03 / May / 2016, 17:08:08 »
You probably need to mess with the udev rules to prevent the default software from accessing the camera. See "Interactions with default software" in https://www.assembla.com/spaces/chdkptp/wiki/Install and the linked threads.

Unfortunately, this is distro specific and not very well documented, so there aren't simple step by step instructions.
Don't forget what the H stands for.

Re: CHDK and Raspberry Pi GUI
« Reply #2 on: 03 / May / 2016, 17:54:02 »
I see, ok thank you for now. I will check the topic

 

Related Topics