maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   JollaC & Intex Aqua Fish (https://talk.maemo.org/forumdisplay.php?f=64)
-   -   Jolla C might have NFC capabilities (https://talk.maemo.org/showthread.php?t=98913)

HtheB 2017-02-14 09:23

Jolla C might have NFC capabilities
 
1 Attachment(s)
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...

MINKIN2 2017-02-14 10:57

Re: Jolla C might have NFC capabilities
 
Might be worth tearing open a Jolla 1 for comparison shots?

mrsellout 2017-02-14 19:15

Re: Jolla C might have NFC capabilities
 
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:
Quote:

•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/

gaelic 2017-02-15 10:37

Re: Jolla C might have NFC capabilities
 
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?

V10lator 2017-04-18 03:01

Re: Jolla C might have NFC capabilities
 
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

juiceme 2017-04-18 05:25

Re: Jolla C might have NFC capabilities
 
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...

V10lator 2017-04-18 05:54

Re: Jolla C might have NFC capabilities
 
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. :(

juiceme 2017-04-18 06:48

Re: Jolla C might have NFC capabilities
 
Quote:

Originally Posted by V10lator (Post 1526977)
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 :D

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.


All times are GMT. The time now is 08:02.

vBulletin® Version 3.8.8