LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-24-2003, 01:35 PM   #1
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Rep: Reputation: 15
Digital camera in Slackware 9.1


I have got an olympus C-730z camera, which connects to pc via USB. The problem is I dont know how to get the images from to camera to my hard drive, in linux.

Thank you very much
 
Old 10-24-2003, 04:09 PM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Does you system recognize when you connect the camera? If you're in KDE, you bring up the 'info center' and I think there's a listing of current USB devices, which if Linux can see the camera it will be listed there, then we can continue....

From there, you can mount the camera in a very similar way to a floppy or a CD drive. At a command prompt (as root):
mount /dev/sda1 -t vfat /mnt/wherever
I'm making a few assumptions with this. 1) your camera is assigned to /dev/sda1, which I think tends to be the case with usb-connected disk drives and card readers and whatnot. 2) you have created the directory 'wherever' to mount it at. This can be whatever you want to call it.

If all that works then you can add a entry into your /etc/fstab for the camera so you don't have to type the whole command as root to mount it. You could even create an icon on your desktop that points to it.

hope that helps
 
Old 10-24-2003, 05:47 PM   #3
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Original Poster
Rep: Reputation: 15
ok, info center recognizes camera perfectly...... yay

i did:
mkdir /mnt/camera

but when i:
mount /dev/sda1 -t vfat /mnt/camera
i get:
mount: /dev/sda1 not a valid block device

---------------
ne suggestions
 
Old 10-24-2003, 09:17 PM   #4
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
well... /dev/sda1 is the designation for an SCSI device. try this and post the output.

Code:
cat /proc/scsi/scsi
It sounds like it will work, we just need to figure what device designation your system is assigning it. we're getting warmer.....
 
Old 10-25-2003, 02:23 AM   #5
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Original Poster
Rep: Reputation: 15
cat /proc/scsi/scsi no such file or directory
 
Old 10-25-2003, 06:09 AM   #6
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
okay, next try:
  1. Make sure the cam isn't plugged in
  2. enter "tail -f /var/log/messages"
  3. plug in the camera and see which device it is assigned to
  4. hit ctrl-c to end tail and mount the camera
 
Old 10-25-2003, 12:16 PM   #7
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Original Poster
Rep: Reputation: 15
ok i did "tail -f /var/log/messages"

and when i plugged in the camera i got this msg:
darkstar kernel: hub.c: new USB device 00:10.1-1, assigned adress 2
darkstar USB.agent[1222]: ... no modules for USB product 7b4/105/100

i dont exactly know how to interpret this. thanks for feedback
 
Old 10-25-2003, 02:23 PM   #8
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
That means that it detected the camera, but doesn't know what to do with it.

do you have the usb-storage module loaded?

If not then do so and try mounting it again with either /dev/sda or /dev/sda1
 
Old 10-25-2003, 03:24 PM   #9
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Original Poster
Rep: Reputation: 15
1. do i need to statically enable USB in my kernel
2. do i need to enable /devfs in kernel
3. how would i know if USB storage is loaded
4. does scsi need to be enabled for usb to work
 
Old 10-25-2003, 03:41 PM   #10
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
the usb modules will show if you type /sbin/lsmod
Something like this:
Code:
usb-storage            65536   1
usb-ohci               18888   0 (unused)
usbcore                58400   1 [usb-storage usb-ohci]
 
Old 10-26-2003, 08:30 AM   #11
avoidmoney
Member
 
Registered: Oct 2003
Location: south africa
Distribution: slackware
Posts: 36

Original Poster
Rep: Reputation: 15


its working now, thanks for all support.

what i did not realise is that i had to have scsi enabled in the kernel, to be able to load the usb-storage module. I recompiled kernel, and now it is working!

i am now able to dl stuff from the internet and take it to my linux box, via camera.

 
Old 11-02-2003, 10:37 AM   #12
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Hey I have exactly the same problem

I followed all the steps with the same result... but what scsi stuff do I need to enable in the kernel? (I am running Slack 9.1 kernal 2.4.22)

I have had my camera working ages ago in redhat 9.0 ... I recently compiled my kernal thinking that I didnīt need any scsi stuff as I donīt have any scsi hdds or anything...

Can anyone give me a quick pointer to the modules I need to compile in the Scsi and USB sections so I can make sure I have everthing I need?

Thanks

Adam
 
Old 11-02-2003, 11:16 AM   #13
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
everything that is somehow storage related except for IDE harddisc goes through the scsi emulating system and as far as I can tell that even happens in windows just in a way the standard user doesn't realize it. But if you look for your USB-stick driver section in the registry you will find it under the SCSI subsystem.

For working USB storage devices you need at least SCSI generic support in the SCSI tab and of course the USB EHCI/UHCI or whatever works with your chipset and of course the usb-storage.
 
Old 11-04-2003, 04:34 PM   #14
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Thanks for the pointers!

Thanks for the pointers I am going to give it a go and will get back to you with the results... I donīt have much time but I did try booting the orginal kernel that came with slack 9.1 and I have no problem mounting my camera with it! So its definitly somthing I am missing from it!

Thanks
Adam
 
Old 11-14-2003, 03:24 PM   #15
bigleggy
LQ Newbie
 
Registered: Sep 2003
Distribution: Slack
Posts: 1

Rep: Reputation: 0
I also followed this up to the point were you look in at the tail and get the message :-

danny kernel: hub.c: new USB device 00:10.1-2, assigned address 3
danny kernel: dc2xx.c: USB Camera #0 connected, major/minor 180/ 80
danny /etc/hotplug/usb.agent: Setup dc2xx for USB product 40a/13 0/101

It says it connected but I still can't mount the device.
Any help would be appreciated. Camera is a Kodak DC280 and I'm running Slackware 9
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
digital camera UGT001 Linux - General 5 11-21-2004 12:28 PM
Have you got a digital camera? Calum Linux - Hardware 19 03-01-2004 02:48 AM
digital camera andrewlkho Linux - Hardware 1 08-05-2003 01:48 PM
What digital camera ? phoeniXflame General 12 04-30-2003 03:22 PM
connect digital camera to laptop with SlackWare 8 al_m Slackware 2 05-13-2002 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration