maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   The N9/N950 Kernel Upstreaming Force (https://talk.maemo.org/showthread.php?t=95966)

filip.pz 2015-12-15 16:16

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by marmistrz (Post 1491336)
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.

filip.pz 2015-12-24 16:22

Re: The N9/N950 Kernel Upstreaming Force
 
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

hedayat 2015-12-26 07:02

Re: The N9/N950 Kernel Upstreaming Force
 
Thanks a lot fillip.pz. I'm just really sorry that I can't still give you a hand yet. :(

filip.pz 2015-12-26 12:54

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by hedayat (Post 1492670)
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 ;)

nieldk 2015-12-26 13:15

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by filip.pz (Post 1492685)
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

hedayat 2015-12-28 06:47

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

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

marmistrz 2015-12-28 09:23

Re: The N9/N950 Kernel Upstreaming Force
 
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 ;(

wicket 2016-03-07 01:23

Re: The N9/N950 Kernel Upstreaming Force
 
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.

filip.pz 2016-03-07 16:22

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by wicket (Post 1500803)
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!

danpio 2016-03-07 17:36

Re: The N9/N950 Kernel Upstreaming Force
 
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


All times are GMT. The time now is 10:50.

vBulletin® Version 3.8.8