ThinkPad T61, FreeBSD 7.1-stable and snd_hda

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Mon Jan 19 10:14:26 PST 2009


On Mon, 19 Jan 2009 18:00:40 +0200
Alexander Motin <mav at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at testhost-1# mount -t msdosfs /dev/mmcsd0s1 /mnt
root at 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



More information about the freebsd-multimedia mailing list