I am working on enabling NFC on the STE snowball board. I enabled the NFC and its working fine. While enabling I took help of internet and porting guide, where most of the links tell's following statement to write, In init.rc file, setprop ro.nfc.port "I2C" chmod 0600 /dev/pn544 and in ueventd.rc file, /dev/pn544 0600 system system I understand that defining the statement in ueventd.rc will create a node in /dev/ path, but I am not able to understand why setprop is written in init.rc file. Can any one give a pointer to understand the above issue ??
Why setprop ro.nfc.port is needed in init.rc in android
2.1k Views Asked by Datta At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in NFC
- Possible to use NFC for iPad
- Cannot find name 'NDEFReader'
- Get AID from Debit/Credit Card using NFC
- read files on MIFARE DESFire EV2 NFC card with transceive and react-native-nfc-manager
- ESP32 Baud Rate
- NTag216 [Write] command unexpected response code
- How do I read the UID of a tag (e.g. Mifare Classic) using the ACR122U Reader and PCSC library in VB.net
- Android app on Samsung incorrectly reads MiFare card via NFC
- NTag424 DNA ReadData[CommMode.Full] returns 7E
- NFC permission required: Neither user 10711 nor current process has android.permission.NFC
- M24LR16E Drivers not being read with NFC on iOS
- CoreNFC and using the OPTION FLAG
- CoreNFC writing to iCode Slix2 tag doesn't seem stable
- Why can I not import nfc_manager repo as a dependency into my flutter app?
- Is it possible to emulate nfc tag via adb tools?
Related Questions in KERNEL-MODULE
- crash utility itself crashes while decoding kdump generated from null pointer dereference in kernel module
- How to modify a 'struct msghdr' in Linux Kernel Module?
- How to allocate 500MB+ physically contiguous memory in a Linux kernel module and copy data to that memory from a userspace process?
- Something's wrong with the makefile indentation? (Makefile:x: *** missing separator. Stop.)
- How to setup configfs for a custom Linux kernel module
- How to reduce reserved memory allocated by Linux kernel during boot time
- How do I use RDMA in the kernel so that I can communicate with user-space RDMA?
- How to get full mountpoint path name by the sturct fc_context
- Do kernel and kernel modules have their own task_struct?
- How external kernel module look for exported symbol during modpost
- kernel log trace file entries issue
- memcpy() - unable to handle kernel NULL pointer dereference
- Making a few charecter device in linux
- insmod fails - module does not seem to match running kernel but I cannot figure out why
- Can't get vermagic to match on Linux NVMe driver
Related Questions in OPEN-NFC
- Not sure about NFC errors with techlist
- I want an NFC tag to rotate through links every time I tap it
- How to get unique fixed NFC ID?
- Is it possible to open the messenger on the phone using NFC
- How could I rewrite an NFC sticker link using ReactJS to a specific profile
- Prompt File Download to Phone from NFC Tag
- NFC tag emulation for Android virtual device (AVD)
- How to parse data from NfcA tag?
- Can we use NFC technology to send messages (NDEF) across Android and iPhone
- How to create NFC tag that contains NDEF data?
- Enable/Disable counter for NTAG213
- How to access the NTAG213 NFC interaction counter?
- use smartphone with nfc chip for contactless payment
- How do I activate NFC without a readable/writable device nearby?
- Open NFC - Error LNK2019: unresolved external symbol __imp__ShellExecuteW@24
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
ro.nfc.portdefines the transport used by the NFC subsystem to talk to the NFC chip. In your case the NFC chip is connected to the I²C bus with /dev/pn544 as the driver.The libnfc also supports connecting the NFC chip to a serial port. This is done for example in the tuna platform (Galaxy Nexus I think). In this case you'll see:
in your init.rc
Unless you are building a platform by yourself you should not mess around with these settings. They are for system builders and they (hopefully) know what they're doing. Users won't see any benefit from modifying them.