T42 | <TheVancedGamer> mal: does usb-moded have support for functionfs mtp? | 12:04 |
---|---|---|
mal | hmm | 12:26 |
mal | @TheVancedGamer what is the function name on your device? | 12:27 |
T42 | <TheVancedGamer> ffs.mtp | 12:27 |
mal | https://github.com/mer-hybris/droid-config-sony-lena/blob/master/sparse/etc/usb-moded/usb-moded-configfs-lena.ini | 12:27 |
mal | this defined that at least and mtp works | 12:28 |
mal | so try that | 12:28 |
tohaturok[m] | guys, I continue working on Xperia 5IV port, I've enabled rndis when I boot the device via hybris-boot.img. I did it via android init scripts. I see the USB and the new interface on the host. Can you tell me how to configure an IP address for the device? | 15:17 |
mal | something like: ifconfig interace_name 192.168.2.2 | 16:11 |
tohaturok[m] | do I also need to start dhcp? | 16:13 |
mal | ? | 16:18 |
tohaturok[m] | I mean on device | 16:18 |
mal | not quite sure what you are even doing | 16:18 |
mal | what kind of usb-moded configuration do you have? | 16:19 |
tohaturok[m] | I disabled usb-moded service. It doesn't work. I enabled rndis via configfs in android's init script | 16:20 |
mal | it's just a matter of configuring usb-moded correctly | 16:21 |
mal | which android base are you using? | 16:21 |
tohaturok[m] | A13 | 16:21 |
mal | https://github.com/mer-hybris/droid-config-sony-murray/blob/master/sparse/etc/usb-moded/usb-moded-murray.ini this is what I used on xperia 10iv | 16:22 |
mal | note that it needs some connman configuration also | 16:23 |
mal | https://github.com/mer-hybris/droid-config-sony-murray/blob/master/sparse/etc/connman/main-custom.conf and https://github.com/mer-hybris/droid-config-sony-murray/blob/master/sparse/var/lib/environment/connman/override-main-config.conf | 16:23 |
tohaturok[m] | let me try this configuration | 16:24 |
mal | I hope the extcon path is the same | 16:24 |
mal | might not be, difficult to say | 16:24 |
tohaturok[m] | I've checked configs. It's the same | 16:41 |
tohaturok[m] | I enabled usb-moded service and unfortunately don't see any new usb connections on host | 16:42 |
mal | and this which type of build? the community way or the sony instructions way? | 16:42 |
tohaturok[m] | There is usb-moded related log from device. https://paste.opensuse.org/pastes/d1ca0e96812b | 16:43 |
tohaturok[m] | sony instruction way | 16:43 |
mal | what kernel configs have added? | 16:44 |
mal | *have you added | 16:44 |
mal | related to usb | 16:44 |
mal | in that log it uses rndis_bam.rndis? did you have that before? | 16:44 |
T42 | <TheVancedGamer> mal: i'm back, but usb-moded keeps spamming this: | 16:45 |
T42 | <TheVancedGamer> ``` | 16:45 |
T42 | <TheVancedGamer> usb_moded[5140]: wait canceled``` | 16:45 |
T42 | <TheVancedGamer> and it rapid-fires on host | 16:45 |
mal | hmm | 16:45 |
T42 | <TheVancedGamer> usb_moded[5140]: Using online property | 16:45 |
T42 | <TheVancedGamer> Aug 29 16:30:15 ubuntu-phablet usb_moded[5140]: wait canceled | 16:45 |
T42 | <TheVancedGamer> actual log | 16:45 |
tohaturok[m] | I'm not sure that I used it before | 16:45 |
tohaturok[m] | I see in android init script it uses gsi.rndis | 16:47 |
mal | tohaturok[m]: try that | 16:47 |
tohaturok[m] | as far as I remember I don't have RNDIS_BAM in kernel config file | 16:48 |
tohaturok[m] | let me check | 16:48 |
tohaturok[m] | This is in my defconfig https://github.com/mer-hybris/android_kernel_sony_msm/blob/8def221a3817ada7f36ecfb102b32eb87d20ad74/arch/arm64/configs/aosp_nagara_defconfig#L1013 | 16:51 |
tohaturok[m] | but I can't find CONFIG_USB_CONFIGFS_RMNET_BAM=y in out/target/product/pdx224/obj/kernel/.config | 16:52 |
tohaturok[m] | mal: Do you mean try gsi.rndis as function in usb-moded config? | 16:54 |
mal | yes | 17:21 |
T42 | <fredldotme> mal, got to test the second refcounting patch, works very well and seems to have glmark-es2-wayland from graphics-test-tools working as well now! | 17:36 |
mal | @fredldotme nice, that glmark-es2-wayland failed before? | 18:18 |
T42 | <fredldotme> Might be the libwayland-related patch to catch up with some other movement in master | 18:20 |
tohaturok[m] | mal: I've changed config and got the same error | 19:11 |
tohaturok[m] | It looks like my config wasn't picked up | 19:13 |
tohaturok[m] | It's located in /etc/usb-moded directory | 19:14 |
mal | can show what you have in config repo? | 19:15 |
tohaturok[m] | As I understand it, usb-moded picks up all the configs in that directory. Is that correct? | 19:16 |
tohaturok[m] | this is config repo which I used https://github.com/SailfishOS-SonyXperia/droid-config-sony-nagara | 19:17 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!