市來健吾の日記

プログラマ、(元)物理屋(ナノテク、流体)

R-6.1 (the plain SMP kernel) on TP-R60 (9456-6KU)


  • CPU: Two cores are working.

  • WiFi: ath (Atheros IEEE 802.11 wireless network driver) just works fine:

    • 1) put

      if_ath_load="YES"
      in /boot/loader.conf

    • 2) run a script like (for "11b" router with WEP)

      kldload wlan_wep.ko
      ifconfig ath0 \
      inet 192.168.0.123 netmask 0xffffff00 \
      ssid abcde \
      wepmode on \
      wepkey 0x112233445566778899aabbccdd deftxkey 1 \
      mode 11b
      route add default 192.168.0.1
      cp /etc/resolv.conf.home /etc/resolv.conf

    • from dmesg,

      ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
      ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on pci3
      ath0: mac 10.3 phy 6.1 radio 10.2

    • from "pciconf -l -v"

      ath0@pci3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00
      vendor = 'Atheros Communications Inc.'
      device = '11a/b/g Wireless LAN Mini PCI Adapter'
      class = network
      subclass = ethernet

    • from "ifconfig ath0"

      ath0: flags=8843 mtu 1500
      ...
      media: IEEE 802.11 Wireless Ethernet autoselect mode 11b (DS/11Mbps)
      status: associated
      ssid abcde channel 2 bssid ...
      authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 36
      protmode CTS burst bintval 100

  • Ethernet:

    • from dmegs,

      bge0: mem 0xee000000-0xee00ffff irq 16 at device 0.0 on pci2
      miibus0: on bge0
      brgphy0: on miibus0
      brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto

    • from "pciconf -l -v"

      bge0@pci2:0:0: class=0x020000 card=0x208117aa chip=0x167d14e4 rev=0x21 hdr=0x00
      vendor = 'Broadcom Corporation'
      device = 'BCM5750A1M NetXtreme Gigabit Ethernet PCI Express'
      class = network
      subclass = ethernet

    • from "ifconfig bge0"

      bge0: flags=8843 mtu 1500
      options=1b
      ...
      media: Ethernet autoselect (100baseTX )
      status: active

  • USB: works fine (at least for HDD and Ethernet).

    • from dmesg,

      uhci0: port 0x1820-0x183f irq 16 at device 29.0 on pci0
      usb0: on uhci0
      usb0: USB revision 1.0
      uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
      uhub0: 2 ports with 2 removable, self powered

      ...


    • from "pciconf -l -v"

      uhci0@pci0:29:0: class=0x0c0300 card=0x200a17aa chip=0x27c88086 rev=0x02 hdr=0x00
      vendor = 'Intel Corporation'
      device = '82801G (ICH7 Family) USB Universal Host Controller'
      class = serial bus
      subclass = USB
      ...

  • Firewire: works fine (at least for HDD).

    • from dmesg,

      fwohci0: <1394 Open Host Controller Interface> mem 0xe4301000-0xe43017ff,0xe4304000-0xe4307fff irq 17 at device 0.1 on pci21
      fwohci0: OHCI version 1.10 (ROM=0)
      fwohci0: No. of Isochronous channels is 4.
      fwohci0: EUI64 0a:00:06:e4:20:30:bf:0a
      fwohci0: Phy 1394a available S400, 3 ports.
      fwohci0: Link S400, max_rec 2048 bytes.
      firewire0: on fwohci0

      [when HDD is plugged in...]

      fwohci0: BUS reset
      fwohci0: node_id=0x8000ffc0, gen=3, non CYCLEMASTER mode
      firewire0: 5 nodes, maxhop <= 4, cable IRM = 0 (me)
      firewire0: root node is not cycle master capable
      firewire0: bus manager 0 (me)
      firewire0: New S400 device ID:0010b9f701225a23
      ...
      da0 at sbp0 bus 0 target 1 lun 0
      da0: Fixed Direct Access SCSI-4 device
      da0: 50.000MB/s transfers
      da0: 286103MB (585938944 512 byte sectors: 255H 63S/T 36473C)
      ...


    • from "pciconf -l -v"

      fwohci0@pci21:0:1: class=0x0c0010 card=0x202e17aa chip=0x803a104c rev=0x00 hdr=0x00
      vendor = 'Texas Instruments (TI)'
      class = serial bus
      subclass = FireWire

  • Sound: Intel's High Definition Audio is on it. Not perfect (such as recording) but it is working.

    • from "pciconf -l -v"

      pcm0@pci0:27:0: class=0x040300 card=0x201017aa chip=0x27d88086 rev=0x02 hdr=0x00
      vendor = 'Intel Corporation'
      device = '82801G (ICH7 Family) High Definition Audio'
      class = multimedia

    • I tried "hdac" at http://darkircop.org/hdac.tgz (kldload hdac.ko). It works, but the volume is still a bit low (even if the max volume 100 -- the beep is too loud... (OK, "xset b off" and (setq visible-bell t) on emacs would suffice))

    • from dmegs,

      pcm0: mem 0xee240000-0xee243fff irq 17 at device 27.0 on pci0
      init 0xc3848380
      pcm0: Output Streams: 4, Input Streams: 4, Bidirectional Streams: 0
      pcm0: CORB Size: 256, RIRB Size: 256
      pcm0:

  • X: works fine without DRI -- I didn't try it yet (agp looks inactive...)

  • Fingerpring device: