Finalize verified 2720 Flip release source and untrack image outputs
This commit is contained in:
1 parent
2a3078e42c
commit
1c011b360a
121 files changed
+8467
-686
No files matched your search
+267
-267
@@ -45060,273 +45060,273 @@ c0d043bc D proc_uid_seq_operations
|
||||
c0d043cc D pidns_operations
|
||||
c0d043ec D pidns_for_children_operations
|
||||
c0d04414 D kernel_config_data
|
||||
c0d0e56f D kernel_config_data_end
|
||||
c0d0e578 d config_gz_proc_ops
|
||||
c0d0e5e0 d __func__.10
|
||||
c0d0e5ec d __func__.7
|
||||
c0d0e5fc d __func__.5
|
||||
c0d0e610 d __func__.3
|
||||
c0d0e620 d audit_feature_names
|
||||
c0d0e740 d audit_ops
|
||||
c0d0e98c d audit_nfcfgs
|
||||
c0d0ea3c d ntp_name.0
|
||||
c0d0ea54 d audit_watch_fsnotify_ops
|
||||
c0d0ea6c d audit_mark_fsnotify_ops
|
||||
c0d0ea84 d audit_tree_ops
|
||||
c0d0ea9c d kprobes_fops
|
||||
c0d0eb20 d fops_kp
|
||||
c0d0eba4 d kprobe_blacklist_fops
|
||||
c0d0ec28 d kprobes_sops
|
||||
c0d0ec38 d kprobe_blacklist_sops
|
||||
c0d0ec70 d seccomp_log_names
|
||||
c0d0ecb8 d seccomp_notify_ops
|
||||
c0d0ed3c d mode1_syscalls
|
||||
c0d0ed50 d seccomp_actions_avail
|
||||
c0d0ed90 d taskstats_ops
|
||||
c0d0edc8 d cgroupstats_cmd_get_policy
|
||||
c0d0edd8 d taskstats_cmd_get_policy
|
||||
c0d0ee0c d empty_hash
|
||||
c0d0ee24 d show_ftrace_seq_ops
|
||||
c0d0ee34 d ftrace_graph_seq_ops
|
||||
c0d0ee44 d this_mod.0
|
||||
c0d0ee54 d ftrace_filter_fops
|
||||
c0d0eed8 d ftrace_notrace_fops
|
||||
c0d0ef5c d ftrace_no_pid_sops
|
||||
c0d0ef6c d ftrace_pid_sops
|
||||
c0d0ef7c d ftrace_pid_fops
|
||||
c0d0f000 d ftrace_no_pid_fops
|
||||
c0d0f084 d ftrace_avail_fops
|
||||
c0d0f108 d ftrace_avail_addrs_fops
|
||||
c0d0f18c d ftrace_enabled_fops
|
||||
c0d0f210 d ftrace_touched_fops
|
||||
c0d0f294 d ftrace_graph_fops
|
||||
c0d0f318 d ftrace_graph_notrace_fops
|
||||
c0d0f39c d empty_buckets
|
||||
c0d0f44c d rb_meta_seq_ops
|
||||
c0d0f460 d trace_clocks
|
||||
c0d0f4cc d tracing_buffers_vmops
|
||||
c0d0f504 d buffer_pipe_buf_ops
|
||||
c0d0f514 d trace_options_fops
|
||||
c0d0f598 d show_traces_seq_ops
|
||||
c0d0f5a8 d tracing_err_log_seq_ops
|
||||
c0d0f5b8 d show_traces_fops
|
||||
c0d0f63c d set_tracer_fops
|
||||
c0d0f6c0 d tracing_cpumask_fops
|
||||
c0d0f744 d tracing_iter_fops
|
||||
c0d0f7c8 d tracing_fops
|
||||
c0d0f84c d tracing_pipe_fops
|
||||
c0d0f8d0 d tracing_entries_fops
|
||||
c0d0f954 d tracing_total_entries_fops
|
||||
c0d0f9d8 d tracing_free_buffer_fops
|
||||
c0d0fa5c d tracing_mark_fops
|
||||
c0d0fae0 d tracing_mark_raw_fops
|
||||
c0d0fb64 d trace_clock_fops
|
||||
c0d0fbe8 d rb_simple_fops
|
||||
c0d0fc6c d trace_time_stamp_mode_fops
|
||||
c0d0fcf0 d buffer_percent_fops
|
||||
c0d0fd74 d buffer_subbuf_size_fops
|
||||
c0d0fdf8 d trace_options_core_fops
|
||||
c0d0fe7c d last_boot_fops
|
||||
c0d0ff00 d tracing_err_log_fops
|
||||
c0d0ff84 d tracing_buffers_fops
|
||||
c0d10008 d tracing_stats_fops
|
||||
c0d1008c d tracing_buffer_meta_fops
|
||||
c0d10110 d tracer_seq_ops
|
||||
c0d10120 d space.8
|
||||
c0d10130 d tracing_thresh_fops
|
||||
c0d101b4 d tracing_readme_fops
|
||||
c0d10238 d tracing_dyn_info_fops
|
||||
c0d102bc D trace_min_max_fops
|
||||
c0d10340 d readme_msg
|
||||
c0d11e60 d timerlat_lat_context
|
||||
c0d11e6c d state_char.0
|
||||
c0d11e78 d trace_stat_seq_ops
|
||||
c0d11e88 d tracing_stat_fops
|
||||
c0d11f0c d ftrace_formats_fops
|
||||
c0d11f90 d show_format_seq_ops
|
||||
c0d11fa0 d tracing_saved_tgids_seq_ops
|
||||
c0d11fb0 d tracing_saved_cmdlines_seq_ops
|
||||
c0d11fc0 D tracing_saved_cmdlines_size_fops
|
||||
c0d12044 D tracing_saved_cmdlines_fops
|
||||
c0d120c8 D tracing_saved_tgids_fops
|
||||
c0d1214c d CSWTCH.34
|
||||
c0d12170 d spaces.0
|
||||
c0d12198 d graph_depth_fops
|
||||
c0d12234 d ftrace_subsystem_filter_fops
|
||||
c0d122b8 d ftrace_system_enable_fops
|
||||
c0d1233c d ftrace_tr_enable_fops
|
||||
c0d123c0 d ftrace_show_header_page_fops
|
||||
c0d12444 d ftrace_show_header_event_fops
|
||||
c0d124c8 d trace_format_seq_ops
|
||||
c0d124d8 d ftrace_set_event_fops
|
||||
c0d1255c d ftrace_set_event_pid_fops
|
||||
c0d125e0 d ftrace_set_event_notrace_pid_fops
|
||||
c0d12664 d show_set_event_seq_ops
|
||||
c0d12674 d show_event_seq_ops
|
||||
c0d12684 d show_set_no_pid_seq_ops
|
||||
c0d12694 d show_set_pid_seq_ops
|
||||
c0d126a4 d ftrace_event_format_fops
|
||||
c0d12728 d ftrace_enable_fops
|
||||
c0d127ac d ftrace_event_filter_fops
|
||||
c0d12830 d ftrace_event_id_fops
|
||||
c0d128b4 d ftrace_avail_fops
|
||||
c0d12a20 d ops
|
||||
c0d12a44 d event_triggers_seq_ops
|
||||
c0d12a54 D event_trigger_fops
|
||||
c0d12d50 d bpf_key_sig_kfunc_set
|
||||
c0d12d5c d bpf_kprobe_multi_kfunc_set
|
||||
c0d12d68 D bpf_get_current_task_proto
|
||||
c0d12da4 D bpf_get_current_task_btf_proto
|
||||
c0d12de0 D bpf_task_pt_regs_proto
|
||||
c0d12e1c d bpf_perf_event_read_proto
|
||||
c0d12e58 d bpf_trace_printk_proto
|
||||
c0d12e94 D bpf_probe_read_user_proto
|
||||
c0d12ed0 D bpf_probe_read_user_str_proto
|
||||
c0d12f0c d bpf_probe_read_compat_str_proto
|
||||
c0d12f48 d bpf_probe_read_compat_proto
|
||||
c0d12f84 D bpf_probe_read_kernel_str_proto
|
||||
c0d12fc0 d bpf_send_signal_proto
|
||||
c0d12ffc d bpf_send_signal_thread_proto
|
||||
c0d13038 d bpf_perf_event_read_value_proto
|
||||
c0d13074 D bpf_snprintf_btf_proto
|
||||
c0d130b0 d bpf_trace_vprintk_proto
|
||||
c0d130ec d bpf_get_func_ip_proto_tracing
|
||||
c0d13128 d bpf_get_branch_snapshot_proto
|
||||
c0d13164 d bpf_probe_write_user_proto
|
||||
c0d131a0 D bpf_probe_read_kernel_proto
|
||||
c0d131dc d __func__.2
|
||||
c0d131f4 d __func__.0
|
||||
c0d13210 d bpf_perf_event_output_proto
|
||||
c0d1324c d bpf_get_func_ip_proto_kprobe_multi
|
||||
c0d13288 d bpf_get_func_ip_proto_uprobe_multi
|
||||
c0d132c4 d bpf_get_func_ip_proto_kprobe
|
||||
c0d13300 d bpf_get_attach_cookie_proto_kmulti
|
||||
c0d1333c d bpf_get_attach_cookie_proto_umulti
|
||||
c0d13378 d bpf_get_attach_cookie_proto_trace
|
||||
c0d133b4 d bpf_perf_event_output_proto_tp
|
||||
c0d133f0 d bpf_get_stackid_proto_tp
|
||||
c0d1342c d bpf_get_stack_proto_tp
|
||||
c0d13468 d bpf_perf_event_output_proto_raw_tp
|
||||
c0d134a4 d bpf_get_stackid_proto_raw_tp
|
||||
c0d134e0 d bpf_get_stack_proto_raw_tp
|
||||
c0d1351c d bpf_get_attach_cookie_proto_tracing
|
||||
c0d13558 d bpf_perf_prog_read_value_proto
|
||||
c0d13594 d bpf_read_branch_records_proto
|
||||
c0d135d0 d bpf_get_attach_cookie_proto_pe
|
||||
c0d1360c d bpf_d_path_proto
|
||||
c0d13648 d bpf_seq_write_proto
|
||||
c0d13684 d bpf_get_func_arg_cnt_proto
|
||||
c0d136c0 d bpf_get_func_ret_proto
|
||||
c0d136fc d bpf_get_func_arg_proto
|
||||
c0d13738 d bpf_seq_printf_btf_proto
|
||||
c0d13774 d bpf_seq_printf_proto
|
||||
c0d137b0 D perf_event_prog_ops
|
||||
c0d137b4 D perf_event_verifier_ops
|
||||
c0d137d0 D raw_tracepoint_writable_prog_ops
|
||||
c0d137d4 D raw_tracepoint_writable_verifier_ops
|
||||
c0d137f0 D tracing_prog_ops
|
||||
c0d137f4 D tracing_verifier_ops
|
||||
c0d13810 D raw_tracepoint_prog_ops
|
||||
c0d13814 D raw_tracepoint_verifier_ops
|
||||
c0d13830 D tracepoint_prog_ops
|
||||
c0d13834 D tracepoint_verifier_ops
|
||||
c0d13850 D kprobe_prog_ops
|
||||
c0d13854 D kprobe_verifier_ops
|
||||
c0d13870 d str__bpf_trace__trace_system_name
|
||||
c0d138b0 d kprobe_events_ops
|
||||
c0d13934 d kprobe_profile_ops
|
||||
c0d139b8 d profile_seq_op
|
||||
c0d139c8 d probes_seq_op
|
||||
c0d139d8 d symbols.0
|
||||
c0d139f8 d str__error_report__trace_system_name
|
||||
c0d13a08 d symbols.3
|
||||
c0d13a50 d symbols.2
|
||||
c0d13a70 d symbols.0
|
||||
c0d13a88 d symbols.1
|
||||
c0d13aa8 d str__power__trace_system_name
|
||||
c0d13ab0 d symbols.0
|
||||
c0d13ae0 d str__rpm__trace_system_name
|
||||
c0d13ae4 d dynamic_events_ops
|
||||
c0d13b68 d dyn_event_seq_op
|
||||
c0d13b98 d probe_fetch_types
|
||||
c0d13d48 d CSWTCH.274
|
||||
c0d13d54 d CSWTCH.273
|
||||
c0d13d60 d reserved_field_names
|
||||
c0d13d80 D print_type_format_string
|
||||
c0d13d88 D print_type_format_symbol
|
||||
c0d13d8c D print_type_format_char
|
||||
c0d13d94 D print_type_format_x64
|
||||
c0d13d9c D print_type_format_x32
|
||||
c0d13da4 D print_type_format_x16
|
||||
c0d13dac D print_type_format_x8
|
||||
c0d13db4 D print_type_format_s64
|
||||
c0d13db8 D print_type_format_s32
|
||||
c0d13dbc D print_type_format_s16
|
||||
c0d13dc0 D print_type_format_s8
|
||||
c0d13dc4 D print_type_format_u64
|
||||
c0d13dc8 D print_type_format_u32
|
||||
c0d13dcc D print_type_format_u16
|
||||
c0d13dd0 D print_type_format_u8
|
||||
c0d13df8 d uprobe_events_ops
|
||||
c0d13e7c d uprobe_profile_ops
|
||||
c0d13f00 d profile_seq_op
|
||||
c0d13f10 d probes_seq_op
|
||||
c0d13fbc d symbols.8
|
||||
c0d13ff4 d symbols.7
|
||||
c0d1402c d symbols.6
|
||||
c0d14064 d symbols.5
|
||||
c0d1409c d symbols.4
|
||||
c0d140d4 d symbols.3
|
||||
c0d1410c d symbols.2
|
||||
c0d1413c d symbols.1
|
||||
c0d1416c d symbols.0
|
||||
c0d141ac d public_insntable.10
|
||||
c0d142ac d str__xdp__trace_system_name
|
||||
c0d142b0 V arena_map_ops
|
||||
c0d1435c D bpf_tail_call_proto
|
||||
c0d14410 V bpf_seq_printf_btf_proto
|
||||
c0d14c18 d bpf_link_type_strs
|
||||
c0d14c54 d CSWTCH.401
|
||||
c0d14c8c d bpf_audit_str
|
||||
c0d14c94 d bpf_map_default_vmops
|
||||
c0d14ccc D bpf_map_offload_ops
|
||||
c0d14d78 D bpf_map_fops
|
||||
c0d14dfc d bpf_link_fops_poll
|
||||
c0d14e80 d bpf_link_fops
|
||||
c0d14f04 D bpf_prog_fops
|
||||
c0d14f88 d bpf_map_types
|
||||
c0d15010 d bpf_prog_types
|
||||
c0d15094 d bpf_tracing_link_lops
|
||||
c0d150b8 d bpf_raw_tp_link_lops
|
||||
c0d150dc d bpf_perf_link_lops
|
||||
c0d15100 d bpf_stats_fops
|
||||
c0d15184 d bpf_sys_bpf_proto
|
||||
c0d151c0 d bpf_sys_close_proto
|
||||
c0d151fc d bpf_kallsyms_lookup_name_proto
|
||||
c0d15238 D bpf_syscall_prog_ops
|
||||
c0d1523c D bpf_syscall_verifier_ops
|
||||
c0d15dbc d reg2btf_ids
|
||||
c0d15e14 d caller_saved
|
||||
c0d15e2c d opcode_flip.0
|
||||
c0d15ee4 d compatible_reg_types
|
||||
c0d15f44 d mem_types
|
||||
c0d15f70 d bpf_verifier_ops
|
||||
c0d16044 d dynptr_types
|
||||
c0d16070 d kptr_xchg_dest_types
|
||||
c0d1609c d timer_types
|
||||
c0d160c8 d const_str_ptr_types
|
||||
c0d160f4 d stack_ptr_types
|
||||
c0d16120 d func_ptr_types
|
||||
c0d1614c d percpu_btf_ptr_types
|
||||
c0d16178 d btf_ptr_types
|
||||
c0d161a4 d const_map_ptr_types
|
||||
c0d161d0 d ringbuf_mem_types
|
||||
c0d161fc d context_types
|
||||
c0d16228 d scalar_types
|
||||
c0d16254 d fullsock_types
|
||||
c0d16280 d spin_lock_types
|
||||
c0d162ac d btf_id_sock_common_types
|
||||
c0d162d8 d sock_types
|
||||
c0d0e599 D kernel_config_data_end
|
||||
c0d0e5a4 d config_gz_proc_ops
|
||||
c0d0e60c d __func__.10
|
||||
c0d0e618 d __func__.7
|
||||
c0d0e628 d __func__.5
|
||||
c0d0e63c d __func__.3
|
||||
c0d0e64c d audit_feature_names
|
||||
c0d0e770 d audit_ops
|
||||
c0d0e9bc d audit_nfcfgs
|
||||
c0d0ea6c d ntp_name.0
|
||||
c0d0ea84 d audit_watch_fsnotify_ops
|
||||
c0d0ea9c d audit_mark_fsnotify_ops
|
||||
c0d0eab4 d audit_tree_ops
|
||||
c0d0eacc d kprobes_fops
|
||||
c0d0eb50 d fops_kp
|
||||
c0d0ebd4 d kprobe_blacklist_fops
|
||||
c0d0ec58 d kprobes_sops
|
||||
c0d0ec68 d kprobe_blacklist_sops
|
||||
c0d0eca0 d seccomp_log_names
|
||||
c0d0ece8 d seccomp_notify_ops
|
||||
c0d0ed6c d mode1_syscalls
|
||||
c0d0ed80 d seccomp_actions_avail
|
||||
c0d0edc0 d taskstats_ops
|
||||
c0d0edf8 d cgroupstats_cmd_get_policy
|
||||
c0d0ee08 d taskstats_cmd_get_policy
|
||||
c0d0ee3c d empty_hash
|
||||
c0d0ee54 d show_ftrace_seq_ops
|
||||
c0d0ee64 d ftrace_graph_seq_ops
|
||||
c0d0ee74 d this_mod.0
|
||||
c0d0ee84 d ftrace_filter_fops
|
||||
c0d0ef08 d ftrace_notrace_fops
|
||||
c0d0ef8c d ftrace_no_pid_sops
|
||||
c0d0ef9c d ftrace_pid_sops
|
||||
c0d0efac d ftrace_pid_fops
|
||||
c0d0f030 d ftrace_no_pid_fops
|
||||
c0d0f0b4 d ftrace_avail_fops
|
||||
c0d0f138 d ftrace_avail_addrs_fops
|
||||
c0d0f1bc d ftrace_enabled_fops
|
||||
c0d0f240 d ftrace_touched_fops
|
||||
c0d0f2c4 d ftrace_graph_fops
|
||||
c0d0f348 d ftrace_graph_notrace_fops
|
||||
c0d0f3cc d empty_buckets
|
||||
c0d0f47c d rb_meta_seq_ops
|
||||
c0d0f490 d trace_clocks
|
||||
c0d0f4fc d tracing_buffers_vmops
|
||||
c0d0f534 d buffer_pipe_buf_ops
|
||||
c0d0f544 d trace_options_fops
|
||||
c0d0f5c8 d show_traces_seq_ops
|
||||
c0d0f5d8 d tracing_err_log_seq_ops
|
||||
c0d0f5e8 d show_traces_fops
|
||||
c0d0f66c d set_tracer_fops
|
||||
c0d0f6f0 d tracing_cpumask_fops
|
||||
c0d0f774 d tracing_iter_fops
|
||||
c0d0f7f8 d tracing_fops
|
||||
c0d0f87c d tracing_pipe_fops
|
||||
c0d0f900 d tracing_entries_fops
|
||||
c0d0f984 d tracing_total_entries_fops
|
||||
c0d0fa08 d tracing_free_buffer_fops
|
||||
c0d0fa8c d tracing_mark_fops
|
||||
c0d0fb10 d tracing_mark_raw_fops
|
||||
c0d0fb94 d trace_clock_fops
|
||||
c0d0fc18 d rb_simple_fops
|
||||
c0d0fc9c d trace_time_stamp_mode_fops
|
||||
c0d0fd20 d buffer_percent_fops
|
||||
c0d0fda4 d buffer_subbuf_size_fops
|
||||
c0d0fe28 d trace_options_core_fops
|
||||
c0d0feac d last_boot_fops
|
||||
c0d0ff30 d tracing_err_log_fops
|
||||
c0d0ffb4 d tracing_buffers_fops
|
||||
c0d10038 d tracing_stats_fops
|
||||
c0d100bc d tracing_buffer_meta_fops
|
||||
c0d10140 d tracer_seq_ops
|
||||
c0d10150 d space.8
|
||||
c0d10160 d tracing_thresh_fops
|
||||
c0d101e4 d tracing_readme_fops
|
||||
c0d10268 d tracing_dyn_info_fops
|
||||
c0d102ec D trace_min_max_fops
|
||||
c0d10370 d readme_msg
|
||||
c0d11e90 d timerlat_lat_context
|
||||
c0d11e9c d state_char.0
|
||||
c0d11ea8 d trace_stat_seq_ops
|
||||
c0d11eb8 d tracing_stat_fops
|
||||
c0d11f3c d ftrace_formats_fops
|
||||
c0d11fc0 d show_format_seq_ops
|
||||
c0d11fd0 d tracing_saved_tgids_seq_ops
|
||||
c0d11fe0 d tracing_saved_cmdlines_seq_ops
|
||||
c0d11ff0 D tracing_saved_cmdlines_size_fops
|
||||
c0d12074 D tracing_saved_cmdlines_fops
|
||||
c0d120f8 D tracing_saved_tgids_fops
|
||||
c0d1217c d CSWTCH.34
|
||||
c0d121a0 d spaces.0
|
||||
c0d121c8 d graph_depth_fops
|
||||
c0d12264 d ftrace_subsystem_filter_fops
|
||||
c0d122e8 d ftrace_system_enable_fops
|
||||
c0d1236c d ftrace_tr_enable_fops
|
||||
c0d123f0 d ftrace_show_header_page_fops
|
||||
c0d12474 d ftrace_show_header_event_fops
|
||||
c0d124f8 d trace_format_seq_ops
|
||||
c0d12508 d ftrace_set_event_fops
|
||||
c0d1258c d ftrace_set_event_pid_fops
|
||||
c0d12610 d ftrace_set_event_notrace_pid_fops
|
||||
c0d12694 d show_set_event_seq_ops
|
||||
c0d126a4 d show_event_seq_ops
|
||||
c0d126b4 d show_set_no_pid_seq_ops
|
||||
c0d126c4 d show_set_pid_seq_ops
|
||||
c0d126d4 d ftrace_event_format_fops
|
||||
c0d12758 d ftrace_enable_fops
|
||||
c0d127dc d ftrace_event_filter_fops
|
||||
c0d12860 d ftrace_event_id_fops
|
||||
c0d128e4 d ftrace_avail_fops
|
||||
c0d12a50 d ops
|
||||
c0d12a74 d event_triggers_seq_ops
|
||||
c0d12a84 D event_trigger_fops
|
||||
c0d12d80 d bpf_key_sig_kfunc_set
|
||||
c0d12d8c d bpf_kprobe_multi_kfunc_set
|
||||
c0d12d98 D bpf_get_current_task_proto
|
||||
c0d12dd4 D bpf_get_current_task_btf_proto
|
||||
c0d12e10 D bpf_task_pt_regs_proto
|
||||
c0d12e4c d bpf_perf_event_read_proto
|
||||
c0d12e88 d bpf_trace_printk_proto
|
||||
c0d12ec4 D bpf_probe_read_user_proto
|
||||
c0d12f00 D bpf_probe_read_user_str_proto
|
||||
c0d12f3c d bpf_probe_read_compat_str_proto
|
||||
c0d12f78 d bpf_probe_read_compat_proto
|
||||
c0d12fb4 D bpf_probe_read_kernel_str_proto
|
||||
c0d12ff0 d bpf_send_signal_proto
|
||||
c0d1302c d bpf_send_signal_thread_proto
|
||||
c0d13068 d bpf_perf_event_read_value_proto
|
||||
c0d130a4 D bpf_snprintf_btf_proto
|
||||
c0d130e0 d bpf_trace_vprintk_proto
|
||||
c0d1311c d bpf_get_func_ip_proto_tracing
|
||||
c0d13158 d bpf_get_branch_snapshot_proto
|
||||
c0d13194 d bpf_probe_write_user_proto
|
||||
c0d131d0 D bpf_probe_read_kernel_proto
|
||||
c0d1320c d __func__.2
|
||||
c0d13224 d __func__.0
|
||||
c0d13240 d bpf_perf_event_output_proto
|
||||
c0d1327c d bpf_get_func_ip_proto_kprobe_multi
|
||||
c0d132b8 d bpf_get_func_ip_proto_uprobe_multi
|
||||
c0d132f4 d bpf_get_func_ip_proto_kprobe
|
||||
c0d13330 d bpf_get_attach_cookie_proto_kmulti
|
||||
c0d1336c d bpf_get_attach_cookie_proto_umulti
|
||||
c0d133a8 d bpf_get_attach_cookie_proto_trace
|
||||
c0d133e4 d bpf_perf_event_output_proto_tp
|
||||
c0d13420 d bpf_get_stackid_proto_tp
|
||||
c0d1345c d bpf_get_stack_proto_tp
|
||||
c0d13498 d bpf_perf_event_output_proto_raw_tp
|
||||
c0d134d4 d bpf_get_stackid_proto_raw_tp
|
||||
c0d13510 d bpf_get_stack_proto_raw_tp
|
||||
c0d1354c d bpf_get_attach_cookie_proto_tracing
|
||||
c0d13588 d bpf_perf_prog_read_value_proto
|
||||
c0d135c4 d bpf_read_branch_records_proto
|
||||
c0d13600 d bpf_get_attach_cookie_proto_pe
|
||||
c0d1363c d bpf_d_path_proto
|
||||
c0d13678 d bpf_seq_write_proto
|
||||
c0d136b4 d bpf_get_func_arg_cnt_proto
|
||||
c0d136f0 d bpf_get_func_ret_proto
|
||||
c0d1372c d bpf_get_func_arg_proto
|
||||
c0d13768 d bpf_seq_printf_btf_proto
|
||||
c0d137a4 d bpf_seq_printf_proto
|
||||
c0d137e0 D perf_event_prog_ops
|
||||
c0d137e4 D perf_event_verifier_ops
|
||||
c0d13800 D raw_tracepoint_writable_prog_ops
|
||||
c0d13804 D raw_tracepoint_writable_verifier_ops
|
||||
c0d13820 D tracing_prog_ops
|
||||
c0d13824 D tracing_verifier_ops
|
||||
c0d13840 D raw_tracepoint_prog_ops
|
||||
c0d13844 D raw_tracepoint_verifier_ops
|
||||
c0d13860 D tracepoint_prog_ops
|
||||
c0d13864 D tracepoint_verifier_ops
|
||||
c0d13880 D kprobe_prog_ops
|
||||
c0d13884 D kprobe_verifier_ops
|
||||
c0d138a0 d str__bpf_trace__trace_system_name
|
||||
c0d138e0 d kprobe_events_ops
|
||||
c0d13964 d kprobe_profile_ops
|
||||
c0d139e8 d profile_seq_op
|
||||
c0d139f8 d probes_seq_op
|
||||
c0d13a08 d symbols.0
|
||||
c0d13a28 d str__error_report__trace_system_name
|
||||
c0d13a38 d symbols.3
|
||||
c0d13a80 d symbols.2
|
||||
c0d13aa0 d symbols.0
|
||||
c0d13ab8 d symbols.1
|
||||
c0d13ad8 d str__power__trace_system_name
|
||||
c0d13ae0 d symbols.0
|
||||
c0d13b10 d str__rpm__trace_system_name
|
||||
c0d13b14 d dynamic_events_ops
|
||||
c0d13b98 d dyn_event_seq_op
|
||||
c0d13bc8 d probe_fetch_types
|
||||
c0d13d78 d CSWTCH.274
|
||||
c0d13d84 d CSWTCH.273
|
||||
c0d13d90 d reserved_field_names
|
||||
c0d13db0 D print_type_format_string
|
||||
c0d13db8 D print_type_format_symbol
|
||||
c0d13dbc D print_type_format_char
|
||||
c0d13dc4 D print_type_format_x64
|
||||
c0d13dcc D print_type_format_x32
|
||||
c0d13dd4 D print_type_format_x16
|
||||
c0d13ddc D print_type_format_x8
|
||||
c0d13de4 D print_type_format_s64
|
||||
c0d13de8 D print_type_format_s32
|
||||
c0d13dec D print_type_format_s16
|
||||
c0d13df0 D print_type_format_s8
|
||||
c0d13df4 D print_type_format_u64
|
||||
c0d13df8 D print_type_format_u32
|
||||
c0d13dfc D print_type_format_u16
|
||||
c0d13e00 D print_type_format_u8
|
||||
c0d13e28 d uprobe_events_ops
|
||||
c0d13eac d uprobe_profile_ops
|
||||
c0d13f30 d profile_seq_op
|
||||
c0d13f40 d probes_seq_op
|
||||
c0d13fec d symbols.8
|
||||
c0d14024 d symbols.7
|
||||
c0d1405c d symbols.6
|
||||
c0d14094 d symbols.5
|
||||
c0d140cc d symbols.4
|
||||
c0d14104 d symbols.3
|
||||
c0d1413c d symbols.2
|
||||
c0d1416c d symbols.1
|
||||
c0d1419c d symbols.0
|
||||
c0d141dc d public_insntable.10
|
||||
c0d142dc d str__xdp__trace_system_name
|
||||
c0d142e0 V arena_map_ops
|
||||
c0d1438c D bpf_tail_call_proto
|
||||
c0d14440 V bpf_seq_printf_btf_proto
|
||||
c0d14c48 d bpf_link_type_strs
|
||||
c0d14c84 d CSWTCH.401
|
||||
c0d14cbc d bpf_audit_str
|
||||
c0d14cc4 d bpf_map_default_vmops
|
||||
c0d14cfc D bpf_map_offload_ops
|
||||
c0d14da8 D bpf_map_fops
|
||||
c0d14e2c d bpf_link_fops_poll
|
||||
c0d14eb0 d bpf_link_fops
|
||||
c0d14f34 D bpf_prog_fops
|
||||
c0d14fb8 d bpf_map_types
|
||||
c0d15040 d bpf_prog_types
|
||||
c0d150c4 d bpf_tracing_link_lops
|
||||
c0d150e8 d bpf_raw_tp_link_lops
|
||||
c0d1510c d bpf_perf_link_lops
|
||||
c0d15130 d bpf_stats_fops
|
||||
c0d151b4 d bpf_sys_bpf_proto
|
||||
c0d151f0 d bpf_sys_close_proto
|
||||
c0d1522c d bpf_kallsyms_lookup_name_proto
|
||||
c0d15268 D bpf_syscall_prog_ops
|
||||
c0d1526c D bpf_syscall_verifier_ops
|
||||
c0d15dec d reg2btf_ids
|
||||
c0d15e44 d caller_saved
|
||||
c0d15e5c d opcode_flip.0
|
||||
c0d15f14 d compatible_reg_types
|
||||
c0d15f74 d mem_types
|
||||
c0d15fa0 d bpf_verifier_ops
|
||||
c0d16074 d dynptr_types
|
||||
c0d160a0 d kptr_xchg_dest_types
|
||||
c0d160cc d timer_types
|
||||
c0d160f8 d const_str_ptr_types
|
||||
c0d16124 d stack_ptr_types
|
||||
c0d16150 d func_ptr_types
|
||||
c0d1617c d percpu_btf_ptr_types
|
||||
c0d161a8 d btf_ptr_types
|
||||
c0d161d4 d const_map_ptr_types
|
||||
c0d16200 d ringbuf_mem_types
|
||||
c0d1622c d context_types
|
||||
c0d16258 d scalar_types
|
||||
c0d16284 d fullsock_types
|
||||
c0d162b0 d spin_lock_types
|
||||
c0d162dc d btf_id_sock_common_types
|
||||
c0d16308 d sock_types
|
||||
c0d16380 d bpf_map_iops
|
||||
c0d16400 d bpf_link_iops
|
||||
c0d16480 d bpf_prog_iops
|
||||
|
||||
@@ -2524,7 +2524,7 @@ CONFIG_SPI_QUP=y
|
||||
#
|
||||
# SPI Multiplexer support
|
||||
#
|
||||
# CONFIG_SPI_MUX is not set
|
||||
CONFIG_SPI_MUX=m
|
||||
|
||||
#
|
||||
# SPI Protocol Masters
|
||||
@@ -6070,6 +6070,17 @@ CONFIG_NVMEM_QCOM_QFPROM=y
|
||||
# CONFIG_FPGA is not set
|
||||
# CONFIG_FSI is not set
|
||||
# CONFIG_TEE is not set
|
||||
CONFIG_MULTIPLEXER=m
|
||||
|
||||
#
|
||||
# Multiplexer drivers
|
||||
#
|
||||
# CONFIG_MUX_ADG792A is not set
|
||||
# CONFIG_MUX_ADGS1408 is not set
|
||||
CONFIG_MUX_GPIO=m
|
||||
# CONFIG_MUX_MMIO is not set
|
||||
# end of Multiplexer drivers
|
||||
|
||||
CONFIG_PM_OPP=y
|
||||
# CONFIG_SIOX is not set
|
||||
# CONFIG_SLIMBUS is not set
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,33 @@
|
||||
# Bananarchy cover display daemon (Nokia 2720 Flip external panel).
|
||||
# Root-owned: the daemon runs as root; user preferences live in
|
||||
# /home/user/.config/bananarchy/cover-display.conf and are applied by
|
||||
# the xcover DWM plugin at session start.
|
||||
|
||||
# auto = /dev/fb1 (kernel spi-mux) -> /dev/spidev0.1 -> no hardware
|
||||
backend = auto
|
||||
fb_device = /dev/fb1
|
||||
spidev_device = /dev/spidev0.1
|
||||
gpiochip_device = /dev/gpiochip0
|
||||
panel_firmware = /lib/firmware/nokia,beatles-gc9305-ext-panel.bin
|
||||
socket_path = /run/bananarchy/cover.sock
|
||||
theme_file = /home/user/.Xresources
|
||||
input_dir = /dev/input
|
||||
|
||||
# GPIO offsets on MSM8909 TLMM (from the KaiOS downstream DTS)
|
||||
mux_gpio = 13
|
||||
reset_gpio = 23
|
||||
# gpio110 (the internal panel's DC line) is claimed exclusively by
|
||||
# panel-mipi-dbi-spi, so the daemon cannot request it through gpiochip0.
|
||||
# The gpio13 switch routes the shared DC/CS lines; -1 lets the spidev
|
||||
# backend open without fighting the kernel driver. Set this back to 110
|
||||
# only when the spi-mux kernel modules own both panels instead.
|
||||
dc_gpio = -1
|
||||
|
||||
# Privacy defaults: no caller name, no notification body, no text in logs.
|
||||
enabled = 1
|
||||
show_caller = 0
|
||||
show_notify = 0
|
||||
mask_logs = 1
|
||||
clock24 = 1
|
||||
brightness = 160
|
||||
blank_timeout = 120
|
||||
@@ -0,0 +1,6 @@
|
||||
# Bananarchy: pin the PAM-enabled sshd binary explicitly. The stock init
|
||||
# script picks /usr/sbin/sshd.pam only when its "sshd -G | grep UsePAM yes"
|
||||
# probe succeeds; if that probe is skipped (e.g. a service manager invoking
|
||||
# sshd directly) the default /usr/sbin/sshd is used and it *rejects* the
|
||||
# postmarketOS "UsePAM yes" drop-in as an unsupported option.
|
||||
SSHD_BINARY="/usr/sbin/sshd.pam"
|
||||
@@ -0,0 +1,2 @@
|
||||
# Bound udevadm settle so missing modem firmware cannot delay X startup.
|
||||
udev_settle_timeout=2
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
#!/sbin/openrc-run
|
||||
# Bananarchy cover display daemon. Only active on flip devices; the
|
||||
# lid-profile file is written by scripts/apply-bananarchy-overlay.sh.
|
||||
|
||||
description="Nokia 2720 Flip external cover display"
|
||||
# The recovered native bananarchy-coverd busy-loops at 100% CPU on the
|
||||
# spidev backend (gpio110/DC is owned by panel-mipi-dbi-spi) and paints
|
||||
# nothing. Keep that binary installed for the future spi-mux work, but run
|
||||
# the compiled idle IPC server in the default runlevel. No Python runs here.
|
||||
command="/usr/bin/bananarchy-cover-idle"
|
||||
command_args="--config /etc/bananarchy/cover-display.conf"
|
||||
command_background="yes"
|
||||
pidfile="/run/bananarchy/cover-display.pid"
|
||||
output_log="/run/bananarchy/cover-display.log"
|
||||
error_log="/run/bananarchy/cover-display.log"
|
||||
|
||||
depend() {
|
||||
need udev
|
||||
after udev-settle
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
mkdir -p /run/bananarchy
|
||||
chmod 0755 /run/bananarchy
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ "$(cat /usr/share/bananarchy/lid-profile 2>/dev/null)" != "flip" ]; then
|
||||
ebegin "Skipping cover display (not a flip device)"
|
||||
eend 0
|
||||
return 0
|
||||
fi
|
||||
default_start
|
||||
}
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/sbin/openrc-run
|
||||
# Nokia 2720 Flip hall-sensor lid handling (lock, blank, cover switch).
|
||||
|
||||
description="Bananarchy flip lid handler"
|
||||
|
||||
command="/usr/bin/bananarchy-lid"
|
||||
command_background=true
|
||||
pidfile="/run/bananarchy-lid.pid"
|
||||
|
||||
depend() {
|
||||
need udev
|
||||
after udev-settle
|
||||
before bananarchy-cover-display tinydm
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/sbin/openrc-run
|
||||
# USB-only PAM-free fallback sshd, started independently of local.d.
|
||||
description="Bananarchy USB diagnostic sshd"
|
||||
|
||||
command="/usr/sbin/sshd"
|
||||
command_args="-f /etc/ssh/sshd_config_debug"
|
||||
pidfile="/run/sshd-debug.pid"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after sshd udev-settle
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
[ -x /usr/sbin/sshd ] || return 1
|
||||
[ -f /etc/ssh/ssh_host_ed25519_key ] || /usr/sbin/ssh-keygen -A >/dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
start() {
|
||||
if [ -f /etc/bananarchy-no-debug-sshd ]; then
|
||||
ebegin "Skipping USB-only diagnostic sshd"
|
||||
eend 0
|
||||
return 0
|
||||
fi
|
||||
ebegin "Starting USB-only diagnostic sshd"
|
||||
"$command" $command_args
|
||||
eend $?
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#!/sbin/openrc-run
|
||||
# Direct evdev handling for the 2720 Flip side volume rocker.
|
||||
|
||||
description="Bananarchy side volume keys"
|
||||
|
||||
command="/usr/bin/bananarchy-volume-keys"
|
||||
command_background=true
|
||||
pidfile="/run/bananarchy-volume-keys.pid"
|
||||
|
||||
depend() {
|
||||
need udev
|
||||
after udev-settle
|
||||
}
|
||||
Executable
+96
@@ -0,0 +1,96 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright (c) 2007-2015 The OpenRC Authors.
|
||||
# See the Authors file at the top-level directory of this distribution and
|
||||
# https://github.com/OpenRC/openrc/blob/HEAD/AUTHORS
|
||||
#
|
||||
# This file is part of OpenRC. It is subject to the license terms in
|
||||
# the LICENSE file found in the top-level directory of this
|
||||
# distribution and at https://github.com/OpenRC/openrc/blob/HEAD/LICENSE
|
||||
# This file may not be copied, modified, propagated, or distributed
|
||||
# except according to the terms contained in the LICENSE file.
|
||||
|
||||
conf_d_dir="${RC_SERVICE%/*/*}/conf.d"
|
||||
local_d_dir="${RC_SERVICE%/*/*}/local.d"
|
||||
|
||||
description="Executes user programs in ${local_d_dir}"
|
||||
|
||||
depend()
|
||||
{
|
||||
after modules udev-settle
|
||||
keyword -timeout
|
||||
}
|
||||
|
||||
start()
|
||||
{
|
||||
local file has_errors redirect retval
|
||||
has_errors=0
|
||||
yesno $rc_verbose || redirect='> /dev/null 2>&1'
|
||||
ebegin "Starting local"
|
||||
eindent
|
||||
for file in "${local_d_dir}"/*.start; do
|
||||
if [ -x "${file}" ]; then
|
||||
vebegin "Executing \"${file}\""
|
||||
eval "${file}" $redirect
|
||||
retval=$?
|
||||
if [ ${retval} -ne 0 ]; then
|
||||
has_errors=1
|
||||
fi
|
||||
veend ${retval} "Execution of \"${file}\" failed."
|
||||
fi
|
||||
done
|
||||
eoutdent
|
||||
|
||||
if command -v local_start >/dev/null 2>&1; then
|
||||
ewarn "\"${conf_d_dir}/local\" should be removed."
|
||||
ewarn "Please move the code from the local_start function"
|
||||
ewarn "to executable scripts with an .start extension"
|
||||
ewarn "in \"${local_d_dir}\""
|
||||
local_start
|
||||
fi
|
||||
|
||||
eend ${has_errors}
|
||||
|
||||
# We have to end with a zero exit code, because a failed execution
|
||||
# of an executable ${local_d_dir}/*.start file shouldn't result in
|
||||
# marking the local service as failed. Otherwise we are unable to
|
||||
# execute any executable ${local_d_dir}/*.stop file, because a failed
|
||||
# marked service cannot be stopped (and the stop function would
|
||||
# actually call the executable ${local_d_dir}/*.stop file(s)).
|
||||
return 0
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
local file has_errors redirect retval
|
||||
has_errors=0
|
||||
yesno $rc_verbose || redirect='> /dev/null 2>&1'
|
||||
ebegin "Stopping local"
|
||||
eindent
|
||||
for file in "${local_d_dir}"/*.stop; do
|
||||
if [ -x "${file}" ]; then
|
||||
vebegin "Executing \"${file}\""
|
||||
eval "${file}" $redirect
|
||||
retval=$?
|
||||
if [ ${retval} -ne 0 ]; then
|
||||
has_errors=1
|
||||
fi
|
||||
veend ${retval} "Execution of \"${file}\" failed."
|
||||
fi
|
||||
done
|
||||
eoutdent
|
||||
|
||||
if command -v local_stop >/dev/null 2>&1; then
|
||||
ewarn "\"${conf_d_dir}/local\" should be removed."
|
||||
ewarn "Please move the code from the local_stop function"
|
||||
ewarn "to executable scripts with an .stop extension"
|
||||
ewarn "in \"${local_d_dir}\""
|
||||
local_stop
|
||||
fi
|
||||
|
||||
eend ${has_errors}
|
||||
|
||||
# An executable ${local_d_dir}/*.stop file which failed with a
|
||||
# non-zero exit status is not a reason to mark this service
|
||||
# as failed, therefore we have to end with a zero exit code.
|
||||
return 0
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Make sure the out-of-tree camera driver, the cover-panel spidev driver and
|
||||
# the spi-mux modules are loaded even when the boot-runlevel "modules" service
|
||||
# could not process /etc/modules (it needs /bin/sed, which was missing on some
|
||||
# rootfs builds).
|
||||
for mod in msm8905-cam spidev mux-core mux-gpio spi-mux; do
|
||||
i=0
|
||||
while [ "$i" -lt 5 ]; do
|
||||
/sbin/modprobe -q "$mod" && break
|
||||
i=$((i + 1))
|
||||
sleep 1
|
||||
done
|
||||
done
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# Keep a USB-only diagnostic login available even when the main sshd's PAM
|
||||
# stack is misconfigured. It is bound to 172.16.42.1 so it is never exposed
|
||||
# over Wi-Fi or the modem; create /etc/bananarchy-no-debug-sshd to disable.
|
||||
[ -f /etc/bananarchy-no-debug-sshd ] && exit 0
|
||||
if rc-service bananarchy-sshd-debug status >/dev/null 2>&1; then
|
||||
exit 0
|
||||
fi
|
||||
[ -x /usr/sbin/sshd ] || exit 0
|
||||
[ -f /etc/ssh/ssh_host_ed25519_key ] || /usr/sbin/ssh-keygen -A >/dev/null 2>&1
|
||||
# The USB gadget address may appear after this service starts, so retry.
|
||||
(
|
||||
i=0
|
||||
while [ "$i" -lt 30 ]; do
|
||||
/usr/sbin/sshd -f /etc/ssh/sshd_config_debug >/dev/null 2>&1 && break
|
||||
i=$((i + 1))
|
||||
sleep 2
|
||||
done
|
||||
) &
|
||||
@@ -0,0 +1,9 @@
|
||||
# Bananarchy hardware drivers that are not probed from a DT node.
|
||||
# msm8905-cam registers /dev/video0 (GC2395/GC2385 rear camera).
|
||||
msm8905-cam
|
||||
# spidev binds to the 2720 Flip external-panel chip select (/dev/spidev0.1).
|
||||
spidev
|
||||
# The opt-in cover-panel DTB needs the gpio mux and spi-mux drivers.
|
||||
mux-core
|
||||
mux-gpio
|
||||
spi-mux
|
||||
@@ -0,0 +1,13 @@
|
||||
#%PAM-1.0
|
||||
# Bananarchy: Alpine ships two sshd binaries. The postmarketOS policy
|
||||
# drop-in (50-postmarketos-ui-policy.conf) sets "UsePAM yes", which makes
|
||||
# /etc/init.d/sshd pick /usr/sbin/sshd.pam + /usr/lib/ssh/sshd-auth.pam.
|
||||
# Without this service file Linux-PAM falls back to a nonexistent
|
||||
# /etc/pam.d/other and pam_start() aborts: password, keyboard-interactive
|
||||
# and even the account check for public-key logins all fail. Keep the stack
|
||||
# minimal so it works with or without elogind running.
|
||||
auth required pam_unix.so
|
||||
account required pam_unix.so
|
||||
password required pam_unix.so
|
||||
session optional pam_env.so
|
||||
session required pam_unix.so
|
||||
@@ -0,0 +1,346 @@
|
||||
# Global OpenRC configuration settings
|
||||
|
||||
# Set to "YES" if you want the rc system to try and start services
|
||||
# in parallel for a slight speed improvement. When running in parallel we
|
||||
# prefix the service output with its name as the output will get
|
||||
# jumbled up.
|
||||
# WARNING: whilst we have improved parallel, it can still potentially lock
|
||||
# the boot process. Don't file bugs about this unless you can supply
|
||||
# patches that fix it without breaking other things!
|
||||
#rc_parallel="NO"
|
||||
|
||||
# Set rc_interactive to "YES" and you'll be able to press the I key during
|
||||
# boot so you can choose to start specific services. Set to "NO" to disable
|
||||
# this feature. This feature is automatically disabled if rc_parallel is
|
||||
# set to YES.
|
||||
#rc_interactive="YES"
|
||||
|
||||
# Set to "NO" if you don't want pam_openrc autostarting user services. This
|
||||
# effectively disables the pam module, without the need of removing it from
|
||||
# the pam configuration files.
|
||||
#rc_autostart_user="YES"
|
||||
|
||||
# If we need to drop to a shell, you can specify it here.
|
||||
# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
|
||||
# otherwise /bin/sh
|
||||
# Linux users could specify /sbin/sulogin
|
||||
#rc_shell=/bin/sh
|
||||
|
||||
# Do we allow any started service in the runlevel to satisfy the dependency
|
||||
# or do we want all of them regardless of state? For example, if net.eth0
|
||||
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
|
||||
# both will be started, but services that depend on 'net' will work if either
|
||||
# one comes up. With rc_depend_strict="YES" we would require them both to
|
||||
# come up.
|
||||
#rc_depend_strict="YES"
|
||||
|
||||
# rc_hotplug controls which services we allow to be hotplugged.
|
||||
# A hotplugged service is one started by a dynamic dev manager when a matching
|
||||
# hardware device is found.
|
||||
# Hotplugged services appear in the "hotplugged" runlevel.
|
||||
# If rc_hotplug is set to any value, we compare the name of this service
|
||||
# to every pattern in the value, from left to right, and we allow the
|
||||
# service to be hotplugged if it matches a pattern, or if it matches no
|
||||
# patterns. Patterns can include shell wildcards.
|
||||
# To disable services from being hotplugged, prefix patterns with "!".
|
||||
#If rc_hotplug is not set or is empty, all hotplugging is disabled.
|
||||
# Example - rc_hotplug="net.wlan !net.*"
|
||||
# This allows net.wlan and any service not matching net.* to be hotplugged.
|
||||
# Example - rc_hotplug="!net.*"
|
||||
# This allows services that do not match "net.*" to be hotplugged.
|
||||
|
||||
# rc_logger launches a logging daemon to log the entire rc process to
|
||||
# /var/log/rc.log
|
||||
# NOTE: Linux systems require the devfs service to be started before
|
||||
# logging can take place and as such cannot log the sysinit runlevel.
|
||||
#rc_logger="NO"
|
||||
|
||||
# Through rc_log_path you can specify a custom log file.
|
||||
# The default value is: /var/log/rc.log
|
||||
#rc_log_path="/var/log/rc.log"
|
||||
|
||||
# If you want verbose output for OpenRC, set this to yes. If you want
|
||||
# verbose output for service foo only, set it to yes in /etc/conf.d/foo.
|
||||
#rc_verbose=no
|
||||
|
||||
# By default we filter the environment for our running scripts. To allow other
|
||||
# variables through, add them here. Use a * to allow all variables through.
|
||||
#rc_env_allow="VAR1 VAR2"
|
||||
|
||||
# By default we assume that all daemons will start correctly.
|
||||
# However, some do not - a classic example is that they fork and return 0 AND
|
||||
# then child barfs on a configuration error. Or the daemon has a bug and the
|
||||
# child crashes. You can set the number of milliseconds start-stop-daemon
|
||||
# waits to check that the daemon is still running after starting here.
|
||||
# The default is 0 - no checking.
|
||||
#rc_start_wait=100
|
||||
|
||||
# rc_nostop is a list of services which will not stop when changing runlevels.
|
||||
# This still allows the service itself to be stopped when called directly.
|
||||
#rc_nostop=""
|
||||
|
||||
# rc will attempt to start crashed services by default.
|
||||
# However, it will not stop them by default as that could bring down other
|
||||
# critical services.
|
||||
#rc_crashed_stop=NO
|
||||
#rc_crashed_start=YES
|
||||
|
||||
# Set rc_nocolor to yes if you do not want colors displayed in OpenRC
|
||||
# output.
|
||||
#rc_nocolor=NO
|
||||
|
||||
##############################################################################
|
||||
# MISC CONFIGURATION VARIABLES
|
||||
# There variables are shared between many init scripts
|
||||
|
||||
# Set unicode to NO to turn off unicode support for keyboards and screens.
|
||||
#unicode="YES"
|
||||
|
||||
# This is how long fuser should wait for a remote server to respond. The
|
||||
# default is 60 seconds, but it can be adjusted here.
|
||||
#rc_fuser_timeout=60
|
||||
|
||||
# Below is the default list of network fstypes.
|
||||
#
|
||||
# afs ceph cifs coda davfs fuse fuse.glusterfs fuse.sshfs gfs glusterfs lustre
|
||||
# ncpfs nfs nfs4 ocfs2 shfs smbfs
|
||||
#
|
||||
# If you would like to add to this list, you can do so by adding your
|
||||
# own fstypes to the following variable.
|
||||
#extra_net_fs_list=""
|
||||
|
||||
##############################################################################
|
||||
# SERVICE CONFIGURATION VARIABLES
|
||||
# These variables are documented here, but should be configured in
|
||||
# /etc/conf.d/foo for service foo and NOT enabled here unless you
|
||||
# really want them to work on a global basis.
|
||||
# If your service has characters in its name which are not legal in
|
||||
# shell variable names and you configure the variables for it in this
|
||||
# file, those characters should be replaced with underscores in the
|
||||
# variable names as shown below.
|
||||
|
||||
# Some daemons are started and stopped via start-stop-daemon.
|
||||
# We can set some things on a per service basis, like the nicelevel.
|
||||
# These need to be exported
|
||||
#export SSD_NICELEVEL="0"
|
||||
# Or the ionice level. The format is class[:data] , just like the
|
||||
# --ionice start-stop-daemon parameter.
|
||||
#export SSD_IONICELEVEL="0:0"
|
||||
# Or the OOM score adjustment.
|
||||
#export SSD_OOM_SCORE_ADJ="0"
|
||||
|
||||
# Pass ulimit parameters
|
||||
# If you are using bash in POSIX mode for your shell, note that the
|
||||
# ulimit command uses a block size of 512 bytes for the -c and -f
|
||||
# options
|
||||
#rc_ulimit="-u 30"
|
||||
|
||||
# It's possible to define extra dependencies for services like so
|
||||
#rc_config="/etc/foo"
|
||||
#rc_need="openvpn"
|
||||
#rc_use="net.eth0"
|
||||
#rc_after="clock"
|
||||
#rc_before="local"
|
||||
#rc_provide="!net"
|
||||
|
||||
# You can also enable the above commands here for each service. Below is an
|
||||
# example for service foo.
|
||||
#rc_foo_config="/etc/foo"
|
||||
#rc_foo_need="openvpn"
|
||||
#rc_foo_after="clock"
|
||||
|
||||
# Below is an example for service foo-bar. Note that the '-' is illegal
|
||||
# in a shell variable name, so we convert it to an underscore.
|
||||
# example for service foo-bar.
|
||||
#rc_foo_bar_config="/etc/foo-bar"
|
||||
#rc_foo_bar_need="openvpn"
|
||||
#rc_foo_bar_after="clock"
|
||||
|
||||
# You can also remove dependencies.
|
||||
# This is mainly used for saying which services do NOT provide net.
|
||||
#rc_net_tap0_provide="!net"
|
||||
|
||||
# This is the subsystem type.
|
||||
# It is used to match against keywords set by the keyword call in the
|
||||
# depend function of service scripts.
|
||||
#
|
||||
# It should be set to the value representing the environment this file is
|
||||
# PRESENTLY in, not the virtualization the environment is capable of.
|
||||
# If it is commented out, automatic detection will be used.
|
||||
#
|
||||
# The list below shows all possible settings as well as the host
|
||||
# operating systems where they can be used and autodetected.
|
||||
#
|
||||
# "" - nothing special
|
||||
# "docker" - Docker container manager (Linux)
|
||||
# "podman" - Podman container manager (Linux)
|
||||
# "jail" - Jail (DragonflyBSD or FreeBSD)
|
||||
# "lxc" - Linux Containers
|
||||
# "openvz" - Linux OpenVZ
|
||||
# "prefix" - Prefix
|
||||
# "rkt" - CoreOS container management system (Linux)
|
||||
# "subhurd" - Hurd subhurds (to be checked)
|
||||
# "systemd-nspawn" - Container created by systemd-nspawn (Linux)
|
||||
# "uml" - Usermode Linux
|
||||
# "vserver" - Linux vserver
|
||||
# "xen0" - Xen0 Domain (Linux and NetBSD)
|
||||
# "xenU" - XenU Domain (Linux and NetBSD)
|
||||
#rc_sys=""
|
||||
|
||||
# if you use openrc-init, which is currently only available on Linux,
|
||||
# this is the default runlevel to activate after "sysinit" and "boot"
|
||||
# when booting.
|
||||
#rc_default_runlevel="default"
|
||||
|
||||
# on Linux and Hurd, this is the number of ttys allocated for logins
|
||||
# It is used in the consolefont, keymaps, numlock and termencoding
|
||||
# service scripts.
|
||||
rc_tty_number=12
|
||||
|
||||
##############################################################################
|
||||
# LINUX CGROUPS RESOURCE MANAGEMENT
|
||||
|
||||
# This sets the mode used to mount cgroups.
|
||||
# "hybrid" mounts cgroups version 2 on /sys/fs/cgroup/unified and
|
||||
# cgroups version 1 on /sys/fs/cgroup.
|
||||
# "legacy" mounts cgroups version 1 on /sys/fs/cgroup
|
||||
# "unified" mounts cgroups version 2 on /sys/fs/cgroup
|
||||
#rc_cgroup_mode="unified"
|
||||
|
||||
# This is a list of controllers which should be enabled for cgroups version 2
|
||||
# when hybrid mode is being used.
|
||||
# Controllers listed here will not be available for cgroups version 1.
|
||||
#rc_cgroup_controllers=""
|
||||
|
||||
# This variable contains the cgroups version 2 settings for your services.
|
||||
# If this is set in this file, the settings will apply to all services.
|
||||
# If you want different settings for each service, place the settings in
|
||||
# /etc/conf.d/foo for service foo.
|
||||
# The format is to specify the setting and value followed by a newline.
|
||||
# Multiple settings and values can be specified.
|
||||
# For example, you would use this to set the maximum memory and maximum
|
||||
# number of pids for a service.
|
||||
#rc_cgroup_settings="
|
||||
#memory.max 10485760
|
||||
#pids.max max
|
||||
#"
|
||||
#
|
||||
# For more information about the adjustments that can be made with
|
||||
# cgroups version 2, see Documentation/cgroups-v2.txt in the linux kernel
|
||||
# source tree.
|
||||
#rc_cgroup_settings=""
|
||||
|
||||
# This switch controls whether or not cgroups version 1 controllers are
|
||||
# individually mounted under
|
||||
# /sys/fs/cgroup in hybrid or legacy mode.
|
||||
#rc_controller_cgroups="YES"
|
||||
|
||||
# The following setting turns on the memory.use_hierarchy setting in the
|
||||
# root memory cgroup for cgroups v1.
|
||||
# It must be set to yes in this file if you want this functionality.
|
||||
#rc_cgroup_memory_use_hierarchy="NO"
|
||||
|
||||
# The following settings allow you to set up values for the cgroups version 1
|
||||
# controllers for your services.
|
||||
# They can be set in this file;, however, if you do this, the settings
|
||||
# will apply to all of your services.
|
||||
# If you want different settings for each service, place the settings in
|
||||
# /etc/conf.d/foo for service foo.
|
||||
# The format is to specify the names of the settings followed by their
|
||||
# values. Each variable can hold multiple settings.
|
||||
# For example, you would use this to set the cpu.shares setting in the
|
||||
# cpu controller to 512 for your service.
|
||||
# rc_cgroup_cpu="
|
||||
# cpu.shares 512
|
||||
# "
|
||||
#
|
||||
# For more information about the adjustments that can be made with
|
||||
# cgroups version 1, see Documentation/cgroups-v1/* in the linux kernel
|
||||
# source tree.
|
||||
|
||||
# Set the blkio controller settings for this service.
|
||||
#rc_cgroup_blkio=""
|
||||
|
||||
# Set the cpu controller settings for this service.
|
||||
#rc_cgroup_cpu=""
|
||||
|
||||
# Add this service to the cpuacct controller (any value means yes).
|
||||
#rc_cgroup_cpuacct=""
|
||||
|
||||
# Set the cpuset controller settings for this service.
|
||||
#rc_cgroup_cpuset=""
|
||||
|
||||
# Set the devices controller settings for this service.
|
||||
#rc_cgroup_devices=""
|
||||
|
||||
# Set the hugetlb controller settings for this service.
|
||||
#rc_cgroup_hugetlb=""
|
||||
|
||||
# Set the memory controller settings for this service.
|
||||
#rc_cgroup_memory=""
|
||||
|
||||
# Set the net_cls controller settings for this service.
|
||||
#rc_cgroup_net_cls=""
|
||||
|
||||
# Set the net_prio controller settings for this service.
|
||||
#rc_cgroup_net_prio=""
|
||||
|
||||
# Set the pids controller settings for this service.
|
||||
#rc_cgroup_pids=""
|
||||
|
||||
# Set this to YES if you want all of the processes in a service's cgroup
|
||||
# killed when the service is stopped or restarted.
|
||||
# Be aware that setting this to yes means all of a service's
|
||||
# child processes will be killed. Keep this in mind if you set this to
|
||||
# yes here instead of for the individual services in
|
||||
# /etc/conf.d/<service>.
|
||||
# To perform this cleanup manually for a stopped service, you can
|
||||
# execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
|
||||
# rc-service <service> cgroup_cleanup.
|
||||
# If the kernel includes support for cgroup2's cgroup.kill, this is used
|
||||
# to reliably teardown the cgroup.
|
||||
# If this fails, the process followed in this cleanup is the following:
|
||||
# 1. send stopsig (sigterm if it isn't set) to all processes left in the
|
||||
# cgroup immediately followed by sigcont.
|
||||
# 2. Send sighup to all processes in the cgroup if rc_send_sighup is
|
||||
# yes.
|
||||
# 3. delay for rc_timeout_stopsec seconds.
|
||||
# 4. send sigkill to all processes in the cgroup unless disabled by
|
||||
# setting rc_send_sigkill to no.
|
||||
# rc_cgroup_cleanup="NO"
|
||||
|
||||
# If this is yes, we will send sighup to the processes in the cgroup
|
||||
# immediately after stopsig and sigcont.
|
||||
#rc_send_sighup="NO"
|
||||
|
||||
# This is the amount of time in seconds that we delay after sending sigcont
|
||||
# and optionally sighup, before we optionally send sigkill to all
|
||||
# processes in the # cgroup.
|
||||
# The default is 90 seconds.
|
||||
#rc_timeout_stopsec="90"
|
||||
|
||||
# If this is set to no, we do not send sigkill to all processes in the
|
||||
# cgroup.
|
||||
#rc_send_sigkill="YES"
|
||||
|
||||
##############################################################################
|
||||
# SUPERVISE DAEMON CONFIGURATION VARIABLES
|
||||
# These variables sets more reasonable defaults for supervise-daemon(8).
|
||||
# They may be overriden on a per service basis.
|
||||
|
||||
# Wait this number of seconds before restarting a daemon after it crashes.
|
||||
respawn_delay=2
|
||||
|
||||
# Sets the maximum number of times a daemon will be respawned during a respawn
|
||||
# period. If a daemon dies more than this number of times during a respawn
|
||||
# period, supervise-daemon(8) will give up trying to respawn it and exit.
|
||||
# 0 means unlimited.
|
||||
respawn_max=5
|
||||
|
||||
# Sets the length in seconds of a respawn period.
|
||||
respawn_period=1800
|
||||
|
||||
# Bananarchy starts independent OpenRC services in parallel. The stock local
|
||||
# service is patched to avoid "after *", which deadlocks with rc_parallel=YES.
|
||||
# X startup is also bounded by etc/conf.d/udev-settle.
|
||||
rc_parallel="YES"
|
||||
@@ -0,0 +1 @@
|
||||
/etc/init.d/bananarchy-cover-display
|
||||
@@ -0,0 +1 @@
|
||||
/etc/init.d/bananarchy-lid
|
||||
@@ -0,0 +1 @@
|
||||
/etc/init.d/bananarchy-sshd-debug
|
||||
@@ -0,0 +1 @@
|
||||
/etc/init.d/bananarchy-volume-keys
|
||||
@@ -124,6 +124,16 @@ fi
|
||||
# long-lived "nmcli device monitor" poller is started at idle. Disable the
|
||||
# superd unit too, in case an older session enabled it.
|
||||
superctl disable sxmo_networkmonitor >/dev/null 2>&1 || true
|
||||
superctl stop sxmo_networkmonitor >/dev/null 2>&1 || true
|
||||
bananarchy_kill_matches() {
|
||||
pattern="$1"
|
||||
for pid in $(ps | awk -v p="$pattern" 'index($0, p) && $0 !~ /awk/ {print $1}'); do
|
||||
[ "$pid" = "$$" ] && continue
|
||||
kill "$pid" >/dev/null 2>&1 || true
|
||||
done
|
||||
}
|
||||
bananarchy_kill_matches "nmcli device monitor"
|
||||
bananarchy_kill_matches "sxmo_networkmonitor.sh"
|
||||
|
||||
# The daemon that display notifications popup messages
|
||||
superctl start sxmo_notificationmonitor
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
# Bananarchy: the documented "user / 147147" USB SSH login must work.
|
||||
# The stock sshd_config only ships these as commented defaults and the
|
||||
# postmarketOS policy drop-in enables PAM, so state them explicitly.
|
||||
PasswordAuthentication yes
|
||||
KbdInteractiveAuthentication yes
|
||||
@@ -0,0 +1,18 @@
|
||||
# USB-only diagnostic SSH listener. Uses the non-PAM /usr/sbin/sshd (this
|
||||
# file deliberately contains no UsePAM directive, which that binary rejects)
|
||||
# so a broken PAM stack can never lock the developer out of the phone.
|
||||
Port 2222
|
||||
ListenAddress 172.16.42.1:2222
|
||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
||||
PidFile /run/sshd-debug.pid
|
||||
PermitRootLogin yes
|
||||
PasswordAuthentication yes
|
||||
KbdInteractiveAuthentication no
|
||||
PubkeyAuthentication yes
|
||||
AuthorizedKeysFile .ssh/authorized_keys
|
||||
PermitEmptyPasswords no
|
||||
UseDNS no
|
||||
AllowTcpForwarding no
|
||||
GatewayPorts no
|
||||
X11Forwarding no
|
||||
Subsystem sftp internal-sftp
|
||||
@@ -0,0 +1,6 @@
|
||||
# Let the user session drive the Nokia 2720 Flip external panel.
|
||||
# The daemon itself runs as root, but xcover and the Sxmo hooks talk to it
|
||||
# over /run/bananarchy/cover.sock (mode 0660, group user).
|
||||
SUBSYSTEM=="graphics", KERNEL=="fb1", GROUP="video", MODE="0660"
|
||||
SUBSYSTEM=="spidev", KERNEL=="spidev*", GROUP="video", MODE="0660"
|
||||
SUBSYSTEM=="gpio", KERNEL=="gpiochip*", GROUP="video", MODE="0660"
|
||||
@@ -0,0 +1,5 @@
|
||||
# Input event nodes must carry the seat tag so elogind can hand them to the
|
||||
# non-root X server through TakeDevice. Without it Xorg enumerates zero
|
||||
# physical devices and the keypad appears completely dead. udev must be
|
||||
# running in the sysinit runlevel for any rule to take effect.
|
||||
SUBSYSTEM=="input", KERNEL=="event*", TAG+="seat", GROUP="input", MODE="0660"
|
||||
@@ -119,8 +119,20 @@ if [ -z "$SXMO_NO_MODEM" ] && command -v ModemManager > /dev/null; then
|
||||
sxmo_wakelock.sh lock sxmo_modem_warming_up 120s
|
||||
fi
|
||||
|
||||
# It watch network changes and update the status bar icon by example
|
||||
superctl start sxmo_networkmonitor
|
||||
# Network status changes are event-driven through the NetworkManager
|
||||
# dispatcher 30-bananarchy-network-status.sh. Keep the old nmcli device
|
||||
# monitor poller stopped.
|
||||
superctl disable sxmo_networkmonitor >/dev/null 2>&1 || true
|
||||
superctl stop sxmo_networkmonitor >/dev/null 2>&1 || true
|
||||
bananarchy_kill_matches() {
|
||||
pattern="$1"
|
||||
for pid in $(ps | awk -v p="$pattern" 'index($0, p) && $0 !~ /awk/ {print $1}'); do
|
||||
[ "$pid" = "$$" ] && continue
|
||||
kill "$pid" >/dev/null 2>&1 || true
|
||||
done
|
||||
}
|
||||
bananarchy_kill_matches "nmcli device monitor"
|
||||
bananarchy_kill_matches "sxmo_networkmonitor.sh"
|
||||
|
||||
# The daemon that display notifications popup messages
|
||||
superctl start sxmo_notificationmonitor
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,41 @@
|
||||
# Nokia 2720 Flip (nokia-beatles) 1.3-inch 240x240 external GC9305 panel.
|
||||
#
|
||||
# Derived from the KaiOS 3.10 downstream DTS in the archived postmarketOS
|
||||
# linux-nokia-beatles package (0004-dts-adaptations.patch):
|
||||
# spi_gc9305_v2_qvga_ext_cmd, qcom,mdss-spi-on-command:
|
||||
# fe, ef, 3a 05, 35 00, 2a 00 00 00 ef, 2b 00 00 00 ef, 2c,
|
||||
# delay 120, 11, 29, 2c
|
||||
# qcom,mdss-spi-panel-width = 240, height = 240, bpp = 16.
|
||||
#
|
||||
# The register/gamma block below is the one already proven on this device's
|
||||
# internal GC9305 panel (nokia,beatles-gc9305-panel.txt); the two column/page
|
||||
# windows are set to 0..239 for the square cover panel. The blob is consumed
|
||||
# by panel-mipi-dbi-spi (kernel) or by bananarchy-coverd's spidev backend.
|
||||
#
|
||||
# This init sequence is derived from vendor sources but has NOT yet been
|
||||
# verified on 2720 Flip hardware; see NOKIA-2720-FLIP.md.
|
||||
|
||||
command 0xfe
|
||||
command 0xef
|
||||
command 0x36 0x00 # MADCTL
|
||||
command 0x3a 0x55 # 65K 16-bit RGB565
|
||||
command 0x35 0x00 # TE v-blanking
|
||||
command 0xb2 0x0c 0x0c 0x00 0x33 0x33 # porch setting
|
||||
command 0xb7 0x75 # gate control VGH/VGL
|
||||
command 0xbb 0x34 # Vcoms
|
||||
command 0xc0 0x2c # LCM control
|
||||
command 0xc2 0x01 # VDV/VRH enable
|
||||
command 0xc3 0x0d # VRH set
|
||||
command 0xc4 0x20 # VDV set
|
||||
command 0xc6 0xef # frame rate
|
||||
command 0x44 0x00 0x00 # tearing scan line
|
||||
command 0xd0 0xa4 0xa1 # power control 1
|
||||
command 0xe0 0xd0 0x02 0x09 0x0d 0x0e 0x19 0x30 0x51 0x43 0x09 0x14 0x13 0x18 0x21
|
||||
command 0xe1 0xd0 0x02 0x09 0x0d 0x0d 0x18 0x32 0x46 0x42 0x09 0x13 0x13 0x17 0x21
|
||||
command 0x2a 0x00 0x00 0x00 0xef # column address 0..239
|
||||
command 0x2b 0x00 0x00 0x00 0xef # page address 0..239
|
||||
command 0x2c # memory write
|
||||
command 0x11 # sleep out
|
||||
delay 120
|
||||
command 0x29 # display on
|
||||
command 0x2c
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Symlink
+1
@@ -0,0 +1 @@
|
||||
/bin/busybox
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
# Bridge Sxmo hooks to the cover display daemon. Safe no-op on non-flip
|
||||
# devices and when the daemon is not running.
|
||||
set -u
|
||||
EVENT="${1:-refresh}"
|
||||
shift 2>/dev/null || true
|
||||
[ "$(cat /usr/share/bananarchy/lid-profile 2>/dev/null)" = "flip" ] || exit 0
|
||||
case "$EVENT" in
|
||||
notification)
|
||||
/usr/bin/bananarchy-coverctl NOTIFY "Notification" >/dev/null 2>&1 || true
|
||||
;;
|
||||
ring)
|
||||
/usr/bin/bananarchy-coverctl CALL incoming "${1:--}" "-" >/dev/null 2>&1 || true
|
||||
;;
|
||||
missed)
|
||||
/usr/bin/bananarchy-coverctl CALL missed "${1:--}" "-" >/dev/null 2>&1 || true
|
||||
;;
|
||||
call|active)
|
||||
/usr/bin/bananarchy-coverctl CALL active "${1:--}" "-" >/dev/null 2>&1 || true
|
||||
;;
|
||||
hangup|ended)
|
||||
/usr/bin/bananarchy-coverctl CALL none "-" "-" >/dev/null 2>&1 || true
|
||||
;;
|
||||
sms)
|
||||
/usr/bin/bananarchy-coverctl SMS "${1:-1}" >/dev/null 2>&1 || true
|
||||
;;
|
||||
screenoff)
|
||||
/usr/bin/bananarchy-coverctl REFRESH >/dev/null 2>&1 || true
|
||||
;;
|
||||
wake|refresh|theme)
|
||||
/usr/bin/bananarchy-coverctl RELOAD_THEME >/dev/null 2>&1 || true
|
||||
;;
|
||||
*)
|
||||
/usr/bin/bananarchy-coverctl REFRESH >/dev/null 2>&1 || true
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
Executable
BIN
Binary file not shown.
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Publish a notification on the 2720 Flip cover display via the daemon IPC.
|
||||
set -eu
|
||||
exec /usr/bin/bananarchy-coverctl -s /run/bananarchy/cover.sock NOTIFY "$*"
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
+71
@@ -0,0 +1,71 @@
|
||||
#!/bin/sh
|
||||
# Collect everything needed to diagnose an unresponsive 2720 Flip keypad.
|
||||
# Writes a compact report to stdout (redirect it to a file to keep it).
|
||||
set -u
|
||||
echo "=== bananarchy keypad diagnostics $(date) ==="
|
||||
echo
|
||||
echo "--- kernel ---"
|
||||
uname -a
|
||||
echo
|
||||
echo "--- input devices ---"
|
||||
cat /proc/bus/input/devices 2>/dev/null || echo "(no /proc/bus/input/devices)"
|
||||
echo
|
||||
echo "--- input event nodes ---"
|
||||
ls -l /dev/input/event* 2>/dev/null || echo "(no event nodes)"
|
||||
echo
|
||||
echo "--- udev tags ---"
|
||||
for dev in /dev/input/event*; do
|
||||
[ -e "$dev" ] || continue
|
||||
name=$(udevadm info --query=property --name="$dev" 2>/dev/null | grep '^NAME=' | head -1)
|
||||
tags=$(udevadm info --query=property --name="$dev" 2>/dev/null | grep -E '^ID_INPUT(_KEY|_KEYBOARD|_SWITCH)?=' | tr '\n' ' ')
|
||||
echo "$dev ${name:-NAME=} $tags"
|
||||
done
|
||||
echo
|
||||
echo "--- switch state (SW_LID / SW_KEYPAD_SLIDE) ---"
|
||||
for dev in /dev/input/event*; do
|
||||
[ -e "$dev" ] || continue
|
||||
sw=$(udevadm info --query=property --name="$dev" 2>/dev/null | grep -c 'ID_INPUT_SWITCH=1')
|
||||
[ "$sw" = "0" ] && continue
|
||||
printf '%s: ' "$dev"
|
||||
evtest --query "$dev" EV_SW SW_LID 2>/dev/null || echo "(evtest unavailable)"
|
||||
done
|
||||
echo
|
||||
echo "--- kernel messages ---"
|
||||
dmesg 2>/dev/null | grep -iE 'keypad|matrix|gpio-keys|input:|libinput' | tail -40 || echo "(dmesg unavailable)"
|
||||
echo
|
||||
echo "--- X input devices ---"
|
||||
if command -v libinput >/dev/null 2>&1; then
|
||||
DISPLAY=${DISPLAY:-:0} libinput list-devices 2>&1 | head -60
|
||||
else
|
||||
echo "(libinput CLI unavailable)"
|
||||
fi
|
||||
echo
|
||||
echo "--- Xorg log ---"
|
||||
grep -iE 'keypad|input|libinput|Ignoring|no devices' /var/log/Xorg.0.log 2>/dev/null | tail -40 || echo "(no Xorg log)"
|
||||
echo
|
||||
echo "--- raw event probe (5 s, press keys now) ---"
|
||||
keypad_dev=""
|
||||
for dev in /dev/input/event*; do
|
||||
[ -e "$dev" ] || continue
|
||||
name=$(udevadm info --query=property --name="$dev" 2>/dev/null | grep '^NAME=' | head -1)
|
||||
case "$name" in *keypad*) keypad_dev="$dev" ;; esac
|
||||
done
|
||||
if [ -n "$keypad_dev" ] && command -v evtest >/dev/null 2>&1; then
|
||||
timeout 5 evtest "$keypad_dev" 2>&1 | head -30
|
||||
else
|
||||
echo "keypad device: ${keypad_dev:-not found}; evtest: $(command -v evtest || echo missing)"
|
||||
fi
|
||||
echo
|
||||
echo "--- volume keys ---"
|
||||
echo "XKB: $(DISPLAY=${DISPLAY:-:0} xkbcomp :0 - 2>/dev/null | grep -c XF86AudioRaiseVolume) XF86AudioRaiseVolume bindings"
|
||||
for dev in /dev/input/event*; do
|
||||
[ -e "$dev" ] || continue
|
||||
name=$(udevadm info --query=property --name="$dev" 2>/dev/null | grep '^NAME=' | head -1)
|
||||
case "$name" in *gpio-keys*|*resin*) echo "$dev $name (KEY_VOLUMEUP / KEY_VOLUMEDOWN)" ;; esac
|
||||
done
|
||||
echo "logical volume: $(sxmo_audio.sh vol get 2>/dev/null)"
|
||||
if command -v wpctl >/dev/null 2>&1; then
|
||||
sink=$(wpctl status 2>/dev/null | sed -n '/Sinks:/,/Sources:/p' | sed -n 's/^[^0-9]*\([0-9][0-9]*\)\..*/\1/p' | head -n 1)
|
||||
[ -n "$sink" ] && echo "pipewire sink $sink: $(wpctl get-volume "$sink" 2>/dev/null)"
|
||||
fi
|
||||
echo "=== end ==="
|
||||
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -69,8 +69,30 @@ rm -f "$XDG_RUNTIME_DIR/sxmo.led.lock" "$XDG_RUNTIME_DIR"/sxmo_bat_state_* 2>/de
|
||||
# of idle blanking, or /etc/bananarchy-no-deep-standby to opt out of suspend.
|
||||
rm -f "$XDG_CACHE_HOME/sxmo/sxmo.nosuspend"
|
||||
[ -n "${DBUS_SESSION_BUS_ADDRESS:-}" ] && printf "%s\n" "$DBUS_SESSION_BUS_ADDRESS" > "$XDG_RUNTIME_DIR/dbus.bus"
|
||||
printf "1\n" > /tmp/bananarchy_screen_locked
|
||||
printf "lock\n" > "$XDG_RUNTIME_DIR/sxmo.state"
|
||||
# A flip phone that boots open must start unlocked with a live keypad. The
|
||||
# root lid daemon publishes the debounced hall state before tinydm starts;
|
||||
# default to open if that file is unavailable so X never stalls on xlocker.
|
||||
_lid_state="open"
|
||||
if [ "$(cat /usr/share/bananarchy/lid-profile 2>/dev/null)" = "flip" ]; then
|
||||
_lid_wait=0
|
||||
while [ "$_lid_wait" -lt 20 ] && [ ! -r /run/bananarchy/lid-state ]; do
|
||||
sleep 0.1
|
||||
_lid_wait=$((_lid_wait + 1))
|
||||
done
|
||||
if [ -r /run/bananarchy/lid-state ]; then
|
||||
read -r _lid_state < /run/bananarchy/lid-state 2>/dev/null || _lid_state="open"
|
||||
fi
|
||||
if [ "$_lid_state" = "closed" ]; then
|
||||
printf "1\n" > /tmp/bananarchy_screen_locked
|
||||
printf "screenoff\n" > "$SXMO_STATE"
|
||||
else
|
||||
rm -f /tmp/bananarchy_screen_locked
|
||||
printf "unlock\n" > "$SXMO_STATE"
|
||||
fi
|
||||
else
|
||||
printf "1\n" > /tmp/bananarchy_screen_locked
|
||||
printf "lock\n" > "$SXMO_STATE"
|
||||
fi
|
||||
|
||||
_init_bl=""
|
||||
if [ -r "$XDG_CONFIG_HOME/sxmo/brightness" ]; then
|
||||
@@ -93,6 +115,11 @@ elif [ -r /tmp/sxmo_saved_kbd_brightness ]; then
|
||||
fi
|
||||
printf "%s\n" "${_init_kbd:-255}" > /tmp/sxmo_saved_kbd_brightness
|
||||
printf "%s\n" "${_init_kbd:-255}" > /sys/class/leds/white:kbd_backlight/brightness 2>/dev/null || true
|
||||
if [ "$_lid_state" = "closed" ]; then
|
||||
printf "0\n" > /sys/class/backlight/backlight/brightness 2>/dev/null || true
|
||||
printf "0\n" > /sys/class/leds/white:kbd_backlight/brightness 2>/dev/null || true
|
||||
printf "4\n" > /sys/class/backlight/backlight/bl_power 2>/dev/null || true
|
||||
fi
|
||||
|
||||
XORG_BIN="Xorg"
|
||||
[ -x /tmp/x11/usr/bin/Xorg ] && XORG_BIN="/tmp/x11/usr/bin/Xorg"
|
||||
@@ -124,6 +151,7 @@ else
|
||||
xset +dpms >/dev/null 2>&1 || true
|
||||
xset dpms 0 0 0 >/dev/null 2>&1 || true
|
||||
fi
|
||||
xset r rate 180 30 >/dev/null 2>&1 || true
|
||||
|
||||
SESSION_PID_FILE="/tmp/bananarchy-x11-session.pid"
|
||||
printf "%s\n" "$$" > "$SESSION_PID_FILE"
|
||||
@@ -140,6 +168,36 @@ if [ -f /tmp/bananarchy_ext_logging ]; then
|
||||
else
|
||||
( sxmo_hook_start.sh >/dev/null 2>&1 </dev/null & )
|
||||
fi
|
||||
if [ "$(cat /usr/share/bananarchy/lid-profile 2>/dev/null)" = "flip" ] && \
|
||||
[ "$_lid_state" != "closed" ]; then
|
||||
# Some Sxmo start hooks still map xlocker from a transient boot lock file.
|
||||
# Keep the first 10 s of an open-lid boot unlocked, then stop interfering.
|
||||
(
|
||||
i=0
|
||||
while [ "$i" -lt 20 ]; do
|
||||
[ "$(cat /run/bananarchy/lid-state 2>/dev/null)" = "closed" ] && break
|
||||
rm -f /tmp/bananarchy_screen_locked
|
||||
printf "unlock\n" > "$SXMO_STATE"
|
||||
if [ -p /tmp/dwm_plugin_locker.fifo ]; then
|
||||
printf "CLOSE\n" > /tmp/dwm_plugin_locker.fifo 2>/dev/null || true
|
||||
fi
|
||||
sleep 0.5
|
||||
i=$((i + 1))
|
||||
done
|
||||
) &
|
||||
fi
|
||||
|
||||
# A cold boot can leave the resident dmenu or xlocker plugin holding an X
|
||||
# keyboard grab before the user sees the desktop. Release both once after
|
||||
# dwm has started; do not keep a background poller alive.
|
||||
(
|
||||
sleep 3
|
||||
/usr/bin/dwm-plugin dmenu close >/dev/null 2>&1 || true
|
||||
if [ -p /tmp/dwm_plugin_locker.fifo ]; then
|
||||
printf "CLOSE\n" > /tmp/dwm_plugin_locker.fifo 2>/dev/null || true
|
||||
fi
|
||||
xdotool key --clearmodifiers Escape >/dev/null 2>&1 || true
|
||||
) &
|
||||
|
||||
first_iter=1
|
||||
while [ "$(cat "$SESSION_PID_FILE" 2>/dev/null)" = "$$" ]; do
|
||||
|
||||
Binary file not shown.
@@ -470,17 +470,39 @@ EOF
|
||||
if [ "$eff_pct" -gt 0 ]; then
|
||||
printf "0\n" > /tmp/sxmo_pw_sink_muted 2>/dev/null || true
|
||||
pactl set-sink-mute @DEFAULT_SINK@ 0 >/dev/null 2>&1 || true
|
||||
if [ "$dev" = "Bluetooth" ]; then
|
||||
pactl set-sink-volume @DEFAULT_SINK@ "${eff_pct}%" >/dev/null 2>&1 || true
|
||||
else
|
||||
pactl set-sink-volume @DEFAULT_SINK@ 100% >/dev/null 2>&1 || true
|
||||
fi
|
||||
bananarchy_set_sink_volume "$eff_pct"
|
||||
else
|
||||
printf "1\n" > /tmp/sxmo_pw_sink_muted 2>/dev/null || true
|
||||
pactl set-sink-mute @DEFAULT_SINK@ 1 >/dev/null 2>&1 || true
|
||||
fi
|
||||
}
|
||||
|
||||
# Bananarchy: the MSM8905 mainline kernel exposes no ALSA card yet, so the
|
||||
# amixer csets below are no-ops and PipeWire's null sink is the real output.
|
||||
# @DEFAULT_SINK@ does not resolve when wireplumber has no default configured
|
||||
# node, so resolve the first live sink id and set its volume directly.
|
||||
bananarchy_set_sink_volume() {
|
||||
pct="$1"
|
||||
if [ -z "${XDG_RUNTIME_DIR:-}" ]; then
|
||||
XDG_RUNTIME_DIR="/run/user/$(id -u)"
|
||||
export XDG_RUNTIME_DIR
|
||||
fi
|
||||
if command -v wpctl >/dev/null 2>&1; then
|
||||
sink="$(wpctl status 2>/dev/null | sed -n '/Sinks:/,/Sources:/p' \
|
||||
| sed -n 's/^[^0-9]*\([0-9][0-9]*\)\..*/\1/p' | head -n 1)"
|
||||
if [ -n "$sink" ]; then
|
||||
wpctl set-volume "$sink" "${pct}%" >/dev/null 2>&1 || true
|
||||
if [ "$pct" -le 0 ]; then
|
||||
wpctl set-mute "$sink" 1 >/dev/null 2>&1 || true
|
||||
else
|
||||
wpctl set-mute "$sink" 0 >/dev/null 2>&1 || true
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
pactl set-sink-volume @DEFAULT_SINK@ "${pct}%" >/dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
apply_vol_out() {
|
||||
dev="$(normalize_out_dev "${1:-$(fast_out_dev)}")"
|
||||
pct="$(clamp_pct "${2:-$(read_dev_vol "$dev")}" 85)"
|
||||
@@ -568,13 +590,14 @@ EOF
|
||||
if [ "$pw_muted" != "0" ]; then
|
||||
printf "0\n" > /tmp/sxmo_pw_sink_muted 2>/dev/null || true
|
||||
pactl set-sink-mute @DEFAULT_SINK@ 0 >/dev/null 2>&1 || true
|
||||
pactl set-sink-volume @DEFAULT_SINK@ 100% >/dev/null 2>&1 || true
|
||||
fi
|
||||
bananarchy_set_sink_volume "$eff_pct"
|
||||
else
|
||||
if [ "$pw_muted" != "1" ]; then
|
||||
printf "1\n" > /tmp/sxmo_pw_sink_muted 2>/dev/null || true
|
||||
pactl set-sink-mute @DEFAULT_SINK@ 1 >/dev/null 2>&1 || true
|
||||
fi
|
||||
bananarchy_set_sink_volume 0
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -849,7 +872,23 @@ volset() {
|
||||
fi
|
||||
}
|
||||
|
||||
# A direct evdev volume daemon and the X11 binding can both react to one
|
||||
# physical key press. Collapse calls that arrive within 300 ms so the volume
|
||||
# only steps once per press.
|
||||
bananarchy_vol_debounce() {
|
||||
# Timestamp based, no background subshell: a stale lock directory could
|
||||
# otherwise block every future volume step forever.
|
||||
now="$(awk '{printf "%d", $1 * 100}' /proc/uptime 2>/dev/null || printf 0)"
|
||||
last="$(cat /tmp/bananarchy_vol_step 2>/dev/null || printf 0)"
|
||||
[ -n "$now" ] || now=0
|
||||
[ -n "$last" ] || last=0
|
||||
[ $((now - last)) -lt 30 ] && return 1
|
||||
printf '%s\n' "$now" > /tmp/bananarchy_vol_step 2>/dev/null || true
|
||||
return 0
|
||||
}
|
||||
|
||||
volup() {
|
||||
bananarchy_vol_debounce || return 0
|
||||
step="${1:-5}"
|
||||
target_dev="$(normalize_out_dev "${2:-$(fast_out_dev)}")"
|
||||
cur="$(read_dev_vol "$target_dev")"
|
||||
@@ -859,6 +898,7 @@ volup() {
|
||||
}
|
||||
|
||||
voldown() {
|
||||
bananarchy_vol_debounce || return 0
|
||||
step="${1:-5}"
|
||||
target_dev="$(normalize_out_dev "${2:-$(fast_out_dev)}")"
|
||||
cur="$(read_dev_vol "$target_dev")"
|
||||
|
||||
Binary file not shown.
@@ -1,2 +1 @@
|
||||
earlycon
|
||||
console=ttyMSM0,115200
|
||||
@@ -1,2 +1 @@
|
||||
earlycon
|
||||
console=ttyMSM0,115200
|
||||
@@ -1,2 +1 @@
|
||||
earlycon
|
||||
console=ttyMSM0,115200
|
||||
@@ -1,2 +1 @@
|
||||
earlycon
|
||||
console=ttyMSM0,115200
|
||||
@@ -1,2 +1 @@
|
||||
earlycon
|
||||
console=ttyMSM0,115200
|
||||
@@ -0,0 +1,9 @@
|
||||
# The 2720 Flip GPIO matrix keypad must be seen as a keyboard by Xorg's
|
||||
# libinput backend even when udev's input_id builtin only reports EV_SW on
|
||||
# the companion gpio-keys device. Force the tags and keep the device nodes
|
||||
# readable by the "input" group (the X session runs as "user").
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="keypad", \
|
||||
ENV{ID_INPUT}="1", ENV{ID_INPUT_KEY}="1", ENV{ID_INPUT_KEYBOARD}="1", \
|
||||
GROUP="input", MODE="0660"
|
||||
SUBSYSTEM=="input", KERNEL=="event*", ATTRS{name}=="gpio-keys", \
|
||||
ENV{ID_INPUT}="1", GROUP="input", MODE="0660"
|
||||
@@ -0,0 +1,14 @@
|
||||
# Bind the GPIO matrix keypad explicitly. MatchIsKeyboard relies on udev's
|
||||
# ID_INPUT_KEYBOARD tag, which can be missing on a matrix keypad whose key
|
||||
# bitmask only contains phone-specific keycodes; MatchProduct alone still
|
||||
# lets xf86-input-libinput enumerate the device's real EV_KEY capabilities.
|
||||
Section "InputClass"
|
||||
Identifier "Bananarchy matrix keypad"
|
||||
MatchProduct "keypad"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "libinput"
|
||||
Option "Ignore" "false"
|
||||
Option "XkbRules" "evdev"
|
||||
Option "XkbModel" "pc105"
|
||||
Option "XkbLayout" "us"
|
||||
EndSection
|
||||
@@ -0,0 +1 @@
|
||||
flip
|
||||
@@ -132,6 +132,16 @@ fi
|
||||
# long-lived "nmcli device monitor" poller is started at idle. Disable the
|
||||
# superd unit too, in case an older session enabled it.
|
||||
superctl disable sxmo_networkmonitor >/dev/null 2>&1 || true
|
||||
superctl stop sxmo_networkmonitor >/dev/null 2>&1 || true
|
||||
bananarchy_kill_matches() {
|
||||
pattern="$1"
|
||||
for pid in $(ps | awk -v p="$pattern" 'index($0, p) && $0 !~ /awk/ {print $1}'); do
|
||||
[ "$pid" = "$$" ] && continue
|
||||
kill "$pid" >/dev/null 2>&1 || true
|
||||
done
|
||||
}
|
||||
bananarchy_kill_matches "nmcli device monitor"
|
||||
bananarchy_kill_matches "sxmo_networkmonitor.sh"
|
||||
|
||||
# The daemon that display notifications popup messages
|
||||
superctl start sxmo_notificationmonitor
|
||||
|
||||
Reference in new issue
Block a user