LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-19-2003, 10:39 AM   #1
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Digital Camera Benq DC2300


Digital Camera Benq DC2300
Does anyone know how to get this camera working under Red Hat Linux I have

Gtkam http://gphoto.sourceforge.net/proj/gtkam/ but it doesn't recognise this camera.

Thanks
Adam
 
Old 08-19-2003, 11:00 AM   #2
d3xtrom3thorpha
LQ Newbie
 
Registered: Jul 2003
Posts: 11

Rep: Reputation: 0
WINE

I haven't seen any drivers for this camera in linux, maybe you could go with some sort of Windows emulation? Just a suggestion.
 
Old 08-19-2003, 12:16 PM   #3
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
Windows emmulation? How

Windows emmulation? How would I go about doing that... I have heard of wine but I dont know anything about it and what versions there are ect... can you get one with a GUI?

Adam
 
Old 08-19-2003, 12:20 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Moving to the Linux - Hardware section where hardware related questions usually go

I found that by using a generic USB reader as a Mass Storage device for most memory sticks, has had great success.

Cool
 
Old 08-19-2003, 01:22 PM   #5
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
Mass storage devices

Hey I know I can use my camera as a mass storage device in windows xp (and get at the photos that way) is there are way of installing it as a mass storage device in Linux Red hat?

Adam
 
Old 08-19-2003, 02:26 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
First, make sure that the USB wire is plugged-in and that the camera is on.
Then open a terminal window and type:
Code:
mount -t vfat /dev/sda1 /mnt/camera
You will have to navigate the directory structure in order to get your pictures.

When you are finished with the camera, don't forget to un-mount it.
Code:
umount /dev/sda1
 
Old 08-19-2003, 04:52 PM   #7
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
It worked thanks!

Hey I managed to mount it no problems just a couple more questions. Like is there an easy way to automate this, like in MSDOS you could make bat files and then you just double click them rather than typing in the command line.


Also what happens if you dont unmount somthing, what bad does it do?

Adam
 
Old 08-19-2003, 05:41 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Yes,
You could always add it to the automount service (autofs) or in the /etc/fstab file.
However, scripts are a good choice.

In Linux, Bash scripts are the equivilent of .BAT files.
The first line in your script is #!/bin/bash
So the script to mount the camera would be:
Code:
#!/bin/bash
mount -t vfat /dev/sda1 /mnt/camera
Then, create an icon on your desktop and link it to the script.
Do the same for umount.

If you learn more about Bash (or any other scripting language), you will be able to merge these two scripts into one.

And what happens if you forget to umount... Your computer will catch on FIRE.

no... You will see a few error messages.

Last edited by Mathieu; 08-19-2003 at 05:42 PM.
 
Old 08-20-2003, 10:33 AM   #9
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
A bit more detail please

Hey what and where do you need to save the script file as... I am afraid being a newbie... having Linux for three days now, I need all the details (3 whole days trying to learn!)

Thanks
Adam
 
Old 08-20-2003, 03:00 PM   #10
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You can save it in /usr/local/bin
For example, call it mntcam.sh
Don't forget to set the permissions to execute:
Code:
chmod 755 mntcam.sh
 
Old 08-22-2003, 06:27 PM   #11
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Original Poster
Rep: Reputation: 30
How would I make a script that does both?

Hey thanks again I can use my camera now! I cant help wondering how do you make a script that does both? Or is that getting to complicated?

Adam
 
Old 08-22-2003, 07:54 PM   #12
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Complicated... ... no.

But you will have to learn a scripting language.
There are many scripting languages, but the two most widely used languages in Linux are Bash and Perl.
In this case, we created two Bash scripts.

There are many Bash and Perl tutorials on the internet.

Bash-Scripting Guide
http://www.tldp.org/guides.html

Perl Tutorials
http://www.comp.leeds.ac.uk/Perl/start.html
http://archive.ncsa.uiuc.edu/General...ing/PerlIntro/
http://www.sthomas.net/roberts-perl-tutorial.htm

Google Linux - To find them all
http://www.google.com/linux
 
  


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 jnicou Mandriva 1 05-21-2005 04:38 PM
Please help me with my digital camera Martin_St Linux - Hardware 13 07-30-2004 01:14 PM
benq dc5330 camera works in Knoppix but not in debian spacedoubtman Linux - Hardware 1 07-24-2004 11:38 PM
Have you got a digital camera? Calum Linux - Hardware 19 03-01-2004 03:48 AM
premier dc2300 digital camera njk Linux - Hardware 6 01-26-2004 12:31 PM

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

All times are GMT -5. The time now is 10:55 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