Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've spent days reading posts and trying them out, but I couldn't succed in using my Kodak EasyShare CX4200 with Gentoo 2.6.5.
Here's the system:
Kernel 2.6.5-r1
Here's what I have activated in the kernel:
Code:
Device Drivers -------->
ATA/ATAPI/MFM/RLL Support -------->
<*> SCSI emulation support
SCSI Device Support --------->[*] legacy /proc/scsi/ support
<*> SCSI disk support
<*> SCSI generic support
USB Support -------------->
<*> Support for host-side USB[*] USB device filesystem
<M> EHCI HCD (USB 2.0) support
<M> OHCI HCD support
<M> UHCI HCD (most Intel and VIA) support
<M> USB Mass Storage support
On bootup, it succesfully loads the following modules:
uhci-hcd and usb-storage
When I plug in my camera (which, by the way, works in Windows as a drive and worked in mandrake 9 with Digikam), I get the following results:
Code:
frost linux-2.6.5-gentoo-r1 # dmesg
[irrelevant output omitted]
usb 2-1: new full speed USB device using address 5
frost linux-2.6.5-gentoo-r1 # tail -f /var/log/messages
[irrelevant output omitted]
Aug 30 15:36:12 frost usb 2-1: new full speed USB device using address 5
frost linux-2.6.5-gentoo-r1 # cat /proc/scsi/scsi
Attached devices:
frost linux-2.6.5-gentoo-r1 # ls -l /dev/sd*
ls: /dev/sd*: No such file or directory
Now, to me, it seems that the usb part works fine:
the easiest thing is to just buy one of those little
kodak or other brand usb card drives they are very cheap (make sure it supports the kind of memory card in the cammera)
plug in the drive
pop the card out of the camera
stick it in the drive
i made a directory called /mnt/cam
mount /dev/sda1 /mnt/cam
cd /mnt/cam
completely eliminates the need for connecting the camera
Last edited by foo_bar_foo; 08-30-2004 at 04:42 PM.
I don't want to use a card reader, because I use my camera's internal memory (16Mb), so I can only acces it with the camera. And besides... It works under windows as a hard disk! It must work under linux too!
I've done
Code:
frost root # mknod /dev/sda1 b 8 1
frost root # chmod 777 /dev/sda1
frost root # ls -l /dev/sda1
brwxrwxrwx 1 root root 8, 1 Aug 31 11:07 /dev/sda1
I plug in my camera, turn it on and....
Code:
frost root # dmesg
[bla bla]
usb 2-1: new full speed USB device using address 2
frost root # mount /dev/sda1 /mnt/disk
mount: /dev/sda1 is not a valid block device
frost root # ls -l /dev/sda1
brwxrwxrwx 1 root root 8, 1 Aug 31 11:07 /dev/sda1
Now, the symptoms of the problem seem to have dissapeard, but the problem remains! I don't think my scsi support works (It should register /dev/sda by itself and link it to the usb camera)...
I keep thinking I missed something when I compiled my kernel... but it seems to be all there... Please, if somebody would print out EXACTLY what I need in my 2.6.5 kernel to make it work, I'd be grateful!...
I've tried other solutions posted, but I don't get a /dev/sda (and it doesn't work)...
And by the way, I don't have any /dev/sd* devices... (I don't have any scsi devices, and my cdrw uses atapi, not scsi-emulation)
I don't have any scsi modules. I compiled them into the kernel (see first post). If I should compile them as modules, please, tell me EXACTLY what scsi options I should enable!
I don't want to use a card reader, because I use my camera's internal memory (16Mb), so I can only acces it with the camera. And besides... It works under windows as a hard disk! It must work under linux too!
yea well it works on windows cause you installed a ton of crap software from kodak that has a driver hidden in it somewhere as well as a very questionable something called (backweb server) can you say trojan -- but i digress.......
anway you are barking way up the wrong tree trying to use usb mass storage which is why i suggested card reader
mad_ady@frost linux-2.6.5-gentoo-r1 $ grep SCSI .config
CONFIG_BLK_DEV_IDESCSI=y
# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
# SCSI Transport Attributes
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# SCSI low-level drivers
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_MEGARAID is not set
CONFIG_SCSI_SATA=y
# CONFIG_SCSI_SATA_SVW is not set
CONFIG_SCSI_ATA_PIIX=y
# CONFIG_SCSI_SATA_PROMISE is not set
# CONFIG_SCSI_SATA_SIL is not set
# CONFIG_SCSI_SATA_VIA is not set
# CONFIG_SCSI_SATA_VITESSE is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA6322 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
CONFIG_I2O_SCSI=y
# CONFIG_USB_HPUSBSCSI is not set
foo_bar_foo: thanks for the links... I'll look into them. The camera works under windows without any drivers (I used it on a pc without installing a thing). I assumed it worked like mass storage. In the past, I was able to use it under linux with Digikam. Now it says it fails to autodetect the camera.
I will look into ptp.
If you have any more sugestions, I'd be happy to hear them!
I have gphoto2 installed. I read parts of the online manual and FAQ and I tried some troubleshooting...
Quote:
Then try to run gphoto2 --list-ports and look whether the ports you want to use are listed there:
* For serial devices, the port with the appropriate device must be listed
* For USB devices, you need the "usb:" port in the list. If you don't see it, check whether you compiled gphoto2 with libusb support.
Then try to run gphoto2 --auto-detect and look whether the camera is detected.
And I tried:
Code:
mad_ady@frost mad_ady $ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
mad_ady@frost mad_ady $ gphoto2 --list-ports
Devices found: 9
Path Description
--------------------------------------------------------------
serial:/dev/tts/0 Serial Port 0
serial:/dev/tts/1 Serial Port 1
serial:/dev/tts/2 Serial Port 2
serial:/dev/tts/3 Serial Port 3
serial:/dev/tts/4 Serial Port 4
serial:/dev/tts/5 Serial Port 5
serial:/dev/tts/6 Serial Port 6
serial:/dev/tts/7 Serial Port 7
usb: Universal Serial Bus
So it can't find it! (by the way, the camera was turned on! )
I'll keep digging... Maybe I can find something....
It seems to me that the usb port dosen't register properly (although my usb printer works fine!)... I still think it has something to do with that SCSI modules....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.