LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 04-01-2007, 07:39 AM   #1
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Rep: Reputation: 15
Need to get pictures off of Musteck MDC-800 camera


First, I am running Ubuntu 6.06 with 2.6.15 kernel. I want to connect my digital camera to my computer and download the pictures from it. The camera (a Mustek MDC-800) connects via usb. My usb is working fine with my flash drives and that is all I have used usb for so far. I really don't know what I need to do so I don't know what else you need to know. Please help me.
 
Old 04-01-2007, 08:23 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
http://www.linux-usb.org/devices.html

According to this link, the camera is natively supported by the current kernel. You likely need to compile a module or two for proper data communication, but shouldn't be too big a deal.
I will venture a guess that if you run xconfig (the kernel compile interface) and go to the Video 4 Linux section or device driver section, the necessary stuff for the camera will be clearly indicated.
If you aren't familiar with compiling kernel modules, there are loads of tutorials, threads, and related info both in LQ here and on the web
If you need further specific help, ask away!
Hope this points you in teh right direction.
 
Old 04-01-2007, 04:40 PM   #3
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks for the help you have already given. I need a little more help.

Quote:
I will venture a guess that if you run xconfig (the kernel compile interface) and go to the Video 4 Linux section or device driver section, the necessary stuff for the camera will be clearly indicated.
First off, what is the command? xconfig returns "command not found". Secondly, what am I looking for? will there be a section marked camera? I am a complete newbie to images in linux.

I also need to know where to find the source for the module. I have found a couple of source files posted on the net, but it doesn't tell which kernel it is for. Also it was just the source listing will very little documentation.
 
Old 04-01-2007, 05:24 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Something to try first: Using google or whatever, locate the name of the kernel module(s) needed for your camera. If you find the name, then in a terminal type 'modprobe <the-name-here>'.. If there is no error or reply, then try using your camera. If this doesn't work, see below:
Ok , on Ubuntu, the source code for the kernel modules and kernel itself *may* not be on your system to start with. If it IS there, it is in /usr/src/linux/RIGHT HERE CALLED SOMETHING LIKE 'Linux-2.6.22'/
I assume it is not there...SO:
1 - open a terminal window and type 'uname -a' to identify your kernel.
2 - make note of the part like '2.6.13.17' or whatever it is. this is the release number of your kernel.
3 - go to www. <your country here> .kernel.org and locate the same kernel release as you have.
4 - Download the sourcecode package. It will be a 40 or 50 MB file ending with .tgz or .bz2 or similar. Also download the Checksum MD5 file that goes with it, so you can verify the archive's integrity. Read 'man md5sum' for instructions.
5 - extract this package to /usr/src/<some name you like>/RIGHT HERE
6 - open a terminal. (I su to root here, but you may not need to yet)
7 - type 'make xconfig' or 'make defconfig', and you will be presented with a menu-driven thingy.
8 - Locate a section called either v4l, video-for-linux, or something else where you think camera devices might be located. I can't say for sure, because we very likely have different kernels, and I can't recall right off. But you may be looking for a while, it's a big menu.
9 - When you click on an option in the menu (DON'T select it, just click the text) it will show you a blurb of HELP info in xconfig. If you end up in the other config, there will be an option on teh bottom of the screen for HELP. It will tell you about the option you are looking at, what it does, and what other things might be needed to make it work.
10 - When you find the stuff you need for your camera, select it as MODULE or compile it right into the kernel. (So either a DOT/M for module, or a CHECKMARK for compiled in)
11 - when all done, exit all the way out of the menu-driven thingy. On the console screen you should see a message like "Saved kernel configuration to .config"
12 - now type 'make'
12.5 - If you get a tonne of errors, then su to root now if you haven't, and try 'make' again.
13 - When this is all done scrolling down the screen, type 'make modules_install'
14 - now from the folder where you are, move into /arch/i386/boot and copy the file named bzImage to the folder /boot (your systems actual boot folder). Rename it something like newkernel.
15 - now, by following the instructions in the LILO man page (type 'man lilo') and learning by example by what's in the file /etc/lilo.conf , edit this file to add your new kernel to the lilo.conf file.. Save the file.
16 - in a terminal as root, type 'lilo'.
17 - if all is well, lilo will list two kernels, the original and the new one, one will have a * beside it.
18 - DO NOT REBOOT YET IF YOU GET ERRORS FROM LILO. GET LILO FIXED BEFORE REBOOTING.
19 - when lilo returns two kernels and no errors, you're done

Last edited by GrapefruiTgirl; 04-01-2007 at 05:29 PM.
 
Old 04-16-2007, 07:13 PM   #5
valkarin
Member
 
Registered: Dec 2006
Distribution: Ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
ok. I modprobed without any errors. So I probably have the driver loaded. But, I can't access the camera. How do I do that? None of the image programs I have recognize the camera model. Is there a way to access the camera directly through the usb port?

EDIT
The driver is loaded and I have mounted the camera. I ran mknod and set that up. But whenever I try to access it, it says that it couldn't read it. Also the devices file in the /mnt/camera folder is blank. Same with /proc/bus/usb/devices. Can't import using gtkam, gphoto2, picasa, or any other program. Why can't this thing read my camera from the mount point. I mounted using usbfs. vfat and msdos won't mount. Help.

Last edited by valkarin; 04-17-2007 at 06:02 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounted my camera but can't see pictures frankie_DJ Slackware 6 07-07-2006 11:00 PM
loading pictures from digital camera fakie_flip Linux - Hardware 3 11-06-2005 01:58 AM
Using MDC 3000 camera - USB Caos Linux - Hardware 3 03-27-2004 04:52 PM
help needed to get my digital camera pictures phunkymunky Linux - Hardware 6 03-23-2004 06:13 PM
linmodem pctel 2304wt mdc devashish Linux - Laptop and Netbook 22 08-24-2003 05:14 AM


All times are GMT -5. The time now is 10:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration