[xubuntu-users] USB camera being intercepted?

Peter Flynn peter at silmaril.ie
Thu Nov 19 22:04:16 UTC 2015


On 19/11/15 13:13, Hartmut Haase wrote:
> Hi Peter,
>> That's what I would have expected. But I'm running enlightenment, and
>> it's not good at handling notifications.
 >
> what happens, if you plugin a USB Stick, or insert a CD/DVD?

This

>> Nov 19 21:55:21 noah kernel: [ 3952.048041] usb 2-3: new high-speed USB device number 4 using ehci-pci
>> Nov 19 21:55:22 noah kernel: [ 3952.182087] usb 2-3: New USB device found, idVendor=090c, idProduct=1000
>> Nov 19 21:55:22 noah kernel: [ 3952.182093] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> Nov 19 21:55:22 noah kernel: [ 3952.182096] usb 2-3: Product: Flash Disk
>> Nov 19 21:55:22 noah kernel: [ 3952.182099] usb 2-3: Manufacturer: USB
>> Nov 19 21:55:22 noah kernel: [ 3952.182101] usb 2-3: SerialNumber: FBG1207170304841
>> Nov 19 21:55:22 noah mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-3"
>> Nov 19 21:55:22 noah mtp-probe: bus: 2, device: 4 was not an MTP device
>> Nov 19 21:55:22 noah kernel: [ 3952.238146] usb-storage 2-3:1.0: USB Mass Storage device detected
>> Nov 19 21:55:22 noah kernel: [ 3952.243995] scsi host5: usb-storage 2-3:1.0
>> Nov 19 21:55:22 noah kernel: [ 3952.244780] usbcore: registered new interface driver usb-storage
>> Nov 19 21:55:22 noah kernel: [ 3952.268608] usbcore: registered new interface driver uas
>> Nov 19 21:55:22 noah colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1
>> Nov 19 21:55:23 noah kernel: [ 3953.421171] scsi 5:0:0:0: Direct-Access USB Flash Disk 1100 PQ: 0 ANSI: 4
>> Nov 19 21:55:23 noah kernel: [ 3953.422212] sd 5:0:0:0: Attached scsi generic sg4 type 0
>> Nov 19 21:55:23 noah kernel: [ 3953.422384] sd 5:0:0:0: [sdc] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB)
>> Nov 19 21:55:23 noah kernel: [ 3953.425152] sd 5:0:0:0: [sdc] Write Protect is off
>> Nov 19 21:55:23 noah kernel: [ 3953.425158] sd 5:0:0:0: [sdc] Mode Sense: 43 00 00 00
>> Nov 19 21:55:23 noah kernel: [ 3953.426011] sd 5:0:0:0: [sdc] No Caching mode page found
>> Nov 19 21:55:23 noah kernel: [ 3953.426016] sd 5:0:0:0: [sdc] Assuming drive cache: write through
>> Nov 19 21:55:23 noah kernel: [ 3953.431324] sdc: sdc1
>> Nov 19 21:55:23 noah kernel: [ 3953.434635] sd 5:0:0:0: [sdc] Attached SCSI removable disk

And then an icon of a USB stick appears on the desktop with Open, 
Unmount, Eject, etc (so it has obviously bee mounted, and indeed it 
shows in /media as USB DISK

> maybe there is in the settings a point (exchangeable media?) where
> you can tick something like "automatically mount/open an inserted
> media"

With the help of the good folks on the enlightenment list, I fixed the 
original USB problem:

>> I ran up Synaptic and installed udisks (udisks2 and libudisks2-0
>> were already installed, and I think I added libudisks2-dev
>> yesterday in the course of experimentation. But udisks wanted
>> liblvm2app2.2 and libsgutils2-2 as dependencies so they got
>> installed as well. Rebooted, and now the expected icon pops up when
>> I insert a USB drive. Yay.

But I see nowhere in the interface where it says "do something different 
when the device identifies itself as a camera". In any case, this may be 
something that is handled correctly when using xfce: I haven't tested 
that yet, but I do remember from years past that getting a camera NOT to 
be usurped by an over-eager operating system that thinks it knows best 
was HARD.

///Peter


///Peter




More information about the xubuntu-users mailing list