LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-11-2002, 04:52 PM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
USB Camera needs SCSI?!


I've got a brand new Fuji finepix 2400 digital camera; before I bought it, I read a little bit about how people had got it working with Linux. Good enough for me I thought.

So, got it today, followed a couple of web sites' advice on how to set it up. They say you have to type:

mount /dev/sda1 /mnt/fuji

(after creating /mnt/fuji obv - isn't mount Fuji some nob off mountain? Anyway, I digress. <g>)

Unfortunately it says sda1 doesn't exist. I've done a load of searching round the web (through my wonderful new Smoothwall firewall <g>) and it seems I need to enable SCSI support as you seem to mount the camera as a SCSI device on the USB port. (sic)

Problem is, I cannot suss out how to do this. I've read loads about kernel recompiles, but *surely* I don't have to do that. I've tried updating the system by booting from my Mandrake 8.1 CD, and that does ask about SCSI devices, but it then says it can't find any SCSI devices.

So, what do I do to get my SCSI module up. Why is it always the problems with the getting it up... <BG>
 
Old 01-11-2002, 06:07 PM   #2
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Mate


Sadly you will have to recompile. A usb camera is basically the same as a usb scanner. Look in the kernel source (/usr/src/linux) for the docs diredtory. Theres a usb section, in there there's definitely some scanner stuff, and I think some camera bits and bobs. Whether that fuji is supported or not, I don't know.


Good luck!


Jim


Edit...

On thinking about it, MDK 8.1 may have put the scsi emulation in as a module. Look in /lib/modules/whateveryourkernelis/ for anything with scsi in it. You should still read the docs as above.

Last edited by drjimstuckinwin; 01-11-2002 at 06:11 PM.
 
Old 01-12-2002, 10:32 PM   #3
unolinuxguru
LQ Newbie
 
Registered: Jan 2002
Location: omaha, ne
Distribution: suse, debian, redhat, mandrake, openbsd, progeny, engarde
Posts: 15

Rep: Reputation: 0
dont' recompile...

read this article, it just came out and is BEAUTIFUL. its all there.

http://www.newsforge.com/article.pl?...18&mode=thread

basically, all i did was...

1) connect my fujifilm 2300 (i have the same camera as in the article coincidentially) to the usb cable and the cable into the computer (running redhat 7.1 - i had compiled in all of the usb stuff I figured was relative when I did my kernel, see else were for that, or you may not even have to)

2) modprobe usb-storage

3) mount -t vfat /dev/sda1 /mnt/camera

and cd to /mnt/camera... dcm... whatever... and viola, all my pictures where there. it acts as a mounted (scsi device) drive with fat32 (windows) formatting. quite nice, quite nice.
 
Old 01-13-2002, 05:02 AM   #4
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
This is similar to a few articles I've seen. Unfortunately, it doesn't get round the fact that sda1 doesn't exist on my machine. It seems the only way to get round this is to recompile the Kernel.

I'm scared! <g>

Thanks for posting the article anyway. :-)
 
Old 02-25-2002, 05:12 PM   #5
benlq2002
LQ Newbie
 
Registered: Feb 2002
Posts: 1

Rep: Reputation: 0
The good news. No you don't need to recompile. The bad news, I am not expert enought to explain exactly why this is not automatic in Mandrake 8.1.

To make /dev/sda1 appear (it will be a simbolic link to the "real" device -- /dev/scsi/host1/bus0/target0/lun0/part1) you need to install sd_mod. This should be before usb-storage (at least it seems to to have to be before the camera gets registered).

On my system:

1) modprobe sd_mod
2) plug in camera and switch on
3) run dmesg to check all is well!
4) mount /dev/sda1 /mnt/camera

usb-storage is loaded automatically as the camera is detected by the usb sub-system.

To make it more automatic, add:

pre-install usb-storage modprobe sd_mod

on a line in /etc/modules.conf. I am sure this is not the "right" way -- /etc/hotplug looks the proper place but I have not understood that yet!

Now, just plug in and mount.

Hope this helps,
Ben.
 
Old 04-16-2002, 07:48 AM   #6
VictorLesk
LQ Newbie
 
Registered: Apr 2002
Posts: 1

Rep: Reputation: 0
Having been struggling with exactly the same problem on a Logitech USB hard disk, modprobe sd_mod did the trick. . .
thank you.
 
Old 04-28-2002, 11:03 PM   #7
Annex
Member
 
Registered: Mar 2002
Distribution: Debian 3.0
Posts: 31

Rep: Reputation: 15
unolinuxguru,
WOW! I've been struggling to get my Sony DigiCamera to work for ages and that worked right away!

I'm so glad I looked for other people with my issue
 
Old 03-10-2003, 08:49 AM   #8
linuxfond
Member
 
Registered: Jan 2003
Location: Belgium
Distribution: Mandrake 9.2
Posts: 475

Rep: Reputation: 30
I did all written here but dev/sda1 was not added.
 
  


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
Scanner Umax 2200 (USB,SCSI) with AHA2940U scsi card problem in Suse 9.2 Pro nathanv117 SUSE / openSUSE 5 02-22-2005 02:06 PM
USB Camera Mandy 9.2 and lack of SCSI support - help? iainagray Linux - Hardware 7 08-02-2004 06:27 AM
Do you need SCSI for digital camera? MG-Cloud Linux - Hardware 1 12-29-2003 06:36 AM
SCSI/Digital Camera Question Jiawen Linux - Hardware 5 10-07-2003 01:33 PM
USB camera zokik Linux - Hardware 10 05-02-2003 02:07 PM

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

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