From owner-freebsd-current@FreeBSD.ORG Wed Nov 7 23:19:57 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC80416A41A for ; Wed, 7 Nov 2007 23:19:56 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 4E67F13C48A for ; Wed, 7 Nov 2007 23:19:56 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1880639nfb for ; Wed, 07 Nov 2007 15:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=96Mm08PtnUXsGwBueg9nTfninswxCsWipy95JgoOXv8=; b=YMqON9KoDiaLnIHtJSHQG2FE8NwVGS1wNnkOoXUy3yeG+6HPMc2VvjcSHJG8BY87yhFmYjWin7+roZrfXWJh09f+NzKScuLs6JAvTY+56tn1J/QshdBqjJQp4L+AJtEeNcGWKVdbb/a3EMzoEY4kzEvqhAfGBiiRoIVcq7PbVvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=GG0QDZBMTBXlsAjT4rGLImjXNLM+ZQVZ4xrRvftd+P9YqQEvnK6TlL2cSVmQQAi/LJultxMUenjNWAZMuk5JfwojKuw48+6jTeUT8XYyqfn8BOtz4efZhSdbXOfWH7gpf/KXB8LZogD7ayHiPFc7SaOALirXRZLl6pSaMXpR1R4= Received: by 10.82.160.19 with SMTP id i19mr16305105bue.1194477584723; Wed, 07 Nov 2007 15:19:44 -0800 (PST) Received: from 195-241-214-37.dsl.ip.tiscali.nl ( [195.241.214.37]) by mx.google.com with ESMTPS id 1sm9980884nfv.2007.11.07.15.19.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Nov 2007 15:19:43 -0800 (PST) Message-ID: <47324808.2090900@gmail.com> Date: Thu, 08 Nov 2007 00:19:36 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.6 (X11/20071031) MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <200711071056.13466.root@solink.ru> <47322A66.9050505@gmail.com> <1194474110.2904.23.camel@RabbitsDen> In-Reply-To: <1194474110.2904.23.camel@RabbitsDen> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Bachilo Dmitry , current@freebsd.org, mobile@freebsd.org Subject: Re: PCI Cardreader X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 23:19:57 -0000 Alexandre "Sunny" Kovalenko schreef: > On Wed, 2007-11-07 at 22:13 +0100, Rene Ladan wrote: >> Bachilo Dmitry schreef: >>> Hello all. >>> I always used USB cardreaders and had no problem with it, but now in my >>> notebook I have a cardreader, that appears to be onboard PCI device. And so >>> FreeBSD sees it as this: >>> pci6: at device 4.1 (no driver attached) >>> pci6: at device 4.2 (no driver attached) >>> pci6: at device 4.3 (no driver attached) >>> pci6: at device 4.4 (no driver attached) >>> >>> >>> That's even more odd because three are recognized as flash and one is not. >>> pciconf -lv shows this: >>> >>> none13@pci6:4:1: class=0x050100 card=0x009f1025 chip=0x05301524 >>> rev=0x01 hdr=0x00 >>> vendor = 'ENE Technology Inc' >>> device = 'PCI Memory Stick Card Reader Controller' >>> class = memory >>> subclass = flash >>> >>> Well, in 7.0-CURRENT it showed all four devices and now in BETA-2 only this >>> one. >>> >> On my 8.0-CURRENT box (20071105) it shows all four devices: >> >> cbb0@pci0:4:1:0: class=0x060700 card=0x14371043 chip=0x04761180 rev=0xb3 hdr=0x02 >> vendor = 'Ricoh Company, Ltd.' >> device = 'unknown Ricoh R/RL/5C476(II)' >> class = bridge >> subclass = PCI-CardBus >> fwohci0@pci0:4:1:1: class=0x0c0010 card=0x14371043 chip=0x05521180 rev=0x08 hdr=0x00 >> vendor = 'Ricoh Company, Ltd.' >> device = 'RL5c552 IEEE-1394 Controller' >> class = serial bus >> subclass = FireWire >> none0@pci0:4:1:2: class=0x080500 card=0x14371043 chip=0x08221180 rev=0x17 hdr=0x00 >> vendor = 'Ricoh Company, Ltd.' >> device = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller' >> class = base peripheral >> none1@pci0:4:1:3: class=0x088000 card=0x14371043 chip=0x05921180 rev=0x08 hdr=0x00 >> vendor = 'Ricoh Company, Ltd.' >> device = '13871043 Ricoh Memory Stick Host Controller' >> class = base peripheral >> >>> Is there any way I can make them work? >>> >> You can add these lines to your kernel configuration: >> >> device mmc >> device mmcsd >> >> But don't expect any magic. mmc(4) and mmcsd(4) tell that nothing currently works, >> which seems to be true on my Asus A6JE (using a Kingston micro-SD card with adapter). >> >> imp@ is the last person who touched the driver which lives in /usr/src/sys/dev/mmc/ >> > Thing below is on my list to try out when I get enough breathing room > (or when I would have a dire need to read SD cards on my ThinkPad > X60 ;). Did you, by any chance, try it? Any experiences to share? > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=17399+21119 > +/usr/local/www/db/text/2007/freebsd-mobile/20070916.freebsd-mobile > Not yet, I didn't see the message until now since I'm not (yet) on the mobile list. A quick try showed that it does not compile on my box. I'll investigate why. The author did not leave an email address in the files. Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001