Hari's Corner
Humour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and thenWhen it doesn't work, try 'root' first
Filed under:
Bits and Bytes by
Hari
Posted on Wed, Feb 7, 2007 at 15:25 IST (last updated: Wed, Jul 16, 2008 @ 21:00 IST)
gphoto2 --auto-detect
command and found that the camera was detected after all! Turned out that it was a permission problem with the /dev/bus/usb/
folder. Adding the plugdev
group to my user account resolved the issue which had been perplexing me for a while. While the solution was absurdly simple and the problem sounds so obvious, I spent hours simply scratching my head wondering why my camera stopped working and even went to the extent of changing the USB cable to see if that was the problem.
So the moral of this story is - if something suddenly stops working in Linux (and particularly if you know it works or it had worked before) it might just turn out to be a simple permissions problem. In this particular case, I suspect that a Debian dist-upgrade had broken the permission which prevented me from accessing the camera. I spent hours on this problem groping around in the dark and googling frantically until I accidentally hit upon the solution which was hinted at in a mailing list archive.
Comments closed
The blog owner has closed further commenting on this entry.
2 comment(s)
Comment by titanium (visitor) on Wed, Feb 7, 2007 @ 16:40 IST #
Comment by hari (blog owner) on Wed, Feb 7, 2007 @ 17:02 IST #