Notices


Reply
Thread Tools
HtheB's Avatar
Moderator | Posts: 3,457 | Thanked: 5,962 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#1
So, after tearing apart the Jolla C to repair the headphone jack once more.... I saw something that I didn't see before.

There are 3 soldering points with the tag NFC on it...
Interesting...
Attached Images
 
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following 13 Users Say Thank You to HtheB For This Useful Post:
Posts: 1,321 | Thanked: 1,516 times | Joined on Mar 2010
#2
Might be worth tearing open a Jolla 1 for comparison shots?
 

The Following 3 Users Say Thank You to MINKIN2 For This Useful Post:
mrsellout's Avatar
Posts: 823 | Thanked: 1,849 times | Joined on Sep 2010 @ Manchester
#3
There's a thread with a teardown by der_pepe (edit: of the original Jolla) here [1]
He posted some pics of the interior here [2].

And here's the bit about NFC from the first post:
•The NFC controller it’s an PN544 (labeled as 44701) manufactured by NXP Semiconductors.
It supports read/write of ISO 14443–A, 14443-B, MIFARE, FeliCa and NFC Forum tags, and
it can emulate such devices. There’s a good chance it’s already hooked up into the I2C bus, so it
might be “hacked” and be used for something else than just reading TOHs
The Jolla Blog did a write-up of it (which was easier to find on Google)[3].

Edit: there's a few related threads TJC (regarding JollaC and NFC), the last of which from last month [4][5][6].

[1] http://talk.maemo.org/showthread.php?t=92243
[2] http://talk.maemo.org/showpost.php?p...9&postcount=10
[3] https://thejollablog.wordpress.com/2...down-pictures/

[4] https://together.jolla.com/question/...an-nfc-reader/
[5] https://together.jolla.com/question/...ardown-images/
[6] https://together.jolla.com/question/...access-wanted/

Last edited by mrsellout; 2017-02-15 at 11:53.
 

The Following 7 Users Say Thank You to mrsellout For This Useful Post:
Posts: 172 | Thanked: 321 times | Joined on Dec 2013
#4
I'm an electronics noob ...

So, if there's a chip already there, NFC capability might be added by simply soldering an antenna to the contacts?
 

The Following 2 Users Say Thank You to gaelic For This Useful Post:
Posts: 37 | Thanked: 67 times | Joined on Jun 2015 @ Munich, Germany
#5
Great finding! I looked a bit into the software side of things. First off: There's a driver needed: https://github.com/torvalds/linux/bl.../nfc-pn544.txt

Now to the weird thing: The sysfs entry itself is a hint that there's a driver attached. Also there's /dev/pn544 which indicates that the driver is up&running but modinfo tells there's no driver and there's also no /sys/module/pn544. Lastly:

gunzip -c /proc/config.gz | grep NFC
# CONFIG_NFC is not set
CONFIG_NFC_PN547=y

So I really don't know if there's a driver.

Now I would love to install some userspace tool to test but which one does support that chip? nfc-tools don't: https://github.com/nfc-tools/libnfc/issues/374
 

The Following 4 Users Say Thank You to V10lator For This Useful Post:
Community Council | Posts: 4,118 | Thanked: 9,890 times | Joined on May 2012 @ Southerrn Finland
#6
Well, CONFIG_NFC_PN547 is a tristate so you could just try compiling it and see what it writes to dmesg on insertion.

I admit it is odd that nfc is set off but the driver is included. No idea which one gets preceedence...
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Posts: 37 | Thanked: 67 times | Joined on Jun 2015 @ Munich, Germany
#7
But we need CONFIG_NFC_PN544_I2C (which is hidden behind CONFIG_NFC), not CONFIG_NFC_PN547. I don't even know what CONFIG_NFC_PN547 is for (linux kernel driver database doesn't know that, too).

Did I say this is weird? ^^

//EDIT: While CONFIG_NFC_PN544_I2C is a tristate, too, http://releases.sailfishos.org/sources/ lags behind for months so no way to compile anything.

Last edited by V10lator; 2017-04-18 at 06:03.
 

The Following 3 Users Say Thank You to V10lator For This Useful Post:
Community Council | Posts: 4,118 | Thanked: 9,890 times | Joined on May 2012 @ Southerrn Finland
#8
Originally Posted by V10lator View Post
But we need CONFIG_NFC_PN544_I2C (which is hidden behind CONFIG_NFC), not CONFIG_NFC_PN547. I don't even know what CONFIG_NFC_PN547 is for (linux kernel driver database doesn't know that, too).

Did I say this is weird? ^^

//EDIT: While CONFIG_NFC_PN544_I2C is a tristate, too, http://releases.sailfishos.org/sources/ lags behind for months so no way to compile anything.
Yes, I mistakenly checked for CONFIG_NFC_PN544 when I thought I was looking at CONFIG_NFC_PN547

I don't know what you have on Jolla-C but this is valid & up-to-date with Jolla sbj1 kernel; https://github.com/KonstaT/sailfisho..._jolla_msm8930
I have used that repository for successiful builds on my device.

Last edited by juiceme; 2017-04-18 at 06:49. Reason: typo in url
 

The Following 4 Users Say Thank You to juiceme For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:39.