LMDE 201402 MINT Camera glitch

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

LMDE 201402 MINT Camera glitch

Postby mike acker on Mon Feb 24, 2014 4:20 pm

when I connected my Canon 60D to the computer using the USB cable and switched the camera on -- NEMO didn't respond :(
connecting the card using an adapter worked but I really don't want to do it that way
Home assembled box using ASUS M5A88-M motherboard and x64 AMD Phenom II X4 3.4GHz cpu; 4x4MB DDR3 RAM LMDE/MINT 17 Vers. 2.0.14 Kernel 3.11-2-AMD64
User avatar
mike acker
Level 4
Level 4
 
Posts: 392
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Linux Mint is funded by ads and donations.
 

Re: LMDE 201402 MINT Camera glitch

Postby kurotsugi on Mon Feb 24, 2014 7:11 pm

it seems that you've succesfully installed LMDE to your system. welcome to our little forum :D

as for your problem, it's a bug from glibc. the bug have been fixed in debian testing and you'll need to grab the package from there
kurotsugi
Level 6
Level 6
 
Posts: 1058
Joined: Fri Jan 25, 2013 3:54 am

Re: LMDE 201402 MINT Camera glitch

Postby mike acker on Mon Feb 24, 2014 7:33 pm

kurotsugi wrote:it seems that you've succesfully installed LMDE to your system. welcome to our little forum :D

as for your problem, it's a bug from glibc. the bug have been fixed in debian testing and you'll need to grab the package from there


i'm such a total noob :(
glibc -- that would be the gnu c library ? so the bug got compiled into something.... ...in the interrupt handler someplace ?

I'm on the RC and notes on this indicate the final dist. will be out in about 2 weeks . I'm thinking it might be best to just wait for the final dist. particularly since the work-around is pretty easy .... ?? ( this is the official question at this point )

my LMDE RC is running very well.... I've got most of my favorite programs running
Home assembled box using ASUS M5A88-M motherboard and x64 AMD Phenom II X4 3.4GHz cpu; 4x4MB DDR3 RAM LMDE/MINT 17 Vers. 2.0.14 Kernel 3.11-2-AMD64
User avatar
mike acker
Level 4
Level 4
 
Posts: 392
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Postby kurotsugi on Mon Feb 24, 2014 7:46 pm

sorry, it was a typo. the broken package is glib2. there are some modification on the installer and I need some information from your system. please run these command and tell us the result
Code: Select all
inxi -R
dpkg -l | grep glib2
cat /etc/apt/preferences
kurotsugi
Level 6
Level 6
 
Posts: 1058
Joined: Fri Jan 25, 2013 3:54 am

Re: LMDE 201402 MINT Camera glitch

Postby mike acker on Mon Feb 24, 2014 8:01 pm

here are the results
Code: Select all
 ~ $ inxi -R
RAID:      No RAID data available - /proc/mdstat is missing - is md_mod kernel module loaded?
 ~ $ dpkg -l | grep glib2
ii  libglib2.0-0:amd64                                2.36.4-1                        amd64        GLib library of C routines
ii  libglib2.0-bin                                    2.36.4-1                        amd64        Programs for the GLib library
ii  libglib2.0-cil                                    2.12.10-5                       amd64        CLI binding for the GLib utility library 2.12
ii  libglib2.0-data                                   2.36.4-1                        all          Common files for GLib library
ii  libpackagekit-glib2-16:amd64                      0.8.12-1                        amd64        Library for accessing PackageKit using GLib
ii  libtaglib2.1-cil                                  2.1.0.0-3                       all          CLI library for accessing audio and video files metadata
 ~ $ cat /etc/apt/preferences
cat: /etc/apt/preferences: No such file or directory
[1] ~ $ cat /etc/apt/preferences
cat: /etc/apt/preferences: No such file or directory
[1] ~ $

there is a preferences.d directory containing 'official-package-repositories.pref', as follows...

Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Ubuntu
Pin-Priority: 500


the M5A88-M motherboard does support RAID but I've not done anything to enable it
( i thought about it though )
Home assembled box using ASUS M5A88-M motherboard and x64 AMD Phenom II X4 3.4GHz cpu; 4x4MB DDR3 RAM LMDE/MINT 17 Vers. 2.0.14 Kernel 3.11-2-AMD64
User avatar
mike acker
Level 4
Level 4
 
Posts: 392
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Postby kurotsugi on Mon Feb 24, 2014 8:16 pm

1. open /etc/apt/conf.d/official-package-repositories.list as root 'sudo gedit /etc/apt/conf.d/official-package-repositories.list'
2. add this line
Code: Select all
deb http://ftp.nl.debian.org/debian testing main contrib non-free

3. run 'sudo apt-get update' followed by 'sudo aptitude install libglib2.0-0 libglib2.0-bin libglib2.0-cil libglib2.0-data libpackagekit-glib2-16 libtaglib2.1-cil'.
4. repeat step 1. delete the line on step 2.
kurotsugi
Level 6
Level 6
 
Posts: 1058
Joined: Fri Jan 25, 2013 3:54 am

Re: LMDE 201402 MINT Camera glitch

Postby Monsta on Tue Feb 25, 2014 2:37 am

kurotsugi wrote:'sudo aptitude install libglib2.0-0 libglib2.0-bin libglib2.0-cil libglib2.0-data libpackagekit-glib2-16 libtaglib2.1-cil'.

Is there any reason to upgrade libpackagekit-glib2-16 and libtaglib2.1-cil besides the fact they just been caught by grepping "glib2"? :D

Also the upgrade of libglib2.0-cil is not needed. It's built from the source package gtk-sharp2, not from the source package glib2.0. In other words, don't rely on grep in such cases.
Monsta
Level 9
Level 9
 
Posts: 2514
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Postby mike acker on Tue Feb 25, 2014 7:42 am

kurotsugi wrote:1. open /etc/apt/conf.d/official-package-repositories.list as root 'sudo gedit /etc/apt/conf.d/official-package-repositories.list'
2. add this line
Code: Select all
deb http://ftp.nl.debian.org/debian testing main contrib non-free

3. run 'sudo apt-get update' followed by 'sudo aptitude install libglib2.0-0 libglib2.0-bin libglib2.0-cil libglib2.0-data libpackagekit-glib2-16 libtaglib2.1-cil'.
4. repeat step 1. delete the line on step 2.


Code: Select all
sudo gedit /etc/apt/conf.d/official-package-repositories.list

produced an error:
Code: Select all
 ~ $ sudo gedit /etc/apt/conf.d/official-package-repositories.list
[sudo] password for :

** (gedit:4468): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found


should token
Code: Select all
apt/conf.d

be written as
Code: Select all
apt.conf.d


there is an
Code: Select all
official-package-repositories.list
but I find it in
Code: Select all
sources.list.d
Home assembled box using ASUS M5A88-M motherboard and x64 AMD Phenom II X4 3.4GHz cpu; 4x4MB DDR3 RAM LMDE/MINT 17 Vers. 2.0.14 Kernel 3.11-2-AMD64
User avatar
mike acker
Level 4
Level 4
 
Posts: 392
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Postby Monsta on Tue Feb 25, 2014 7:55 am

It will probably be faster if I write some instructions instead...

  1. Add Debian Testing repository to your sources list:
    Code: Select all
    su -c 'echo deb http://http.debian.net/debian testing main contrib non-free > /etc/apt/sources.list.d/debian-testing.list'

  2. Update the package index:
    Code: Select all
    apt update

  3. Upgrade all glib2.0-related packages:
    Code: Select all
    apt install libglib2.0-0 libglib2.0-bin libglib2.0-data

  4. Remove Debian Testing repository from your sources list:
    Code: Select all
    sudo rm /etc/apt/sources.list.d/debian-testing.list

  5. Update the package index once again:
    Code: Select all
    apt update
Monsta
Level 9
Level 9
 
Posts: 2514
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Postby py-thon on Tue Feb 25, 2014 9:13 am

I wonder if it works in this case. In my case ( viewtopic.php?f=198&t=146167 ) the new packages from testing didn't solve anything.
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: LMDE 201402 MINT Camera glitch

Postby mike acker on Tue Feb 25, 2014 9:13 am

ok: all these appeared to execute OK
i have all the data from the terminal if we need to examine it

i tried the camera, but no luck.
so i re-booted my mint.15 system and tried the camera again: ok
next, without touching the usb cable i turned off the camera and re-booted LMDE and tried the camera again. the idea here is to eliminate any problem with the camera or the usb connection
no luck
let me know if you want me to look into any of the output from the above runs. it created a lot of output and i copied it all into gedit.
Home assembled box using ASUS M5A88-M motherboard and x64 AMD Phenom II X4 3.4GHz cpu; 4x4MB DDR3 RAM LMDE/MINT 17 Vers. 2.0.14 Kernel 3.11-2-AMD64
User avatar
mike acker
Level 4
Level 4
 
Posts: 392
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Postby Monsta on Tue Feb 25, 2014 9:18 am

Okay, now we at least know it wasn't that known problem in glib, it was something else...

Try this: plug in the camera and look at the output of
Code: Select all
dmesg | tail
and post it here.
Monsta
Level 9
Level 9
 
Posts: 2514
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Postby py-thon on Tue Feb 25, 2014 9:21 am

In my case it says
Code: Select all
[ 1133.341224] gvfs-gphoto2-vo[4400]: segfault at 38 ip 00007fbf2b10b0d0 sp 00007fffb2d14b48 error 4 in libusb-1.0.so.0.1.0[7fbf2b107000+16000]
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: LMDE 201402 MINT Camera glitch

Postby mike acker on Tue Feb 25, 2014 9:46 am

results
Code: Select all
 ~ $ dmesg | tail
[   40.793304] systemd-logind[3123]: Watching system buttons on /dev/input/event0 (Power Button)
[   40.794980] systemd-logind[3123]: New session c1 of user xxxx.
[   40.795192] systemd-logind[3123]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-display.
[   65.573219] usb 3-2: new high-speed USB device number 2 using ehci-pci
[   65.852364] usb 3-2: New USB device found, idVendor=04a9, idProduct=3215
[   65.852376] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   65.852384] usb 3-2: Product: Canon Digital Camera
[   65.852389] usb 3-2: Manufacturer: Canon Inc.
[  128.679843] usb 3-2: USB disconnect, device number 2
[ 2017.533886] usb 3-2: new high-speed USB device number 3 using ehci-pci
 ~ $
 ~ $ dmesg | tail
[   65.852364] usb 3-2: New USB device found, idVendor=04a9, idProduct=3215
[   65.852376] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   65.852384] usb 3-2: Product: Canon Digital Camera
[   65.852389] usb 3-2: Manufacturer: Canon Inc.
[  128.679843] usb 3-2: USB disconnect, device number 2
[ 2017.533886] usb 3-2: new high-speed USB device number 3 using ehci-pci
[ 2017.812732] usb 3-2: New USB device found, idVendor=04a9, idProduct=3215
[ 2017.812744] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2017.812751] usb 3-2: Product: Canon Digital Camera
[ 2017.812757] usb 3-2: Manufacturer: Canon Inc.
 ~ $ dmesg | tail
[   65.852364] usb 3-2: New USB device found, idVendor=04a9, idProduct=3215
[   65.852376] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   65.852384] usb 3-2: Product: Canon Digital Camera
[   65.852389] usb 3-2: Manufacturer: Canon Inc.
[  128.679843] usb 3-2: USB disconnect, device number 2
[ 2017.533886] usb 3-2: new high-speed USB device number 3 using ehci-pci
[ 2017.812732] usb 3-2: New USB device found, idVendor=04a9, idProduct=3215
[ 2017.812744] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2017.812751] usb 3-2: Product: Canon Digital Camera
[ 2017.812757] usb 3-2: Manufacturer: Canon Inc.
 ~ $
Home assembled box using ASUS M5A88-M motherboard and x64 AMD Phenom II X4 3.4GHz cpu; 4x4MB DDR3 RAM LMDE/MINT 17 Vers. 2.0.14 Kernel 3.11-2-AMD64
User avatar
mike acker
Level 4
Level 4
 
Posts: 392
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Postby Monsta on Tue Feb 25, 2014 9:52 am

py-thon, now it looks like this bug. Try updating libgphoto2 from Testing.

mike acker, in your case I don't know what to think... maybe someone else will come and advise something.
Monsta
Level 9
Level 9
 
Posts: 2514
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Postby mike acker on Tue Feb 25, 2014 9:58 am

Monsta wrote:py-thon, now it looks like this bug. Try updating libgphoto2 from Testing.

mike acker, in your case I don't know what to think... maybe someone else will come and advise something.


not a problem: if i load the card into that little card reader it works fine. a simple work-around the only reason i'm concerned is that i'm not sure the Micro-SD socket is intended to be used frequently this way . maybe it's OK, dunno

the new 6D camera has built-in WI-FI -- thus eliminating the need to connect/dis-connect the USB cable.

I think USB connectors are supposed to tolerate a lot of connecting and dis-connecting though.....
Home assembled box using ASUS M5A88-M motherboard and x64 AMD Phenom II X4 3.4GHz cpu; 4x4MB DDR3 RAM LMDE/MINT 17 Vers. 2.0.14 Kernel 3.11-2-AMD64
User avatar
mike acker
Level 4
Level 4
 
Posts: 392
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Postby py-thon on Tue Feb 25, 2014 10:11 am

It seems there are no (newer) packages in testing for
Code: Select all
ii  libgphoto2-2:amd64      2.4.14-2.4       amd64            gphoto2 digital camera library
ii  libgphoto2-2:i386       2.4.14-2.4       i386             gphoto2 digital camera library
ii  libgphoto2-l10n         2.4.14-2.4       all              gphoto2 digital camera library - localized messages
ii  libgphoto2-port0:amd64  2.4.14-2.4       amd64            gphoto2 digital camera port library
ii  libgphoto2-port0:i386   2.4.14-2.4       i386             gphoto2 digital camera port library
apart from libgphoto2-l10n and I don't expect the error to be in the localized messages package.
Even sid has the same libgphoto2-2.

Edit: Do I have to install gphoto2 from sid and libgphoto2-port10 from sid/testing to solve this?
Last edited by py-thon on Tue Feb 25, 2014 10:24 am, edited 1 time in total.
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: LMDE 201402 MINT Camera glitch

Postby Monsta on Tue Feb 25, 2014 10:22 am

It's libgphoto2-6 now. You need to either look at the package page or use the source package search to find that out. :)

Note that according to that info, you also need to install libgphoto2-port10 over libgphoto2-port0.
Monsta
Level 9
Level 9
 
Posts: 2514
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Postby py-thon on Tue Feb 25, 2014 10:28 am

Ok, that's what I thought. But I was not sure whether 2-6 would work. Might have been like gnome2 and gnome3. You can't just substitute :lol:
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: LMDE 201402 MINT Camera glitch

Postby py-thon on Tue Feb 25, 2014 10:54 am

It still doesn't work. But I don't want to take over this thread so I will continue in my own viewtopic.php?f=198&t=146167
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

Linux Mint is funded by ads and donations.
 
Next

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 4 guests