Device not assigned to digital camera


linux-a7xq:/home/daweed66 # hwinfo --block --short
disk:                                                           
  /dev/sda             IC25N020ATMR04-0
  /dev/sdb             Kingston DataTraveler 2.0
                       Samsung Digital Camera
partition:
  /dev/sda1            Partition
  /dev/sda2            Partition
  /dev/sda3            Partition
  /dev/sdb1            Partition

So, I’m using Samsung ES55 digital camera. As you can see in the above , Kingston flash memory is assigned with /dev/sdb disk (system disk is offcourse sda). My openSUSE 11.2 see’s the camera , but the device can’t be assigned to it. With opensuse 11.0 I did not have this problem, and camera was mounted normaly as any other external device via USB. Please help!

Does digikam find it?

I have the same problem(in 11.2 32-bit) and no solution. Digicam doesn’t find it either:

/dev/sr0 HL-DT-ST DVDRAM GSA-H10N
/dev/sr1 HL-DT-ST DVD-ROM GDR8160B
unknown:
Sony DSC-S30/S70/S75/F505V/F505/FD92 Cybershot/Mavica Digital Camera

With “Device not assigned to digital camera” do you mean that /dev/sdb1 is not mounted?
Then please show that with:

mount

And when it is not mounted, did you try to mount it yourself?

su -
passwd:
mkdir /mnt/cameratest
mount /dev/sdb1 /mnt/cameratest

so tha we can see any error messages that may show.

Device /dev/sdb1 is mounted. It is the usb flash memory (another device). Digital camera is attached, but it’s not visible as a device. Digikam could not help me (problems with starting program), also F-spot was useless, when I tried to import photos from “USB PTP camera”, it displayed unspecified error.

19.651596] scsi 2:0:0:0: Direct-Access Samsung Digital Camera PQ: 0 ANSI: 0 CCS
19.651876] sd 2:0:0:0: Attached scsi generic sg2 type 0
19.652347] usb-storage: device scan complete
19.656206] sd 2:0:0:0: [sdc] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
19.656820] sd 2:0:0:0: [sdc] Write Protect is off
19.656830] sd 2:0:0:0: [sdc] Mode Sense: 00 06 00 00
19.656835] sd 2:0:0:0: [sdc] Assuming drive cache: write through
19.659689] sd 2:0:0:0: [sdc] Assuming drive cache: write through
19.659703] sdc: sdc1
19.666822] sd 2:0:0:0: [sdc] Assuming drive cache: write through
19.666837] sd 2:0:0:0: [sdc] Attached SCSI removable disk

… so the system see’s it, it even reads the size of SD card in it , but it can’t mount camera.

Sorry, I think I am not qualified here. I do not even understand what “mounting a camera” is. I only know of mounting mass storage devices. Must be a different aspect of Linux with its own lingo.

Can you not sort this digikam problem? There should not be a problem there … sometimes where there is smoke there is fire …

Your digikam problem makes me suspicious of your repositories. What is the output of:

zypper lr -d

with your digital camera NOT plugged in, type:

su -c 'fdisk -l'

and enter root password when prompted.

and then plug in your digital camera and again type:

su -c 'fdisk -l'

and enter root password when prompted.

And compare the two, and then post here the difference (or if no difference advise).


zypper lr -d
#  | Alias                   | Name                    | Enabled | Refresh | Priority | Type   | URI                                                                                | Service
---+-------------------------+-------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------+--------
1  | Education               | Education               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_11.2/                 |        
2  | Emulators:Wine          | Emulators:Wine          | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.2/           |        
3  | Libdvdcss repository    | Libdvdcss repository    | Yes     | Yes     |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/11.2/                                    |        
4  | Packman Repository      | Packman Repository      | Yes     | Yes     |   99     | rpm-md | http://ftp.skynet.be/pub/packman/suse/11.2/                                        |        
5  | devel:languages:perl    | devel:languages:perl    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.2/    |        
6  | editors                 | editors                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/editors/openSUSE_11.2/                   |        
7  | google-chrome           | google-chrome           | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/rpm/stable/i386                                         |        
8  | home:airties:developer  | home:airties:developer  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/airties:/developer/openSUSE_11.2/  |        
9  | home:computersalat      | home:computersalat      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/computersalat/openSUSE_11.2/       |        
10 | multimedia:apps         | multimedia:apps         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_11.2/          |        
11 | multimedia:libs         | multimedia:libs         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_11.2/          |        
12 | openSUSE:11.2:Contrib   | openSUSE:11.2:Contrib   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.2:/Contrib/standard/        |        
13 | openSUSE:11.2:Update    | openSUSE:11.2:Update    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.2/                                          |        
14 | repo-debug              | openSUSE-11.2-Debug     | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.2/repo/oss/                     |        
15 | repo-non-oss            | openSUSE-11.2-Non-Oss   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/non-oss/                       |        
16 | repo-oss                | openSUSE-11.2-Oss       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/                           |        
17 | repo-source             | openSUSE-11.2-Source    | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.2/repo/oss/                    |        
18 | repo-update             | openSUSE-11.2-Update    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.2/                                          |        
19 | server:php:applications | server:php:applications | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/php:/applications/openSUSE_11.2/ |        


It’s the same output with plugged and unplugged camera, only the system partitions are visible:


linux-a7xq:/home/daweed66 # su -c 'fdisk -l'

Disk /dev/sda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbc5dbc5d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         144     1156648+  82  Linux swap / Solaris
/dev/sda2   *         145        1090     7598745   83  Linux
/dev/sda3            1091        2432    10779615   83  Linux


Thank you for your replies.

Well, I think the above explains the cause of your digikam problems. You have too many repositories. I recommend users stick with ONLY 4 and no more repositories. Those 4 are OSS, Non-OSS, Update and Packman. Just those 4. No others. Adding others can cause problems (such as digikam not running).

For all I know adding the others that you added is the reason your openSUSE can not see your camera.

If it were me, and someone gave me your PC, I would do a complete re-install of openSUSE and in future stick with the 4 repos I mentioned. If for some reason I could not do a complete re-install of openSUSE, then I would change to only the 4 repos I mentioned, and then I would roll back all software to the versions (and only the versions) on those 4 repositories.

My camera could not mount on a fresh install either. So, it ran on a openSUSE 11.0 which has 2x more repos in it’s list. I think that it has something to do with kernel… complicated.

I have the same results with or whitout camera (su -c ‘fdisk -l’).

Strange, -my wifes and daugther’s Samsung cameras work ok. :frowning: -and working flawless in 11.2.

My output:
su -c ‘fdisk -l’

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00013623

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
omitting empty partition (6)

Disk /dev/sdb: 300.1 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000db27c

Device Boot Start End Blocks Id System
/dev/sdb1 1 72967 586107396 f W95 Ext’d (LBA)
/dev/sdb5 10 271 2104515 82 Linux swap / Solaris

Disk /dev/sdc: 300.1 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001635a

Device Boot Start End Blocks Id System
/dev/sdc1 2 36483 293041665 fd Linux raid autodetect

Disk /dev/dm-0: 600.2 GB, 600181309440 bytes
255 heads, 63 sectors/track, 72967 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000db27c

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-0p1 1 72967 586107396 f W95 Ext’d (LBA)
/dev/dm-0p5 10 271 2104515 82 Linux swap / Solaris
/dev/dm-0p6 272 2882 20972826 83 Linux
/dev/dm-0p7 2883 72967 562957731 83 Linux
/dev/dm-0p8 1 9 72198 83 Linux

Partition table entries are not in disk order
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: invalid flag 0xa27a of partition table 6 will be corrected by w(rite)

Disk /dev/dm-1: 600.2 GB, 600173973504 bytes
255 heads, 63 sectors/track, 72966 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffffffff

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-1p1 9 271 2104515 82 Linux swap / Solaris
/dev/dm-1p2 271 2882 20972857+ 5 Extended
/dev/dm-1p5 272 2882 20972826 83 Linux
/dev/dm-1p6 ? 56734 241485 1484014500 f4 SpeedStor

Disk /dev/dm-2: 2155 MB, 2155023360 bytes
255 heads, 63 sectors/track, 262 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn’t contain a valid partition table

Disk /dev/dm-3: 21.5 GB, 21476173824 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn’t contain a valid partition table

Disk /dev/dm-4: 576.5 GB, 576468716544 bytes
255 heads, 63 sectors/track, 70084 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn’t contain a valid partition table

Disk /dev/dm-5: 73 MB, 73930752 bytes
255 heads, 63 sectors/track, 8 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-5 doesn’t contain a valid partition table

*** With my wifes Camera on the same computer:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00013623

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5099 40957686 7 HPFS/NTFS
omitting empty partition (6)

Disk /dev/sdb: 300.1 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000db27c

Device Boot Start End Blocks Id System
/dev/sdb1 1 72967 586107396 f W95 Ext’d (LBA)
/dev/sdb5 10 271 2104515 82 Linux swap / Solaris

Disk /dev/sdc: 300.1 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001635a

Device Boot Start End Blocks Id System
/dev/sdc1 2 36483 293041665 fd Linux raid autodetect

Disk /dev/dm-0: 600.2 GB, 600181309440 bytes
255 heads, 63 sectors/track, 72967 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000db27c

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-0p1 1 72967 586107396 f W95 Ext’d (LBA)
/dev/dm-0p5 10 271 2104515 82 Linux swap / Solaris
/dev/dm-0p6 272 2882 20972826 83 Linux
/dev/dm-0p7 2883 72967 562957731 83 Linux
/dev/dm-0p8 1 9 72198 83 Linux

Partition table entries are not in disk order
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: ignoring extra data in partition table 6
Warning: invalid flag 0xa27a of partition table 6 will be corrected by w(rite)

Disk /dev/dm-1: 600.2 GB, 600173973504 bytes
255 heads, 63 sectors/track, 72966 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffffffff

 Device Boot      Start         End      Blocks   Id  System

/dev/dm-1p1 9 271 2104515 82 Linux swap / Solaris
/dev/dm-1p2 271 2882 20972857+ 5 Extended
/dev/dm-1p5 272 2882 20972826 83 Linux
/dev/dm-1p6 ? 56734 241485 1484014500 f4 SpeedStor

Disk /dev/dm-2: 2155 MB, 2155023360 bytes
255 heads, 63 sectors/track, 262 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn’t contain a valid partition table

Disk /dev/dm-3: 21.5 GB, 21476173824 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn’t contain a valid partition table

Disk /dev/dm-4: 576.5 GB, 576468716544 bytes
255 heads, 63 sectors/track, 70084 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn’t contain a valid partition table

Disk /dev/dm-5: 73 MB, 73930752 bytes
255 heads, 63 sectors/track, 8 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-5 doesn’t contain a valid partition table

Disk /dev/sdg: 507 MB, 507379712 bytes
2 heads, 49 sectors/track, 10112 cylinders
Units = cylinders of 98 * 512 = 50176 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdg1 * 2 10112 495433+ 6 FAT16

Edit, -I have some learning to do(separate “code” windows in)… I can also see the change in above… :slight_smile:

Is /dev/sdg1 your wife’s camera? [has a 512MB SD card ? ]

there is an odd problem with usb devices, specifically , usb drives and how they mount. I have a similar issue on my system. The drive is there and there is a “path” to the drive, but it isnt really mounted until something actually accesses the drive. And I thing it needs to do this through the “path”.

anyway the solution might be to check the root directory of that drive in konquror or dolphin, or krusader.
open up one of these and navigate to the desired drive. and then run digikam and see if that works. If it does work, you will need to do this all the time for this drive, i’ve not had the time to sit down and poke at this problem with a sharp stick to resolve this issue.

I got my camera(Sony DSC-S600) working after changing the way the camera should “act” in USB-mode. This setting was in the camera. Yes, a lot of people seems to have access problems with USB latetly. This started maybe by the time of KDE4.3 or something, I dont remember.