[xubuntu-users] USB camera being intercepted?
Petter Adsen
petter at synth.no
Sun Nov 29 16:23:03 UTC 2015
On Sun, 29 Nov 2015 15:40:54 +0000
Peter Flynn <peter at silmaril.ie> wrote:
> On 29/11/15 14:18, Petter Adsen wrote:
> > On Sat, 28 Nov 2015 23:00:35 +0000 Peter Flynn <peter at silmaril.ie>
> > wrote:
> [...]
> >> So if I wanted to download whatever is in its memory (old pix
> >> which I assume I have elsewhere :-) it looks like I need to find
> >> out how to disable gspca_main first. Lots of old web pages about
> >> how to do this, none of which work nowadays (like adding it
> >> to /etc/modprobe.d/blacklist).
> >
> > But that *does* work. Create a file in /etc/modprobe.d with a name
> > like 'blacklist-spca.conf' (you need the .conf extension),
>
> The only documentation I could find referred explicitly to
> /etc/modprobe.d/blacklist with no mention of .conf
.conf is now required, I don't know since when - I've only needed to
blacklist something once in many years.
> >> Nov 29 15:13:02 noah kernel: [ 141.947245] gspca_main:
> spca500-2.14.0 probing 040a:0300
>
> So the simple answer is that adding it to the blacklists in this way
> does NOT work. Maybe I'm doing it wrong...
Yes, sorry, my bad - the word 'blacklist' is required in front of the
module name.
> >> # modprobe -r gspca_main
> >> libkmod: ERROR ../libkmod/libkmod-config.c:635
> >> kmod_config_parse: /etc/modprobe.d/blacklist-spca.conf line 1:
> >> ignoring bad line starting with 'gspca_main' modprobe: FATAL:
> >> Module gspca_main is in use.
>
> Looks like it needs the keyword 'blacklist' before the name of the
> module, so I added it and rebooted. No effect, gspca_main sill fires
> up when I plug in the camera.
>
> In any event, modprobe -r won't remove a module it believes is in use.
> Ditto rmmod (ERROR: Module gspca_main is in use by: gspca_spca500).
That's what I suspected, that gspca_main was not the only module
involved - gcpca_spca500 is the module for your specific model camera,
you need to blacklist that too. Look at the output of 'lsmod | grep
gspca' and see if others are involved also.
You also need to kill any processes that are using these modules first,
suspects would be things like gvfs-gphoto2-volume-monitor.
Petter
--
"I'm ionized"
"Are you sure?"
"I'm positive."
More information about the xubuntu-users
mailing list