Active Topics

 


Reply
Thread Tools
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#61
The hard back key is working too. Can I swap the hard keys? I like the back key on the right (not left).
 

The Following User Says Thank You to meemorph For This Useful Post:
BluesLee's Avatar
Posts: 411 | Thanked: 1,105 times | Joined on Jan 2010 @ Europe
#62
Originally Posted by delaya73 View Post
Hi.
Bluetooth now works.
Check.

Upgrade:
# ssu re 3.0.1.11
# version --dup
Confirmed that bluetooth is working somehow. Turning bluetooth on/off does not give the corresponding toggle feedback within settings / bluetooth. It looks like its not turning on but a bluetooth loudspeaker is automatically connected after initial pairing. I observed sound dropouts here.

@all: Still open: camera bug, it takes about 2 secs until a shot is taken after sound feedback. Can someone confirm this issue?
 

The Following 2 Users Say Thank You to BluesLee For This Useful Post:
Posts: 22 | Thanked: 69 times | Joined on Dec 2017
#63
Hi.
About bluetooth.
Fixed getting bluetooth MAC address

Commits:
1. https://github.com/delaya73/droid-co...77e212b0a3ea5e
2. https://github.com/delaya73/droid-co...ab6a80ca59f024
 

The Following 2 Users Say Thank You to delaya73 For This Useful Post:
Posts: 22 | Thanked: 69 times | Joined on Dec 2017
#64
Originally Posted by BluesLee View Post
Confirmed that bluetooth is working somehow. Turning bluetooth on/off does not give the corresponding toggle feedback within settings / bluetooth. It looks like its not turning on but a bluetooth loudspeaker is automatically connected after initial pairing. I observed sound dropouts here.

@all: Still open: camera bug, it takes about 2 secs until a shot is taken after sound feedback. Can someone confirm this issue?
Hi.
All of these problems are known to me. I am working on their solution.
 

The Following 5 Users Say Thank You to delaya73 For This Useful Post:
Posts: 22 | Thanked: 69 times | Joined on Dec 2017
#65
Bluetooth turns on and off better from the top menu.
As an option to add the option exec_timeout = 2 to the /etc/qca_rome.conf file
It should help a little, but this is not a solution.

For some reason, bluetooth does not turn off.

strace -p <process bluetooth-rfkill-event.service>

Code:
ioctl(5, HCIDEVUP, 0)                   = -1 EALREADY (Operation already in progress)
close(5)                                = 0
poll([{fd=4, events=POLLIN|POLLHUP}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\5\0\0\0\2\1\0\0", 8)          = 8
poll([{fd=4, events=POLLIN|POLLHUP}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\6\0\0\0\2\0\0\0", 8)          = 8
open("/sys/class/rfkill/rfkill6/name", O_RDONLY) = 5
read(5, "hci0\n", 4095)                 = 5
close(5)                                = 0
socket(AF_BLUETOOTH, SOCK_RAW, 1)       = 5
ioctl(5, HCIGETDEVINFO, 0xffe2f364)     = 0
close(5)                                = 0
poll([{fd=4, events=POLLIN|POLLHUP}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\0\0\0\0\2\2\1\0", 8)          = 8
gettimeofday({tv_sec=1548146004, tv_usec=363081}, NULL) = 0
send(3, "<30>Jan 22 13:33:24 bluetooth_rf"..., 111, MSG_NOSIGNAL) = 111
pipe([5, 6])                            = 0
pipe([7, 8])                            = 0
pipe([9, 10])                           = 0
fcntl64(5, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(6, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(7, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(8, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(8, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(9, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(9, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(10, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(10, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf6c54278) = 8182
close(5)                                = 0
close(8)                                = 0
close(10)                               = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 1 (in [7], left {tv_sec=0, tv_usec=968589})
read(7, "8124\n", 4096)                 = 5
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=8182, si_uid=0, si_status=0, si_utime=0, si_stime=2} ---
wait4(8182, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 8182
close(6)                                = 0
close(7)                                = 0
close(9)                                = 0
pipe([5, 6])                            = 0
pipe([7, 8])                            = 0
pipe([9, 10])                           = 0
fcntl64(5, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(6, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(6, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(7, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(8, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(8, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(9, F_GETFL)                     = 0 (flags O_RDONLY)
fcntl64(9, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(10, F_GETFL)                    = 0x1 (flags O_WRONLY)
fcntl64(10, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf6c54278) = 8183
close(5)                                = 0
close(8)                                = 0
close(10)                               = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
wait4(8183, 0xffe2d2ec, WNOHANG, NULL)  = 0
_newselect(10, [7 9], NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout)
Link on code: https://github.com/delaya73/bluetoot...l_event.c#L935

Last edited by delaya73; 2019-01-25 at 19:18.
 

The Following 4 Users Say Thank You to delaya73 For This Useful Post:
Posts: 22 | Thanked: 69 times | Joined on Dec 2017
#66
Hi.
On my Marshall Major III Bluetooth works out at all 200%
 

The Following User Says Thank You to delaya73 For This Useful Post:
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#67
HI, I habe an old op3t and want to flash sfos. Can I find an image near to sfos version 3.3 somewhere?
 

The Following User Says Thank You to meemorph For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#68
 

The Following 2 Users Say Thank You to coderus For This Useful Post:
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#69
Thats are the old 2.1. Thanks, looks like I have to start with it and have the update fun. ;-)
edit: oh no, there is a 3.2.1.20 too. I will take that one.

Last edited by meemorph; 2020-05-15 at 15:39.
 

The Following 2 Users Say Thank You to meemorph For This Useful Post:
Posts: 204 | Thanked: 443 times | Joined on Jul 2012 @ Germany - Potsdam
#70
Originally Posted by r0kk3rz View Post
Sailfish image can be found here:
http://gitlab.com/sailfishos-porters...?job=run-build
...
I took this image and flashed it with lineageos-14 firmware and SFOS is alive. After that I dup'ed up to 3.3.0.16, worked so far.

Whats missing:
  • BT
  • video
  • cam live image
  • power management very strong (disturbes listening music)

I could fix BT with installing (downgrading to) bluetooth-rfkill-event-hciattach-1.0.6+master.20190118102602.2.g1ab3b06-1.10.1.jolla.armv7hl.rpm and installing bluez5-tools.

But I cannot fix the video and music issue. Looks to me like the video overlay could not be started/displayed. Thats why the cam live image is missing too. Taking a picture works.

Can somebody give me any hints for fixing?

edit: looks like the 3.3.0.16 is not finished atm.

Last edited by meemorph; 2020-05-28 at 12:34.
 

The Following 2 Users Say Thank You to meemorph For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:19.