Reply
Thread Tools
Posts: 233 | Thanked: 532 times | Joined on Sep 2011
#181
Thanks for the upgrade, it seems to work really well on XZ3, I had a minor issue as I had to run first

devel-su zypper refresh

maybe that needs to be added in the instructions as an optional initial step.
 

The Following User Says Thank You to pagis For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#182
Originally Posted by pagis View Post
Thanks for the upgrade, it seems to work really well on XZ3, I had a minor issue as I had to run first

devel-su zypper refresh

maybe that needs to be added in the instructions as an optional initial step.
has been added, thanks
 
Posts: 101 | Thanked: 381 times | Joined on Aug 2010
#183
For some reason systemd/journald (?) stops writing the logs afzer a while. Accordingly, no recent logs are found and journalctl -f does render no results.

This different from the behaviour under 3.4 on the XA2 and the Xperia 10.

After a reboot, there is log for about two or three hours and then.the logging stops.

I was investigating the behaviour when a USB device is connected to the XZ3. That is why I used journalctl and found the strange behaviour
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#184
Images are uploaded to Github now, for those who prefer them.

Re journal: haven't seen that. Since update uptime on my main device is ~40 hours and journal is working fine. So, something is off in your case. Try to check out state of systemd, maybe some service is crashing?

Re USB sound: never checked and cannot comment on it. Did it work earlier on Tama? XA2 version is the same - 3.4.0.24? Try to open a topic on the forum and I will ask for help - Jolla devs will probably prefer to help via official forum. Then you will be able to test their solutions.

USB to analog works for me, that I test.
 

The Following User Says Thank You to rinigus For This Useful Post:
Posts: 101 | Thanked: 381 times | Joined on Aug 2010
#185
This is the log from the XA2 when an USB DAC is connected to the phone:

Code:
Dez 05 13:24:51 Sailfish kernel: usbpd usbpd0: Type-C Sink connected
Dez 05 13:24:51 Sailfish kernel: PMI: smblib_get_apsd_result: APSD not done yet.
Dez 05 13:24:51 Sailfish kernel: PMI: smblib_get_apsd_result: APSD not done yet.
Dez 05 13:24:53 Sailfish kernel: msm-dwc3 a800000.ssusb: DWC3 exited from low power mode
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: xHCI Host ControllerDez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: hcc params 0x0230fe65 hci version 0x110 quirks 0x00010010
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: irq 517, io mem 0x0a800000
Dez 05 13:24:53 Sailfish kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Dez 05 13:24:53 Sailfish kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Dez 05 13:24:53 Sailfish kernel: usb usb1: Product: xHCI Host Controller
Dez 05 13:24:53 Sailfish kernel: usb usb1: Manufacturer: Linux 4.4.194 xhci-hcd
Dez 05 13:24:53 Sailfish kernel: usb usb1: SerialNumber: xhci-hcd.0.auto
Dez 05 13:24:53 Sailfish kernel: hub 1-0:1.0: USB hub foundDez 05 13:24:53 Sailfish kernel: hub 1-0:1.0: 1 port detected
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
Dez 05 13:24:53 Sailfish kernel: usb usb2: We don't know the algorithms for LPM for thishost, disabling LPM.
Dez 05 13:24:53 Sailfish kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0003Dez 05 13:24:53 Sailfish kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Dez 05 13:24:53 Sailfish kernel: usb usb2: Product: xHCI Host Controller
Dez 05 13:24:53 Sailfish kernel: usb usb2: Manufacturer: Linux 4.4.194 xhci-hcd
Dez 05 13:24:53 Sailfish kernel: usb usb2: SerialNumber: xhci-hcd.0.auto
Dez 05 13:24:53 Sailfish kernel: hub 2-0:1.0: USB hub found
Dez 05 13:24:53 Sailfish kernel: hub 2-0:1.0: 1 port detected
Dez 05 13:24:53 Sailfish kernel: usb 1-1: new high-speed USB device number 2 using xhci-hcd
Dez 05 13:24:53 Sailfish kernel: usb 1-1: New USB device found, idVendor=22e1, idProduct=e202
Dez 05 13:24:53 Sailfish kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Dez 05 13:24:53 Sailfish kernel: usb 1-1: Product: SONATA HD Audio
Dez 05 13:24:53 Sailfish kernel: usb 1-1: Manufacturer: Tempotec
Dez 05 13:24:53 Sailfish kernel: usb 1-1: SerialNumber: 5000000001
Dez 05 13:24:53 Sailfish kernel: input: Tempotec SONATA HD Audio as /devices/soc/a800000.ssusb/a800000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:22E1:E202.0006/input/input13
Dez 05 13:24:53 Sailfish kernel: hid-generic 0003:22E1:E202.0006: input,hidraw0: USB HIDv1.00 Device [Tempotec SONATA HD Audio] on usb-xhci-hcd.0.auto-1/input0
Dez 05 13:24:53 Sailfish mce[2876]: modules/audiorouting.c: audio_route_sink(): unknown audio sink device = 'usbaudio'
Dez 05 13:24:53 Sailfish mce[2876]: modules/audiorouting.c: audio_route_sink(): unknown audio sink device = 'usbaudio'
Dez 05 13:24:56 Sailfish fingerterm[2600]: [D] unknown:0 - unknown special key:  6710886405 13:24:41 Sailfish kernel: PMI: smblib_get_apsd_result: APSD not done yet.
Dez 05 13:24:51 Sailfish kernel: usbpd usbpd0: Type-C Sink connected
Dez 05 13:24:51 Sailfish kernel: PMI: smblib_get_apsd_result: APSD not done yet.
Dez 05 13:24:51 Sailfish kernel: PMI: smblib_get_apsd_result: APSD not done yet.
Dez 05 13:24:53 Sailfish kernel: msm-dwc3 a800000.ssusb: DWC3 exited from low power mode
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: hcc params 0x0230fe65 hci version 0x110 quirks 0x00010010
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: irq 517, io mem 0x0a800000
Dez 05 13:24:53 Sailfish kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Dez 05 13:24:53 Sailfish kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Dez 05 13:24:53 Sailfish kernel: usb usb1: Product: xHCI Host ControllerDez 05 13:24:53 Sailfish kernel: usb usb1: Manufacturer: Linux 4.4.194 xhci-hcd
Dez 05 13:24:53 Sailfish kernel: usb usb1: SerialNumber: xhci-hcd.0.auto
Dez 05 13:24:53 Sailfish kernel: hub 1-0:1.0: USB hub found
Dez 05 13:24:53 Sailfish kernel: hub 1-0:1.0: 1 port detected
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
Dez 05 13:24:53 Sailfish kernel: xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
Dez 05 13:24:53 Sailfish kernel: usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
Dez 05 13:24:53 Sailfish kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
Dez 05 13:24:53 Sailfish kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Dez 05 13:24:53 Sailfish kernel: usb usb2: Product: xHCI Host Controller
Dez 05 13:24:53 Sailfish kernel: usb usb2: Manufacturer: Linux 4.4.194 xhci-hcd
Dez 05 13:24:53 Sailfish kernel: usb usb2: SerialNumber: xhci-hcd.0.auto
Dez 05 13:24:53 Sailfish kernel: hub 2-0:1.0: USB hub found
Dez 05 13:24:53 Sailfish kernel: hub 2-0:1.0: 1 port detected
Dez 05 13:24:53 Sailfish kernel: usb 1-1: new high-speed USB device number 2 using xhci-hcd
Dez 05 13:24:53 Sailfish kernel: usb 1-1: New USB device found, idVendor=22e1, idProduct=e202Dez 05 13:24:53 Sailfish kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
Dez 05 13:24:53 Sailfish kernel: usb 1-1: Product: SONATA HD Audio
Dez 05 13:24:53 Sailfish kernel: usb 1-1: Manufacturer: Tempotec
Dez 05 13:24:53 Sailfish kernel: usb 1-1: SerialNumber: 5000000001
Dez 05 13:24:53 Sailfish kernel: input: Tempotec SONATA HD Audio as /devices/soc/a800000.ssusb/a800000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:22E1:E202.0006/input/input13
Dez 05 13:24:53 Sailfish kernel: hid-generic 0003:22E1:E202.0006: input,hidraw0: USB HIDv1.00 Device [Tempotec SONATA HD Audio] on usb-xhci-hcd.0.auto-1/input0
Dez 05 13:24:53 Sailfish mce[2876]: modules/audiorouting.c: audio_route_sink(): unknown audio sink device = 'usbaudio'
Dez 05 13:24:53 Sailfish mce[2876]: modules/audiorouting.c: audio_route_sink(): unknown audio sink device = 'usbaudio'
The log from the XZ3 looks very similar except for the last two lines where mce steps in and apparently re-routs the digital audio signal to USB

This weekend I plan to flash another Tama device and will report whether I encounter issues with journald and USB

My present XZ3 is just too good (despite the minor issues) to do a reset
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#186
> My present XZ3 is just too good (despite the minor issues) to do a reset

not that I want you to prevent flashing other Tama - this is a correct way of spreading the port - but we have now ability to make filesystem backup using sdcard. That way I am able to flash/restore development device quite fast to test OTA, for example. That works via telnet and usb connection to the phone, so not trivial. But nice to have such backups
 

The Following User Says Thank You to rinigus For This Useful Post:
Posts: 101 | Thanked: 381 times | Joined on Aug 2010
#187
Another passenger (i.e. non-developing Sailfish user) found that MTP over USB (and thus SSH) does not work on the XZ2c under 3.4.0.24 after the OTA update.

I can confirm the same isdue with the XZ3:

Dez 05 19:17:24 XperiaXZ3 mce[3140]: modules/battery-udev.c: mcebat_update(): charger_type: none -> usb
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: /config/usb_gadget/g1/UDC: write failure: Value too large for defined data type
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: Neither configured rndis0 nor fallback usb0 interface exists. Check your config!
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: mode setting failed, try charging_only
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: /config/usb_gadget/g1/functions/mass_storage.usb0: mkdir failed: No such file or directory
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: function mass_storage.usb0 is not registered
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: switch to charging mode failed
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: failed to activate charging, all bets are off
Dez 05 19:17:24 XperiaXZ3 usb_moded[3139]: mode setting failed, fallback to undefined
Dez 05 19:17:24 XperiaXZ3 healthd: battery l=76 v=3932 t=24.5 h=2 st=3 c=388 fc=2971000 chg
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#188
Originally Posted by JoOppen View Post
Another passenger (i.e. non-developing Sailfish user) found that MTP over USB (and thus SSH) does not work on the XZ2c under 3.4.0.24 after the OTA update.

I can confirm the same isdue with the XZ3:
Did it work before?
 
Posts: 101 | Thanked: 381 times | Joined on Aug 2010
#189
Originally Posted by rinigus View Post
Did it work before?
Sorry, I did not try :-(
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#190
Based on README, it did. I wonder what changed...
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:20.