Reply
Thread Tools
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#191
Broken on 3.3 already, as it looks.
 
Posts: 101 | Thanked: 381 times | Joined on Aug 2010
#192
I just learned that MTP and SSH over USB was working with 3.3
 

The Following User Says Thank You to JoOppen For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#193
3.3 - maybe. Tested with 3.2.1 and it worked, but not from the first try. Only starting from the second try. So, maybe I was too quick with 3.3, cannot be sure.
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#194
With the help of mal, USB issue is fixed.

To get the fix, as root (devel-su), just update usb-moded and few extra packages depending on it:

devel-su zypper ref
devel-su zypper up
 

The Following 7 Users Say Thank You to rinigus For This Useful Post:
Posts: 27 | Thanked: 33 times | Joined on Oct 2017 @ Finland
#195
I found out that audio routing via Xperia xz3 usb port clipping/cuts often(randomly between 10-15 seconds interval) like cd player in car. this happened in sailfish 3.3 and 3.4. I been reverted back to android and tested out music plays without any problem. And then back to sailfish and sound keeps cutting. I tested with bluetooth headphones and that works fine. So what could cause that?

I opened terminal and watched top, cpu utilization wasn't quite high at least. Also tried different audio files (flac, mp3, ogg) and different headphones (low and high ohm). This is very unacceptable. Anyone else?
 
Posts: 114 | Thanked: 381 times | Joined on Jan 2014
#196
Interesting devices, and great port. Thanks to @rinigus and everyone else involved. I have been trying to get hold of one of these, especially the XZ2 Compact, but didn't succeed at all yet.

Out of curiosity, how well does the battery keep up on the XZ2 and XZ2 Compact with Sailfish OS 3.4 release. Heard some reports (mixed opinions though) that 3.4 has been a bit hard on battery on at least the officially supported Sony devices.
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#197
@Korkkiruuvi: when you compare with Android, is it with AOSP9 or something else? I don't know whether AOSP9 is available for download, but that would be closest to compare with. Although, I haven't worked on USB audio and don't plan to as there is no hardware to test it nor use it.

@lal: while I have XZ2c for development/backup, haven't used it as a daily driver and cannot comment on battery life. XZ2, with my usage, can probably last 2 days. Frequently, I don't swing from 100->20, but keep it in the range 30-80. Looking at the stats, it is about 40% battery per 24h with my usage
 

The Following 2 Users Say Thank You to rinigus For This Useful Post:
Posts: 27 | Thanked: 33 times | Joined on Oct 2017 @ Finland
#198
Originally Posted by rinigus View Post
@Korkkiruuvi: when you compare with Android, is it with AOSP9 or something else? I don't know whether AOSP9 is available for download, but that would be closest to compare with. Although, I haven't worked on USB audio and don't plan to as there is no hardware to test it nor use it.

@lal: while I have XZ2c for development/backup, haven't used it as a daily driver and cannot comment on battery life. XZ2, with my usage, can probably last 2 days. Frequently, I don't swing from 100->20, but keep it in the range 30-80. Looking at the stats, it is about 40% battery per 24h with my usage
I meaned latest Sony stock android 9. Aosp would be reasonable to test out indeed. I will report back when tested. Need to find out is it already reported in AOSP. As there are custom roms with AOSP 10 are you ready to upgrade sailfish to it?
 

The Following User Says Thank You to Korkkiruuvi For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#199
Originally Posted by Korkkiruuvi View Post
I meaned latest Sony stock android 9. Aosp would be reasonable to test out indeed. I will report back when tested. Need to find out is it already reported in AOSP. As there are custom roms with AOSP 10 are you ready to upgrade sailfish to it?
I am planning to move the port over to AOSP10 & 64-bit, when corresponding support for SFOS ports will be available. That should improve camera and allow us to use latest flatpak aarch64 KDE platform.

As it is now, Jolla is working on AOSP10 and 64-bit support. So, I can work on other projects meanwhile.
 

The Following 6 Users Say Thank You to rinigus For This Useful Post:
Posts: 10 | Thanked: 17 times | Joined on Apr 2020
#200
Originally Posted by JoOppen View Post
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

I have got the same SONATA HD dongle and which works on an XA2 but does nothing on XZ2. What is the command you are using to extract the logs? I can't see anything in journalctl, and all dmesg shows is the new USB HID device..
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:37.