BBG WIRELESS + GROVE CAPE

I am struggling with making things work. Particularly, not able to get any readings from this <LINK_TEXT text=“https://www.seeedstudio.com/Grove-Tempe … p-745.html”>https://www.seeedstudio.com/Grove-Temperature-%26amp%3B-Humidity-Sensor-(DHT11)-p-745.html</LINK_TEXT>.



Steps that I took:

  • Attached sensor to port marked GPIO_115 which I reference as P9_27. Tried other ports/notations unsuccessfully.
  • played with default Linux on board, updated, did not work either
  • got latest Linux beaglebone 4.9.82-ti-r102 #1 SMP PREEMPT Thu Feb 22 01:16:12 UTC 2018 armv7l GNU/Linux



    I attempted to get readings using these libs: bcm2835 1.55, beaglebone-dht, Adafruit_BBIO



    Need help in debugging.



    cat /proc/interrupts

    CPU0

    16: 1504837 INTC 68 Level gp_timer

    19: 1 INTC 78 Level wkup_m3_txev

    20: 1017410 INTC 12 Level 49000000.edma_ccint

    22: 62 INTC 14 Level 49000000.edma_ccerrint

    26: 514396 INTC 96 Level 44e07000.gpio

    33: 0 44e07000.gpio 6 Edge 48060000.mmc cd

    54: 514396 44e07000.gpio 27 Edge wl18xx

    59: 0 INTC 98 Level 4804c000.gpio

    92: 0 INTC 32 Level 481ac000.gpio

    125: 0 INTC 62 Level 481ae000.gpio

    158: 136 INTC 72 Level 44e09000.serial

    159: 1726 INTC 44 Level 481a6000.serial

    160: 2141 INTC 70 Level 44e0b000.i2c

    161: 118 INTC 30 Level 4819c000.i2c

    162: 25192 INTC 64 Level mmc0

    163: 1368 INTC 28 Level mmc1

    164: 1654283 INTC 29 Level mmc2

    166: 0 INTC 77 Level wkup_m3

    172: 0 INTC 75 Level rtc0

    173: 0 INTC 76 Level rtc0

    174: 0 INTC 109 Level 53100000.sham

    176: 0 INTC 111 Level 48310000.rng

    177: 109400 INTC 18 Level musb-hdrc.0

    178: 69 INTC 19 Level musb-hdrc.1

    179: 0 INTC 17 Level 47400000.dma-controller

    180: 0 INTC 7 Level tps65217-irq

    183: 0 - 2 Edge tps65217_pwr_but

    IPI0: 0 CPU wakeup interrupts

    IPI1: 0 Timer broadcast interrupts

    IPI2: 0 Rescheduling interrupts

    IPI3: 0 Function call interrupts

    IPI4: 0 CPU stop interrupts

    IPI5: 0 IRQ work interrupts

    IPI6: 0 completion interrupts

    Err: 0





    debian@beaglebone:/sys/class/gpio$ ls -l

    total 0

    -rw-rw---- 1 root gpio 4096 Apr 2 13:10 export

    lrwxrwxrwx 1 root gpio 0 Mar 29 20:09 gpio12 -> …/…/devices/platform/ocp/44e07000.gpio/gpiochip0/gpio/gpio12

    lrwxrwxrwx 1 root gpio 0 Mar 29 20:09 gpio13 -> …/…/devices/platform/ocp/44e07000.gpio/gpiochip0/gpio/gpio13

    lrwxrwxrwx 1 root root 0 Apr 2 13:09 gpio16 -> …/…/devices/platform/ocp/44e07000.gpio/gpiochip0/gpio/gpio16

    lrwxrwxrwx 1 root root 0 Apr 2 13:10 gpio51 -> …/…/devices/platform/ocp/4804c000.gpio/gpiochip1/gpio/gpio51

    lrwxrwxrwx 1 root root 0 Mar 29 20:09 gpio60 -> …/…/devices/platform/ocp/4804c000.gpio/gpiochip1/gpio/gpio60

    lrwxrwxrwx 1 root gpio 0 Mar 29 20:09 gpiochip0 -> …/…/devices/platform/ocp/44e07000.gpio/gpio/gpiochip0

    lrwxrwxrwx 1 root gpio 0 Mar 29 20:09 gpiochip32 -> …/…/devices/platform/ocp/4804c000.gpio/gpio/gpiochip32

    lrwxrwxrwx 1 root gpio 0 Mar 29 20:09 gpiochip64 -> …/…/devices/platform/ocp/481ac000.gpio/gpio/gpiochip64

    lrwxrwxrwx 1 root gpio 0 Mar 29 20:09 gpiochip96 -> …/…/devices/platform/ocp/481ae000.gpio/gpio/gpiochip96

    -rw-rw---- 1 root gpio 4096 Mar 29 20:09 unexport



    Not able to attach this as a file, dmesg follows:

    [ 0.000000] Booting Linux on physical CPU 0x0

    [ 0.000000] Linux version 4.9.82-ti-r102 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP PREEMPT Thu Feb 22 01:16:12 UTC 2018

    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d

    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

    [ 0.000000] OF: fdt:Machine model: TI AM335x BeagleBone Green Wireless

    [ 0.000000] cma: Reserved 48 MiB at 0x9c800000

    [ 0.000000] Memory policy: Data cache writeback

    [ 0.000000] On node 0 totalpages: 130560

    [ 0.000000] free_area_init_node: node 0, pgdat c14e98c0, node_mem_map df961000

    [ 0.000000] Normal zone: 1148 pages used for memmap

    [ 0.000000] Normal zone: 0 pages reserved

    [ 0.000000] Normal zone: 130560 pages, LIFO batch:31

    [ 0.000000] CPU: All CPU(s) started in SVC mode.

    [ 0.000000] AM335X ES2.1 (sgx neon)

    [ 0.000000] percpu: Embedded 15 pages/cpu @df928000 s31884 r8192 d21364 u61440

    [ 0.000000] pcpu-alloc: s31884 r8192 d21364 u61440 alloc=15*4096

    [ 0.000000] pcpu-alloc: [0] 0

    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129412

    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet

    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)

    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

    [ 0.000000] Memory: 439932K/522240K available (12288K kernel code, 1155K rwdata, 4364K rodata, 1024K init, 751K bss, 33156K reserved, 49152K cma-reserved, 0K highmem)

    [ 0.000000] Virtual kernel memory layout:

    vector : 0xffff0000 - 0xffff1000 ( 4 kB)

    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)

    vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)

    lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB)

    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)

    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)

    .text : 0xc0008000 - 0xc0d00000 (13280 kB)

    .init : 0xc1300000 - 0xc1400000 (1024 kB)

    .data : 0xc1400000 - 0xc1520cc8 (1156 kB)

    .bss : 0xc1522000 - 0xc15ddfb0 ( 752 kB)

    [ 0.000000] Preemptible hierarchical RCU implementation.

    [ 0.000000] Build-time adjustment of leaf fanout to 32.

    [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.

    [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1

    [ 0.000000] NR_IRQS:16 nr_irqs:16 16

    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz

    [ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns

    [ 0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

    [ 0.000045] OMAP clocksource: timer1 at 24000000 Hz

    [ 0.000922] clocksource_probe: no matching clocksources found

    [ 0.001396] Console: colour dummy device 80x30

    [ 0.001423] WARNING: Your ‘console=ttyO0’ has been replaced by ‘ttyS0’

    [ 0.001429] This ensures that you still see kernel messages. Please

    [ 0.001434] update your kernel commandline.

    [ 0.001455] Calibrating delay loop… 995.32 BogoMIPS (lpj=1990656)

    [ 0.046621] pid_max: default: 32768 minimum: 301

    [ 0.046918] Security Framework initialized

    [ 0.046930] Yama: becoming mindful.

    [ 0.046987] AppArmor: AppArmor initialized

    [ 0.047198] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [ 0.047209] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

    [ 0.048407] CPU: Testing write buffer coherency: ok

    [ 0.048478] ftrace: allocating 39681 entries in 117 pages

    [ 0.160789] CPU0: thread -1, cpu 0, socket -1, mpidr 0

    [ 0.160854] Setting up static identity map for 0x80100000 - 0x80100060

    [ 0.206643] Brought up 1 CPUs

    [ 0.206664] SMP: Total of 1 processors activated (995.32 BogoMIPS).

    [ 0.206670] CPU: All CPU(s) started in SVC mode.

    [ 0.208286] devtmpfs: initialized

    [ 0.230998] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [ 0.231556] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

    [ 0.231579] futex hash table entries: 256 (order: 2, 16384 bytes)

    [ 0.235367] xor: measuring software checksum speed

    [ 0.274660] arm4regs : 1217.000 MB/sec

    [ 0.314609] 8regs : 1091.000 MB/sec

    [ 0.354609] 32regs : 1088.000 MB/sec

    [ 0.394607] neon : 1657.000 MB/sec

    [ 0.394614] xor: using function: neon (1657.000 MB/sec)

    [ 0.394633] pinctrl core: initialized pinctrl subsystem

    [ 0.396196] NET: Registered protocol family 16

    [ 0.399982] DMA: preallocated 1024 KiB pool for atomic coherent allocations

    [ 0.428725] omap_hwmod: debugss: _wait_target_disable failed

    [ 0.490651] cpuidle: using governor ladder

    [ 0.502635] cpuidle: using governor menu

    [ 0.511326] OMAP GPIO hardware version 0.1

    [ 0.518360] GPIO line 112 (MCASP0_AXR0) hogged as output/low

    [ 0.532238] No ATAGs?

    [ 0.532259] hw-breakpoint: debug architecture 0x4 unsupported.

    [ 0.532553] omap4_sram_init:Unable to allocate sram needed to handle errata I688

    [ 0.532563] omap4_sram_init:Unable to get sram pool needed to handle errata I688

    [ 0.642690] raid6: neonx2 gen() 1900 MB/s

    [ 0.710639] raid6: neonx2 xor() 1170 MB/s

    [ 0.710647] raid6: using algorithm neonx2 gen() 1900 MB/s

    [ 0.710652] raid6: … xor() 1170 MB/s, rmw enabled

    [ 0.710658] raid6: using intx1 recovery algorithm

    [ 0.720680] edma 49000000.edma: TI EDMA DMA engine driver

    [ 0.724862] SCSI subsystem initialized

    [ 0.726807] libata version 3.00 loaded.

    [ 0.727172] usbcore: registered new interface driver usbfs

    [ 0.727245] usbcore: registered new interface driver hub

    [ 0.727364] usbcore: registered new device driver usb

    [ 0.727959] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe

    [ 0.729569] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz

    [ 0.729826] media: Linux media interface: v0.10

    [ 0.729887] Linux video capture interface: v2.00

    [ 0.729985] pps_core: LinuxPPS API ver. 1 registered

    [ 0.729992] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>

    [ 0.730015] PTP clock support registered

    [ 0.730998] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400

    [ 0.735015] Advanced Linux Sound Architecture Driver Initialized.

    [ 0.735826] NetLabel: Initializing

    [ 0.735837] NetLabel: domain hash size = 128

    [ 0.735841] NetLabel: protocols = UNLABELED CIPSOv4

    [ 0.735942] NetLabel: unlabeled traffic allowed by default

    [ 0.739065] clocksource: Switched to clocksource timer1

    [ 0.867261] VFS: Disk quotas dquot_6.6.0

    [ 0.867382] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

    [ 0.867805] AppArmor: AppArmor Filesystem Enabled

    [ 0.882971] NET: Registered protocol family 2

    [ 0.884099] TCP established hash table entries: 4096 (order: 2, 16384 bytes)

    [ 0.884146] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)

    [ 0.884204] TCP: Hash tables configured (established 4096 bind 4096)

    [ 0.884283] UDP hash table entries: 256 (order: 1, 8192 bytes)

    [ 0.884304] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

    [ 0.884518] NET: Registered protocol family 1

    [ 0.893509] RPC: Registered named UNIX socket transport module.

    [ 0.893519] RPC: Registered udp transport module.

    [ 0.893524] RPC: Registered tcp transport module.

    [ 0.893528] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [ 0.893547] PCI: CLS 0 bytes, default 64

    [ 0.894216] Unpacking initramfs…

    [ 1.091133] random: fast init done

    [ 1.351922] Freeing initrd memory: 6360K

    [ 1.352490] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available

    [ 1.355617] audit: initializing netlink subsys (disabled)

    [ 1.355713] audit: type=2000 audit(1.284:1): initialized

    [ 1.361298] workingset: timestamp_bits=14 max_order=17 bucket_order=3

    [ 1.361477] zbud: loaded

    [ 1.366727] NFS: Registering the id_resolver key type

    [ 1.366769] Key type id_resolver registered

    [ 1.366775] Key type id_legacy registered

    [ 1.366793] nfs4filelayout_init: NFSv4 File Layout Driver Registering…

    [ 1.367291] fuse init (API version 7.26)

    [ 1.367738] orangefs_debugfs_init: called with debug mask: :none: :0:

    [ 1.368046] orangefs_init: module version upstream loaded

    [ 1.368054] SGI XFS with ACLs, security attributes, realtime, no debug enabled

    [ 1.388664] Key type asymmetric registered

    [ 1.388680] Asymmetric key parser ‘x509’ registered

    [ 1.388817] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)

    [ 1.393141] io scheduler noop registered

    [ 1.393153] io scheduler deadline registered

    [ 1.393255] io scheduler cfq registered (default)

    [ 1.394868] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

    [ 1.396097] gpio-of-helper ocp:cape-universal: ready

    [ 1.398883] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle

    [ 1.400627] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled

    [ 1.404029] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250

    [ 1.416922] console [ttyS0] enabled

    [ 1.418061] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 159, base_baud = 3000000) is a 8250

    [ 1.420526] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20

    [ 1.420829] [drm] Initialized

    [ 1.422878] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [ 1.423403] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [ 1.423655] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [ 1.423913] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [ 1.427367] libphy: Fixed MDIO Bus: probed

    [ 1.428415] CAN device driver interface

    [ 1.430218] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver

    [ 1.430264] ehci-pci: EHCI PCI platform driver

    [ 1.430335] ehci-platform: EHCI generic platform driver

    [ 1.430524] ehci-omap: OMAP-EHCI Host Controller driver

    [ 1.431137] usbcore: registered new interface driver usb-storage

    [ 1.433512] 47401300.usb-phy supply vcc not found, using dummy regulator

    [ 1.439436] 47401b00.usb-phy supply vcc not found, using dummy regulator

    [ 1.443301] musb-hdrc musb-hdrc.1: MUSB HDRC host driver

    [ 1.443344] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1

    [ 1.443702] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

    [ 1.443713] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [ 1.443721] usb usb1: Product: MUSB HDRC host driver

    [ 1.443729] usb usb1: Manufacturer: Linux 4.9.82-ti-r102 musb-hcd

    [ 1.443737] usb usb1: SerialNumber: musb-hdrc.1

    [ 1.444763] hub 1-0:1.0: USB hub found

    [ 1.444825] hub 1-0:1.0: 1 port detected

    [ 1.458306] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

    [ 1.460080] i2c /dev entries driver

    [ 1.462285] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [ 1.463788] cpuidle: enable-method property ‘ti,am3352’ found operations

    [ 1.464764] omap_hsmmc 48060000.mmc: Got CD GPIO

    [ 1.582189] mmc0: host does not support reading read-only switch, assuming write-enable

    [ 1.585199] mmc0: new high speed SDHC card at address aaaa

    [ 1.590419] mmcblk0: mmc0:aaaa SC16G 14.8 GiB

    [ 1.593375] mmcblk0: p1

    [ 1.596597] mmc1: new high speed MMC card at address 0001

    [ 1.601782] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB

    [ 1.606389] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB

    [ 1.610962] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB

    [ 1.612781] mmcblk1: p1

    [ 1.664999] ledtrig-cpu: registered to indicate activity on CPUs

    [ 1.665518] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

    [ 1.666892] omap-aes 53500000.aes: will run requests pump with realtime priority

    [ 1.669824] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range

    [ 1.671369] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

    [ 1.673562] hidraw: raw HID events driver © Jiri Kosina

    [ 1.674405] usbcore: registered new interface driver usbhid

    [ 1.674413] usbhid: USB HID core driver

    [ 1.674899] remoteproc remoteproc0: wkup_m3 is available

    [ 1.680064] wireguard: WireGuard 0.0.20180218 loaded. See www.wireguard.com for information.

    [ 1.680077] wireguard: Copyright © 2015-2018 Jason A. Donenfeld <[email protected]>. All Rights Reserved.

    [ 1.680517] NET: Registered protocol family 10

    [ 1.685963] mip6: Mobile IPv6

    [ 1.685988] NET: Registered protocol family 17

    [ 1.686007] can: controller area network core (rev 20120528 abi 9)

    [ 1.686082] NET: Registered protocol family 29

    [ 1.686211] Key type dns_resolver registered

    [ 1.686217] mpls_gso: MPLS GSO support

    [ 1.686519] omap_voltage_late_init: Voltage driver support not added

    [ 1.693518] mmc2: new high speed SDIO card at address 0001

    [ 1.695907] PM: Cannot get wkup_m3_ipc handle

    [ 1.700528] ThumbEE CPU extension supported.

    [ 1.700557] Registering SWP/SWPB emulation handler

    [ 1.701639] registered taskstats version 1

    [ 1.701775] zswap: loaded using pool lzo/zbud

    [ 1.707878] Btrfs loaded, crc32c=crc32c-generic

    [ 1.746869] Key type encrypted registered

    [ 1.746895] AppArmor: AppArmor sha1 policy hashing enabled

    [ 1.792646] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0

    [ 1.793214] tps65217 0-0024: TPS65217 ID 0xe version 1.2

    [ 1.793691] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

    [ 1.793787] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

    [ 1.795249] remoteproc remoteproc0: powering up wkup_m3

    [ 1.795271] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148

    [ 1.795524] remoteproc remoteproc0: remote processor wkup_m3 is now up

    [ 1.795542] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192

    [ 1.801264] bone_capemgr bone_capemgr: Baseboard: ‘A335BNLT,GW1A,BBGW16055481’

    [ 1.801294] bone_capemgr bone_capemgr: compatible-baseboard=ti,beaglebone-black - #slots=4

    [ 1.843105] usb 1-1: new high-speed USB device number 2 using musb-hdrc

    [ 1.847699] bone_capemgr bone_capemgr: Invalid signature ‘ffffffff’ at slot 0

    [ 1.854933] bone_capemgr bone_capemgr: slot #0: No cape found

    [ 1.887645] bone_capemgr bone_capemgr: slot #1: No cape found

    [ 1.919978] bone_capemgr bone_capemgr: slot #2: No cape found

    [ 1.952679] bone_capemgr bone_capemgr: slot #3: No cape found

    [ 1.958582] bone_capemgr bone_capemgr: initialized OK.

    [ 1.961301] PM: bootloader does not support rtc-only!

    [ 1.962351] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

    [ 1.962364] of_cfs_init

    [ 1.962501] of_cfs_init: OK

    [ 1.963372] PM: Hibernation image not present or could not be loaded.

    [ 1.963580] wlan-en-regulator: disabling

    [ 1.963599] ALSA device list:

    [ 1.963606] No soundcards found.

    [ 1.965737] Freeing unused kernel memory: 1024K

    [ 1.985535] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610

    [ 1.985553] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0

    [ 1.985561] usb 1-1: Product: USB2.0 Hub

    [ 1.986849] hub 1-1:1.0: USB hub found

    [ 1.987333] hub 1-1:1.0: 4 ports detected

    [ 5.746382] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)

    [ 6.396730] systemd[1]: System time before build time, advancing clock.

    [ 6.476559] ip_tables: © 2000-2006 Netfilter Core Team

    [ 6.528923] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)

    [ 6.529702] systemd[1]: Detected architecture arm.

    [ 6.542116] systemd[1]: Set hostname to .

    [ 7.242596] systemd[1]: Started Forward Password Requests to Wall Directory Watch.

    [ 7.243291] systemd[1]: Reached target Swap.

    [ 7.244128] systemd[1]: Listening on Journal Audit Socket.

    [ 7.245633] systemd[1]: Created slice User and Session Slice.

    [ 7.246664] systemd[1]: Created slice System Slice.

    [ 7.246838] systemd[1]: Reached target Slices.

    [ 7.248379] systemd[1]: Created slice system-serial\x2dgetty.slice.

    [ 7.529177] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro

    [ 8.498513] systemd-journald[314]: Received request to flush runtime journal from PID 1

    [ 12.619839] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)

    [ 13.612727] random: crng init done

    [ 15.340613] using random self ethernet address

    [ 15.340633] using random host ethernet address

    [ 15.435003] using random self ethernet address

    [ 15.435023] using random host ethernet address

    [ 15.630517] Mass Storage Function, version: 2009/09/11

    [ 15.630543] LUN: removable file: (no medium)

    [ 15.794912] usb0: HOST MAC 88:c2:55:89:1c:d7

    [ 15.803361] usb0: MAC 88:c2:55:89:1c:d8

    [ 15.811459] usb1: HOST MAC 88:c2:55:89:1c:da

    [ 15.813023] usb1: MAC 88:c2:55:89:1c:db

    [ 16.085543] configfs-gadget gadget: high-speed config #1: c

    [ 16.472781] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

    [ 16.666022] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready

    [ 16.827485] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready

    [ 25.282156] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices

    [ 25.410014] remoteproc remoteproc1: 4a334000.pru0 is available

    [ 25.410141] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully

    [ 25.442124] remoteproc remoteproc2: 4a338000.pru1 is available

    [ 25.442291] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully

    [ 28.468624] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)

    [ 28.625635] wlcore: loaded

    [ 29.123795] wlcore: PHY firmware version: Rev 8.2.0.0.236

    [ 29.172521] wlcore: firmware booted (Rev 8.9.0.0.69)

    [ 29.191303] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    [ 31.685033] IPv6: ADDRCONF(NETDEV_UP): SoftAp0: link is not ready

    [ 31.698135] wlan0: authenticate with 02:18:4a:aa:2e:d0

    [ 31.708567] wlan0: send auth to 02:18:4a:aa:2e:d0 (try 1/3)

    [ 31.732711] wlan0: authenticated

    [ 31.735800] wlan0: associate with 02:18:4a:aa:2e:d0 (try 1/3)

    [ 31.737537] wlan0: RX AssocResp from 02:18:4a:aa:2e:d0 (capab=0x1531 status=0 aid=1)

    [ 31.792416] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

    [ 31.794251] wlan0: associated

    [ 32.267173] wlcore: Association completed.

    [ 34.080106] wlcore: down

    [ 34.238960] IPv6: ADDRCONF(NETDEV_CHANGE): SoftAp0: link becomes ready

    [ 36.331512] Bluetooth: Core ver 2.22

    [ 36.331709] NET: Registered protocol family 31

    [ 36.331717] Bluetooth: HCI device and connection manager initialized

    [ 36.331746] Bluetooth: HCI socket layer initialized

    [ 36.331777] Bluetooth: L2CAP socket layer initialized

    [ 36.331829] Bluetooth: SCO socket layer initialized

    [ 36.357768] Bluetooth: HCI UART driver ver 2.3

    [ 36.357790] Bluetooth: HCI UART protocol H4 registered

    [ 36.357796] Bluetooth: HCI UART protocol BCSP registered

    [ 36.357802] Bluetooth: HCI UART protocol LL registered

    [ 36.357808] Bluetooth: HCI UART protocol ATH3K registered

    [ 36.357813] Bluetooth: HCI UART protocol Three-wire (H5) registered

    [ 36.358147] Bluetooth: HCI UART protocol Broadcom registered

    [ 36.358154] Bluetooth: HCI UART protocol QCA registered

    [ 36.855375] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

    [ 36.855393] Bluetooth: BNEP filters: protocol multicast

    [ 36.855427] Bluetooth: BNEP socket layer initialized

    [ 38.080190] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 02:18:4a:aa:2e:d0

    [ 387.137083] configfs-gadget gadget: high-speed config #1: c

    [ 387.396583] IPv6: ADDRCONF(NETDEV_CHANGE): usb1: link becomes ready

    [ 1565.923528] wlcore: Beacon loss detected. roles:0x1

    [ 1570.798915] wlcore: Connection loss work (role_id: 0).

    [ 1570.798967] wlan0: Connection to AP 02:18:4a:aa:2e:d0 lost

    [ 1571.422713] wlcore: WARNING Unable to flush all TX buffers, timed out (timeout 500 ms

    [ 1571.517638] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

    [ 1572.352842] wlan0: authenticate with 02:18:4a:aa:2e:d0

    [ 1572.357822] wlan0: send auth to 02:18:4a:aa:2e:d0 (try 1/3)

    [ 1572.658925] wlan0: send auth to 02:18:4a:aa:2e:d0 (try 2/3)

    [ 1572.766923] wlan0: send auth to 02:18:4a:aa:2e:d0 (try 3/3)

    [ 1572.803142] wlan0: authenticated

    [ 1572.810942] wlan0: associate with 02:18:4a:aa:2e:d0 (try 1/3)

    [ 1572.881858] wlan0: RX AssocResp from 02:18:4a:aa:2e:d0 (capab=0x1531 status=0 aid=1)

    [ 1572.891919] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

    [ 1572.894169] wlan0: associated

    [ 1574.815203] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 02:18:4a:aa:2e:d0

    [ 1576.139413] wlcore: Association completed.

    [ 3223.714398] wlcore: ERROR command complete timeout

    [ 3223.719283] ------------[ cut here ]------------

    [ 3223.719579] WARNING: CPU: 0 PID: 6 at drivers/net/wireless/ti/wlcore/main.c:796 wl12xx_queue_recovery_work.part.10+0x68/0x6c [wlcore]

    [ 3223.719586] Modules linked in: cmac bnep hci_uart btbcm btqca bluetooth xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 ccm arc4 wl18xx wlcore mac80211 cfg80211 rfkill pruss_soc_bus wlcore_sdio evdev uio_pdrv_genirq uio usb_f_mass_storage usb_f_acm u_serial usb_f_ecm usb_f_rndis u_ether libcomposite iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_filter spidev pru_rproc pruss_intc pruss tieqep ip_tables x_tables

    [ 3223.719753] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 4.9.82-ti-r102 #1

    [ 3223.719759] Hardware name: Generic AM33XX (Flattened Device Tree)

    [ 3223.720339] Workqueue: phy0 ieee80211_iface_work [mac80211]

    [ 3223.720390] [] (unwind_backtrace) from [] (show_stack+0x20/0x24)

    [ 3223.720417] [] (show_stack) from [] (dump_stack+0x80/0x94)

    [ 3223.720434] [] (dump_stack) from [] (__warn+0xf8/0x110)

    [ 3223.720447] [] (__warn) from [] (warn_slowpath_null+0x30/0x38)

    [ 3223.720619] [] (warn_slowpath_null) from [] (wl12xx_queue_recovery_work.part.10+0x68/0x6c [wlcore])

    [ 3223.720851] [] (wl12xx_queue_recovery_work.part.10 [wlcore]) from [] (wl12xx_queue_recovery_work+0x24/0x28 [wlcore])

    [ 3223.721028] [] (wl12xx_queue_recovery_work [wlcore]) from [] (wlcore_cmd_send_failsafe+0x90/0x4d8 [wlcore])

    [ 3223.721201] [] (wlcore_cmd_send_failsafe [wlcore]) from [] (wlcore_cmd_configure_failsafe+0x6c/0xf4 [wlcore])

    [ 3223.721374] [] (wlcore_cmd_configure_failsafe [wlcore]) from [] (wl1271_cmd_configure+0x24/0x30 [wlcore])

    [ 3223.721545] [] (wl1271_cmd_configure [wlcore]) from [] (wl1271_acx_slot+0x80/0xd4 [wlcore])

    [ 3223.721715] [] (wl1271_acx_slot [wlcore]) from [] (wl1271_bss_erp_info_changed+0x4c/0xec [wlcore])

    [ 3223.721885] [] (wl1271_bss_erp_info_changed [wlcore]) from [] (wl1271_op_bss_info_changed+0x4b0/0xeb4 [wlcore])

    [ 3223.722256] [] (wl1271_op_bss_info_changed [wlcore]) from [] (ieee80211_bss_info_change_notify+0xd8/0x2cc [mac80211])

    [ 3223.722624] [] (ieee80211_bss_info_change_notify [mac80211]) from [] (ieee80211_rx_mgmt_beacon+0x9e0/0x1374 [mac80211])

    [ 3223.722935] [] (ieee80211_rx_mgmt_beacon [mac80211]) from [] (ieee80211_sta_rx_queued_mgmt+0x31c/0x9a8 [mac80211])

    [ 3223.723239] [] (ieee80211_sta_rx_queued_mgmt [mac80211]) from [] (ieee80211_iface_work+0x2c4/0x418 [mac80211])

    [ 3223.723403] [] (ieee80211_iface_work [mac80211]) from [] (process_one_work+0x18c/0x4e8)

    [ 3223.723418] [] (process_one_work) from [] (worker_thread+0x60/0x53c)

    [ 3223.723435] [] (worker_thread) from [] (kthread+0x118/0x130)

    [ 3223.723456] [] (kthread) from [] (ret_from_fork+0x14/0x24)

    [ 3223.730149] —[ end trace 2c15808bc0165077 ]—

    [ 3223.730227] wlcore: WARNING CONFIGURE command NOK

    [ 3223.730236] wlcore: WARNING failed to set slot time: -110

    [ 3223.730244] wlcore: WARNING Set slot time failed -110

    [ 3223.730383] wlcore: Hardware recovery in progress. FW ver: Rev 8.9.0.0.69

    [ 3223.730988] wlcore: pc: 0x1134, hint_sts: 0x00000200 count: 1

    [ 3223.731468] wlcore: down

    [ 3223.731530] wlcore: down

    [ 3223.731542] wlcore: down

    [ 3223.732713] ieee80211 phy0: Hardware restart was requested

    [ 3224.185009] wlcore: PHY firmware version: Rev 8.2.0.0.236

    [ 3224.230557] wlcore: firmware booted (Rev 8.9.0.0.69)

    [ 3224.263762] wlcore: Association completed.

Hi,



I tested the temperature and humidity sensor with your firmware and it doesn’t work. Then I changed to a previous firmware and it worked. This is the download link for the old firmware:

<LINK_TEXT text=“http://debian.beagleboard.org/images/bo … 4gb.img.xz”>http://debian.beagleboard.org/images/bone-debian-9.1-lxqt-armhf-2017-08-31-4gb.img.xz</LINK_TEXT>

I hope this will work.

Hello,



Did you try to use config-pin on your terminal while plugged in? You may need to adjust your “already-default” configured pins.



Seth



P.S. So, if I wanted to set up PWM on “P9_14,” I would type, sudo config-pin P9.14 pwm. I would then hit the enter/return button afterwards. To check to see what pins are configured and how they are configured, use the -q argument. So, to check for “P9_14,” you would type sudo config-pin -q P9.14 and then hit enter/return.