Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2014, 03: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, 251 views)
AMB-ereader is offline   Reply With Quote
Reply


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 08:26 PM
Touch hacking: wifi & suspend? notzed Kobo Developer's Corner 0 01-21-2012 02:05 AM
Kobo dev guys msxman Kobo Tablets 1 11-02-2011 07:10 PM
Ideas for Hacking Kindle WiFi snookums Kindle Developer's Corner 31 07-22-2009 02:58 PM
[Librie-Dev] Sony Librie Hacking Colin Dunstan Legacy E-Book Devices 2 08-05-2004 03:48 AM


All times are GMT -4. The time now is 01:09 AM.


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