FATTOMCAT Geschrieben March 27, 2023 at 15:24 Share Geschrieben March 27, 2023 at 15:24 Hallo, Ich habe einen Rock Pi 4 als ersatz für den Rapberry Pi gekauft. Out of the box funktioniert der HAT nicht. Gibt es eine Möglichkeit das zu ändern? Wenn ich den bickd starte erhalte ich diesen output: 2023-03-27 15:21:03.317550 <E> <bricklet_stack_linux_spidev.c:117> Could not configure SPI mode: EINVAL (22) [timestamp] [threadID] facility level [function call] <message> -------------------------------------------------------------------------------- [ 0.000015] [00000640] libusb: debug [libusb_init] created default context [ 0.000200] [00000640] libusb: debug [libusb_init] libusb v1.0.21.11156 [ 0.000370] [00000640] libusb: debug [find_usbfs_path] found usbfs at /dev/bus/usb [ 0.000464] [00000640] libusb: debug [op_init] bulk continuation flag supported [ 0.000524] [00000640] libusb: debug [op_init] zero length packet flag supported [ 0.000635] [00000640] libusb: debug [op_init] sysfs can relate devices [ 0.000687] [00000640] libusb: debug [op_init] sysfs has complete descriptors 2023-03-27 15:21:03.298263 <I> <main_linux.c:369> Brick Daemon 2.4.4 started (pid: 1600, daemonized: 0) 2023-03-27 15:21:03.298329 <I> <main_linux.c:375> Running on Linux system (sysname: Linux, release: 4.4.154-90-rockchip-ga14f6502e045, version: #22 SMP Tue Jul 30 10:32:28 UTC 2019, machine: aarch64) 2023-03-27 15:21:03.298350 <D> <main_linux.c:384> Using config file: /etc/brickd.conf [ 0.003458] [00000642] libusb: debug [linux_udev_event_thread_main] udev event thread entering. 2023-03-27 15:21:03.298357 <D> <main_linux.c:390> Using PID file: /var/run/brickd.pid 2023-03-27 15:21:03.298362 <W> <main_linux.c:394> Warning(s) in config file '/etc/brickd.conf', run with --check-config option for details 2023-03-27 15:21:03.298370 <D> <event.c:60> Initializing event subsystem 2023-03-27 15:21:03.298471 <D> <event|event.c:270> Added generic event source (handle: 5, name: event-stop, events: 0x0001) at index 0 2023-03-27 15:21:03.298518 <D> <event|event.c:270> Added generic event source (handle: 7, name: signal, events: 0x0001) at index 1 2023-03-27 15:21:03.298552 <D> <hardware.c:39> Initializing hardware subsystem 2023-03-27 15:21:03.298562 <D> <usb.c:296> Initializing USB subsystem 2023-03-27 15:21:03.298595 <D> <event|event.c:270> Added generic event source (handle: 9, name: usb-hotplug, events: 0x0001) at index 2 [ 0.011232] [00000640] libusb: debug [linux_get_device_address] getting address for device: usb1 detached: 0 [ 0.011294] [00000640] libusb: debug [linux_get_device_address] scan usb1 [ 0.011554] [00000640] libusb: debug [linux_get_device_address] bus=1 dev=1 [ 0.011596] [00000640] libusb: debug [linux_enumerate_device] busnum 1 devaddr 1 session_id 257 [ 0.011622] [00000640] libusb: debug [linux_enumerate_device] allocating new device for 1/1 (session 257) [ 0.012189] [00000640] libusb: debug [linux_get_device_address] getting address for device: usb3 detached: 0 [ 0.012233] [00000640] libusb: debug [linux_get_device_address] scan usb3 [ 0.012436] [00000640] libusb: debug [linux_get_device_address] bus=3 dev=1 [ 0.012474] [00000640] libusb: debug [linux_enumerate_device] busnum 3 devaddr 1 session_id 769 [ 0.012498] [00000640] libusb: debug [linux_enumerate_device] allocating new device for 3/1 (session 769) [ 0.013000] [00000640] libusb: debug [linux_get_device_address] getting address for device: usb2 detached: 0 [ 0.013042] [00000640] libusb: debug [linux_get_device_address] scan usb2 [ 0.013252] [00000640] libusb: debug [linux_get_device_address] bus=2 dev=1 [ 0.013339] [00000640] libusb: debug [linux_enumerate_device] busnum 2 devaddr 1 session_id 513 [ 0.013363] [00000640] libusb: debug [linux_enumerate_device] allocating new device for 2/1 (session 513) [ 0.013856] [00000640] libusb: debug [linux_get_device_address] getting address for device: usb4 detached: 0 [ 0.013934] [00000640] libusb: debug [linux_get_device_address] scan usb4 [ 0.014133] [00000640] libusb: debug [linux_get_device_address] bus=4 dev=1 [ 0.014204] [00000640] libusb: debug [linux_enumerate_device] busnum 4 devaddr 1 session_id 1025 [ 0.014227] [00000640] libusb: debug [linux_enumerate_device] allocating new device for 4/1 (session 1025) [ 0.014761] [00000640] libusb: debug [linux_get_device_address] getting address for device: usb5 detached: 0 [ 0.014835] [00000640] libusb: debug [linux_get_device_address] scan usb5 [ 0.015044] [00000640] libusb: debug [linux_get_device_address] bus=5 dev=1 [ 0.015155] [00000640] libusb: debug [linux_enumerate_device] busnum 5 devaddr 1 session_id 1281 [ 0.015182] [00000640] libusb: debug [linux_enumerate_device] allocating new device for 5/1 (session 1281) [ 0.015764] [00000640] libusb: debug [linux_get_device_address] getting address for device: usb6 detached: 0 [ 0.015828] [00000640] libusb: debug [linux_get_device_address] scan usb6 [ 0.016034] [00000640] libusb: debug [linux_get_device_address] bus=6 dev=1 [ 0.016107] [00000640] libusb: debug [linux_enumerate_device] busnum 6 devaddr 1 session_id 1537 [ 0.016167] [00000640] libusb: debug [linux_enumerate_device] allocating new device for 6/1 (session 1537) [ 0.016449] [00000640] libusb: debug [usbi_add_pollfd] add fd 14 events 1 [ 0.016556] [00000640] libusb: debug [usbi_io_init] using timerfd for timeouts [ 0.016581] [00000640] libusb: debug [usbi_add_pollfd] add fd 16 events 1 [ 0.016807] [00000640] libusb: debug [libusb_get_device_list] [ 0.016915] [00000640] libusb: debug [libusb_get_device_descriptor] [ 0.017001] [00000640] libusb: debug [libusb_get_device_descriptor] [ 0.017077] [00000640] libusb: debug [libusb_get_device_descriptor] [ 0.017118] [00000640] libusb: debug [libusb_get_device_descriptor] [ 0.017162] [00000640] libusb: debug [libusb_get_device_descriptor] [ 0.017204] [00000640] libusb: debug [libusb_get_device_descriptor] 2023-03-27 15:21:03.315366 <D> <event|event.c:270> Added USB event source (handle: 14, name: usb-poll, events: 0x0001) at index 3 2023-03-27 15:21:03.315431 <D> <event|event.c:270> Added USB event source (handle: 16, name: usb-poll, events: 0x0001) at index 4 2023-03-27 15:21:03.315455 <D> <usb.c:413> Starting initial USB device scan 2023-03-27 15:21:03.315460 <D> <usb.c:492> Looking for added/removed USB devices 2023-03-27 15:21:03.315562 <D> <usb.c:186> Found 6 USB device(s) 2023-03-27 15:21:03.315917 <D> <network.c:177> Initializing network subsystem 2023-03-27 15:21:03.315946 <D> <socket.c:164> Opening server socket(s) for address '0.0.0.0' on port 4223 2023-03-27 15:21:03.316115 <D> <socket.c:264> Started listening to '0.0.0.0' (IPv4) resolved from '0.0.0.0' on port 4223 2023-03-27 15:21:03.316141 <D> <event|event.c:270> Added generic event source (handle: 17, name: server, events: 0x0001) at index 5 2023-03-27 15:21:03.316155 <D> <mesh.c:53> Initializing mesh subsystem 2023-03-27 15:21:03.316164 <D> <mesh.c:156> Mesh gateway is enabled 2023-03-27 15:21:03.316168 <D> <socket.c:164> Opening server socket(s) for address '0.0.0.0' on port 4240 2023-03-27 15:21:03.316221 <D> <socket.c:264> Started listening to '0.0.0.0' (IPv4) resolved from '0.0.0.0' on port 4240 2023-03-27 15:21:03.316237 <D> <event|event.c:270> Added generic event source (handle: 18, name: mesh-server, events: 0x0001) at index 6 2023-03-27 15:21:03.316331 <D> <bricklet.c:260> No HAT product_id file in device tree, not using default HAT Brick config 2023-03-27 15:21:03.316382 <D> <bricklet.c:260> No HAT product_id file in device tree, not using default HAT Zero Brick config 2023-03-27 15:21:03.316430 <D> <bricklet.c:260> No HAT product_id file in device tree, not using default HAT WARP Energy Manager Brick config 2023-03-27 15:21:03.316436 <D> <bricklet.c:465> Found no supported HAT product_id in device tree, checking bricklet.* section in config file instead 2023-03-27 15:21:03.316469 <I> <bricklet.c:521> Using bricklet.* section in config file 2023-03-27 15:21:03.316473 <I> <bricklet.c:530> Found Bricklet port A (spidev: /dev/spidev32766.0, driver: gpio, name: gpio23, num: 23) 2023-03-27 15:21:03.316484 <D> <bricklet_stack.c:806> Initializing Bricklet stack subsystem for port A 2023-03-27 15:21:03.316538 <D> <event|event.c:270> Added generic event source (handle: 19, name: bricklet-stack-notification, events: 0x0001) at index 7 2023-03-27 15:21:03.316640 <I> <bricklet_stack_linux.c:132> Using spidev backend for Bricklets (no 'Raspberry Pi' prefix in /proc/device-tree/model) 2023-03-27 15:21:03.317550 <E> <bricklet_stack_linux_spidev.c:117> Could not configure SPI mode: EINVAL (22) 2023-03-27 15:21:03.317623 <D> <event|event.c:408> Marked generic event source (handle: 19, name: bricklet-stack-notification, events: 0x0001) as removed at index 7 2023-03-27 15:21:03.317649 <D> <mesh.c:74> Shutting down mesh subsystem 2023-03-27 15:21:03.317660 <D> <event|event.c:408> Marked generic event source (handle: 18, name: mesh-server, events: 0x0001) as removed at index 6 2023-03-27 15:21:03.317715 <D> <network.c:275> Shutting down network subsystem 2023-03-27 15:21:03.317728 <D> <event|event.c:408> Marked generic event source (handle: 17, name: server, events: 0x0001) as removed at index 5 2023-03-27 15:21:03.317877 <D> <usb.c:451> Shutting down USB subsystem 2023-03-27 15:21:03.317896 <D> <event|event.c:408> Marked USB event source (handle: 14, name: usb-poll, events: 0x0001) as removed at index 3 2023-03-27 15:21:03.317912 <D> <event|event.c:408> Marked USB event source (handle: 16, name: usb-poll, events: 0x0001) as removed at index 4 [ 0.019270] [00000640] libusb: debug [libusb_exit] [ 0.020781] [00000640] libusb: debug [libusb_exit] destroying default context [ 0.020844] [00000640] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling [ 0.020869] [00000640] libusb: debug [handle_events] poll fds modified, reallocating [ 0.020904] [00000640] libusb: debug [handle_events] poll() 2 fds with timeout in 0ms [ 0.021059] [00000640] libusb: debug [handle_events] poll() returned 1 [ 0.021073] [00000640] libusb: debug [handle_events] caught a fish on the event pipe [ 0.021086] [00000640] libusb: debug [handle_events] hotplug message received [ 0.021100] [00000640] libusb: debug [handle_events] poll() 2 fds with timeout in 0ms [ 0.021113] [00000640] libusb: debug [handle_events] poll() returned 1 [ 0.021124] [00000640] libusb: debug [handle_events] caught a fish on the event pipe [ 0.021166] [00000640] libusb: debug [handle_events] hotplug message received [ 0.021194] [00000640] libusb: debug [handle_events] poll() 2 fds with timeout in 0ms [ 0.021209] [00000640] libusb: debug [handle_events] poll() returned 0 [ 0.021232] [00000640] libusb: debug [libusb_unref_device] destroy device 6.1 [ 0.021252] [00000640] libusb: debug [libusb_unref_device] destroy device 5.1 [ 0.021267] [00000640] libusb: debug [libusb_unref_device] destroy device 4.1 [ 0.021307] [00000640] libusb: debug [libusb_unref_device] destroy device 2.1 [ 0.021321] [00000640] libusb: debug [libusb_unref_device] destroy device 3.1 [ 0.021335] [00000640] libusb: debug [libusb_unref_device] destroy device 1.1 [ 0.021351] [00000640] libusb: debug [usbi_remove_pollfd] remove fd 14 [ 0.021405] [00000640] libusb: debug [usbi_remove_pollfd] remove fd 16 [ 0.021527] [00000642] libusb: debug [linux_udev_event_thread_main] udev event thread exiting 2023-03-27 15:21:03.320498 <D> <event|event.c:408> Marked generic event source (handle: 9, name: usb-hotplug, events: 0x0001) as removed at index 2 2023-03-27 15:21:03.320547 <D> <hardware.c:53> Shutting down hardware subsystem 2023-03-27 15:21:03.320565 <D> <event|event.c:408> Marked generic event source (handle: 7, name: signal, events: 0x0001) as removed at index 1 2023-03-27 15:21:03.320586 <D> <event.c:124> Shutting down event subsystem 2023-03-27 15:21:03.320592 <D> <event|event.c:408> Marked generic event source (handle: 5, name: event-stop, events: 0x0001) as removed at index 0 2023-03-27 15:21:03.320618 <D> <event|event.c:427> Removed generic event source (handle: 19, name: bricklet-stack-notification, events: 0x0001) at index 7 2023-03-27 15:21:03.320624 <D> <event|event.c:427> Removed generic event source (handle: 18, name: mesh-server, events: 0x0001) at index 6 2023-03-27 15:21:03.320651 <D> <event|event.c:427> Removed generic event source (handle: 17, name: server, events: 0x0001) at index 5 2023-03-27 15:21:03.320656 <D> <event|event.c:427> Removed USB event source (handle: 16, name: usb-poll, events: 0x0001) at index 4 2023-03-27 15:21:03.320662 <D> <event|event.c:427> Removed USB event source (handle: 14, name: usb-poll, events: 0x0001) at index 3 2023-03-27 15:21:03.320666 <D> <event|event.c:427> Removed generic event source (handle: 9, name: usb-hotplug, events: 0x0001) at index 2 2023-03-27 15:21:03.320670 <D> <event|event.c:427> Removed generic event source (handle: 7, name: signal, events: 0x0001) at index 1 2023-03-27 15:21:03.320674 <D> <event|event.c:427> Removed generic event source (handle: 5, name: event-stop, events: 0x0001) at index 0 2023-03-27 15:21:03.320680 <I> <main_linux.c:559> Brick Daemon 2.4.4 stopped Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.