From owner-freebsd-questions@freebsd.org Tue Jan 12 13:36:44 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCCC8A6D3CD for ; Tue, 12 Jan 2016 13:36:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4DE21A62 for ; Tue, 12 Jan 2016 13:36:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-101-208.dynamic.qsc.de [92.195.101.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 8E4162785F; Tue, 12 Jan 2016 14:36:41 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u0CDae1N007925; Tue, 12 Jan 2016 14:36:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 12 Jan 2016 14:36:40 +0100 From: Polytropon To: Manish Jain Cc: freebsd-questions@freebsd.org, kraduk@gmail.com Subject: Re: Is it possible to mount my microSD ? Message-Id: <20160112143640.1e6e1c68.freebsd@edvax.de> In-Reply-To: References: <20160112124503.2db376c9.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 13:36:44 -0000 On Tue, 12 Jan 2016 18:06:39 +0530, Manish Jain wrote: > I have been left looking a bit of a fool here. The first few times I > attached the card, the messages popped up in dmesg alright. But there > was no /dev/da0* device, and I was utterly confused. The confusion > became confounding when I just attached the card this last time, and > whoa ... the file manager pops up a prompt to open up the microSD disk > drive, and the /dev/da0[s1] devices are there, of course. Okay, so a file manager (which one?) with automount functionality is in the mix, too! Well, this makes things more complicated... :-) > I have no idea whether this is a problem with my FreeBSD system or a > problem with the mobile/card or no problem at all. It might as well be the file manager or the automount magic behind it which is not reacting properly to the appearing and disappearing of the device. > I have no idea too > what will be the results when I attach the card the next time. But I do > remember something which might be relevant. A couple of months back, I > attached the mobile+card to Windows XP a few times. 5-6 times the device > manager showed an unknown device, and the final time I attached it, the > drive in the card magically popped up. Maybe "Windows" needed to "repair" it? Perform a file system check just to be sure. Sometimes, this kind of "repair" results in corrupted file system structure or damaged files. > This gets besides the FreeBSD > issue but makes a nice story. I took the mobile to the authorized Nokia > dealer, and he said the microSD card is not supposed to show up at all > with the handset model I have. Yes, some devices actually do not support da (direct access) at all. They instead require a specific mechanism called MTP (media transfer protocol), which is comparable to PTP used by some digital cameras which don't have da capabilities as well. In this case, "mtp-tools" is a good way to start. Additionally, check all the relevant settings of the device which could be related to storage, networking, and so on. > I even verified this in front of me with > a brand new handset (same model) and brand new microSD card. As per him, > the error was not the 5-6 times device manager showed unknown device, > but the final time when the disk showed up. He further stated that the > mass storage device is supposed to work only when the Nokia connectivity > driver is installed. Is such a driver available for FreeBSD (or at least for Linux)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...