From owner-freebsd-questions@freebsd.org Sat May 2 05:04:48 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7993F2C1873 for ; Sat, 2 May 2020 05:04:48 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49DcVl2Ld2z3D2n for ; Sat, 2 May 2020 05:04:46 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 04254jDL083976; Fri, 1 May 2020 23:04:45 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: Mounting SD-card in my camera To: Chris Hill Cc: freebsd-questions@freebsd.org References: <90587ad3-0da9-139d-2192-c2f85fd03453@dreamchaser.org> From: Gary Aitken Message-ID: <4521fa81-a767-6dbd-564d-5fb9688b8dfa@dreamchaser.org> Date: Fri, 1 May 2020 23:03:29 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 01 May 2020 23:04:45 -0600 (MDT) X-Rspamd-Queue-Id: 49DcVl2Ld2z3D2n X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.60 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.30)[ip: (-8.66), ipnet: 66.109.128.0/19(-4.33), asn: 21947(-3.47), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2020 05:04:48 -0000 On 5/1/20 5:07 PM, Chris Hill wrote: > On Fri, 1 May 2020, Gary Aitken wrote: >> On 5/1/20 4:23 AM, Morten Bo Johansen via freebsd-questions wrote: > [snip] >>> I just wonder why it does not work with my camera. It works with >>> no problem in Linux. >> >> Cards <= 32 are formatted with FAT, those greater get ExFAT and >> must be mounted using fuse. > > Maybe so for Morten's camera, but it's not universally true. I have > put FAT32 and ufs filesystems on SD cards larger than 32G. > > I believe "modern" digital cameras are designed to use PTP, which > means using something along the lines of gphoto. It could be that > Morten's Linux distribution comes with a PTP client. I can't speak to universality, or modern. My Olympus EM1-MkII creates exFat for cards >32G, and won't use a card with a FAT32 > 32G. Windows generally won't format a >32G card with FAT32, and uses exFAT for that; maybe because of the FAT32 4G limit on file size. I think I saw something about it is *possible* to do a big FAT32 format on windows but it requires something other than the default; the default only gives a choice of exFAT or NTFS. In my (limited) experience the whole thing is quite a can of worms. My experience is that to be safe one probably wants something compatible with what win10 does. As others have pointed out in other threads, it's probably best to format a camera card in the camera. Assuming the camera formats cards >32G with exFAT, one would need to use fusefs.exfat to mount them on fbsd; or at least that was my takeaway after a lot of struggling. Thanks for the PTP reference. It's unclear to me how to get gphoto2 to work, even though the cameras page says it supports my camera. When plugged into a USB port and turned on, the camera shows options of: Storage, MTP, PC RAW, , Print, PCM Recorder, Exit I tried Storage, MTP, PC RAW, and each with "gphoto2 --auto-detect" and gphoto2 never found it. Will try to get something from the gphoto mailing list. Gary