LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-11-2007, 06:33 AM   #1
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
missing /dev/sda from digital camera


I'm trying to mount the memory card of my kodak c643 digital camera. Now I know this should work, as it does work on Suse, but somehow I can't get it working on Slackware (kernel version 2.6.20.1)...

Here's what I've done so far:
1. Recompiled the kernel with the usb_storage module and everything there that seemed useful. Tried both as a device and a module.
2. When as a module, I loaded it with modprobe
Effect: There is no /dev/sda or anything that might represent the digital camera to mount and copy the pictures off it.
3. Tried installing gtkam. When I select add camera and click on detect, it says "no camera found", and when I select my camera from the list and click on apply, it says "could not initialise camera".

Linux does detect something there. From lsusb, I get
Bus 3 Device 8: ID 040a:05a7 Kodak Co.

After much googleing, I have found something about a sd_mod module. I searched the config file, but there is no such module. What is it, and is it required?

So, what am I doing wrong? Or what else should I try?

Thanks for reading. Any info or suggestions are welcomed.
 
Old 07-11-2007, 10:54 AM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Post results of:

ls -lR /dev/disk

That sould give you the name the device was given. Also might need to check to ensure scsi support is enabled, although i think its enabled by default in the 2.6.20 kernel, might check anyway.
 
Old 07-11-2007, 11:08 AM   #3
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Thanks for the quick reply.

Here's ls -lR /dev/disk ( I guessed that is a small L, not an i):

Code:
ls -lR /dev/disk
/dev/disk:
total 0
drwxr-xr-x 2 root root 180 2007-07-11 20:56 by-id/
drwxr-xr-x 2 root root  60 2007-07-11 20:56 by-label/
drwxr-xr-x 2 root root 220 2007-07-11 20:56 by-path/
drwxr-xr-x 2 root root 120 2007-07-11 20:56 by-uuid/

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 2007-07-11 20:56 ata-WDC_WD1200JB-00CRA1_WD-WMA8C4681558 -> ../../hda
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ata-WDC_WD1200JB-00CRA1_WD-WMA8C4681558-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ata-WDC_WD1200JB-00CRA1_WD-WMA8C4681558-part2 -> ../../hda2
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ata-WDC_WD1200JB-00CRA1_WD-WMA8C4681558-part5 -> ../../hda5
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ata-WDC_WD1200JB-00CRA1_WD-WMA8C4681558-part6 -> ../../hda6
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ata-WDC_WD1200JB-00CRA1_WD-WMA8C4681558-part7 -> ../../hda7
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ata-WDC_WD1200JB-00CRA1_WD-WMA8C4681558-part8 -> ../../hda8

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 YA -> ../../hda8

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 2007-07-11 20:56 ide-0:0 -> ../../hda
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ide-0:0-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ide-0:0-part2 -> ../../hda2
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ide-0:0-part5 -> ../../hda5
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ide-0:0-part6 -> ../../hda6
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ide-0:0-part7 -> ../../hda7
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 ide-0:0-part8 -> ../../hda8
lrwxrwxrwx 1 root root  9 2007-07-11 20:56 ide-1:0 -> ../../hdc
lrwxrwxrwx 1 root root  9 2007-07-11 20:56 ide-1:1 -> ../../hdd

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 4219-2ABF -> ../../hda8
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 D0DB-A33A -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 db9f16a9-3c36-4d8d-b241-4a03a445d45d -> ../../hda7
lrwxrwxrwx 1 root root 10 2007-07-11 20:56 e63d87f3-a8c0-4e40-9599-6b1ab79cbace -> ../../hda5
hda is my primary hard drive, and hdc and hdd are dvd drives, so there is no camera...

Regarding scsi, this is what a cat .config | grep SCSI says:
Code:
# CONFIG_BLK_DEV_IDESCSI is not set
# SCSI device support
CONFIG_SCSI=y
# CONFIG_SCSI_TGT is not set
CONFIG_SCSI_NETLINK=y
# CONFIG_SCSI_PROC_FS is not set
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
# SCSI Transports
CONFIG_SCSI_SPI_ATTRS=y
CONFIG_SCSI_FC_ATTRS=y
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# SCSI low-level drivers
# CONFIG_ISCSI_TCP is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
CONFIG_SCSI_AIC7XXX=y
# CONFIG_SCSI_AIC7XXX_OLD is not set
CONFIG_SCSI_AIC79XX=y
# CONFIG_SCSI_AIC94XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_STEX is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC 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_SCSI_SRP is not set
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
Is it ok, or should I select something else?
 
Old 07-11-2007, 11:44 AM   #4
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Hd8

Still looking through mine... had to change puters .

try ls -l /dev/usb* and /dev/sda*

Seeing if udev is picking it up or a system config problem.

EDIT: is this a card reader or a camera with usb connection?

Last edited by Hern_28; 07-11-2007 at 12:05 PM.
 
Old 07-11-2007, 12:29 PM   #5
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
It's a camera connected to the usb port with the cable it came with.

Code:
$ls -l /dev/usb*
crw-rw---- 1 root root 189,   0 2007-07-11 20:56 /dev/usbdev1.1
crw-rw---- 1 root root 254,   0 2007-07-11 20:56 /dev/usbdev1.1_ep00
crw-rw---- 1 root root 254,   1 2007-07-11 20:56 /dev/usbdev1.1_ep81
crw-rw---- 1 root root 189, 128 2007-07-11 20:56 /dev/usbdev2.1
crw-rw---- 1 root root 254,   2 2007-07-11 20:56 /dev/usbdev2.1_ep00
crw-rw---- 1 root root 254,   3 2007-07-11 20:56 /dev/usbdev2.1_ep81
crw-rw---- 1 root root 189, 129 2007-07-11 20:56 /dev/usbdev2.2
crw-rw---- 1 root root 254,  10 2007-07-11 20:56 /dev/usbdev2.2_ep00
crw-rw---- 1 root root 254,  12 2007-07-11 20:56 /dev/usbdev2.2_ep02
crw-rw---- 1 root root 254,  14 2007-07-11 20:56 /dev/usbdev2.2_ep04
crw-rw---- 1 root root 254,  16 2007-07-11 20:56 /dev/usbdev2.2_ep06
crw-rw---- 1 root root 254,  11 2007-07-11 20:56 /dev/usbdev2.2_ep81
crw-rw---- 1 root root 254,  13 2007-07-11 20:56 /dev/usbdev2.2_ep83
crw-rw---- 1 root root 254,  15 2007-07-11 20:56 /dev/usbdev2.2_ep85
crw-rw---- 1 root root 189, 256 2007-07-11 20:56 /dev/usbdev3.1
crw-rw---- 1 root root 254,   4 2007-07-11 20:56 /dev/usbdev3.1_ep00
crw-rw---- 1 root root 254,   5 2007-07-11 20:56 /dev/usbdev3.1_ep81
crw-rw---- 1 root root 189, 257 2007-07-11 20:56 /dev/usbdev3.2
crw-rw---- 1 root root 254,  17 2007-07-11 20:56 /dev/usbdev3.2_ep00
crw-rw---- 1 root root 254,  18 2007-07-11 20:56 /dev/usbdev3.2_ep01
crw-rw---- 1 root root 254,  19 2007-07-11 20:56 /dev/usbdev3.2_ep82
crw-rw---- 1 root root 189, 259 2007-07-11 19:26 /dev/usbdev3.4
crw-rw---- 1 root root 254,  20 2007-07-11 19:26 /dev/usbdev3.4_ep00
crw-rw---- 1 root root 254,  22 2007-07-11 19:26 /dev/usbdev3.4_ep04
crw-rw---- 1 root root 254,  21 2007-07-11 19:26 /dev/usbdev3.4_ep83
crw-rw---- 1 root root 254,  23 2007-07-11 19:26 /dev/usbdev3.4_ep85
crw-rw---- 1 root root 189, 384 2007-07-11 20:56 /dev/usbdev4.1
crw-rw---- 1 root root 254,   6 2007-07-11 20:56 /dev/usbdev4.1_ep00
crw-rw---- 1 root root 254,   7 2007-07-11 20:56 /dev/usbdev4.1_ep81
crw-rw---- 1 root root 189, 512 2007-07-11 20:56 /dev/usbdev5.1
crw-rw---- 1 root root 254,   8 2007-07-11 20:56 /dev/usbdev5.1_ep00
crw-rw---- 1 root root 254,   9 2007-07-11 20:56 /dev/usbdev5.1_ep81
lrwxrwxrwx 1 root root        7 2007-07-11 20:56 /dev/usblp0 -> usb/lp0

/dev/usb:
total 0
crw-rw-r-- 1 root lp 180, 0 2007-07-11 20:56 lp0
Code:
$ls -l /dev/sda*
/bin/ls: /dev/sda*: No such file or directory
I get a command not found at udev...

I'll reboot into suse and see what's it like in there, and maybe I can get some more clues as to what isn't working properly, and post back after that
 
Old 07-11-2007, 12:46 PM   #6
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
ok... so there's no /dev/something there either... But something called kfmclient pops up and offers to open a window with camera:
There is nothing relevant mounted...
And another interesting thing... In kde's Control Center under Suse I have a section called "digital camera", but not under Slackware...

Is there a program I should install that Suse has and Slackware doesn't? What is kfmclient?
 
Old 07-11-2007, 12:52 PM   #7
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Try the kfmclient when it opens.

Its a profile in konquerer if I understand correctly. Will look at my slackware system, once I get it back up lol and mount my camera again so I can remember how I did it.

EDIT: as far as the camera app, might google it and see if you can get the source.

Last edited by Hern_28; 07-11-2007 at 02:43 PM.
 
Old 07-12-2007, 01:25 AM   #8
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Kodak cameras do not appear as disks to the operating system, and therefore cannot be mounted as such.


I spent hours getting mine to work under Slackware 11 before I figured this out..... there is a special software needed to read the camera under Linux. I would love to get mine working under slack 12 and walk you threw it at the same time, but I just realized that I have no idea where my cameras cable is :-/


A quick Google search tells me that gphoto2 (2.1.6) is the package needed to make this thing work.... I think I got it and its dependencies on linuxpackages.net last time... but that was before Christmas and I honestly don't remember. If you Google or search here specifically for Kodak camera Linux you should find more info.


Also, if you take the memory card out of the camera, and stick it in a card reader, you CAN mount it as a drive like you are trying to. Honestly, thats why I didn't bother setting up the software to read the camera, because I have a card reader in both my laptop and my desktop, so i guess loosing my cable isn't a big deal (although it still annoys me)



Let me know how you make out.... If you cant get it working Ill try harder to find my cable, and then write a walk threw since I'm betting this is probably confusing other people too.
 
Old 07-26-2007, 05:17 AM   #9
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Thanks both of you for your replies.

Sorry for me not posting earlier, but I had about a dozen exams I had to take. Admittane in a good university is really a pain in my country...

Anyway, regarding the camera, I tried gphoto2, but it doesn't seem to detect the camera.

Code:
gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------
I wish I had a card reader, it would all be so much simpler.... Perhaps I'll buy one when I can afford it...

So... what should I do now?
 
  


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
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 01:52 AM
missing /dev/sda* device files monkeyman2000 Ubuntu 11 09-11-2006 08:32 PM
missing /dev/sda[6-8] files, use mknod? FC5 worzel68 Linux - Hardware 0 09-11-2006 06:13 AM
USB-Storage Camera recognized but no /dev/sda nwhite Linux - Hardware 12 04-23-2005 08:33 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 04:56 PM


All times are GMT -5. The time now is 12:11 AM.

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