LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-11-2005, 05:50 AM   #1
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Rep: Reputation: 15
Digital Camera on SuSE 10 Not Recognized


I've done a search, read everything I can and followed the suggestions, but still can't get the camera working under 10.0 Eval, installed from downloaded CDs. Everything else works fine.

I have a Sony DSC-U10 which was previously working fine via USB under 9.1

The USB Monitor in KMenu shows the camera connected.

SuSEPlugger is running (though it does not appear in KMenu as I saw in one thread).

My /etc/fstab file is like this, which I believe provides the necessary scsi device definition to route the camera through.

Quote:
/dev/hda2 / reiserfs acl,user_xattr 1 1
/dev/hda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/hdc1 /home auto acl 0 0
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
none /subdomain subdomainfs noauto 0 0
/dev/sda1 /media/camera vfat noauto,users 0 0
The folder /media/camera exists.

But the camera does not appear in Konqueror (My Computer icon) under the new Services | Storage Media tab, which replaced the 9.1 Devices tab.

An attempt to issue a mount command through Konsole reports that sda1 does not exist.

Same under root or a user.

I'm stuck What am I missing ?

Thanks for any help.

Pete

Last edited by petelogan; 11-11-2005 at 05:52 AM.
 
Old 11-11-2005, 06:06 AM   #2
meranto
LQ Newbie
 
Registered: Nov 2005
Posts: 20

Rep: Reputation: 0
check "/dev/disks/by-id" and see if your device is listed there. If it is, look where the symlink points to, maybe it's named sda2 of sdb1 or whatever.

Last edited by meranto; 11-11-2005 at 06:15 AM.
 
Old 11-11-2005, 06:44 AM   #3
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse tumbleweed
Posts: 329

Rep: Reputation: 33
When you plug in your camera go media and see if it is shown there.
 
Old 11-11-2005, 07:54 AM   #4
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
/dev/disk/by-id gives

Quote:
file:///dev/disk/by-id/ata-Maxtor_6E040L0_E10E4ADE
file:///dev/disk/by-id/ata-Maxtor_6E040L0_E10E4ADE-part1
file:///dev/disk/by-id/ata-Maxtor_6E040L0_E10E4ADE-part2
file:///dev/disk/by-id/ata-SAMSUNG_SV4002H_0479J1FT706318
file:///dev/disk/by-id/ata-SAMSUNG_SV4002H_0479J1FT706318-part1
which are my two hard drives, so it's not showing up there.

/media shows:

Quote:
file:///media/bmp_audio_cd
file:///media/camera
file:///media/cdrecorder
file:///media/xmms_audio_cd
I created /media/camera as a place to mount the scsi representation of the camera, but /media/camera is empty.

The camera is plugged in as I write, and Kmenu | System | Monitor | USB Devices shows a Sony DSC camera with a Product ID of (DSC-S30/S70/S75/F505V/F505/FD92 Cybershot/Mavica Digital Camera).

KMenu | System | Monitor | SCSI shows no scsi devices.

Looks to me like the system is seeing the camera, but not attaching it to a scsi device and therefore not mounting it.

If I read other threads correctly, I guess SuSEPlugger is supposed to be doing this. It is running according to the KDE System Guard ProcessTable.

Just thinking out loud, is there a SuSEPlugger config setup that tells it what to do or not do on an automatic basis ?

Thanks for the input.

Pete
 
Old 11-11-2005, 07:21 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
SuSE should be auto mounting your camera. It takes longer than for a memory stick. eventually a konqueror window should pop up with a file view of the camera storage. You can now treat it like any other file device. You can also use digikam to open the camera storage and place pictures in an album. I say this based on experience with a Canon A75 but I'd be surprised if its different for Sony. I didn't have to configure anything for this to work.

Mounting has changed in SuSE 10.0 for the better. You no longer need to interact with SuSEplugger for it to work so the desktop icon isn't there.
 
Old 11-12-2005, 03:54 PM   #6
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
Understand and agree, but it isn't happening. The camera's been plugged in for the last 3 days

I understand about the plugger icon. It was just that in another thread someone was insisting that it should be in the KMenu, and it ain't - at least on mine.

I guess I'm stuck, but thanks to everyone for your help.

Pete
 
Old 11-12-2005, 04:46 PM   #7
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
get these three packages:

libgphoto2

gphoto2

gtkam

1 compile libgphoto2 first

2 compile gphoto2 second

3 compile gtkam last, for a user friendly gui front end

if gtkam is not working open a terminal and type in gphoto2 --auto-detect and
gphoto2 --get-all-files
 
Old 11-14-2005, 10:14 AM   #8
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks. YAST says these 3 are in already.

gphoto2 --auto-detect shows no cameras, even though USB Monitor sees it OK, which I presume means Linux sees it OK but is not mounting it for some reason.

Pete
 
Old 11-14-2005, 01:29 PM   #9
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
For the sake of completeness there are two things I need to do on my Canon A75 to make things work. The Canon has a switch that goes between picture and menu mode -- select menu mode. 2nd I have to turn the camera on. The Sony may not have a parallel for the mode switch but you still probably need to turn it on.
 
Old 11-14-2005, 02:24 PM   #10
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by fragos The Sony may not have a parallel for the mode switch but you still probably need to turn it on. [/B]
It has a Play, Still and Movie switch. Never made a difference in the past, and I have tried Play and Still with no result.

The camera is recognised by Linux, I think, but is not mounted as any kind of recognisable drive, so is not available to applications.

I think maybe 10.1

I need to turn it on ? Nice one
 
Old 11-14-2005, 02:27 PM   #11
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
in order for gphoto2 and gtkam to work you do need hotplug started too...

i should have mentioned that in my first reply...

P.S. Hotplug does slow down boot time by anywhere from 30 seconds up to a minute longer, or if you start hotplug after boot it is slow to launch even on fast computers...

Last edited by Okie; 11-14-2005 at 02:29 PM.
 
Old 11-14-2005, 02:35 PM   #12
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
suseplugger is running, loaded automatically.

What can I tell you To be honest, I think it's prolly best to just wait for 10.1.

The heck with it.
 
Old 11-14-2005, 03:14 PM   #13
wiresquire
Member
 
Registered: Dec 2003
Posts: 57

Rep: Reputation: 15
It's possible that there is a hotplug policy in place that prevents the 'media' from loading correctly. I only learnt about this recently.

Hotplugging is controlled by hal daemon (hald). Is that running? SUSEplugger should start it automagically.

The policies live in the directories under
/usr/share/hal/fdi/
On my SUSE 9.3, there's a policy file
/usr/share/hal/fdi/20freedesktop/sony_dsc.fdi

It may be worth checking that out to see if it matches OK with your camera. Also there could be other policies that modify that.

Best to google around for
hal fdi
to understand what's going on.

Like I said, I'm newbie on this stuff.

hth
ws

Last edited by wiresquire; 11-14-2005 at 03:16 PM.
 
Old 11-15-2005, 03:46 AM   #14
petelogan
Member
 
Registered: Mar 2003
Location: Luxembourg
Distribution: SuSE 11.4
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks - I hadn't realized that.

hald is running - starts automatically. My file structure appears to be similar to yours but not quite the same, as there are no camera specific files.

Looks like I have some reading and digging to do, which will take me a while due to time constraints, but I'll report back when I can.

Thanks again.

Pete
 
Old 11-15-2005, 06:20 AM   #15
wiresquire
Member
 
Registered: Dec 2003
Posts: 57

Rep: Reputation: 15
If it helps, my file looks like this:
# cat /usr/share/hal/fdi/20freedesktop/sony_dsc.fdi

Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
  <device>
    <match key="info.bus" string="usb">
      <match key="usb.vendor_id" int="0x054c">
        <match key="usb.product_id" int="0x0010">
          <merge key="info.category" type="string">camera</merge>
          <merge key="info.capabilities" type="string">camera</merge>
          <merge key="camera.access_method" type="string">storage</merge>
        </match>
      </match>
    </match>
  </device>
</deviceinfo>
good luck
ws
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot get Digital Camera recognized Hook99 Linux - Newbie 16 06-18-2006 06:12 AM
Detecting a digital camera SuSE ccin1492 SUSE / openSUSE 13 05-12-2005 04:00 PM
Sony camera not recognized patrickclay Linux - Newbie 3 03-02-2005 11:15 PM
Getting Kodak camera recognized 1madstork Debian 4 02-07-2005 07:06 AM
Kodak Easy Share digital camera CX4230 under SUSE 8.2 thedeerhunter27 Linux - Hardware 0 12-21-2003 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration