my camera is not recognised by mint LMDE

Questions about hardware and drivers
Forum rules
Before you post please read how to get help

my camera is not recognised by mint LMDE

Postby bismay on Sat Apr 12, 2014 5:32 am

My USB pen drives are recognised and mounted automatically but when I attach by camera by USB cable to my laptop nothing hapens! Any suggestions?
bismay
Level 1
Level 1
 
Posts: 6
Joined: Wed Jan 29, 2014 12:25 pm

Linux Mint is funded by ads and donations.
 

Re: my camera is not recognised by mint LMDE

Postby Flemur on Sat Apr 12, 2014 11:21 am

when I attach by camera by USB cable

What kinda camera?

When I attach my camera nothing happens unless a file browser (nemo, thunar, whatever) is open, in which case it shows up there.

If all else fails, here's something I used on Arch linux:

$ gphoto2 --list-files (show all files on the camera (in all directories).
$ gphoto2 --get-all-files (copy all the files to current directory)
From viewtopic.php?f=191&t=56002&hilit=+camera#p632478
Mint 17/Xfce/fluxbox/jackd no pulseaudio
User avatar
Flemur
Level 6
Level 6
 
Posts: 1109
Joined: Mon Aug 20, 2012 9:41 pm

Re: my camera is not recognised by mint LMDE

Postby py-thon on Sat Apr 12, 2014 11:27 am

Tower: Sparky 64 bit Mate+mintmenu - Netbook: LMDE Mate 32bit
py-thon
Level 4
Level 4
 
Posts: 306
Joined: Fri Sep 27, 2013 2:24 pm
Location: Paraguay

Re: my camera is not recognised by mint LMDE

Postby bismay on Sat Apr 12, 2014 3:53 pm

OK thanks. I understand that if my LMDE operating system was 64 bit the following packages would replace those currently installed and cure my problem.
gvfs_1.16.3-2_amd64.deb
gvfs-backends_1.16.3-2_amd64.deb
gvfs-bin_1.16.3-2_amd64.deb
gvfs-common_1.16.3-2_all.deb
gvfs-daemons_1.16.3-2_amd64.deb
gvfs-libs_1.16.3-2_amd64.deb
libgphoto2-6_2.5.3.1-1_amd64.deb

But my LMDE operating system is 32 bit. Can anyone give me terminal instructions to download and install the packages I need? (I can use Synaptic Package Manager to uninstall my current versions.)
bismay
Level 1
Level 1
 
Posts: 6
Joined: Wed Jan 29, 2014 12:25 pm

Re: my camera is not recognised by mint LMDE

Postby martywd on Sat Apr 12, 2014 5:05 pm

bismay wrote:...

But my LMDE operating system is 32 bit. Can anyone give me terminal instructions to download and install the packages I need?

With all due respect, if you are using LMDE you should have enough clues by now to get this accomplished!
(I can use Synaptic Package Manager to uninstall my current versions.)

The 'Package Manager' only works _if_ the files you need are in the online repositories. At this point they are not. So to do the upgrades you will have to download the individual i386 files (gvfs gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-libs) which can be found here: https://packages.debian.org/source/testing/gvfs

Note that there is now a newer version then the files listed in that other thread and which you have listed above:

gvfs (1.20.0-1+b1)
gvfs-common (1.20.0-1)
gvfs-bin (1.20.0-1+b1)
gvfs-libs (1.20.0-1+b1)
gvfs-daemons (1.20.0-1+b1)
gvfs-backends (1.20.0-1+b1)

Click on each individual package name link, scroll all the way to the bottom of the resulting page, click on the 'i386' (or 'all') link, pick a server download link, click to download. Repeat this process to download all necessary files (deb packages) to the same directory you downloaded the previous package. Once you have them all downloaded, open a Teminal Window, 'cd' to the directory location where the downloads are located and do:
Code: Select all
sudo dpkg -i *.deb


It matters not whether the older version of these packages are installed at present or not. If existing packages are installed, 'dpkg -i' will do the updating regardless. If all goes well with the install you will most likely need to REBOOT.

.
martywd
Level 3
Level 3
 
Posts: 122
Joined: Sun May 08, 2011 10:35 am
Location: TX

Re: my camera is not recognised by mint LMDE

Postby bismay on Sun Apr 13, 2014 9:31 am

[SOLVED]
Thanks for your help.

First I downloaded the 7 source code packages and used the Terminal to install them one at a time using 'sudo dpkg -i *.deb'.
I ignored the error messages about dependencies, hoping that at the end the Reboot would sort them out.
However, on Reboot and Login nothing happened at all, LinuxMint was unusable!
20 minutes later and I had done a re-install, keyed my WiFI password, and all was back to normal (thanks to initially installing with a /home partition).

I have now cured my problem and I would not have done without knowledge gained in the above attempt.
One of the Debian Site pages quotes:-

'If you are running Debian, it is strongly suggested to use a package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website.
You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:
deb http://ftp.uk.debian.org/debian jessie main '


I opened a Terminal and keyed 'sudo gedit /etc/apt/sources.list' and added the suggested line, saved the file and exited.
I then amended Software Sources to 'Enable source code repositories'
I then keyed 'gvfs' into the Search Box of the Synaptic Package Manager and was able to upgrade all 7 packages listed below in one go.
gvfs_1.20.0-1+b1_i386.deb
gvfs-common_1.20.0-1_all.deb
gvfs-bin_1.20.0-1+b1_i386.deb
gvfs-libs_1.20.0-1+b1_i386.deb
gvfss-daemons_1.20.0-1+b1_i386.deb
gvfs-backends_1.20.0-1+b1_i386.deb
libgphoto2-6_2.5.3.1-1_i386.deb
bismay
Level 1
Level 1
 
Posts: 6
Joined: Wed Jan 29, 2014 12:25 pm

Re: my camera is not recognised by mint LMDE

Postby py-thon on Sun Apr 13, 2014 11:38 am

bismay wrote:[SOLVED]
First I downloaded the 7 source code packages and used the Terminal to install them one at a time using 'sudo dpkg -i *.deb'.
I ignored the error messages about dependencies, hoping that at the end the Reboot would sort them out.

That was a mistake and not what martywd suggested. You were supposed to install them all at once. That's why you put them in one folder and use *.deb. Otherwise the dependencies don't get sorted out by dpkg.
Adding the debian-repository is dangerous for someone who doesn't know the basics. I would strongly advise you to delete the newly added debian-repository from sources before the next run of the update manager.
Tower: Sparky 64 bit Mate+mintmenu - Netbook: LMDE Mate 32bit
py-thon
Level 4
Level 4
 
Posts: 306
Joined: Fri Sep 27, 2013 2:24 pm
Location: Paraguay

Re: my camera is not recognised by mint LMDE

Postby bismay on Tue Apr 15, 2014 4:05 am

Thanks Pi-thon.

I have not used the command line much. I assume you mean I should have known to use martywd's instruction 'sudo dpkg -i *.deb'
as 'sudo dpkg -i gvfs_1.20.0-1+b1_i386.deb gvfs-common_1.20.0-1_all.deb gvfs-bin_1.20.0-1+b1_i386.deb gvfs-libs_1.20.0-1+b1_i386.deb gvfss-daemons_1.20.0-1+b1_i386.deb gvfs-backends_1.20.0-1+b1_i386.deb libgphoto2-6_2.5.3.1-1_i386.deb' ?
Would that have worked?

Your second point is very important and I became aware of it because I did start the Update Manager but had the sense it abandon it once I saw it was trying to update applications from source code from '/debian jesse main'. I then used gedit to add a # symbol to the start of the line
'deb http://ftp.uk.debian.org/debian jessie main' in the file /etc/apt/sources.list
I can now run Update Manager without this problem occurring.




.
bismay
Level 1
Level 1
 
Posts: 6
Joined: Wed Jan 29, 2014 12:25 pm

Re: my camera is not recognised by mint LMDE

Postby py-thon on Tue Apr 15, 2014 10:29 am

bismay wrote:Would that have worked?

It would probably have worked (you are bound to mistype at some place), but that's not what martywd meant. You can put several deb-packages in one folder and run the command 'sudo dpkg -i *.deb' from within the folder. This means that dpkg will install all deb-packages that are within the folder sorting out dependencies.

bismay wrote:in the file /etc/apt/sources.list

That's a bit strange. Did you install LMDE201403 or use UP8 on an older installation? As from LMDE201403 and UP8 the file /etc/apt/sources.list is not used anymore. If you updated an older installation with UP8 you missed part of the information about the UP ("APT sources handled by MintSources" at http://debian.linuxmint.com/latest/update-pack.html ).
Tower: Sparky 64 bit Mate+mintmenu - Netbook: LMDE Mate 32bit
py-thon
Level 4
Level 4
 
Posts: 306
Joined: Fri Sep 27, 2013 2:24 pm
Location: Paraguay

Re: my camera is not recognised by mint LMDE

Postby bismay on Tue Apr 15, 2014 4:06 pm

I am helping my brother migrate from Windows. From my instructions he now has a dual-boot Windows XP and LinuxMint LMDE201404 laptop. He had no experience of linux previously but now has a linux system that he is very happy with except he cannot import photos from his camera.
My solution was successful but we cannot replicate it on his laptop. martywd's solution is obviously better and I have prepared the following instructions for my brother. I would be extremely grateful if you would take a look at them. The last line is the one I am least certain about!

(1) Use your web browser to go to https://packages.debian.org/source/testing/gvfs
and click on
gvfs
a new page will open entitled 'Package: gvfs (1.20.0-1 and others)'.
Scroll down this page until you reach a section with the title 'Download dvfs'
and click on 'i386' [This is for 32bit operating systems.]
This will open a new page which displays lists of 'mirrors' which are servers from which you can download the package you require. As you live in Germany, you should choose the one at the top of the list for Europe i.e. ftp.de.debian.org/debian. The green arrow at the top right of your browser will light-up for the duration of the download, which should only take seconds.
(2) When that download has finished, use the back arrow to go back 2 pages to https://packages.debian.org/source/testing/gvfs
this time click on
gvfs-backends
follow the same procedure as above then repeat for
gvfs-bin
gvfs-common NOTE: For this the you click on 'all' not 'i386' for the download.
gvfs-daemons
gvfs-libs
(2) Next go to the top right of page https://packages.debian.org/source/testing/gvfs and key libgphoto2-6
into the Search Source Packages Box and <Return>
A new window will open the list of exact hits. Click on
jesse
scroll down to the download section and click on
libgphoto2_2.5.3.1-1.debian.tar.xz
(3) Click on the Computer Icon on your Laptop Desktop and choose Downloads from
the left hand list. Among your downloads you should see the following files:
libgphoto2-6_2.5.3.1-1_i386.debian.tar.xz
gvfs_1.20.0-1+b1_i386.deb
gvfs-common_1.20.0-1_all.deb
gvfs-bin_1.20.0-1+b1_i386.deb
gvfs-libs_1.20.0-1+b1_i386.deb
gvfss-daemons_1.20.0-1+b1_i386.deb
gvfs-backends_1.20.0-1+b1_i386.deb
If they are all there you can close your web browser and move on to the next stage.
(4) Open a Terminal and key the following command lines one at a time:
cd /home/chris/Downloads <Return>
sudo dpkg -i *.deb <Return>
sudo tar xvfz libgphoto2_2.5.3.1-1.debian.tar.gz -C /bin
bismay
Level 1
Level 1
 
Posts: 6
Joined: Wed Jan 29, 2014 12:25 pm

Re: my camera is not recognised by mint LMDE

Postby py-thon on Tue Apr 15, 2014 5:24 pm

bismay wrote:The green arrow at the top right of your browser

This would depend very much on the browser used. I have never seen a green arrow on any of my browsers.
bismay wrote:(2) Next go to the top right of page https://packages.debian.org/source/testing/gvfs and key libgphoto2-6
into the Search Source Packages Box and <Return>
A new window will open the list of exact hits. Click on
jesse
scroll down to the download section and click on
libgphoto2_2.5.3.1-1.debian.tar.xz

Two mistakes. First: you need 2-6, 2-2 is already installed. Second: you don't want source, you want deb-files.

Sorry to say this, but in my opinion you have made the simple explanation by martywd (which just missed libgphoto) four times as long, very complicated and error-prone.

My advice if your brother really has no idea about using a computer and needs a foolproof information:
1. give him the following seven links
https://packages.debian.org/jessie/i386/gvfs/download
https://packages.debian.org/jessie/i386 ... s/download
https://packages.debian.org/jessie/i386 ... n/download
https://packages.debian.org/jessie/all/ ... n/download
https://packages.debian.org/jessie/i386 ... s/download
https://packages.debian.org/jessie/i386 ... s/download
https://packages.debian.org/jessie/i386 ... 6/download
(This is also foolproof because by the time your brother is using them the version number might be higher than when you updated.)
2. Tell him to click on ftp.de.debian.org/debian on each of the seven resulting pages and save the correspondent file in the same folder. This folder must not contain other deb-files! So you better not use ~/Downloads, better use ~/Downloads/camera for example.
3. Tell him to open a terminal and type
Code: Select all
cd /home/chris/Downloads/camera
hit <Enter>, then type
Code: Select all
sudo dpkg -i *.deb
hit <Enter>, type your password and hit <Enter>.
After the next reboot the camera will connect.
Tower: Sparky 64 bit Mate+mintmenu - Netbook: LMDE Mate 32bit
py-thon
Level 4
Level 4
 
Posts: 306
Joined: Fri Sep 27, 2013 2:24 pm
Location: Paraguay

Re: my camera is not recognised by mint LMDE

Postby bismay on Wed Apr 16, 2014 5:45 am

Wow pi-thon that method is so much better than mine, quicker, easier to understand, and foolproof as well!
Many thanks for your advice and best wishes for the future,
bismay
Level 1
Level 1
 
Posts: 6
Joined: Wed Jan 29, 2014 12:25 pm

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 4 guests