View Single Post
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#72
Originally Posted by MohammadAG View Post
Uh, does it matter? The kernel module is responsible on creating those files, not your script.
cat: can't open '/sys/class/i2c-adapter/i2c-3/3-0022/fm_rssi': No such file or directory
Your script tries to read that file ^ which doesn't exist on the stock kernel (or kernels based on it)
The file gets created on a stock N900 kernel when the bcm2048_radio kernel driver gets loaded. You need to have the n900-fmrx-enabler package installed to make this work, though. The N900 ships with the driver but it won't load unless you power up the i2c bus to the FM tuner on the Bluetooth chip. The n900-fmrx-enabler takes care of this.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following 3 Users Say Thank You to pycage For This Useful Post: