sailfishos-sony-tama / main

Documentation, releases, and issues
MIT License
36 stars 7 forks source link

ohmd requires restart after boot #113

Closed rinigus closed 3 years ago

rinigus commented 3 years ago

when inserting USB dongle with headphones, sound is not routed to them. Journal while inserting

Feb 24 12:06:43 XperiaXZ2Compact mce[2314]: tklock.c: tklock_datapipe_uiexception_type_cb(): uiexception_type = notif -> none
Feb 24 12:06:48 XperiaXZ2Compact mce[2314]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: OPEN -> CLOSED
Feb 24 12:06:48 XperiaXZ2Compact mce[2314]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: CLOSED -> UNDEF
Feb 24 12:06:49 XperiaXZ2Compact kernel: PMI: smblib_handle_typec_cc_state_change: TypeC SINK_AUDIO_ADAPTER insertion
Feb 24 12:06:49 XperiaXZ2Compact kernel: water_detection soc:somc_water_detection: Connection status is changed to 1
Feb 24 12:06:49 XperiaXZ2Compact kernel: water_detection soc:somc_water_detection: wdet_polling_set: state 0 -> 1
Feb 24 12:06:49 XperiaXZ2Compact kernel: water_detection soc:somc_water_detection: wdet_polling_set: Polling stop
Feb 24 12:06:49 XperiaXZ2Compact kernel: usbpd usbpd0: Type-C Analog Audio Adapter connected
Feb 24 12:06:49 XperiaXZ2Compact healthd: battery l=45 v=3678 t=29.2 h=2 st=3 c=501 fc=2520000 chg=
Feb 24 12:06:50 XperiaXZ2Compact mce[2314]: tklock.c: tklock_datapipe_uiexception_type_cb(): uiexception_type = none -> notif
Feb 24 12:06:50 XperiaXZ2Compact mce[2314]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: UNDEF -> OPEN
rinigus commented 3 years ago

Restarting ohmd makes it work. According to mal, seems to be timing issue during boot with ohmd (initialized too early?)

rinigus commented 3 years ago

Fixed with the latest updates in config from Seine. Probably via https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie/commit/8df3eab8f576fb324f6b4006e8d276b2f0a1c0fd , but haven't checked specifically.