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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-11-2007, 05:33 AM
|
#1
|
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Rep:
|
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.
|
|
|
|
07-11-2007, 09:54 AM
|
#2
|
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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.
|
|
|
|
07-11-2007, 10:08 AM
|
#3
|
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Original Poster
Rep:
|
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?
|
|
|
|
07-11-2007, 10:44 AM
|
#4
|
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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 11:05 AM.
|
|
|
|
07-11-2007, 11:29 AM
|
#5
|
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Original Poster
Rep:
|
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
|
|
|
|
07-11-2007, 11:46 AM
|
#6
|
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Original Poster
Rep:
|
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?
|
|
|
|
07-11-2007, 11:52 AM
|
#7
|
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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 01:43 PM.
|
|
|
|
07-12-2007, 12:25 AM
|
#8
|
|
Member
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503
Rep:
|
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.
|
|
|
|
07-26-2007, 04:17 AM
|
#9
|
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Original Poster
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|