Can't load camera as disk

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't load camera as disk

Michael Gerdau-3
Hi list,

I'm a happy camper with digikam. It works nicely together with my
Nikon D700. No complaints...well, almost ;)

Very rarely I need to directly access the flashdrive in my camera.
Last time I did that was with openSUSE 11.1. Back then I could mount
the camera as just an ordinary disk.

However these days with openSUSE 11.2 and digikam 1.0.0 on KDE 4.3.5
this is no longer possible. When I plug the camera into my computer it
is detected as "USB Imaging Interface" and all I can do is open it with
digikam. That is just fine most of the time.

However today I wish to do a firmware update of my camera and that
requires me to write the new firmware into the root dir of the flashdrive.


By searching various openSUSE forums I have learned others seem to have
a similar problem. Unfortunately there has been no solution or I have't
been able to find it.


Is this a problem with hal or is it a feature of digikam taking over
complete control of my camera ?

Can anybody shed some light here and enlighten me what happens. Even
more appreciated would be advice how I could copy the firmware into
the root of my flashdrive (and later remove it without formatting it).

And no, I don't own a cardreader (apart from the camera).

Best wishes,
Michael
--
 Michael Gerdau       email: [hidden email]
 GPG-keys available on request or at public keyserver

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't load camera as disk

Robert Zeller
Hi Michael,

I have a Nikon D200,  which should work - regarding USB connection to the PC - in the same way as your D700. I also run open SUSE 11.2 and digikam 1.1.0 on KDE 4.3.5.

I set the USB mode of my D200 NOT to PTP, but to Mass storage mode M instead; thus the PC accepts the camera as a disk, similar to an USB stick. Upon  recognition of the camera, KDE offers me two options: either download files by digikam or open the camera in the file browser. Choosing the file browser option, the camera is automatically mounted at /media/NIKON D200 ; and I can access the root directory of the compact flash card. Copying the firmware files into the root directory of the flash card should be no problem at this point.

On my system the camera is mounted as : /dev/sdj1 on /media/NIKON D200 type vfat (rw,nosuid,nodev,noatime,flush,uid=1001,utf8,shortname=lower)

Hope this helps,

Regards,

Robert


On 02/05/2010 08:38 PM, Michael Gerdau wrote:
Hi list,

I'm a happy camper with digikam. It works nicely together with my
Nikon D700. No complaints...well, almost ;)

Very rarely I need to directly access the flashdrive in my camera.
Last time I did that was with openSUSE 11.1. Back then I could mount
the camera as just an ordinary disk.

However these days with openSUSE 11.2 and digikam 1.0.0 on KDE 4.3.5
this is no longer possible. When I plug the camera into my computer it
is detected as "USB Imaging Interface" and all I can do is open it with
digikam. That is just fine most of the time.

However today I wish to do a firmware update of my camera and that
requires me to write the new firmware into the root dir of the flashdrive.


By searching various openSUSE forums I have learned others seem to have
a similar problem. Unfortunately there has been no solution or I have't
been able to find it.


Is this a problem with hal or is it a feature of digikam taking over
complete control of my camera ?

Can anybody shed some light here and enlighten me what happens. Even
more appreciated would be advice how I could copy the firmware into
the root of my flashdrive (and later remove it without formatting it).

And no, I don't own a cardreader (apart from the camera).

Best wishes,
Michael
  
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


--
Robert Zeller Address Attachment

Dr. Robert Zeller
Dipl.-Physiker
Bergstr. 2
D-82266 Inning a.A.
GERMANY

Tel: +49-8143-7282

Tel (Office): +49-8143-264499

Mobile: +49-176-5014-0019
Internet-Tel (VoIP): [hidden email]
Internet-Tel (VoIP): [hidden email]
Fax: +49-321-2124-6056
Skype: robertzeller-inning
Email: [hidden email]
Web: http://www.robert-zeller.org
Netscape Messenger: robertzeller
ICQ-Address: 60383972  nickname: roz99

"Ich halte dafür, dass alle Narrheit eigentlich auf zwei  Eigenschaften gepfropft sei, den Hochmut und den Geiz" Immanuel Kant (1764)
In a world without fences : Who needs Gates ?
"Preferible morir de pie antes que vivir arrodillado“ Ernesto Che Guevara



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't load camera as disk

Michael Gerdau-3
Thanks alot for answering,

> I have a Nikon D200,  which should work - regarding USB connection to
> the PC - in the same way as your D700. I also run open SUSE 11.2 and
> digikam 1.1.0 on KDE 4.3.5.

that sounds promising :)

> I set the USB mode of my D200 NOT to PTP, but to Mass storage mode M
> instead;

Where do you do that ? In the camera ?
If so I have yet to find a way to do that on the D700.

However I had no problem mounting it as a disk on 11.1. It simply appeared
as sd<some_letter> under /dev and fine. Currently it doesn't :(

> Choosing the file browser option, the camera is automatically mounted at
> /media/NIKON D200 ; and I can access the root directory of the compact
> flash card. Copying the firmware files into the root directory of the
> flash card should be no problem at this point.
>
> On my system the camera is mounted as : /dev/sdj1 on /media/NIKON D200
> type vfat (rw,nosuid,nodev,noatime,flush,uid=1001,utf8,shortname=lower)

Thanks again for that info. Unfortunately I don't even see the D700 under
/dev.

Having it mounted automatically would be fine but for the time being I'd
be happy to be able to mount it manually.

I have no idea where to start looking for a solution.

FWIW here is the putput of a couple of commands right after plugging in
the camera and then switching it on.

If anybody more knowledgeable than me could look at it and tell me what
I could or should investigate I'd be rather thankful.

I also had had a look at this thread:
http://forums.opensuse.org/hardware/426706-problem-usb-mass-storage-device-
not-mounting.html
Unfortunately that didn't help me either.


seneca:/dev # dmesg
[snip]
[87024.258162] usb 1-3: new high speed USB device using ehci_hcd and address
12
[87024.373064] usb 1-3: New USB device found, idVendor=04b0, idProduct=0422
[87024.373072] usb 1-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[87024.373078] usb 1-3: Product: NIKON DSC D700
[87024.373082] usb 1-3: Manufacturer: NIKON
[87024.373086] usb 1-3: SerialNumber: 000002051531
[87024.373298] usb 1-3: configuration #1 chosen from 1 choice


seneca:/dev # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 012: ID 04b0:0422 Nikon Corp. D700 (ptp)
Bus 001 Device 004: ID 1058:1100 Western Digital Technologies, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub
Bus 002 Device 003: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 002 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part
of BCM2046 Bluetooth)
Bus 002 Device 005: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Bus 002 Device 006: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 002 Device 007: ID 0a5c:4502 Broadcom Corp.
Bus 002 Device 008: ID 0a5c:4503 Broadcom Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


seneca:/dev # fdisk -l

Platte /dev/sda: 200.0 GByte, 200049647616 Byte
255 Köpfe, 63 Sektoren/Spuren, 24321 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x0004ef32

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1          34      273073+  82  Linux Swap / Solaris
/dev/sda2   *          35        3950    31455270   83  Linux
/dev/sda3            3951       24321   163630057+  83  Linux

Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spuren, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x44fdfe06

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1               1      121601   976760001   83  Linux

Platte /dev/dm-0: 1000.2 GByte, 1000201712640 Byte
255 Köpfe, 63 Sektoren/Spuren, 121600 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000

Festplatte /dev/dm-0 enthält keine gültige Partitionstabelle


seneca:/dev # cat /etc/fstab
/dev/disk/by-id/ata-Hitachi_HTS722020K9SA00_070724DP0400DTG2JL6A-part1  swap    
swap    defaults 0 0
/dev/disk/by-id/ata-Hitachi_HTS722020K9SA00_070724DP0400DTG2JL6A-part2  /      
ext4    acl,user_xattr 1 1
/dev/disk/by-id/ata-Hitachi_HTS722020K9SA00_070724DP0400DTG2JL6A-part3  
/home   ext4    acl,user_xattr 1 2
proc    /proc   proc    defaults 0 0
sysfs   /sys    sysfs   noauto 0 0
debugfs /sys/kernel/debug       debugfs noauto 0 0
usbfs   /proc/bus/usb   usbfs   auto 0 0
devpts  /dev/pts        devpts  mode=0620,gid=5 0 0


seneca:/dev # df -Th
Dateisystem   Typ    Größe Benut  Verf Ben% Eingehängt auf
/dev/sda2     ext4     30G   20G  8,5G  70% /
udev         tmpfs    1,6G  460K  1,6G   1% /dev
/dev/sda3     ext4    154G  137G  9,5G  94% /home
/dev/dm-0      xfs    932G  594G  338G  64% /media/disk


seneca:/dev # cd /proc/bus/usb
seneca:/proc/bus/usb # ls -l
insgesamt 0


Best wishes,
Michael
--
 Michael Gerdau       email: [hidden email]
 GPG-keys available on request or at public keyserver

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't load camera as disk

Robert Zeller
On 02/06/2010 08:38 PM, Michael Gerdau wrote:
Thanks alot for answering,

  
I have a Nikon D200,  which should work - regarding USB connection to
the PC - in the same way as your D700. I also run open SUSE 11.2 and
digikam 1.1.0 on KDE 4.3.5.
    
that sounds promising :)

  
I set the USB mode of my D200 NOT to PTP, but to Mass storage mode M
instead;
    
Where do you do that ? In the camera ?
If so I have yet to find a way to do that on the D700.
  
On the D200 you hit the menu button; then go to the System menu; within the System menu go to  USB ; inside USB you have two options :  M for mass storage ; P for PTP ; set USB to M ! Sorry I don't have a D700, but I am almost sure you will have also the choice between PTP and M mode in the USB settings.
However I had no problem mounting it as a disk on 11.1. It simply appeared
as sd<some_letter> under /dev and fine. Currently it doesn't :(
  
It looks like something has been changed between SuSE 11.1 and 11.2, regarding usb devices.  In 11.1 I was able to download images from my camera by digikam using the PTP mode. This doesn't work any more in 11.2 for a reason that I don't understand. But downloading is possible in M mode. In this case you don't find the camera in the digikam  "Import -> cameras" menu, but in the "Import-> usb-devices" button.
  
Choosing the file browser option, the camera is automatically mounted at
/media/NIKON D200 ; and I can access the root directory of the compact
flash card. Copying the firmware files into the root directory of the
flash card should be no problem at this point.

On my system the camera is mounted as : /dev/sdj1 on /media/NIKON D200
type vfat (rw,nosuid,nodev,noatime,flush,uid=1001,utf8,shortname=lower)
    
Thanks again for that info. Unfortunately I don't even see the D700 under
/dev.
  
you will not see the D700 as a device when it is set to PTP mode; I checked that with my D200  and found no /dev/something for the camera when it was set to PTP.
Having it mounted automatically would be fine but for the time being I'd
be happy to be able to mount it manually.
  
when set to M mode, kde will probably mount it automatically. The kde device notifier will probably offer you to open it by the Dolphin file manager and then mount it. At least in my case it works this way.
I have no idea where to start looking for a solution.

FWIW here is the putput of a couple of commands right after plugging in
the camera and then switching it on.

If anybody more knowledgeable than me could look at it and tell me what
I could or should investigate I'd be rather thankful.

I also had had a look at this thread:
http://forums.opensuse.org/hardware/426706-problem-usb-mass-storage-device-
not-mounting.html
Unfortunately that didn't help me either.


seneca:/dev # dmesg
[snip]
[87024.258162] usb 1-3: new high speed USB device using ehci_hcd and address 
12
[87024.373064] usb 1-3: New USB device found, idVendor=04b0, idProduct=0422
[87024.373072] usb 1-3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[87024.373078] usb 1-3: Product: NIKON DSC D700
[87024.373082] usb 1-3: Manufacturer: NIKON
[87024.373086] usb 1-3: SerialNumber: 000002051531
[87024.373298] usb 1-3: configuration #1 chosen from 1 choice


seneca:/dev # lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 012: ID 04b0:0422 Nikon Corp. D700 (ptp)
Bus 001 Device 004: ID 1058:1100 Western Digital Technologies, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub
Bus 002 Device 003: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 002 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part 
of BCM2046 Bluetooth)
Bus 002 Device 005: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader
Bus 002 Device 006: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 002 Device 007: ID 0a5c:4502 Broadcom Corp.
Bus 002 Device 008: ID 0a5c:4503 Broadcom Corp.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


seneca:/dev # fdisk -l

Platte /dev/sda: 200.0 GByte, 200049647616 Byte
255 Köpfe, 63 Sektoren/Spuren, 24321 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x0004ef32

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1          34      273073+  82  Linux Swap / Solaris
/dev/sda2   *          35        3950    31455270   83  Linux
/dev/sda3            3951       24321   163630057+  83  Linux

Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spuren, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x44fdfe06

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1               1      121601   976760001   83  Linux

Platte /dev/dm-0: 1000.2 GByte, 1000201712640 Byte
255 Köpfe, 63 Sektoren/Spuren, 121600 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00000000

Festplatte /dev/dm-0 enthält keine gültige Partitionstabelle


seneca:/dev # cat /etc/fstab
/dev/disk/by-id/ata-Hitachi_HTS722020K9SA00_070724DP0400DTG2JL6A-part1  swap    
swap    defaults 0 0
/dev/disk/by-id/ata-Hitachi_HTS722020K9SA00_070724DP0400DTG2JL6A-part2  /       
ext4    acl,user_xattr 1 1
/dev/disk/by-id/ata-Hitachi_HTS722020K9SA00_070724DP0400DTG2JL6A-part3  
/home   ext4    acl,user_xattr 1 2
proc    /proc   proc    defaults 0 0
sysfs   /sys    sysfs   noauto 0 0
debugfs /sys/kernel/debug       debugfs noauto 0 0
usbfs   /proc/bus/usb   usbfs   auto 0 0
devpts  /dev/pts        devpts  mode=0620,gid=5 0 0


seneca:/dev # df -Th
Dateisystem   Typ    Größe Benut  Verf Ben% Eingehängt auf
/dev/sda2     ext4     30G   20G  8,5G  70% /
udev         tmpfs    1,6G  460K  1,6G   1% /dev
/dev/sda3     ext4    154G  137G  9,5G  94% /home
/dev/dm-0      xfs    932G  594G  338G  64% /media/disk


seneca:/dev # cd /proc/bus/usb
seneca:/proc/bus/usb # ls -l
insgesamt 0


Best wishes,
Michael
  
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


--
Robert Zeller Address Attachment

Dr. Robert Zeller
Dipl.-Physiker
Bergstr. 2
D-82266 Inning a.A.
GERMANY

Tel: +49-8143-7282

Tel (Office): +49-8143-264499

Mobile: +49-176-5014-0019
Internet-Tel (VoIP): [hidden email]
Internet-Tel (VoIP): [hidden email]
Fax: +49-321-2124-6056
Skype: robertzeller-inning
Email: [hidden email]
Web: http://www.robert-zeller.org
Netscape Messenger: robertzeller
ICQ-Address: 60383972  nickname: roz99

"Ich halte dafür, dass alle Narrheit eigentlich auf zwei  Eigenschaften gepfropft sei, den Hochmut und den Geiz" Immanuel Kant (1764)
In a world without fences : Who needs Gates ?
"Preferible morir de pie antes que vivir arrodillado“ Ernesto Che Guevara



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't load camera as disk - final summary

Michael Gerdau-3
Hi list,

a few days ago I asked for advice as to how I could directly access the
CF card in my Nikon D700 which used to work with openSUSE 11.1 and no
longer works with openSUSE 11.2.

While my problem couldn't be solved the information provided by Robert
Zeller ultimately helped me to search for the proper keywords to get
the picture.

For those interested and with similar problems, here is a summary.

It seems the openSUSE USB handling has improved between 11.1 and 11.2
in that with 11.2 they have special treatment for PTP devices which
openSUSE lacked in 11.1 (back then all such devives would open as disks).

This is no problem with cameras like the Nikon D200 whose USB interface
can be switsched between PTP and mass storage. However the Nikon D700
does not have such a switch. In a Nikon forum I found the claim that all
professional Nikon cameras don't have such a switch. There two posters
claimed that a Nikon serviceperson had written them this switch set
wrongly had triggered too many service requests so Nikon decided it
is not needed. Well...


At this point in time there seems no option other than using a cardreader
which worked nicely in my case (D700 firmware is now updated).

For the future one may hope that openSUSE will present the option to
treat a PTP device like a mass storage device upon user request. In
an openSUSE forum I found a poster claiming he'd written a bugreport
to that end. I didn't investigate that any further though.

Hope this helps others with similar problem, best wishes,
Michael
--
 Michael Gerdau       email: [hidden email]
 GPG-keys available on request or at public keyserver

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Can't load camera as disk - final summary

Robert Zeller
Michael,

thanks for this very interesting information. Since I am waiting for the successor to the D300s as a replacement for my D200, I think we Nikon users should try to exert some pressure upon Nikon such that they again implement the mass storage feature along with the PTP option in the camera firmware! Nonetheless I believe that the real problem lies in the SuSE 11.2 implementation of handling PTP usb devices. Not only digikam is effected by the Suse flaw: I used to use gtkam to directly control my D200 from the PC, and that doesn't work either since 11.2 because it relies on PTP.

Robert

On 02/10/2010 09:14 AM, Michael Gerdau wrote:
Hi list,

a few days ago I asked for advice as to how I could directly access the
CF card in my Nikon D700 which used to work with openSUSE 11.1 and no
longer works with openSUSE 11.2.

While my problem couldn't be solved the information provided by Robert
Zeller ultimately helped me to search for the proper keywords to get
the picture.

For those interested and with similar problems, here is a summary.

It seems the openSUSE USB handling has improved between 11.1 and 11.2
in that with 11.2 they have special treatment for PTP devices which
openSUSE lacked in 11.1 (back then all such devives would open as disks).

This is no problem with cameras like the Nikon D200 whose USB interface
can be switsched between PTP and mass storage. However the Nikon D700
does not have such a switch. In a Nikon forum I found the claim that all
professional Nikon cameras don't have such a switch. There two posters
claimed that a Nikon serviceperson had written them this switch set
wrongly had triggered too many service requests so Nikon decided it
is not needed. Well...


At this point in time there seems no option other than using a cardreader
which worked nicely in my case (D700 firmware is now updated).

For the future one may hope that openSUSE will present the option to
treat a PTP device like a mass storage device upon user request. In
an openSUSE forum I found a poster claiming he'd written a bugreport
to that end. I didn't investigate that any further though.

Hope this helps others with similar problem, best wishes,
Michael
  
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users


--
Robert Zeller Address Attachment




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users