1 |
darren kirby wrote: |
2 |
> Hello all, |
3 |
> |
4 |
> Trying for the first time to download images from a new Nikon D40 camera. |
5 |
> libgphoto2 lists the camera as supported in PTP mode. I have tried using PTP |
6 |
> mode with digikam (hooking up the camera directly), and also simply trying to |
7 |
> mount the memory card using a card reader. Both methods fail. |
8 |
> |
9 |
> The card is recognized: |
10 |
> |
11 |
> usb 1-5: new high speed USB device using ehci_hcd and address 2 |
12 |
> usb 1-5: configuration #1 chosen from 1 choice |
13 |
> scsi6 : SCSI emulation for USB Mass Storage devices |
14 |
> usb-storage: device found at 2 |
15 |
> usb-storage: waiting for device to settle before scanning |
16 |
> scsi 6:0:0:0: Direct-Access Generic STORAGE DEVICE 0001 PQ: 0 ANSI: 0 |
17 |
> sd 6:0:0:0: [sdc] Attached SCSI removable disk |
18 |
> sd 6:0:0:0: Attached scsi generic sg3 type 0 |
19 |
> usb-storage: device scan complete |
20 |
> sd 6:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB) |
21 |
> sd 6:0:0:0: [sdc] Write Protect is off |
22 |
> sd 6:0:0:0: [sdc] Mode Sense: 02 00 00 00 |
23 |
> sd 6:0:0:0: [sdc] Assuming drive cache: write through |
24 |
> sd 6:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB) |
25 |
> sd 6:0:0:0: [sdc] Write Protect is off |
26 |
> sd 6:0:0:0: [sdc] Mode Sense: 02 00 00 00 |
27 |
> sd 6:0:0:0: [sdc] Assuming drive cache: write through |
28 |
> sdc: sdc1 |
29 |
> |
30 |
> |
31 |
usb 1-4: new high speed USB device using ehci_hcd and address 8 |
32 |
usb 1-4: configuration #1 chosen from 1 choice |
33 |
scsi7 : SCSI emulation for USB Mass Storage devices |
34 |
usb-storage: device found at 8 |
35 |
usb-storage: waiting for device to settle before scanning |
36 |
scsi 7:0:0:0: Direct-Access NIKON D40 1.10 PQ: 0 ANSI: 2 |
37 |
sd 7:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB) |
38 |
sd 7:0:0:0: [sdc] Write Protect is off |
39 |
sd 7:0:0:0: [sdc] Mode Sense: 0f 00 00 00 |
40 |
sd 7:0:0:0: [sdc] Assuming drive cache: write through |
41 |
sd 7:0:0:0: [sdc] 3970048 512-byte hardware sectors (2033 MB) |
42 |
sd 7:0:0:0: [sdc] Write Protect is off |
43 |
sd 7:0:0:0: [sdc] Mode Sense: 0f 00 00 00 |
44 |
sd 7:0:0:0: [sdc] Assuming drive cache: write through |
45 |
sdc: sdc1 |
46 |
sd 7:0:0:0: [sdc] Attached SCSI removable disk |
47 |
sd 7:0:0:0: Attached scsi generic sg2 type 0 |
48 |
usb-storage: device scan complete |
49 |
> Attempts in PTP mode fail with digikam reporting "Failed to connect to the |
50 |
> camera. Please make sure it is connected properly and turned on". The camera |
51 |
> itself reports that it is connected to the computer properly. When directly |
52 |
> mounting I get: |
53 |
> |
54 |
> |
55 |
> # mount -t vfat /dev/sdc1 /mnt/camera |
56 |
> mount: wrong fs type, bad option, bad superblock on /dev/sdc1, |
57 |
> missing codepage or helper program, or other error |
58 |
> In some cases useful info is found in syslog - try |
59 |
> dmesg | tail or so |
60 |
> |
61 |
Works on my D40. I haven't tried with digikam though, as I prefer to use |
62 |
direct file access. I assume that if mounting the card works, PTP should |
63 |
as well. |
64 |
> I have these lines in my dmesg whenever I try to mount it, or use PTP mode: |
65 |
> |
66 |
> Unable to load NLS charset cp437 |
67 |
> FAT: codepage cp437 not found |
68 |
> |
69 |
> In my kernel config I have this: |
70 |
> |
71 |
> (437) Default codepage for FAT |
72 |
> |
73 |
> So, is there something else I need to get this codepage? The camera appears to |
74 |
> be detected just fine, and the issue seems to be directly related to mounting |
75 |
> the vfat filesystem and this missing codepage... |
76 |
> |
77 |
> Just to note: It is a stable amd64 Gentoo system, and I do have vfat module |
78 |
> loaded when I attempt to mount. |
79 |
> |
80 |
I am on the same arch and have the module fat and vfat loaded. Kernel |
81 |
version 2.6.23-gentoo-r6. |
82 |
> Any other ideas? |
83 |
> |
84 |
Use an SD card reader, pull your data off, then format the card again? |
85 |
|
86 |
If you'd like, I can post my kernel config and you can look for |
87 |
differences between them. |
88 |
> Thanks for consideration, |
89 |
> -d |
90 |
> |
91 |
-Hal |
92 |
-- |
93 |
gentoo-user@l.g.o mailing list |