Der Raspberry der sich um das Auslesen der miFlora Sensoren kümmert ist im Büro. Die Sensoren später auf dem Balkon. Leider stören die Jalousien das Auslesen der Daten. Also muß ein “Relay” her. Ich hatte noch ein Orange PI Zero herum liegen und dieser wird nun dafür genutzt.
Edit: TL;DR – der Mist wollte partout nicht funktionieren. Problem mit einem Raspberry Zero W gelöst.
- OrangePi Zero / DietPi
- Gehäuse
- Antenne
- BT CSR 4.0
Dietpi v150
Diesmal nicht so einfach wie bei Raspi.
Error: connect: No route to host (113)
BlueZ 4.0
bluetoothd -v
5.23
Aktuell ist die Version 5.46
BlueZ 5.0
bluetoothctl –version
5.23
apt-get –purge remove bluez
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.46.tar.xz
tar xvf bluez-5.46.tar.xz
apt-get install
“error configure: error: no acceptable C compiler found in $PATH
apt-get install build-essential
./configure
make
make install
systemctl status bluetooth
bluetooth.service – Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
Aug 15 09:22:47 miflora_relay systemd[1]: Starting Bluetooth service…
Aug 15 09:22:47 miflora_relay bluetoothd[3627]: Bluetooth daemon 5.23
Aug 15 09:22:47 miflora_relay bluetoothd[3627]: Starting SDP server
Aug 15 09:22:47 miflora_relay bluetoothd[3627]: Excluding (cli) sap
Aug 15 09:22:47 miflora_relay bluetoothd[3627]: Bluetooth management interface 1.0 initialized
Aug 15 09:22:47 miflora_relay systemd[1]: Started Bluetooth service.
Aug 15 12:32:49 miflora_relay systemd[1]: Stopping Bluetooth service…
Aug 15 12:32:49 miflora_relay bluetoothd[3627]: Terminating
Aug 15 12:32:49 miflora_relay bluetoothd[3627]: Stopping SDP server
Aug 15 12:32:49 miflora_relay systemd[1]: Stopped Bluetooth service.
systemctl start bluetooth
systemctl status bluetooth
● bluetooth.service – Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled)
Active: active (running) since Di 2017-08-15 13:05:57 CEST; 4s ago
Docs: man:bluetoothd(8)
Main PID: 16754 (bluetoothd)
Status: “Running”
CGroup: /system.slice/bluetooth.service
└─16754 /usr/local/libexec/bluetooth/bluetoothd
Aug 15 13:05:57 miflora_relay bluetoothd[16754]: Bluetooth daemon 5.46
Aug 15 13:05:57 miflora_relay bluetoothd[16754]: Starting SDP server
Aug 15 13:05:57 miflora_relay bluetoothd[16754]: Bluetooth management interface 1.0 initialized
Aug 15 13:05:57 miflora_relay systemd[1]: Started Bluetooth service.
root@miflora_relay:~/bluez-5.46# systemctl enable bluetooth
Created symlink from /etc/systemd/system/dbus-org.bluez.service to /lib/systemd/system/bluetooth.service.
Created symlink from /etc/systemd/system/bluetooth.target.wants/bluetooth.service to /lib/systemd/system/bluetooth.service.
hciconfig: Kommando nicht gefunden.
Dafür dies hier
bluetoothctl
Geht immer noch nichts.
Nächster Versuch mit einem anderen Betriebssytem
Orange Pi Zero – Ubuntu Server
root@OrangePI:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
hcitool –help
hcitool – HCI Tool ver 4.101
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
root@OrangePI:~# dmesg | grep -i blue [ 0.262117] Bluetooth: Core ver 2.16 [ 0.262117] Bluetooth: HCI device and connection manager initialized [ 0.262117] Bluetooth: HCI socket layer initialized [ 0.262117] Bluetooth: L2CAP socket layer initialized [ 0.262129] Bluetooth: SCO socket layer initialized [ 2.497249] Bluetooth: RFCOMM TTY layer initialized [ 2.502722] Bluetooth: RFCOMM socket layer initialized [ 2.508438] Bluetooth: RFCOMM ver 1.11 [ 2.512634] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.518606] Bluetooth: BNEP filters: protocol multicast [ 2.524504] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 root@OrangePI:~# sudo hciconfig -a root@OrangePI:~# hciconfig --all root@OrangePI:~# service bluetooth restart bluetooth stop/waiting bluetooth start/running, process 12728 root@OrangePI:~# hciconfig --all root@OrangePI:~# sudo hciconfig -a root@OrangePI:~# lsusb | grep -i bluetooth Bus 006 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) root@OrangePI:~# |
geht auch nicht
Raspbian Server
dmesg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 |
[ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.4.39 (root@curry) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #2 SMP PREEMPT Mon Nov 21 16:23:11 CST 2016 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun8i [ 0.000000] cma: CMA: reserved 160 MiB at 46000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat c09b0e00, node_mem_map c0b88000 [ 0.000000] Normal zone: 576 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 64960 pages, LIFO batch:15 [ 0.000000] script_init enter! [ 0.000000] script_init exit! [ 0.000000] PERCPU: Embedded 8 pages/cpu @c0dd9000 s11264 r8192 d13312 u32768 [ 0.000000] pcpu-alloc: s11264 r8192 d13312 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960 [ 0.000000] Kernel command line: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 init=/sbin/init rootwait rootfstype=ext4 panic=10 consoleblank=0 enforcing=0 loglevel=7 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Memory: 256MB = 256MB total [ 0.000000] Memory: 83308k/83308k available, 178836k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc08e70c8 (9085 kB) [ 0.000000] .init : 0xc08e8000 - 0xc0939c00 ( 327 kB) [ 0.000000] .data : 0xc093a000 - 0xc09b3e10 ( 488 kB) [ 0.000000] .bss : 0xc09b45c4 - 0xc0b878f0 (1869 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:544 [ 0.000000] Architected local timer running at 24.00MHz. [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.002294] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000) [ 0.002466] pid_max: default: 32768 minimum: 301 [ 0.003501] Mount-cache hash table entries: 512 [ 0.006058] Initializing cgroup subsys debug [ 0.006151] Initializing cgroup subsys cpuacct [ 0.006227] Initializing cgroup subsys freezer [ 0.006371] CPU: Testing write buffer coherency: ok [ 0.006543] ftrace: allocating 23921 entries in 71 pages [ 0.080537] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.080633] [sunxi_smp_prepare_cpus] enter [ 0.080744] Setting up static identity map for 0x4064a748 - 0x4064a7a0 [ 0.083050] CPU1: Booted secondary processor [ 0.083050] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.083218] CPU2: Booted secondary processor [ 0.083218] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.091140] CPU3: Booted secondary processor [ 0.091140] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.100314] Brought up 4 CPUs [ 0.100505] SMP: Total of 4 processors activated (19200.00 BogoMIPS). [ 0.101915] devtmpfs: initialized [ 0.113433] wakeup src cnt is : 1. [ 0.113498] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.113530] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x40 [ 0.113561] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x0 [ 0.113591] sunxi pm init [ 0.114595] pinctrl core: initialized pinctrl subsystem [ 0.125011] NET: Registered protocol family 16 [ 0.126714] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.126714] script_sysfs_init success [ 0.126714] sunxi_dump_init success [ 0.126714] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl [ 0.128588] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver [ 0.130568] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.130677] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.131395] [sunxi-module]: [sunxi-module.0] probe success [ 0.131496] script config pll_video to 297 Mhz [ 0.131573] script config pll_de to 864 Mhz [ 0.131681] script config pll_ve to 402 Mhz [ 0.131755] sunxi_default_clk_init [ 0.131777] try to set pll6ahb1 to 200000000 [ 0.131825] try to set ahb clk source to pll6ahb1 [ 0.131849] set ahb clk source to pll6ahb1 [ 0.131875] try to set ahb1 to 200000000 [ 0.131904] try to set apb1 to 100000000 [ 0.150687] bio: create slab <bio-0> at 0 [ 0.151196] [ARISC] :sunxi-arisc driver v1.04 [ 0.174320] [ARISC] :arisc version: [v0.1.58.3] [ 0.251021] [ARISC] :sunxi-arisc driver v1.04 startup succeeded [ 0.255175] SCSI subsystem initialized [ 0.255175] usbcore: registered new interface driver usbfs [ 0.255175] usbcore: registered new interface driver hub [ 0.260117] usbcore: registered new device driver usb [ 0.260439] twi_chan_cfg()340 - [twi0] has no twi_regulator. [ 0.260513] twi_chan_cfg()340 - [twi1] has no twi_regulator. [ 0.260583] twi_chan_cfg()340 - [twi2] has no twi_regulator. [ 0.262108] Linux video capture interface: v2.00 [ 0.262108] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.262108] Bluetooth: Core ver 2.16 [ 0.262108] NET: Registered protocol family 31 [ 0.262108] Bluetooth: HCI device and connection manager initialized [ 0.262142] Bluetooth: HCI socket layer initialized [ 0.262202] Bluetooth: L2CAP socket layer initialized [ 0.262324] Bluetooth: SCO socket layer initialized [ 0.262946] cfg80211: Calling CRDA to update world regulatory domain [ 0.263143] Switching to clocksource arch_sys_counter [ 0.311551] FS-Cache: Loaded [ 0.312193] CacheFiles: Loaded [ 0.342724] NET: Registered protocol family 2 [ 0.343451] IP route cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.344958] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.345368] TCP bind hash table entries: 8192 (order: 4, 98304 bytes) [ 0.345725] TCP: Hash tables configured (established 8192 bind 8192) [ 0.345795] TCP: reno registered [ 0.345851] UDP hash table entries: 128 (order: 0, 4096 bytes) [ 0.345966] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) [ 0.346794] NET: Registered protocol family 1 [ 0.347807] RPC: Registered named UNIX socket transport module. [ 0.347887] RPC: Registered udp transport module. [ 0.347944] RPC: Registered tcp transport module. [ 0.347999] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.349311] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available [ 0.349631] sunxi_reg_init enter [ 0.351661] audit: initializing netlink socket (disabled) [ 0.351812] type=2000 audit(0.350:1): initialized [ 0.358979] NTFS driver 2.1.30 [Flags: R/W]. [ 0.359565] fuse init (API version 7.18) [ 0.360857] msgmni has been set to 386 [ 0.364514] io scheduler noop registered [ 0.364581] io scheduler deadline registered [ 0.364897] io scheduler cfq registered (default) [ 0.365739] [DISP]disp_module_init [ 0.366502] DB START bsp init .... [ 0.366555] cmdline,init_disp= [ 0.366654] cmdline,disp= [ 0.366952] DB DISP INIT_TV_PARA [ 0.386185] [DISP] Fb_map_kernel_logo,line:989:Fb_map_kernel_logo failed! [ 0.391019] [DISP]disp_module_init finish [ 0.391591] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator. [ 0.391679] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator. [ 0.391759] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator. [ 0.392915] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI [ 0.392998] sw_uart_pm()890 - uart0 clk is already enable [ 0.393079] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n [ 0.504997] console [ttyS0] enabled [ 1.007765] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI [ 1.109667] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI [ 1.117828] sunxi_cmatest_init enter [ 1.117928] sunxi_cmatest_init success [ 1.118390] sunxi_di_init get di_by_pass err! [ 1.135175] loop: module loaded [ 1.138783] Get boot type cmd line fail [ 1.144199] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator. [ 1.151414] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator. [ 1.158623] tun: Universal TUN/TAP device driver, 1.6 [ 1.164349] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 1.173544] PPP generic driver version 2.4.2 [ 1.178854] PPP BSD Compression module registered [ 1.184205] PPP Deflate Compression module registered [ 1.191776] PPP MPPE Compression module registered [ 1.197193] NET: Registered protocol family 24 [ 1.202308] PPTP driver version 0.8.5 [ 1.206946] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.234580] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.243679] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1 [ 1.253482] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000 [ 1.280088] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00 [ 1.288320] hub 1-0:1.0: USB hub found [ 1.292630] hub 1-0:1.0: 1 port detected [ 1.318094] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.327184] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2 [ 1.336900] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000 [ 1.360087] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00 [ 1.366766] ehci_irq: highspeed device connect [ 1.368210] hub 2-0:1.0: USB hub found [ 1.372519] hub 2-0:1.0: 1 port detected [ 1.397925] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.407020] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3 [ 1.416776] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000 [ 1.440096] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00 [ 1.448168] hub 3-0:1.0: USB hub found [ 1.452476] hub 3-0:1.0: 1 port detected [ 1.477931] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.487026] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4 [ 1.496788] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000 [ 1.520131] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00 [ 1.528230] hub 4-0:1.0: USB hub found [ 1.532547] hub 4-0:1.0: 1 port detected [ 1.537858] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.564989] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.573764] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5 [ 1.582387] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400 [ 1.630108] ehci_irq: highspeed device disconnect [ 1.645359] hub 5-0:1.0: USB hub found [ 1.649614] hub 5-0:1.0: 1 port detected [ 1.675082] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.683778] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6 [ 1.692405] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400 [ 1.755480] hub 6-0:1.0: USB hub found [ 1.759732] hub 6-0:1.0: 1 port detected [ 1.785122] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.793820] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7 [ 1.802446] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400 [ 1.865472] hub 7-0:1.0: USB hub found [ 1.869733] hub 7-0:1.0: 1 port detected [ 1.895198] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 1.903907] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8 [ 1.912519] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400 [ 1.975487] hub 8-0:1.0: USB hub found [ 1.979746] hub 8-0:1.0: 1 port detected [ 1.985200] Initializing USB Mass Storage driver... [ 1.991293] usbcore: registered new interface driver usb-storage [ 1.998055] USB Mass Storage support registered. [ 2.003429] usbcore: registered new interface driver ums-alauda [ 2.010323] usbcore: registered new interface driver ums-cypress [ 2.017208] usbcore: registered new interface driver ums-datafab [ 2.024195] usbcore: registered new interface driver ums_eneub6250 [ 2.031316] usbcore: registered new interface driver ums-freecom [ 2.038211] usbcore: registered new interface driver ums-isd200 [ 2.045062] usbcore: registered new interface driver ums-jumpshot [ 2.052088] usbcore: registered new interface driver ums-karma [ 2.058768] usbcore: registered new interface driver ums-onetouch [ 2.065891] usbcore: registered new interface driver ums-realtek [ 2.072825] usbcore: registered new interface driver ums-sddr09 [ 2.079610] usbcore: registered new interface driver ums-sddr55 [ 2.086535] usbcore: registered new interface driver ums-usbat [ 2.093516] usbcore: registered new interface driver usbserial [ 2.100199] usbserial: USB Serial Driver core [ 2.105251] usbcore: registered new interface driver option [ 2.111657] USB Serial support registered for GSM modem (1-port) [ 2.120157] file system registered [ 2.128559] android_usb gadget: Mass Storage Function, version: 2009/09/11 [ 2.136382] android_usb gadget: Number of LUNs=3 [ 2.141656] lun0: LUN: removable file: (no medium) [ 2.141713] usb 6-1: new full-speed USB device number 2 using sunxi-ohci [ 2.154699] lun1: LUN: removable file: (no medium) [ 2.160238] lun2: LUN: removable file: (no medium) [ 2.166540] android_usb gadget: android_usb ready [ 2.172299] uinput result 0 , vmouse_init [ 2.173813] mousedev: PS/2 mouse device common for all mice [ 2.180708] sunxikbd_init failed. [ 2.180744] ls_fetch_sysconfig_para: type err device_used = 0. [ 2.187508] =========script_get_err============ [ 2.192652] ltr_init: ls_fetch_sysconfig_para err. [ 2.193337] [RTC] WARNING: Rtc time will be wrong!! [ 2.198831] [RTC] WARNING: use *internal OSC* as clock source [ 2.205958] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0 [ 2.213756] IR RC5(x) protocol handler initialized [ 2.219368] sunxi tsc version 0.1 [ 2.219501] tscdev_init: tsc driver is disabled [ 2.224923] sunxi cedar version 0.1 [ 2.225034] [cedar]: install start!!! [ 2.225574] [cedar]: install end!!! [ 2.225665] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0 [ 2.233162] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf [ 2.244706] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0) [ 2.252317] wdt_enable, write reg 0xf1c20cb8 val 0x00000000 [ 2.258592] timeout_to_interv, line 167 [ 2.262956] interv_to_timeout, line 189 [ 2.267283] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec [ 2.277728] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 2.288144] calibrat: max_cpufreq 1008Mhz Type 0! [ 2.288181] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq [ 2.300514] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.121 2016-08-3 16:46) Compiled in Nov 18 2016 at 11:24:56 [ 2.300550] [mmc]: get mmc0's sdc_power is null! [ 2.300579] [mmc]: get mmc1's sdc_power is null! [ 2.300589] [mmc]: get mmc1's 2xmode ok, val = 1 [ 2.300600] [mmc]: get mmc1's ddrmode ok, val = 1 [ 2.300617] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2 [ 2.301725] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 2.305203] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 2.309759] usbcore: registered new interface driver usbhid [ 2.316039] usbhid: USB HID core driver [ 2.320967] ashmem: initialized [ 2.324617] logger: created 256K log 'log_main' [ 2.329805] logger: created 256K log 'log_events' [ 2.335222] logger: created 256K log 'log_radio' [ 2.340542] logger: created 256K log 'log_system' [ 2.346189] sunxi_oops: heming add OOPS_INFO_ADDR = -20 [ 2.356711] asoc: sndcodec <-> sunxi-codec mapping ok [ 2.367332] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 2.374601] pktgen: Packet Generator for packet performance testing. Version: 2.74 [ 2.383602] u32 classifier [ 2.386619] Actions configured [ 2.390431] Netfilter messages via NETLINK v0.30. [ 2.395755] nf_conntrack version 0.5.0 (3093 buckets, 12372 max) [ 2.402925] ctnetlink v0.93: registering with nfnetlink. [ 2.408891] NF_TPROXY: Transparent proxy support initialized, version 4.1.0 [ 2.416659] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd. [ 2.423529] xt_time: kernel timezone is -0000 [ 2.428552] IPv4 over IPv4 tunneling driver [ 2.433767] gre: GRE over IPv4 demultiplexor driver [ 2.439199] ip_gre: GRE over IPv4 tunneling driver [ 2.445315] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.451482] arp_tables: (C) 2002 David S. Miller [ 2.456688] TCP: cubic registered [ 2.460428] Initializing XFRM netlink socket [ 2.465565] NET: Registered protocol family 10 [ 2.471947] Mobile IPv6 [ 2.474710] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 2.480972] IPv6 over IPv4 tunneling driver [ 2.486923] NET: Registered protocol family 17 [ 2.491943] NET: Registered protocol family 15 [ 2.497059] Bluetooth: RFCOMM TTY layer initialized [ 2.502532] Bluetooth: RFCOMM socket layer initialized [ 2.508249] Bluetooth: RFCOMM ver 1.11 [ 2.512439] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 2.518394] Bluetooth: BNEP filters: protocol multicast [ 2.524272] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 2.531028] L2TP core driver, V2.0 [ 2.534828] PPPoL2TP kernel driver, V2.0 [ 2.539192] L2TP IP encapsulation support (L2TPv3) [ 2.544626] L2TP netlink interface [ 2.548439] L2TP ethernet pseudowire support (L2TPv3) [ 2.554368] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 2.562926] ThumbEE CPU extension supported. [ 2.567697] Registering SWP/SWPB emulation handler [ 2.573067] sunxi_bootup_extend_init: bootup extend state 1 [ 2.580438] cmdline,disp= [ 2.583753] [HDMI] power vcc-hdmi-18 [ 2.614677] SUNXI_TVE_VBASE f1e00000 [ 2.615032] cmdline,disp= [ 2.617999] New Platfrom support TV!!!!!! [ 2.618385] [DISP] disp_init_tv,line:540:screen 0 do not support TV TYPE! [ 2.625983] screen 1 support TV type [ 2.625998] [DISP] bsp_disp_tv_register,line:946:'ptv is null [ 2.632414] tv registered!! [ 2.632452] attched ok, mgr1<-->device1, type=2, mode=11 [ 2.640384] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:00:07 UTC (7) [ 2.649082] ths_fetch_sysconfig_para: type err device_used = 1. [ 2.657386] CPU Budget:Register notifier [ 2.661798] CPU Budget:register Success [ 2.666069] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0 [ 2.680440] [rf_pm]: Did not config module_power1 in sys_config [ 2.680457] [rf_pm]: Did not config module_power2 in sys_config [ 2.680469] [rf_pm]: Did not config module_power3 in sys_config [ 2.680481] [rf_pm]: mod has no chip_en gpio [ 2.680491] [rf_pm]: regulator on. [ 2.680509] [rf_pm]: set losc_out 32k out [ 2.681034] [rfkill]: init no bt used in configuration [ 2.681048] ALSA device list: [ 2.684359] #0: audiocodec [ 2.687561] #1: sndhdmi [ 2.690779] Waiting for root device /dev/mmcblk0p2... [ 3.210071] [DISP] disp_hdmi_set_detect,line:405:hdmi0's mgr is NULL [ 3.305029] [mmc]: mmc 0 detect change, present 1 [ 3.800063] [mmc]: sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.801605] [mmc]: sdc0 power_supply is null [ 3.820049] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.842386] [mmc]: *** sunxi_mci_dump_errinfo(L915): smc 0 err, cmd 52, RTO !! [ 3.843252] [mmc]: *** sunxi_mci_dump_errinfo(L915): smc 0 err, cmd 52, RTO !! [ 3.843294] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.845829] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.847289] *******************Try sdio******************* [ 3.854241] [mmc]: *** sunxi_mci_dump_errinfo(L915): smc 0 err, cmd 5, RTO !! [ 3.854280] mmc0: req failed (CMD5): -110, retrying... [ 3.860830] [mmc]: *** sunxi_mci_dump_errinfo(L915): smc 0 err, cmd 5, RTO !! [ 3.860868] mmc0: req failed (CMD5): -110, retrying... [ 3.867413] [mmc]: *** sunxi_mci_dump_errinfo(L915): smc 0 err, cmd 5, RTO !! [ 3.867450] mmc0: req failed (CMD5): -110, retrying... [ 3.874003] [mmc]: *** sunxi_mci_dump_errinfo(L915): smc 0 err, cmd 5, RTO !! [ 3.874035] *******************Try sd ******************* [ 3.880756] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.880890] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.883415] [mmc]: sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.901604] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 3.903613] [mmc]: sdc0 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B [ 3.903711] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B [ 3.903850] [mmc]: sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B [ 3.903953] mmc0: new high speed SDHC card at address 59b4 [ 3.910655] mmcblk0: mmc0:59b4 USD00 14.7 GiB [ 3.916828] mmcblk0: p1 p2 [ 3.920782] *******************sd init ok******************* [ 4.339479] EXT4-fs (mmcblk0p2): recovery complete [ 4.352063] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 4.361144] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 4.368575] devtmpfs: mounted [ 4.372295] Freeing init memory: 324K [ 4.850315] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [ 4.865481] systemd[1]: Detected architecture 'arm'. [ 4.885696] systemd[1]: Failed to insert module 'autofs4' [ 4.892965] systemd[1]: Set hostname to <OrangePI>. [ 5.194389] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [ 5.213543] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 5.222546] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 5.231093] systemd[1]: Expecting device dev-ttyS0.device... [ 5.237889] systemd[1]: Starting Remote File Systems (Pre). [ 5.244413] systemd[1]: Reached target Remote File Systems (Pre). [ 5.251378] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 5.261955] systemd[1]: Starting Encrypted Volumes. [ 5.267669] systemd[1]: Reached target Encrypted Volumes. [ 5.273791] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch. [ 5.282997] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 5.291892] systemd[1]: Starting Paths. [ 5.296427] systemd[1]: Reached target Paths. [ 5.301360] systemd[1]: Starting Swap. [ 5.305776] systemd[1]: Reached target Swap. [ 5.310610] systemd[1]: Expecting device dev-mmcblk0p1.device... [ 5.317533] systemd[1]: Starting Root Slice. [ 5.322672] systemd[1]: Created slice Root Slice. [ 5.327965] systemd[1]: Starting User and Session Slice. [ 5.334342] systemd[1]: Created slice User and Session Slice. [ 5.340857] systemd[1]: Starting Delayed Shutdown Socket. [ 5.347310] systemd[1]: Listening on Delayed Shutdown Socket. [ 5.353791] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ 5.361588] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 5.369393] systemd[1]: Starting Journal Socket (/dev/log). [ 5.376011] systemd[1]: Listening on Journal Socket (/dev/log). [ 5.382735] systemd[1]: Starting udev Control Socket. [ 5.388741] systemd[1]: Listening on udev Control Socket. [ 5.394853] systemd[1]: Starting udev Kernel Socket. [ 5.400757] systemd[1]: Listening on udev Kernel Socket. [ 5.406748] systemd[1]: Starting Journal Socket. [ 5.412300] systemd[1]: Listening on Journal Socket. [ 5.417935] systemd[1]: Starting System Slice. [ 5.423379] systemd[1]: Created slice System Slice. [ 5.428923] systemd[1]: Started File System Check on Root Device. [ 5.435780] systemd[1]: Starting system-getty.slice. [ 5.441846] systemd[1]: Created slice system-getty.slice. [ 5.447915] systemd[1]: Starting system-serial\x2dgetty.slice. [ 5.454917] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 5.462066] systemd[1]: Starting Increase datagram queue length... [ 5.543747] systemd[1]: Started Set Up Additional Binary Formats. [ 5.551228] systemd[1]: Mounting Debug File System... [ 5.708499] systemd[1]: Starting Load Kernel Modules... [ 5.820799] systemd[1]: Mounted POSIX Message Queue File System. [ 5.827708] systemd[1]: Starting udev Coldplug all Devices... [ 5.910757] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 5.921355] systemd[1]: Starting Create Static Device Nodes in /dev... [ 6.005920] systemd[1]: Mounted Huge Pages File System. [ 6.011962] systemd[1]: Starting LSB: Set keymap... [ 6.110500] systemd[1]: Starting Slices. [ 6.115348] systemd[1]: Reached target Slices. [ 6.122382] systemd[1]: Mounted Debug File System. [ 6.230460] systemd[1]: Started Increase datagram queue length. [ 6.310503] systemd[1]: Started Load Kernel Modules. [ 6.490685] systemd[1]: Started Create Static Device Nodes in /dev. [ 6.570499] systemd[1]: Started LSB: Set keymap. [ 6.670453] systemd[1]: Started udev Coldplug all Devices. [ 6.678415] systemd[1]: Starting udev Kernel Device Manager... [ 6.760715] systemd[1]: Starting Apply Kernel Variables... [ 6.850465] systemd-udevd[114]: starting version 215 [ 6.851023] systemd[1]: Mounted Configuration File System. [ 6.851241] systemd[1]: Mounting FUSE Control File System... [ 6.920477] systemd[1]: Starting Syslog Socket. [ 6.926344] systemd[1]: Listening on Syslog Socket. [ 6.932020] systemd[1]: Starting Journal Service... [ 7.012440] systemd[1]: Started Journal Service. [ 13.813802] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro [ 15.378015] systemd-journald[120]: Received request to flush runtime journal from PID 1 [ 27.099581] [XRADIO] Driver Label:L34M.01.08.0002 Nov 18 2016 11:27:17 [ 27.099654] [XRADIO] Allocated hw_priv @ c48490e0 [ 27.100204] xradio wlan power on [ 27.100239] gpio wl_reg_on set val 1, act val 1 [ 27.150283] gpio wl_reg_on set val 0, act val 0 [ 27.152322] gpio wl_reg_on set val 1, act val 1 [ 27.252930] [XRADIO] Detect SDIO card 1 [ 27.252949] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 27.254533] [mmc]: sdc1 power_supply is null [ 27.270133] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 27.292394] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 27.294987] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 27.296523] *******************Try sdio******************* [ 27.296896] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B [ 27.307072] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B [ 27.307255] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B [ 27.307471] [mmc]: sdc1 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B [ 27.308799] mmc1: new high speed SDIO card at address 0001 [ 27.309291] [SBUS] XRadio Device:sdio clk=50000000 [ 27.309419] *******************sdio init ok******************* [ 27.309999] [XRADIO] XRADIO_HW_REV 1.0 detected. [ 27.417466] [XRADIO] Bootloader complete [ 27.499793] [XRADIO] Firmware completed. [ 27.503719] [WSM] Firmware Label:XR_C01.08.52.07 Nov 10 2016 13:22:16 [ 27.510418] [XRADIO] Firmware Startup Done. [ 27.511367] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 27.560585] systemd-udevd[406]: renamed network interface wlan0 to wlan2 [ 27.861629] gmac0: probed [ 27.861954] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00) [ 28.060374] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0 [ 28.062888] ADDRCONF(NETDEV_UP): wlan2: link is not ready [ 28.073519] [STA] !!!xradio_vif_setup: id=2, type=2, p2p=0 [ 28.110509] ADDRCONF(NETDEV_UP): p2p0: link is not ready [ 31.860237] PHY: gmac0-0:00 - Link is Up - 100/Full |
auch hier ging es nicht.
Viel mehr Zeit wollte ich nicht mehr investieren. Bei Pimoroni einen Raspi Zero W bestellt, Dietpi aufgespielt, <5 Zeilen in der Shell und die Sensoren wurde gefunden.
Alles weitere wurde so eingerichtet wie beim ursprünglichen Raspi.
Forum thread