Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2014, 04:24 PM   #1
AMB-ereader
Junior Member
AMB-ereader began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2014
Device: Kobo wifi
Kobo wifi /dev/ntx_io hacking

While examining various system calls that nickel makes I noticed that /dev/ntx_io is accessed a lot. So by looking at the source code for the Linux kernel I worked out what a lot of the ioctl() calls do.

I now have a program that can:
  • Detect if the SD card is inserted.
  • Detect if the SD card is read-only or read-write.
  • Detect if USB is connected.
  • Detect if the power button has just been pressed.
  • Get the battery charge status.
  • Switch on the blue LED.
  • Flash the blue LED once.

The attached is tested on a Wifi ereader with 4-bit display (m166e hardware version), but the source code of the imx357 hardware version (which I think is the 8-bit version) appears very similar.
Attached Files
File Type: zip ntx_io.zip (5.4 KB, 40 views)
AMB-ereader is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touch dev question: enabling wifi on demand? jape Kobo Reader 3 03-08-2012 09:26 PM
Touch hacking: wifi & suspend? notzed Kobo Developer's Corner 0 01-21-2012 03:05 AM
Kobo dev guys msxman Kobo Tablets 1 11-02-2011 08:10 PM
Ideas for Hacking Kindle WiFi snookums Kindle Developer's Corner 31 07-22-2009 03:58 PM
[Librie-Dev] Sony Librie Hacking Colin Dunstan Legacy E-Book Devices 2 08-05-2004 04:48 AM


All times are GMT -4. The time now is 11:18 PM.


MobileRead.com is a privately owned, operated and funded community.