VectorLinux
April 23, 2014, 10:31:28 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: Trouble with Digital Camera and Other Problems - Would Like Some Help Please  (Read 3409 times)
cbwiccan
Member
*
Posts: 7


« on: October 13, 2007, 11:43:34 pm »

Can someone please help me?? I can't seem to get my digital camera working with Vector Linux 5.8-SOHO-Final. I've connected my camera to the computer by USB. Nothing happened after that. I've started the program called DigiKam and it couldn't detect my camera. I've tried to install Libgphoto2 from the package manager and it showed it being installed, but after it was done, I noticed it didn't install. it just downloaded the Tlz file and thats all. I've tried to open the Tlz file and it said that it cannot open the file because it is an unsupported format. I've tried to open VL-hot-config, and it said that there was an unexpected error and has to abort. It also said that the file or directory does not exist. My camera is a Kodak EasyShare C875.
Logged
The Headacher
Louder than you
Global Moderator
Vectorian
*****
Posts: 1545


I like the bass to go BOOM!


WWW
« Reply #1 on: October 14, 2007, 12:11:42 am »

Quote
I've started the program called DigiKam and it couldn't detect my camera. I've tried to install Libgphoto2 from the package manager and it showed it being installed, but after it was done, I noticed it didn't install. it just downloaded the Tlz file and thats all.
Why do you think it hasn't been installed? I would be very surprised if gslapt /slapt-get downloads something without installing, I have never heard reports of something like this happening before. If the package is installed, this code should return a result:
Code:
ls /var/log/packages/libgphoto*

Quote
I've tried to open the Tlz file and it said that it cannot open the file because it is an unsupported format.
Try rightclicking it, choose "Actions -> VectorLinux package -> Install". It would be nice if future versions of VL could bring up some menu thingy when double clicking it though.
Quote
I've tried to open VL-hot-config, and it said that there was an unexpected error and has to abort. It also said that the file or directory does not exist.
I'd never tried it before, but I got an error just like that. After doing a "slapt-get --install vl-hot" (which upgraded vl-hot to a newer version) it worked fine though.

I've never used a digital camera in Linux (I don't own one that's worth using, just a very old one with 640*480 pixels I believe), so I can't help you much with getting it to work.
Logged

Most music on my soundcloud page was arranged in programs running on VL.
bigpaws
Vectorian
****
Posts: 1834


« Reply #2 on: October 14, 2007, 03:51:12 am »

This might help:

http://ubuntuforums.org/showthread.php?t=340271&highlight=kodak+camera+usb

Bigpaws
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #3 on: October 14, 2007, 08:11:24 am »

Quote
I've tried to open VL-hot-config, and it said that there was an unexpected error and has to abort. It also said that the file or directory does not exist.
I'd never tried it before, but I got an error just like that. After doing a "slapt-get --install vl-hot" (which upgraded vl-hot to a newer version) it worked fine though.
Yes, there where some last-minute changes to the kernel config for 5.8 SOHO that broke the version of vl-hot-config released on the iso, upgrade to the latest version of the vl-hot package to fix this.
« Last Edit: October 14, 2007, 08:14:31 am by Joe1962 » Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
cbwiccan
Member
*
Posts: 7


« Reply #4 on: October 14, 2007, 10:28:56 am »

Thank you everybody for the helpful information. Smiley I've managed to fix the problem with VL-Hot-Plug. I just had to upgrade it to the latest version and it worked. Smiley I've also figured out that Libgphoto2 actually was installed, it comes already installed as one of the library's for DigiKam. I also figured out that when you install stuff with Gslapt package manager, that it does install, but you have to go to the folder of the program after its installed and find the launcher for the program, and then add the program shortcuts yourself to the places where you want them. But that was only easy. Smiley But even though I managed to fix the VL-Hot-Plug problem, i still can't get my digital camera detected.  I've opened up Digikam and tried to detect my camera with that, but it failed to detect my camera. I've also tried to mount my camera manually by logging into root on a console and typing mount /dev/sda1 mnt.  I tried that command all the way down to sdh1 and it just kept saying special device not found. I've also tried using the Removable media utility called KwikDisk to see if I could mount my camera with that, but there was no mount for my camera in that program. Sad Could anybody please help me with the new situation? ~Thanks in Advance~   
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #5 on: October 14, 2007, 10:39:35 am »

First thing is: does your camera follow the block device specs, that is, is it supposed to behave like a USB drive? A lot of them don't. If it does, please open 2 consoles and run the following commands (one in each) with the camera unplugged:
Code:
tail -f /var/log/messages
and
Code:
udevmonitor
This last must be run as root, so run su in that console first and enter your root password when asked.

When ready, plug in the camera, wait a while till no more messages show and then post the outputs here. Hopefully we can figure out what's going on.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
cbwiccan
Member
*
Posts: 7


« Reply #6 on: October 14, 2007, 11:38:00 am »

Here are my results:

tail -f /var/log/messages
Oct 14 15:14:15 localhost -- MARK --
Oct 14 15:34:16 localhost -- MARK --
Oct 14 15:54:16 localhost -- MARK --
Oct 14 16:14:16 localhost -- MARK --
Oct 14 16:15:44 localhost kernel: usb 1-4: new high speed USB device using ehci_hcd and address 8
Oct 14 16:15:44 localhost kernel: usb 1-4: configuration #1 chosen from 1 choice
Oct 14 16:18:02 localhost kernel: usb 1-4: USB disconnect, address 8
Oct 14 16:18:47 localhost kernel: usb 1-4: new high speed USB device using ehci_hcd and address 9
Oct 14 16:18:47 localhost kernel: usb 1-4: configuration #1 chosen from 1 choice
Oct 14 16:19:28 localhost kernel: usb 1-4: USB disconnect, address 9
Oct 14 16:30:34 localhost kernel: usb 1-4: new high speed USB device using ehci_hcd and address 10
Oct 14 16:30:34 localhost kernel: usb 1-4: configuration #1 chosen from 1 choice


udevmonitor
udevmonitor prints the received event from the kernel [UEVENT]
and the event which udev sends out after rule processing [UDEV]

UEVENT[1192390234.668764] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-4
UEVENT[1192390234.669101] add@/class/usb_endpoint/usbdev1.10_ep00
UEVENT[1192390234.669299] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0
UEVENT[1192390234.669480] add@/class/usb_endpoint/usbdev1.10_ep01
UEVENT[1192390234.669651] add@/class/usb_endpoint/usbdev1.10_ep82
UEVENT[1192390234.669876] add@/class/usb_endpoint/usbdev1.10_ep83
UEVENT[1192390234.670072] add@/class/usb_device/usbdev1.10
UDEV  [1192390234.671353] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-4
UDEV  [1192390234.672689] add@/class/usb_endpoint/usbdev1.10_ep00
UDEV  [1192390234.675001] add@/class/usb_endpoint/usbdev1.10_ep01
UDEV  [1192390234.677010] add@/class/usb_endpoint/usbdev1.10_ep82
UDEV  [1192390234.679060] add@/class/usb_endpoint/usbdev1.10_ep83
UDEV  [1192390234.797973] add@/devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0
UDEV  [1192390234.864659] add@/class/usb_device/usbdev1.10
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #7 on: October 14, 2007, 12:03:30 pm »

Based on that output, I don't think your camera is working as a USB Mass Storage Device (though some quick googling did not give a definitive answer on that), so you won't see it as a drive. It's all up to libgphoto2 then...
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
cbwiccan
Member
*
Posts: 7


« Reply #8 on: October 14, 2007, 12:43:57 pm »

So you mean if DigiKam can't detect the camera using libgphoto2 as its library, then there is no way to get it to work? I use to use Kubuntu Linux before Vector, and my camera detected and worked perfect with Kubuntu. I'd rather Vector though because I find it more stable and it comes with more plugins and programs. And I find Vector is a lot faster. So, there is no way at all to get my camera working with Vector Linux 5.8 (SOHO-Final)? ~Thanks in Advance~
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #9 on: October 14, 2007, 12:47:54 pm »

...my camera detected and worked perfect with Kubuntu.
How did it work?
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
cbwiccan
Member
*
Posts: 7


« Reply #10 on: October 14, 2007, 01:16:13 pm »

It worked by whenever I plugged in my camera into the usb slot when i use to use Kubuntu, it would automatically detect my camera and a new drive would appear on the desktop and DigiKam would automatically start and load all the pictures that were on my camera.
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #11 on: October 14, 2007, 01:24:14 pm »

Well, hopefully someone more familiar with hal, libgphoto2 and/or Kodak cameras will chime in... Undecided
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
cbwiccan
Member
*
Posts: 7


« Reply #12 on: October 14, 2007, 01:34:05 pm »

Thanks for you help so far, I really appreciate it. Smiley I hope the same thing as well, lol. Wink
Logged
Tigerwolf
Vectorite
***
Posts: 152



« Reply #13 on: October 14, 2007, 02:42:15 pm »

Well, hopefully someone more familiar with hal, libgphoto2 and/or Kodak cameras will chime in... Undecided

About a year ago, I started a thread regarding the VL implementation of digikam/libgphoto2 not working with non-storage-type USB cameras.   

The thread ultimately pointed to the VL 'libgphoto.rules' file which lives in /etc/udev/ruled.d/30-libgphoto.rules.    This file wasn't included with the VL 5.8 libgphoto2 packaging, so no USB camera were ever detected or seen by digikam.   

As I recall, the rules file isn't normally created by the libgphoto2 source compile, since it depends a lot on the distribution's way of doing udev and user permissions.  The libgphoto2 source does include a script/program to make the rules file, but making it is not something an ordinary user unfamiliar with the distro's udev setup (i.e. me) could readily do.  Apparently this step was omitted when the VL package was created.

One of the VL developer folks following the thread at the time produced a rules file using the libgphoto tools, and put it in 'testing' repository (if I remember right).   However, it had some issue (internal syntax of the listing if memory serves), and I could never get it or a couple more iterations they provided to work. 

My immediate solution was to revert to a much older libgphoto version's set of udev rules, which worked, but only if the root user was the one running digikam.

There was no further response from the VL developer at this point; so,  as far as I know, a properly functioning udev rules file still is not included in the VL 5.8 libgphoto package.

Logged

=^_^=  Tigerwolf

Running: Vector Linux 5.8 Standard   12-16-2006
exeterdad
Packager
Vectorian
****
Posts: 2046



« Reply #14 on: October 14, 2007, 03:12:28 pm »

It's possible your version of libgphoto2 doesn't support your camera.  I don't have anything VL5.8 on my computer at this time so I can't check for you.  I'm using VL5.9beta at the moment and this version of libgphoto2 does support your camera.  I have a Kodak Zsomething (it's in the minivan) and it isn't supported with the libs in VL5.8 but is supported in the libs that will be shipping with 5.9.  I'll be packaging a current version of libgphoto2 and the rest of the toys for 5.8 soon. 
Anyhow....  sorry about the ramble.  Try this on your machine in a console window.  Doesn't have to be root, and see if your camera is supported.
Quote
/usr/lib/libgphoto2/print-camera-list  human-readable
.
If it is....  cool.  If not, you're going to have to wait for a little while.
If it is supported, you need to get yourself a set of udev rules for libgphoto2.  Please refer to this thread to save myself a ton of typing.  http://www.vectorlinux.com/forum2/index.php?topic=4477.0
Try everything mentioned there and then let us know how everything turned out.
Good luck  Cheesy

BTW my Kodak easyshare works wonderfully with VL.  So hang with us, we'll fix ya up.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!