From owner-freebsd-current@freebsd.org Sun Mar 12 00:31:54 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC203CF9404 for ; Sun, 12 Mar 2017 00:31:54 +0000 (UTC) (envelope-from rob.rodz.jr9@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A75AE1240 for ; Sun, 12 Mar 2017 00:31:54 +0000 (UTC) (envelope-from rob.rodz.jr9@gmail.com) Received: by mail-it0-x229.google.com with SMTP id g138so14976841itb.0 for ; Sat, 11 Mar 2017 16:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vhMa18sEnYY0E4fC7UVQyWdo8SmdSMLdmeys3yIgDxY=; b=CXiupsyCa/JDh1NGJN2Qq88Us8brz24Y1TxizbBaKpcWHs+SmogZoSmslwdl7YDIvO NL+9fluaelUzlvpjC/xDMQZRJyzSK5/0iYaVl9NWbHS7wH9PRzK0GU2UF177Qfo//dhC Gc+p0VzX+3clHodLbKDbX3+1RHzFebCy+tTOAYFTfewaAYxK6YQ6Q4/3Ll2hmSpnNU5T MAvXv83tM9xLEAomKoBA62UD3YbeEVsP+eOU36kThAhvi94qJnxVBIVjJ5a3d7sMF1ta sNU702AWdCty6JrjujLlgY95EgXYTc0s+mjt3jy2H84PP2C4JQXlORooCOhUfaFdCZsS 3Umg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vhMa18sEnYY0E4fC7UVQyWdo8SmdSMLdmeys3yIgDxY=; b=ZHlAtMnw3x7CxYCtDRZtWV9mWofSzXiuknaoGJGnTGd33f4ZDP8kH6KytxDn05CcGG 7xrOgNWBQ9cJiX5+qFC4w97GNSDV3u98wZqn9tZ8TNWAVe1X25uJb33FlRjSbYEcRL+M KBrmZj0keuHeG+2f+scgOiesOB3JDYjJLUwG4ZbcVoh/NEeQE93NPdKYorzDoKTQ+Dnv Qg4bwadpo3XsqyyfBA+WrNKseDca/zOJ1IiQSpgEsprs6lkwaE/+7bjcjegBWMdHAP8u C9QjFbbzqpEehcPLnc/Uw4McdlUu9lzHFKnxXrYWguGeVd0CD5OsZfFVVGmIGUlhoMYa FMNA== X-Gm-Message-State: AFeK/H2ijN8+CXQVrkgGcARC8FlqL5zM9hzW1uzCiq2jv28v8tpzY644Q8lu4twv979zdOZMnGjnp+w/ogdvuQ== X-Received: by 10.36.5.67 with SMTP id 64mr5143482itl.97.1489278713581; Sat, 11 Mar 2017 16:31:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.226.228 with HTTP; Sat, 11 Mar 2017 16:31:53 -0800 (PST) From: Roberto Rodriguez Jr Date: Sun, 12 Mar 2017 00:31:53 +0000 Message-ID: Subject: SMBus driver To: FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 12 Mar 2017 00:31:55 -0000 Hi, pciconf -lvbe none0@pci0:0:20:0: class=0x0c0500 card=0x21f7103c chip=0x780b1022 rev=0x3a hdr=0x00 vendor = 'Advanced Micro Devices, Inc. [AMD]' device = 'FCH SMBus Controller' class = serial bus subclass = SMBus I have 'device smbus' in KERNCONF. I would love to know how to correct this. I looked in sys/dev/smbus but have no idea which file to edit or where to begin understanding why its none0. Thank you dmesg Copyright (c) 1992-2017 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #0 r315090: Sat Mar 11 23:59:22 UTC 2017 root@krsna:/usr/obj/usr/src/sys/KRSNA amd64 FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on LLVM 3.9.1) VT(efifb): resolution 1366x768 CPU: AMD A6-5200 APU with Radeon(TM) HD Graphics (1996.29-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x700f01 Family=0x16 Model=0x0 Stepping=1 Features=0x178bfbff Features2=0x3ed8220b AMD Features=0x2e500800 AMD Features2=0x154037ff Structured Extended Features=0x8 XSAVE Features=0x1 SVM: NP,NRIP,AFlush,DAssist,NAsids=8 TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 3540578304 (3376 MB) Event timer "LAPIC" quality 100 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: unblocking device. ioapic0: Changing APIC ID to 4 ioapic1: Changing APIC ID to 5 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-55 on motherboard SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! Timecounter "TSC" frequency 1996292475 Hz quality 1000 random: entropy device external interface netmap: loaded module kbd1 at kbdmux0 nexus0 cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 450 Event timer "HPET2" frequency 14318180 Hz quality 450 atrtc0: port 0x70-0x71 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x3000-0x30ff mem 0xe0000000-0xefffffff,0xf0000000-0xf07fffff,0xf0c00000-0xf0c3ffff irq 44 at device 1.0 on pci0 vgapci0: Boot video device hdac0: mem 0xf0c40000-0xf0c43fff irq 45 at device 1.1 on pci0 pcib1: irq 48 at device 2.1 on pci0 pci1: on pcib1 pcib2: irq 50 at device 2.3 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pcib3: irq 51 at device 2.4 on pci0 pci3: on pcib3 ath0: mem 0xf0a00000-0xf0a7ffff irq 36 at device 0.0 on pci3 ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM Restoring Cal data from Flash Restoring Cal data from Flash Restoring Cal data from OTP ar9300_hw_attach: ar9300_eeprom_attach returned 0 ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 RX streams; 1 TX streams ath0: AR9485 mac 576.1 RF5110 phy 2457.9 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 pcib4: irq 48 at device 2.5 on pci0 pci4: on pcib4 re0: port 0x2000-0x20ff mem 0xf0900000-0xf0900fff,0xf0800000-0xf0803fff irq 40 at device 0.0 on pci4 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x44800000 re0: MAC rev. 0x00100000 miibus0: on re0 rlphy0: PHY 1 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: d0:bf:9c:63:a9:99 re0: netmap queues/slots: TX 1/256, RX 1/256 xhci0: mem 0xf0c48000-0xf0c49fff irq 18 at device 16.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Unable to map MSI-X table usbus0: waiting for BIOS to give up control usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 ahci0: port 0x3118-0x311f,0x3124-0x3127,0x3110-0x3117,0x3120-0x3123,0x3100-0x310f mem 0xf0c4f000-0xf0c4f3ff irq 19 at device 17.0 on pci0 ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier supported with FBS ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ohci0: mem 0xf0c4e000-0xf0c4efff irq 18 at device 18.0 on pci0 usbus1 on ohci0 usbus1: 12Mbps Full Speed USB v1.0 ehci0: mem 0xf0c4d000-0xf0c4d0ff irq 17 at device 18.2 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 usbus2: 480Mbps High Speed USB v2.0 ohci1: mem 0xf0c4c000-0xf0c4cfff irq 18 at device 19.0 on pci0 usbus3 on ohci1 usbus3: 12Mbps Full Speed USB v1.0 ehci1: mem 0xf0c4b000-0xf0c4b0ff irq 17 at device 19.2 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci1 usbus4: 480Mbps High Speed USB v2.0 hdac1: mem 0xf0c44000-0xf0c47fff irq 16 at device 20.2 on pci0 isab0: at device 20.3 on pci0 isa0: on isab0 sdhci_pci0: mem 0xf0c4a000-0xf0c4a0ff irq 16 at device 20.7 on pci0 sdhci_pci0: 1 slot(s) allocated acpi_lid0: on acpi0 acpi_tz0: on acpi0 acpi_tz0: _CRT value is absurd, ignored (226.9C) acpi_tz1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ACPI Error: No handler for Region [RCM0] (0xfffff80002987600) [SystemCMOS] (20170303/evregion-288) ACPI Error: Region SystemCMOS (ID=5) has no handler (20170303/exfldio-428) ACPI Error: Method parse/execution failed [\134_SB.WMID.ESDT] (Node 0xfffff80002991ac0), AE_NOT_EXIST (20170303/psparse-668) ACPI Error: Method parse/execution failed [\134_SB.PCI0.LPC0.EC0._Q42] (Node 0xfffff8000299f240), AE_NOT_EXIST (20170303/psparse-668) acpi_ec0: evaluation of query method _Q42 failed: AE_NOT_EXIST psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Synaptics Touchpad, device ID 0 battery0: on acpi0 acpi_acad0: on acpi0 hwpstate0: on cpu0 Timecounters tick every 1.000 msec hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm1: at nid 20 and 25 on hdaa1 pcm2: at nid 33 and 18 on hdaa1 ugen1.1: at usbus1 ugen4.1: at usbus4 ugen0.1: <0x1022 XHCI root HUB> at usbus0 ugen2.1: at usbus2 uhub0: on usbus1 uhub1: on usbus2 ugen3.1: at usbus3 uhub2: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 uhub3: on usbus4 uhub4: on usbus3 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number 4B6451901019 cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed ada0: ATA8-ACS SATA 3.x device ada0: Serial Number TM8513TC2A1LKL ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 476940MB (976773168 512 byte sectors) Trying to mount root from ufs:/dev/ada0p2 [rw,noatime]... uhub0: 4 ports with 4 removable, self powered uhub4: 4 ports with 4 removable, self powered uhub2: 4 ports with 4 removable, self powered uhub1: 4 ports with 4 removable, self powered uhub3: 4 ports with 4 removable, self powered ugen4.2: at usbus4 wlan0: Ethernet address: ac:b5:7d:a2:36:f5 wlan0: link state changed to UP re0: link state changed to DOWN