[xubuntu-users] USB camera being intercepted?
Peter Flynn
peter at silmaril.ie
Thu Nov 26 22:23:50 UTC 2015
On 26/11/15 14:01, Hartmut Haase wrote:
> Hi Peter,
>> but the camera is old and just has built-in
>> storage
> this can be the reason of your problem.
Maybe, but the camera gets recognised by the system when I plug it in:
> Nov 26 22:13:36 noah kernel: [13486.152059] usb 6-1: new full-speed USB device number 3 using uhci_hcd
> Nov 26 22:13:36 noah kernel: [13486.344611] usb 6-1: New USB device found, idVendor=040a, idProduct=0300
> Nov 26 22:13:36 noah kernel: [13486.344617] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> Nov 26 22:13:36 noah kernel: [13486.344622] usb 6-1: Product: Kodak EZ200 DIGITAL CAMERA
> Nov 26 22:13:36 noah kernel: [13486.344625] usb 6-1: Manufacturer: EASTMAN KODAK COMPANY
And it knows it's not running MTP:
> Nov 26 22:13:36 noah mtp-probe: checking bus 6, device 3: "/sys/devices/pci0000:00/0000:00:1d.1/usb6/6-1"
> Nov 26 22:13:36 noah mtp-probe: bus: 6, device: 3 was not an MTP device
But then WTF is colord-sane trying to access it? Does the system think
it's a scanner?
> Nov 26 22:13:36 noah colord-sane: io/hpmud/musb.c 2093: Invalid usb_open: Permission denied
Then the kernel steps in and recognises it as a media device and
video-capable:
> Nov 26 22:13:36 noah kernel: [13486.423152] media: Linux media interface: v0.10
> Nov 26 22:13:36 noah kernel: [13486.462478] Linux video capture interface: v2.00
> Nov 26 22:13:36 noah kernel: [13486.500910] gspca_main: v2.14.0 registered
> Nov 26 22:13:36 noah kernel: [13486.544559] gspca_main: spca500-2.14.0 probing 040a:0300
> Nov 26 22:13:36 noah kernel: [13486.544719] usbcore: registered new interface driver spca500
And from memory, spca is the right driver family. But then:
> Nov 26 22:13:37 noah org.gtk.Private.GPhoto2VolumeMonitor[14206]: (process:18283): GVFS-GPhoto2-WARNING **: device (null) has no BUSNUM property, ignoring
I have no idea what a BUSNUM is or why GPhoto2 is looking for one.
> Nov 26 22:13:37 noah kernel: [13486.936305] usb 6-1: usbfs: interface 0 claimed by usbfs while 'gvfs-gphoto2-vo' sets config #0
This seems to be the problem: usbfs has claimed the interface and
refuses to let anything else use it.
> Nov 26 22:13:37 noah org.gtk.Private.GPhoto2VolumeMonitor[14206]: (process:18283): GVFS-GPhoto2-WARNING **: device (null) has no BUSNUM property, ignoring
> Nov 26 22:13:37 noah colord[832]: (colord:832): Cd-WARNING **: CdMain: failed to emit DeviceAdded: failed to register object: An object is already exported for the interface org.freedesktop.ColorManager.Device at /org/freedesktop/ColorManager/devices/sysfs__null_
And WTF is colord doing here again sticking its oar in where it's not
wanted? :-)
> Did you try gigolo?
That seems to be some kind of connector for FTP and shares. I'm not
clear how or why it would be useful as it doesn't mention USB or cameras.
In any event, the problem is that NO application can connect to the
device because something (usbfs?) has "claimed" it and won't let go.
///Peter
More information about the xubuntu-users
mailing list