LMDE 201402 MINT Camera glitch

Archived topics about LMDE 1 and LMDE 2
mike acker
Level 7
Level 7
Posts: 1517
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

LMDE 201402 MINT Camera glitch

Post by mike acker »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
¡Viva la Resistencia!
kurotsugi

Re: LMDE 201402 MINT Camera glitch

Post by kurotsugi »

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
mike acker
Level 7
Level 7
Posts: 1517
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Post by mike acker »

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
¡Viva la Resistencia!
kurotsugi

Re: LMDE 201402 MINT Camera glitch

Post by kurotsugi »

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
mike acker
Level 7
Level 7
Posts: 1517
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Post by mike acker »

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 )
¡Viva la Resistencia!
kurotsugi

Re: LMDE 201402 MINT Camera glitch

Post by kurotsugi »

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.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Post by Monsta »

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.
mike acker
Level 7
Level 7
Posts: 1517
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Post by mike acker »

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
¡Viva la Resistencia!
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Post by Monsta »

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
py-thon

Re: LMDE 201402 MINT Camera glitch

Post by py-thon »

I wonder if it works in this case. In my case ( http://forums.linuxmint.com/viewtopic.p ... 8&t=146167 ) the new packages from testing didn't solve anything.
mike acker
Level 7
Level 7
Posts: 1517
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Post by mike acker »

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.
¡Viva la Resistencia!
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Post by Monsta »

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.
py-thon

Re: LMDE 201402 MINT Camera glitch

Post by py-thon »

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]
mike acker
Level 7
Level 7
Posts: 1517
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Post by mike acker »

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.
 ~ $ 
¡Viva la Resistencia!
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Post by Monsta »

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.
mike acker
Level 7
Level 7
Posts: 1517
Joined: Wed Jul 31, 2013 6:29 pm
Location: Kalamazoo, MI

Re: LMDE 201402 MINT Camera glitch

Post by mike acker »

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.....
¡Viva la Resistencia!
py-thon

Re: LMDE 201402 MINT Camera glitch

Post by py-thon »

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.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: LMDE 201402 MINT Camera glitch

Post by Monsta »

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.
py-thon

Re: LMDE 201402 MINT Camera glitch

Post by py-thon »

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:
py-thon

Re: LMDE 201402 MINT Camera glitch

Post by py-thon »

It still doesn't work. But I don't want to take over this thread so I will continue in my own http://forums.linuxmint.com/viewtopic.p ... 8&t=146167
Locked

Return to “LMDE Archive”