Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 19:14:22 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: ThinkPad T61, FreeBSD 7.1-stable and snd_hda
Message-ID:  <20090119191422.35f29fbd.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <4974A3A8.2010508@mavhome.dp.ua>
References:  <1232319578.00062767.1232307602@10.7.7.3> <4974A3A8.2010508@mavhome.dp.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Jan 2009 18:00:40 +0200
Alexander Motin <mav@mavhome.dp.ua> wrote:

> Looks mostly good, except speaker input was not traced properly.
> Is everything else fine, or you have just missed the problem
> description? :)

Everything else is working fine, no problem description needed. :-)

> PS: 7.1-STABLE already includes one SD card reader driver (sdhci).
> Have you tested it before installing alternative one?

The sdmmc driver was therer from testing in the past.
I was not aware of sdhci - thanks for mentioning it.
It appears to work fine:
tingo@testhost-1$ uname -a
FreeBSD testhost-1.kg4.no 7.1-STABLE FreeBSD 7.1-STABLE #3: Sun Jan 18 19:01:17 CET 2009     root@testhost-1.kg4.no:/usr/obj/usr/src/sys/GENERIC  i386
>From /var/log/messages:
sdhci0: <RICOH R5C822 SD> mem 0xf8101800-0xf81018ff irq 18 at device 0.2 on pci21
sdhci0: 1 slot(s) allocated
sdhci0: [ITHREAD]

>From 'pciconf -lv':
sdhci0@pci0:21:0:2:	class=0x080500 card=0x20c817aa chip=0x08221180 rev=0x21 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller'
    class      = base peripheral
    subclass   = SD host controller
none0@pci0:21:0:3:	class=0x088000 card=0x20c917aa chip=0x08431180 rev=0x11 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'unknown Ricoh MMC Host Controller'
    class      = base peripheral
none1@pci0:21:0:4:	class=0x088000 card=0x20ca17aa chip=0x05921180 rev=0x11 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = '13871043 Ricoh Memory Stick Host Controller'
    class      = base peripheral
none2@pci0:21:0:5:	class=0x088000 card=0x20cb17aa chip=0x08521180 rev=0x11 hdr=0x00
    vendor     = 'Ricoh Company, Ltd.'
    device     = 'unknown Ricoh xD-Picture Card Host Controller'
    class      = base peripheral

After I loaed mmcsd and mmc (I guess which one is loaed first doesn''t matter?) this happens when I insert a SD card (I have no mmc or memorystick cards - sorry) (from /var/log/messages):
Jan 19 19:07:55 testhost-1 kernel: mmc0: <MMC/SD bus> on sdhci0
Jan 19 19:07:55 testhost-1 kernel: mmcsd0: 121MB <SD Memory Card> at mmc0 16MHz/4bit
tingo@testhost-1$ ls -l /dev/mmc*
crw-r-----  1 root  operator    0, 139 Jan 19 18:58 /dev/mmcsd0
crw-r-----  1 root  operator    0, 140 Jan 19 18:58 /dev/mmcsd0s1
root@testhost-1# mount -t msdosfs /dev/mmcsd0s1 /mnt
root@testhost-1# df -h /mnt
Filesystem       Size    Used   Avail Capacity  Mounted on
/dev/mmcsd0s1    121M     96K    121M     0%    /mnt

And I can list folders on the card.
In short it appears to be working nicely. Thanks!
-- 
Regards,
Torfinn Ingolfsen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090119191422.35f29fbd.torfinn.ingolfsen>