From owner-freebsd-questions@FreeBSD.ORG Fri Nov 7 16:46:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D0F0119B for ; Fri, 7 Nov 2014 16:46:42 +0000 (UTC) Received: from bmail.freibergnet.de (bmail.freibergnet.de [46.4.195.14]) by mx1.freebsd.org (Postfix) with ESMTP id 907D0DDB for ; Fri, 7 Nov 2014 16:46:42 +0000 (UTC) Received: from bmail.freibergnet.de (bmail.freibergnet.de [46.4.195.14]) by bmail.freibergnet.de (Postfix) with ESMTP id D811E929B058 for ; Fri, 7 Nov 2014 17:39:27 +0100 (CET) X-Virus-Scanned: amavisd-new at freibergnet.de Received: from bmail.freibergnet.de ([46.4.195.14]) by bmail.freibergnet.de (bmail.freibergnet.de [46.4.195.14]) (amavisd-new, port 10024) with LMTP id 2JCTKlNkkX8T for ; Fri, 7 Nov 2014 17:39:26 +0100 (CET) Received: from beast.freibergnet.de (bmail.freibergnet.de [46.4.195.14]) by bmail.freibergnet.de (Postfix) with ESMTP id 203D6929B04D for ; Fri, 7 Nov 2014 17:39:26 +0100 (CET) Received: by beast.freibergnet.de (Postfix, from userid 201) id 14C4F4B7828; Fri, 7 Nov 2014 17:39:26 +0100 (CET) Date: Fri, 7 Nov 2014 17:39:26 +0100 From: Holm Tiffe To: freebsd-questions@freebsd.org Subject: PCCARD w/o dev id .. Message-ID: <20141107163926.GA2931@beast.freibergnet.de> Reply-To: holm@freibergnet.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 16:46:42 -0000 Hi, I have something that appears to be a battery buffered SRAM card with the pccard connector, but it isn't a "real" pccard at all. The card contained the firmware of a density measuring device until the dvice was disconnected from the power long time afer the battery died. Changing the battery is no problem, but I need to read another card and put the firmware data on the currently empty one. Luckily the cards have a small switch to set the R/O. I have an ol Toshiba Sattelite with 9.1-Release on it. I've set hw.cbb.debug to 1 und when I insert the card I get this: I've set the hw.cbb.start_memory to 0xd0000000 too, bu this makes no difference at all. # sysctl hw.cbb hw.cbb.debug: 1 hw.cbb.start_32_io: 4096 hw.cbb.start_16_io: 256 hw.cbb.start_memory: 3489660928 Nov 7 17:32:31 toshi kernel: Status is 0x30000410 Nov 7 17:32:31 toshi kernel: cbb0: card inserted: event=0x00000000, state=30000410 Nov 7 17:32:31 toshi kernel: cbb_pcic_socket_enable: Nov 7 17:32:31 toshi kernel: cbb0: cbb_power: 5V Nov 7 17:32:31 toshi kernel: pccard0: Card has no functions! Nov 7 17:32:31 toshi kernel: cbb0: PC Card card activation failed The question is now how I can map the card memory to somewhere to access the data and make a copy of the firmware? Please put me on the Cc, I'm not subscribed to this list. Kind Regards, Holm -- Technik Service u. Handel Tiffe, www.tsht.de, Holm Tiffe, Freiberger Straße 42, 09600 Oberschöna, USt-Id: DE253710583 www.tsht.de, info@tsht.de, Fax +49 3731 74200, Mobil: 0172 8790 741