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 03-08-2017, 07:53 PM   #1
sahbi
Enthusiast
sahbi is on a distinguished road
 
Posts: 42
Karma: 50
Join Date: Oct 2011
Device: Sony:psr 650 , KOBO:aura h2O, KOBO:Aura One
How to get messages from the serial port ?

hello everybody,
has someone succeeded getting something out of the serial port of the aura h2o ? I've attached a uart usb to the J5 port, crosscompiled the g_serial module, managed to insmod it, and use minicom or putty to get something, but until now failed, the tx rx leds are blinking sometimes but nothing reaches the console. Thanks for some help.
sahbi is offline   Reply With Quote
Old 03-08-2017, 08:18 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,272
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Does this thread help? https://www.mobileread.com/forums/sh...d.php?t=243647
PeterT is offline   Reply With Quote
Advert
Old 03-09-2017, 04:33 AM   #3
sahbi
Enthusiast
sahbi is on a distinguished road
 
Posts: 42
Karma: 50
Join Date: Oct 2011
Device: Sony:psr 650 , KOBO:aura h2O, KOBO:Aura One
Thanks Peter, I already know that thread and all other threads about connecting a uart usb to a kobo(but no H2O), found also other blog entries.
I describe here what I've done until now maybe it helps others:
1. put this at the end of rcS (needed for telnet)
mkdir -p /dev/pts
mount -t devpts devpts /dev/pts

2. and this in inetd.conf (start 2 daemons)
21 stream tcp nowait root /bin/busybox ftpd -w -S /
23 stream tcp nowait root /bin/busybox telnetd -i

3. this goes in inittab
::sysinit:/etc/init.d/rcS
::respawn:/sbin/getty -L ttymxc0 115200 vt100
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::restart:/sbin/init
::respawn:/usr/sbin/inetd -f /etc/inetd.conf

compress all in a KoboRoot.tgz, connect the H2O, deposit KoboRoot.tgz in .Kobo and let the reader upgrade.
Now I have telnet access to insmod g_serial.ko that I have cross compiled with the linaero toolchain, insmoding g_serial.ko gives an error, dependencies problems, could cirmumvent this by insmoding first arcotg_udc.ko.
Attached the "uart usb" to the host, dmesg says it's connected to ttyUSB0, configure minicom for ttyUSB0, 115200... now between "uart usb" RX to TX, TX to RX and GRND to GRND.
what now ????
sahbi is offline   Reply With Quote
Old 03-10-2017, 01:59 PM   #4
the_doc
Connoisseur
the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!the_doc , Klaatu Barada Niktu!
 
the_doc's Avatar
 
Posts: 52
Karma: 5392
Join Date: Sep 2013
Device: Hanlin v3; Kobo Mini
Just for the record, during an intense and baffling second, when I read the title of the thread, I thought it said:
"How to get massages from the serial port".
the_doc is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial port connection knc1 Kindle Developer's Corner 15 04-10-2016 12:49 PM
Serial port debrick Fridolf Kindle Developer's Corner 9 05-19-2015 05:14 AM
PW1 lost PADs for serial port, but found signals near USB port uniqdom Kindle Developer's Corner 1 04-29-2015 08:45 AM
How To Jailbreak By Serial Port P_Chang Kindle Developer's Corner 10 01-03-2015 04:17 PM
K3 using serial port problem BusterBrown Kindle Developer's Corner 42 06-05-2012 06:11 PM


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


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