Reply
Thread Tools
filip.pz's Avatar
Posts: 108 | Thanked: 579 times | Joined on Feb 2013 @ Požega, Croatia
#111
Originally Posted by marmistrz View Post
How can I start kicking the watchdog? Can I disable it as we did with our N900s?
AFAIK you can disable watchdogs by flasher (disabling = not starting), but they still get activated later on because ubiboot starts kicking them. Once they start they can't be disabled until reboot and something has to kick them all the time (Mer uses DSME, and ubiboot has simple script to do so: https://talk.maemo.org/showpost.php?...8&postcount=20). It may be possible to disable them with flasher and to disable ubiboot from kicking them, but I never tried it myself.

Last edited by filip.pz; 2015-12-21 at 05:07. Reason: fix typo
 

The Following 6 Users Say Thank You to filip.pz For This Useful Post:
filip.pz's Avatar
Posts: 108 | Thanked: 579 times | Joined on Feb 2013 @ Požega, Croatia
#112
Christmas progress update:

Audio parts now work (for the most part at least). N9/N950 use quite complex setup consisting of TWL4030, TLV320DAC33 and WL1273 codecs. TWL4030 is used as main audio chip, paired with TLV320DAC33 for handsfree and headphones output (for better sound quality I suppose). TPA6140A2 (headphones amplifier) is connected to TLV320DAC33, and in the end WL1273 is used for FM radio and bluetooth connectivity.

I've used following script (test-sound.sh) to test TWL4030/TLV320DAC33 in Nemomobile:
Code:
#!/bin/sh

echo "Test earpiece"
pactl set-sink-port sink.hw0 nokia-n950-twl4030-output-earpiece
/usr/bin/paplay -v --device=sink.hw0 /usr/share/sounds/alsa/Noise.wav

echo "Test speaker"
pactl set-sink-port sink.hw0 nokia-n950-twl4030-output-ihf
/usr/bin/paplay -v --device=sink.hw0 /usr/share/sounds/alsa/Noise.wav

echo "Test headphone"
/usr/bin/paplay -v --device=sink.headphone /usr/share/sounds/alsa/Noise.wav

echo "Test TWL4030 -> TLV320DAC33 passthrough"
#set TWL4030 to headset-call port which forwards output to TLV320DAC33
pactl set-sink-port sink.hw0 nokia-n950-twl4030-output-headset-call
#set TLV320DAC33 to passthrough profile to accept input from TWL4030
pactl set-card-profile dac33 passthrough
#play something to TWL4030 and see if it goes throught TLV320DAC33 to headphones
/usr/bin/paplay -v --device=sink.hw0 /usr/share/sounds/alsa/Noise.wav
pactl set-card-profile dac33 normal
We still need jack detection logic (if something is plugged into 3.5mm jack and what). After that I'm after ACI/ECI driver (support for input from wired earphones with music controls: play, pause, etc.)

Patches file (https://www.dropbox.com/s/ogx2nbzoxf...x.tar.bz2?dl=1) has been updated to latest patch set.

In the end, let me wish all of you a Merry Xmas and a Happy New Year

Last edited by filip.pz; 2015-12-25 at 13:48. Reason: extended test procedure to twl4030->tlv320dac33 passtrough
 

The Following 23 Users Say Thank You to filip.pz For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#113
Thanks a lot fillip.pz. I'm just really sorry that I can't still give you a hand yet.
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following 6 Users Say Thank You to hedayat For This Useful Post:
filip.pz's Avatar
Posts: 108 | Thanked: 579 times | Joined on Feb 2013 @ Požega, Croatia
#114
Originally Posted by hedayat View Post
Thanks a lot fillip.pz. I'm just really sorry that I can't still give you a hand yet.
No problem, but can you spare some time in the near future for CMT? My N9 doesn't work with SIM card (reboots after entering PIN) and you have some experience with ofono, so you are a prime candidate for this
 

The Following 11 Users Say Thank You to filip.pz For This Useful Post:
Posts: 1,293 | Thanked: 4,319 times | Joined on Oct 2014
#115
Originally Posted by filip.pz View Post
No problem, but can you spare some time in the near future for CMT? My N9 doesn't work with SIM card (reboots after entering PIN) and you have some experience with ofono, so you are a prime candidate for this
This is still valid

http://talk.maemo.org/showpost.php?p...&postcount=101
 

The Following 10 Users Say Thank You to nieldk For This Useful Post:
Posts: 165 | Thanked: 625 times | Joined on Oct 2012
#116
No problem, but can you spare some time in the near future for CMT? My N9 doesn't work with SIM card (reboots after entering PIN) and you have some experience with ofono, so you are a prime candidate for this
I hope so. But my predictions has gone wrong recently many times! :P
__________________
My N9 apps: MeeTeleGram, Dukto, Prayers, Saaghar, N9 Easy Boot
Donations are appreciated
 

The Following 10 Users Say Thank You to hedayat For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#117
Well, I must admit I really wish I had the time to devote for the project too. (finally get that Debian to work to have a clean base!!)

But my free time is like dragons. It theoretically should exist, but I've never seen it within the last 3 months ;(
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 6 Users Say Thank You to marmistrz For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#118
I noticed that kernel hacker and Debian developer Sebastian Reichel (sre) who has done fantastic work mainlining N900 kernel patches has taken a recent interest in the N950:

http://elinux.org/N950

https://git.kernel.org/cgit/linux/ke...h=n950-display

https://git.kernel.org/cgit/linux/ke...og/?h=for-next

Pali's N900 kernel also includes N9/N950 specific patches that are yet to be mainlined.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer

Last edited by wicket; 2016-03-07 at 01:39.
 

The Following 15 Users Say Thank You to wicket For This Useful Post:
filip.pz's Avatar
Posts: 108 | Thanked: 579 times | Joined on Feb 2013 @ Požega, Croatia
#119
Originally Posted by wicket View Post
I noticed that kernel hacker and Debian developer Sebastian Reichel (sre) who has done fantastic work mainlining N900 kernel patches has taken a recent interest in the N950
I've taken the liberty and contacted Sebastian via e-mail.
Thanks for the heads up wicket!
 

The Following 13 Users Say Thank You to filip.pz For This Useful Post:
Posts: 45 | Thanked: 136 times | Joined on Dec 2013 @ Poland
#120
Hi
I was looking a little on the net and I found the documentation to the SGX530 can help?

http://www.datasheetarchive.com/dl/D...AH00695714.pdf
 

The Following 9 Users Say Thank You to danpio For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 01:36.