00:50
uvos__ has quit [Ping timeout: 268 seconds]
01:24
Langoor has joined #maemo-leste
02:11
norly has quit [Read error: Software caused connection abort]
02:13
norly has joined #maemo-leste
03:03
stintel has quit [Read error: Software caused connection abort]
03:14
Danct12 has joined #maemo-leste
03:20
stintel has joined #maemo-leste
03:49
Danct12 has quit [Quit: Quitting]
04:38
jrayhawk has quit [Quit: debugging performance issues in 1.4.3]
04:38
jrayhawk has joined #maemo-leste
05:45
joerg has quit [Ping timeout: 260 seconds]
05:45
joerg has joined #maemo-leste
06:08
<
freemangordon >
sicelo: where, I cannot remember who had issues, but I remember it was related with kernel size
06:11
rafael2k has joined #maemo-leste
06:14
<
freemangordon >
from a brief look at the config:
06:14
<
freemangordon >
CONFIG_REMOTEPROC=y
06:14
<
freemangordon >
CONFIG_EXTCON=y
06:17
<
freemangordon >
also, I don;t see why all FS types are built-in, the same for IP stuff
06:17
<
freemangordon >
also, there are various trace/debug options that can (and I think should) be disabled
06:21
ceene has joined #maemo-leste
06:35
mardy has joined #maemo-leste
07:10
rafael2k has quit [Ping timeout: 252 seconds]
07:13
uvos__ has joined #maemo-leste
07:20
<
freemangordon >
uvos__: see a9081a008f84819ab2f3da596bf89afa16beea94
07:21
<
uvos__ >
just waking up
07:21
alex1216 has joined #maemo-leste
07:22
<
freemangordon >
well, look at the commit while having your coffee :)
07:22
<
freemangordon >
in regards to usb charging
07:22
<
uvos__ >
kernel commit i assume
07:22
<
freemangordon >
sure]
07:23
<
freemangordon >
this one as well 7d21114dc6a2d53babef43a84a8d8db2905d283d
07:23
<
freemangordon >
what I am trying to say is:
07:26
<
freemangordon >
we have to create extcon device that recognizes usb host/charger being attached and calls extcon_set_state_sync()
07:26
<
freemangordon >
and then register phy notifier in cpcap_charger
07:26
<
freemangordon >
and all will start working, IIUC
07:27
<
freemangordon >
I really need tmlind or sre to confirm that
07:30
<
tmlind >
freemangordon: are you trying to configure charger negotiation?
07:31
<
uvos__ >
freemangordon: yeah thats what it sounds like
07:31
<
uvos__ >
configure/implement
07:32
rafael2k has joined #maemo-leste
07:33
<
freemangordon >
tmlind: but, what I don't understand is, which phy shall cpcap_charger register notifier to? mausb-hdrc or mapphone?
07:33
<
tmlind >
i think drivers/usb/phy is the legacy framework, we're using driver/phy.. not sure if they work together
07:34
<
tmlind >
freemangordon: phy-cpcap-usb driver is the one for the micro-b usb port
07:34
<
freemangordon >
seems like, I had to comment the check in musb_gadget_vbus_draw() so usb_phy_set_power() to be called
07:34
<
freemangordon >
tmlind: I understand that, but gadget drivers bind to musb driver, no?
07:34
<
freemangordon >
so the call usb_phy_set_power() on musb phy
07:35
<
freemangordon >
so, cpcap-charger shall register to musb, not to phy-cpcap-usb
07:35
<
freemangordon >
to receive notifications for usb_phy_set_power() calls, no?
07:36
<
tmlind >
maybe grep first if drivers/usb/phy is still supposed to be used though
07:36
<
freemangordon >
umm, in 5.18 it is
07:36
<
tmlind >
so how does it interact with drivers/phy?
07:37
<
freemangordon >
cpcap_usb_try_musb_mailbox() ;)
07:37
<
tmlind >
that's old legacy stuff too..
07:38
<
freemangordon >
this is what we have
07:38
<
freemangordon >
unless this was changed in 6.x
07:38
xmn has quit [Ping timeout: 260 seconds]
07:38
<
tmlind >
right, but not sure we should start mixing in anything from the old drivers/usb/phy
07:38
<
freemangordon >
what I propose doe not really depend on that
07:39
<
freemangordon >
extcon support is provided by the FW, see 7d21114dc6a2d53babef43a84a8d8db2905d283d
07:40
<
tmlind >
i don't think extcon is needed either.. we already use iio framework
07:40
<
freemangordon >
it is, for charger detection
07:40
<
freemangordon >
at least that's what I understood
07:41
<
freemangordon >
the other option is to have charger_detect phy callback
07:41
<
uvos__ >
if tmlind knows one looking at a some other power subsystem driver that supports negotiation might help
07:41
<
tmlind >
my gut feeling is that we should be able to do this nowadays with just drivers/phy and iio.. but maybe extcon is still needed
07:41
<
uvos__ >
negotation/geting power limit from a usb framework
07:42
<
tmlind >
gadgetfs configures the usb-b power limit for the device
07:42
<
freemangordon >
uvos__: well, I grepped all over the place, the only one that uses it is wm831x_power.c
07:43
<
uvos__ >
freemangordon: hard to belive that support is not widespread
07:43
<
freemangordon >
tmlind: yes, and gadget driver calls usb_phy_set_power()
07:43
<
freemangordon >
believe it
07:43
<
uvos__ >
freemangordon: tht kind of suggsts its not the right way to do it or?
07:43
<
freemangordon >
and that in turn calls usb_phy_set_charger_current()
07:44
<
tmlind >
heh seems like vbus should be just a regulator to linux :)
07:45
<
freemangordon >
tmlind: how is that related to USB host config in terms of gadget
07:45
<
uvos__ >
im also pretty shockt this was added in 2017 only..
07:45
<
freemangordon >
me too
07:45
<
freemangordon >
but it is what it is
07:45
<
freemangordon >
and that's why there are no users :)
07:45
<
tmlind >
seems like there should be a better way nowadays :)
07:46
* tmlind
going offline in a few mins
07:46
<
freemangordon >
tmlind: ok, please, LMK what it is, and I will implement it
07:46
<
tmlind >
no idea :)
07:46
<
freemangordon >
heh
07:46
<
freemangordon >
why "seems like" then?
07:47
<
tmlind >
kind of wondering about the extcon part.. but maybe that's how it's supposed to look like
07:47
<
freemangordon >
actually, axtcon seems fine, as it detects not only chargers, but ACA and carcit and wantever
07:47
<
freemangordon >
*extcon
07:48
<
tmlind >
ok, maybe grep around in iio also in case there's something there nowadays
07:48
<
freemangordon >
oh, typo day it seems ;)
07:48
<
freemangordon >
tmlind: I am grepping for the last 2 days maybe
07:48
<
tmlind >
grep harder :)
07:48
<
uvos__ >
is that a flag?
07:48
<
tmlind >
grep -H maybe? :)
07:48
<
freemangordon >
and seems nobody cares about limiting charging current
07:48
<
freemangordon >
tmlind: grep what for?
07:49
<
freemangordon >
sunxi are using extcon, for sure
07:49
<
freemangordon >
so is palmas
07:49
<
freemangordon >
etc
07:49
<
tmlind >
freemangordon: sorry just kidding, i guess there's no better solution
07:49
<
freemangordon >
ah, ok :)
07:50
<
freemangordon >
it seems this was borrowed from android switch_something
07:50
<
freemangordon >
and actually this is what d4 vendor kernel uses
07:50
<
uvos__ >
no wonder usb pd is a mess, if few even manag to implement usb 2.0 power xD
07:51
<
freemangordon >
pd == power distribution?
07:51
* tmlind
bbl later tonight
07:51
<
freemangordon >
bye
07:51
<
uvos__ >
usb power delivery
07:51
<
uvos__ >
recent spec
07:55
pere has quit [Ping timeout: 248 seconds]
08:19
Twig has joined #maemo-leste
08:25
pere has joined #maemo-leste
08:26
rafael2k has quit [Remote host closed the connection]
08:44
Danct12 has joined #maemo-leste
08:47
akossh has joined #maemo-leste
08:52
norayr has left #maemo-leste [Error from remote client]
08:59
norayr has joined #maemo-leste
09:00
jedertheythem[m] has quit [Quit: You have been kicked for being idle]
09:12
ceene has quit [Remote host closed the connection]
09:13
ceene has joined #maemo-leste
09:13
ceene has quit [Remote host closed the connection]
09:15
ceene has joined #maemo-leste
09:35
norayr has left #maemo-leste [Error from remote client]
09:41
mardy has quit [Read error: Connection reset by peer]
09:53
norayr has joined #maemo-leste
09:58
mardy has joined #maemo-leste
10:41
pere has quit [Ping timeout: 268 seconds]
11:03
Daaanct12 has joined #maemo-leste
11:04
Daaanct12 has quit [Client Quit]
11:28
bencoh has quit [Ping timeout: 248 seconds]
11:28
pere has joined #maemo-leste
11:29
bencoh has joined #maemo-leste
11:30
bencoh has quit [Changing host]
11:30
bencoh has joined #maemo-leste
11:44
uvos__ has quit [Remote host closed the connection]
11:47
uvos__ has joined #maemo-leste
11:49
uvos__ has quit [Client Quit]
12:49
ceene has quit [Remote host closed the connection]
12:53
uvos__ has joined #maemo-leste
13:24
uvos__ has quit [Ping timeout: 260 seconds]
14:12
xmn has joined #maemo-leste
14:59
<
Wizzup >
where do you guys set a bluetooth headset as output for audio?
15:03
<
Wizzup >
ah maybe this is done from blueman
15:03
<
freemangordon >
Wizzup: do you have Xorg log file as well?
15:05
<
Wizzup >
argh, I just restarted the device
15:06
<
freemangordon >
it should be in /home/user
15:06
<
freemangordon >
it is copied from /tmo on reboot :)
15:06
<
freemangordon >
*/tmp
15:14
<
Wizzup >
Pair & trust your device in blueman, connect audiosink. You can close blueman now. The quality seems a bit better in 'offline mode'.
15:14
<
Wizzup >
this is frustratingly vague
15:14
<
Wizzup >
"connect audiosink"
15:17
<
Wizzup >
headset also keeps connecting and disconnecting?
15:25
<
Wizzup >
the wiki also does not say if i runs as root or not
15:27
<
Wizzup >
If that still does not work, or you are using PulseAudio's system-wide mode, also load the following PulseAudio modules (again these can be loaded via your default.pa or system.pa):
15:30
Twig has quit [Ping timeout: 260 seconds]
15:32
<
Wizzup >
Nov 11 16:32:00 localhost pulseaudio: modules/bluetooth/bluez5-util.c:1052:get_managed_objects_reply:GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.73" (uid=111 pid=2343 comm="/usr/bin/pulseaudio --fail=1 --daemonize=1 --syste") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error
15:33
<
Wizzup >
name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=2962 comm="/usr/sbin/bluetoothd ")
15:39
<
freemangordon >
Wizzup: could you enable debug of omap xorg driver?
15:44
<
Wizzup >
freemangordon: how a quick howto?
15:44
<
Wizzup >
wow the leste wiki made bluetooth look so easy :)
15:44
* Wizzup
gives up for now for real
15:46
<
freemangordon >
Wizzup: /usr/share/X11/xorg.conf.d/99-omap.conf
15:46
<
freemangordon >
"Device" section
15:46
<
freemangordon >
Option "Debug" "true"
15:47
<
Wizzup >
hm now I see it (the hp)
15:47
<
Wizzup >
freemangordon: ok, will do
15:48
<
Wizzup >
btw, ofono also lacks bt privs it seems
15:49
alex1216 has quit [Quit: WeeChat 2.3]
15:51
<
Wizzup >
fwiw I did modify /etc/dbus-1/system.d/bluetooth.conf to allow pa to query for devices
16:29
<
freemangordon >
ok, this usb phy notifier thing seems like a total mess
16:30
<
freemangordon >
everyone seems to call atomic_notifier_call_chain() with absolutely unrelated parameters
16:37
<
freemangordon >
tmlind: ^^^ !?!
16:37
_uvos_ has joined #maemo-leste
16:38
_uvos_ has quit [Remote host closed the connection]
16:38
_uvos_ has joined #maemo-leste
16:42
<
_uvos_ >
Wizzup: i dident have to anything special to get bt audio to work on d4
16:42
<
_uvos_ >
on mapphones bt call audio cant possibly work
16:47
_uvos_ has quit [Ping timeout: 268 seconds]
16:49
_uvos_ has joined #maemo-leste
16:50
<
_uvos_ >
well on mapphones bt call audio works by haveing cpcap switch around the connections so that the bt chip is directly connected to the modem
16:51
<
_uvos_ >
so you have to somehow configure the bt chip or modem so that the dais line up
16:51
<
_uvos_ >
and i have no idea how thats suposed to work
16:58
_uvos_ has quit [Ping timeout: 268 seconds]
17:08
Pali has joined #maemo-leste
17:11
<
Wizzup >
uvos: weird, I had to do various things to make it work
17:12
<
Wizzup >
uvos: maybe you run something as root instead of as user or something?
17:12
<
Wizzup >
per the dbus bluetooth rules pulseaudio is clearly not allowed to talk to it
17:12
<
Wizzup >
it only allows services with the group bluetooth
17:12
<
Wizzup >
which even our 'user' is not, currently
17:19
xmn has quit [Ping timeout: 246 seconds]
17:28
xmn has joined #maemo-leste
17:42
elastic_dog has quit [Remote host closed the connection]
17:44
elastic_dog has joined #maemo-leste
19:06
branon has quit [Ping timeout: 246 seconds]
19:10
branon has joined #maemo-leste
19:13
<
Wizzup >
uvos: bionic just reset, with wifi connected (and bt on)
20:06
<
Wizzup >
uvos: buzz: have you seen ofono go crazy when bt headset is connected?
20:07
<
Wizzup >
it just calls poll forever
20:07
<
buZz >
i havent tried a bt headset yet!
20:07
<
buZz >
only BT speakers
20:07
<
Wizzup >
wait, what -did- you try?
20:07
<
buZz >
just eh , plain 'boomboxes' like the kids have nowadays :P
20:08
<
buZz >
and a bt headphone , which is just the same as a speaker for BT
20:08
<
buZz >
not a microphone having headset
20:08
<
Wizzup >
maybe this causes ofono to go nuts
20:09
<
buZz >
maybe ... i'll try to get such BT hw soonish to try
20:10
<
Wizzup >
it also crackles a bit unless you set some pa latency
20:12
<
Wizzup >
but hey, the driver works enough that this just work
20:12
<
Wizzup >
so that's something :)
20:15
<
Wizzup >
I think I'll mostly just stick to the good ol cable
20:15
<
buZz >
i think we can get it way more reliable without much changes
20:15
<
buZz >
but, once setup, the BT speaker output at least, is rocksolid
20:15
<
Wizzup >
you hear no crackles?
20:15
<
buZz >
only when wifi is on during ;)
20:15
<
sicelo >
btw, wired headphone works fine for voice calls?
20:15
<
Wizzup >
right, I have wifi on
20:16
<
Wizzup >
sicelo: I don't remember if I tested this fully
20:16
<
Wizzup >
I remember there was an issue but maybe it was solved
20:16
<
buZz >
Wizzup: afaik 'using wifi during BT' is some known bad thing , isnt it on wiki?
20:19
<
Wizzup >
well, maybe
20:31
<
Wizzup >
the messages repeats really, really often and causes syslog to use 100%
20:34
<
Wizzup >
huh, just happened again
20:39
mardy has quit [Quit: WeeChat 3.5]
21:26
_uvos_ has joined #maemo-leste
21:26
<
_uvos_ >
sigh my isp's ip got banned here
21:27
<
_uvos_ >
wired call audio definatly should work
21:27
<
_uvos_ >
but nothing switches to it atm automaticly
21:28
<
_uvos_ >
i have used a bt headset extensively
21:28
<
_uvos_ >
never seen any issues with that
21:28
<
_uvos_ >
i use a bose qc35
21:29
<
_uvos_ >
its a pair of headhones that support the high quality audio profile, and the headset profile
21:29
<
_uvos_ >
works fine in both modes
21:30
<
Wizzup >
with wifi on?
21:30
<
_uvos_ >
i hear crackels sometimes on bt
21:30
<
_uvos_ >
but also crackles on wired
21:30
<
_uvos_ >
sometimes too
21:30
<
_uvos_ >
this is a pa issue
21:31
_uvos__ has joined #maemo-leste
21:32
<
_uvos__ >
using the alsa device directly is without crackles
21:33
<
_uvos__ >
none of the stuff you linked was nessecary at all here
21:33
<
Wizzup >
I don't hear them on wired I htink
21:34
<
Wizzup >
_uvos__: it was for me
21:34
<
Wizzup >
by default 'user' doesn't even have bt access
21:34
<
_uvos__ >
besides loading the right pa modules, starting bluez and modrobin the driver i dident have tondo anything
21:34
<
_uvos__ >
right you have to do that too
21:34
<
_uvos__ >
but really thats it
21:35
<
Wizzup >
well pa was erroring out accessing bluez
21:35
<
_uvos__ >
load-module module-bluez5-device
21:35
_uvos__ has quit [Remote host closed the connection]
21:35
_uvos_ has quit [Ping timeout: 268 seconds]
21:35
_uvos__ has joined #maemo-leste
21:36
_uvos_ has joined #maemo-leste
21:37
_uvos_ has quit [Client Quit]
21:37
_uvos_ has joined #maemo-leste
21:37
<
_uvos_ >
and load-module module-bluez5-discover
21:37
<
_uvos_ >
are the modules
21:38
<
_uvos_ >
Wizzup: wierd
21:40
_uvos__ has quit [Ping timeout: 252 seconds]
21:45
_uvos_ has quit [Ping timeout: 252 seconds]
22:17
akossh has quit [Ping timeout: 268 seconds]
23:33
crab has quit [*.net *.split]
23:34
crab has joined #maemo-leste