Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-14-2009, 10:20 AM
|
#1
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Rep: 
|
ptp camera at /system/media/camera
In 12.2 my Canon powershot A400 was automatically mounted at /system/media/camera when it was plugged into a usb slot.
This is not the case in /current. Hal does not pick up the camera when it is plugged in, however, group memberships are the same, usb recognition is the same and the udev rules for libgphoto have not changed.
What else should I check?
|
|
|
04-14-2009, 12:34 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
If your camera is a ptp camera, then is doesn't get mounted. A protocol followed to communicate with the camera over the usb cable. There isn't an actual filesystem.
The Canon A400 is listed in my /usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi file. This file is (for my distro) supplied by the libgphoto2-2.4.1.2-21.1. Do you have an earlier version of libgphoto2?
|
|
|
04-14-2009, 03:02 PM
|
#3
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep: 
|
I'm not quite sure what you are getting at. The camera has a mem card in it which has a vfat file system on it. I can put the mem card in a card reader and access it and could do the same with the camera on Slack-12.2
On Slack-12.2, when the camera was turned on and connected by cable the kde thingo popped up and asked if I wanted to open it, open in digikam or do nothing. If I just opened it konqueror came up, with the card/camera mounted as system/media/camera. I could navigate the contents as in any other storage media, i.e. mem stick, data cd or dvd.
On an earlier /current this did not work but I was just visiting, I now have /current set up as main workstation and would like to have this same functionality instead of using digikam.
Slackware-current at this time comes with libgphoto2-2.4.4.
|
|
|
04-15-2009, 02:26 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Your post said that the camera was ptp. PTP is a protocol that is used to communicate with it. If you insert a memstick, it may or not be connected similarily to a usb memcard reader. You may need to access it indirectly through the ptp protocol, which is what gphoto or digikam can use if you configure it for your camera.
Sometimes the ptp interface will enable accessing the onboard flash but the memstick can be accessed like a normal usb flash drive. I have an mtp player that is like this.
Run "sudo tail -f /var/log/messages" and see which messages are printed out as you insert the camera usb cable.
|
|
|
04-15-2009, 03:50 AM
|
#5
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep: 
|
OK when I insert usb connection cord from camera running slackware-12.2 I get this:
Quote:
Apr 15 18:21:35 rick kernel: usb 2-10: new full speed USB device using ohci_hcd and address 2
Apr 15 18:21:35 rick kernel: usb 2-10: configuration #1 chosen from 1 choice
Apr 15 18:21:35 rick kernel: usb 2-10: New USB device found, idVendor=04a9, idProduct=30b7
Apr 15 18:21:35 rick kernel: usb 2-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Apr 15 18:21:35 rick kernel: usb 2-10: Product: Canon Digital Camera
Apr 15 18:21:35 rick kernel: usb 2-10: Manufacturer: Canon Inc.
|
A window named KDE Daemon then pops up saying "USB Imaging Interface" and I am given three choices: 1) Open in new window, 2) Digikam detect and download and 3) Do nothing. If I open in a new window I can access the vfat files system's directories and files.
When I do the same thing with the same camera on an install of slackware-current as of 07/04/09 I get:
Quote:
Apr 15 18:30:11 rick kernel: usb 2-10: new full speed USB device using ohci_hcd and address 2
Apr 15 18:30:11 rick kernel: usb 2-10: New USB device found, idVendor=04a9, idProduct=30b7
Apr 15 18:30:11 rick kernel: usb 2-10: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Apr 15 18:30:11 rick kernel: usb 2-10: Product: Canon Digital Camera
Apr 15 18:30:11 rick kernel: usb 2-10: Manufacturer: Canon Inc.
Apr 15 18:30:11 rick kernel: usb 2-10: configuration #1 chosen from 1 choice
|
There is no recognition of the device in the kde4 device thingo that replaced the kde3.5 kde daemon pop up.
The only thing to do to see if libgphoto is behaving badly now is to d'load and compile digikam which I was hoping to avoid having to use.
Last edited by justwantin; 04-15-2009 at 03:51 AM.
|
|
|
04-16-2009, 03:41 PM
|
#6
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
If you don't see a kernel message indicating a /dev/sd## partition discovered, then there is no device to mount.
In kde3.5 was there a fuse filesystem installed and did konqueror have a kio slave for it, similar to the fish:/ protocol in konqueror? Maybe what you were seeing was a pseudo filesystem, similar to mtpfs or sshfs.
In the background, kde & hal communicate via the dbus daemon. Do normal pendrives automount?
If so, then the kde daemon that listens to messages is running. There are differences between kde3.5 & kde4. I use amarok 1.4 from kde3.5 instead of amarok 2.0 because the new version just doesn't work well for podcasts. A protocol may not be installed.
If you can't automount a pendrive, then check if the hald, udevd & dbusd daemons are running. If you needed to boot with the noacpi option, then these services can't run.
|
|
|
04-16-2009, 04:06 PM
|
#7
|
Member
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889
Original Poster
Rep: 
|
Thanks very much for the info. I'm off to work now but will check with a pendrive and a card reader first chance I get.
|
|
|
04-16-2009, 04:12 PM
|
#8
|
LQ Veteran
Registered: Feb 2007
Distribution: Slackware64-current with KDE4Town.
Posts: 9,662
|
Justwantin,
Can the USB mode on your camera be changed between PC and PTP (PictBridge)?
I've found that KDE 3.5.10, in Slackware 12.2, can see my camera either as PC ("mass storage device") or PTP.
I've not used current, but have used KDE 4.2.x in Kubuntu and if the camera was in the PTP mode, digikam had to be installed to download the images to the computer.
If the camera was in PC mode it was seen as a "mass storage device" and you could use Dolphin to download, as you described, the photos to any directory on the hard drive.
Just FYI.

Last edited by cwizardone; 04-16-2009 at 04:15 PM.
Reason: Typo.
|
|
|
04-16-2009, 06:36 PM
|
#9
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Also check if you have the camera:/ protocol in konqueror. If you do, and the pictures show up, then you can simply split the pane and drag & drop pictures.
|
|
|
All times are GMT -5. The time now is 07:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|