View Single Post
Old 04-23-2020, 10:14 AM   #9
KristianR
Member
KristianR began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Feb 2016
Device: none
Quote:
Originally Posted by NiLuJe View Post
@KristianR: Huh. Yeah, I'd be glad to know if there's a difference on that front between the two (assuming the "old" one was downgraded via a full, proper factory reset).
...
I will have a look as soon as the script broke the next time.

So far concerning the "history" of both devices:
- Kobo1 (FW 3.19.xx): Bought new several years ago. Definitively unwillingly updated to a 4.x-SW. Downgraded to 3.19.x by executing the according KoboRoot.tgz (no Factory reset).

Just checked: file is there
"-rw-r--r-- 1 root root 45074 Dec 31 2015 arcotg_udc.ko"

modinfo: can't open '/lib/modules/3.0.35+/modules.dep': No such file or directory



- Kobo4 (FW 4.20.xx): Bought used recently. Had a 2.x on it with which I was not able to register (Wifi broke all the time). Did a factory reset. Ran the 3.19.x KoboRoot.tgz, was able to connect to wifi, registered and got updated to current 4.20.xx

Just checked: file is there
"-rw-r--r-- 1 root root 45074 Dec 31 2015 arcotg_udc.ko"

modinfo: can't open '/lib/modules/3.0.35+/modules.dep': No such file or directory


Quote:
In the meantime, here's take two on the USBNet script issue
This one worked
And after installing RNDIS-driver I was able to connect to the device.


Now to further debugging whats going wrong:
RTCWAKE appears not to work while connected via USBNet (error message: short write). So I connected to the Kobo via wifi, toggled USBNet to on (cable detached) and started the script via wifi. Hoping to be able to connect later as soon as the script stops ...


Below are the last two cycles of the script execution last night (copied from nohup.out):
This was the last loop that went OK
Code:
+ date
+ hwclock
+ echo Next loop started at Thu Apr 23 03:58:07 CEST 2020 / Thu Apr 23 01:58:07 2020  0.000000 seconds
Next loop started at Thu Apr 23 03:58:07 CEST 2020 / Thu Apr 23 01:58:07 2020  0.000000 seconds
+ sleep 1
+ ps -a
PID   USER     TIME   COMMAND
    1 root       0:00 init
    2 root       0:00 [kthreadd]
    3 root       0:08 [ksoftirqd/0]
    4 root       0:00 [kworker/0:0]
    6 root       0:00 [khelper]
   44 root       0:00 [GPIOFN]
  139 root       0:00 [sync_supers]
  141 root       0:00 [bdi-default]
  143 root       0:00 [kblockd]
  184 root       0:00 [khubd]
  195 root       0:00 [irq/395-ricoh61]
  330 root       0:00 [swapper]
  332 root       0:00 [usb_wakeup thre]
  341 root       0:00 [kswapd0]
  342 root       0:00 [ksmd]
  401 root       0:00 [fsnotify_mark]
  414 root       0:00 [crypto]
  426 root       0:00 [EPDC Submit]
  427 root       0:00 [EPDC Interrupt]
  428 root       0:00 [EPDC AA]
  452 root       0:00 [tps65185_PWRGOO]
  458 root       0:00 [tps65185_INT]
  483 root       0:00 [kapmd]
  543 root       0:00 [ricoh61x_factor]
  551 root       0:00 [ricoh61x_batter]
  552 root       0:00 [r5t61x_charger_]
  585 root       0:01 [kinteractiveup]
  587 root       0:00 [mmcqd/0]
  593 root       0:00 [jbd2/mmcblk0p1-]
  594 root       0:00 [ext4-dio-unwrit]
  601 root       0:00 [flush-179:0]
  621 root       0:00 /sbin/udevd -d
  628 root       0:00 [kworker/0:0]
  644 messageb   0:00 /bin/dbus-daemon --system
  645 root       0:00 /bin/dbus-daemon --session --print-address --fork
  654 root       0:00 /sbin/getty -L ttymxc0 115200 vt100
  655 root       0:00 /bin/busybox inetd -f /etc/inetd.conf
 1014 root       0:00 syslogd -C500 -S
 1016 root       0:00 {sickel-launcher} /bin/sh /usr/local/Kobo/sickel-launcher.sh
 1017 root       0:00 /usr/local/Kobo/sickel -platform kobo:noscreen
 1084 root       0:00 {fickel-launcher} /bin/sh /usr/local/Kobo/fickel-launcher.sh
 1085 root       0:00 /usr/local/Kobo/fickel -platform kobo:noscreen
 1141 root       0:01 /libexec/dhcpcd-dbus
 1160 root       0:00 dhcpcd -d
 1179 root       0:00 {busybox} telnetd -l /bin/login -i
 1180 root       0:00 -sh
 1547 root       0:00 [kworker/0:1]
 1574 root       0:03 {loop.sh} /bin/sh ./loop.sh
 1634 root       0:06 [kworker/u:1]
 1647 root       0:00 [kworker/u:4]
 2261 root       0:01 [kworker/u:2]
 2568 root       0:00 [kworker/u:0]
 2588 root       0:00 ps -a
+ let loopcount=82+1
+ echo Loop Number: 83
Loop Number: 83
+ date
+ fbink Thu Apr 23 03:58:08 CEST 2020 / Loop: 83
[FBInk] Detected a Kobo Glo HD (371 => Alyssum @ Mark 6)
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 300 dpi
[FBInk] Variable fb info: 1072x1448, 16bpp @ rotation: 3 (Counter Clockwise, 270°)
[FBInk] Fontsize set to 24x24 (IBM base glyph size: 8x8)
[FBInk] Line length: 44 cols, Page size: 60 rows
[FBInk] Vertical fit isn't perfect, shifting rows down by 4 pixels
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6782976 bytes & line length: 2176 bytes
[FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background
Printing string 'Thu Apr 23 03:58:08 CEST 2020 / Loop: 83' @ column 0 + 0px, row 0 + 0px (overlay: N, no BG: N, no FG: N, inverted: N, flashing: N, centered: N, halfway: N, left padded: N, right padded: N, clear screen: N, waveform: AUTO, dithering: PASSTHROUGH, nightmode: N, skip refresh: N, font: 0, font scaling: x0)
Next line should start @ row 1
+ free
             total         used         free       shared      buffers
Mem:        508068       117992       390076            0         4024
-/+ buffers:             113968       394100
Swap:            0            0            0
+ sleep 5
+ rtcwake -m mem -s 180
wakeup from "mem" at Thu Apr 23 02:01:14 2020
+ sleep 5
+ true
+ echo
Here it just stops
Code:
+ date
+ hwclock
+ echo Next loop started at Thu Apr 23 04:01:19 CEST 2020 / Thu Apr 23 02:01:19 2020  0.000000 seconds
Next loop started at Thu Apr 23 04:01:19 CEST 2020 / Thu Apr 23 02:01:19 2020  0.000000 seconds
+ sleep 1
+ ps -a
PID   USER     TIME   COMMAND
    1 root       0:00 init
    2 root       0:00 [kthreadd]
    3 root       0:08 [ksoftirqd/0]
    4 root       0:00 [kworker/0:0]
    6 root       0:00 [khelper]
   44 root       0:00 [GPIOFN]
  139 root       0:00 [sync_supers]
  141 root       0:00 [bdi-default]
  143 root       0:00 [kblockd]
  184 root       0:00 [khubd]
  195 root       0:00 [irq/395-ricoh61]
  330 root       0:00 [swapper]
  332 root       0:00 [usb_wakeup thre]
  341 root       0:00 [kswapd0]
  342 root       0:00 [ksmd]
  401 root       0:00 [fsnotify_mark]
  414 root       0:00 [crypto]
  426 root       0:00 [EPDC Submit]
  427 root       0:00 [EPDC Interrupt]
  428 root       0:00 [EPDC AA]
  452 root       0:00 [tps65185_PWRGOO]
  458 root       0:00 [tps65185_INT]
  483 root       0:00 [kapmd]
  543 root       0:00 [ricoh61x_factor]
  551 root       0:00 [ricoh61x_batter]
  552 root       0:00 [r5t61x_charger_]
  585 root       0:01 [kinteractiveup]
  587 root       0:00 [mmcqd/0]
  593 root       0:00 [jbd2/mmcblk0p1-]
  594 root       0:00 [ext4-dio-unwrit]
  601 root       0:00 [flush-179:0]
  621 root       0:00 /sbin/udevd -d
  628 root       0:00 [kworker/0:0]
  644 messageb   0:00 /bin/dbus-daemon --system
  645 root       0:00 /bin/dbus-daemon --session --print-address --fork
  654 root       0:00 /sbin/getty -L ttymxc0 115200 vt100
  655 root       0:00 /bin/busybox inetd -f /etc/inetd.conf
 1014 root       0:00 syslogd -C500 -S
 1016 root       0:00 {sickel-launcher} /bin/sh /usr/local/Kobo/sickel-launcher.sh
 1017 root       0:00 /usr/local/Kobo/sickel -platform kobo:noscreen
 1084 root       0:00 {fickel-launcher} /bin/sh /usr/local/Kobo/fickel-launcher.sh
 1085 root       0:00 /usr/local/Kobo/fickel -platform kobo:noscreen
 1141 root       0:01 /libexec/dhcpcd-dbus
 1160 root       0:00 dhcpcd -d
 1179 root       0:00 {busybox} telnetd -l /bin/login -i
 1180 root       0:00 -sh
 1547 root       0:00 [kworker/0:1]
 1574 root       0:03 {loop.sh} /bin/sh ./loop.sh
 1634 root       0:06 [kworker/u:1]
 1647 root       0:00 [kworker/u:4]
 2261 root       0:01 [kworker/u:2]
 2568 root       0:00 [kworker/u:0]
 2599 root       0:00 ps -a
+ let loopcount=83+1
+ echo Loop Number: 84
Loop Number: 84
+ date
+ fbink Thu Apr 23 04:01:20 CEST 2020 / Loop: 84
[FBInk] Detected a Kobo Glo HD (371 => Alyssum @ Mark 6)
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 300 dpi
[FBInk] Variable fb info: 1072x1448, 16bpp @ rotation: 3 (Counter Clockwise, 270°)
[FBInk] Fontsize set to 24x24 (IBM base glyph size: 8x8)
[FBInk] Line length: 44 cols, Page size: 60 rows
[FBInk] Vertical fit isn't perfect, shifting rows down by 4 pixels
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6782976 bytes & line length: 2176 bytes
[FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background
Printing string 'Thu Apr 23 04:01:20 CEST 2020 / Loop: 84' @ column 0 + 0px, row 0 + 0px (overlay: N, no BG: N, no FG: N, inverted: N, flashing: N, centered: N, halfway: N, left padded: N, right padded: N, clear screen: N, waveform: AUTO, dithering: PASSTHROUGH, nightmode: N, skip refresh: N, font: 0, font scaling: x0)
Next line should start @ row 1
+ free
             total         used         free       shared      buffers
Mem:        508068       117992       390076            0         4024
-/+ buffers:             113968       394100
Swap:            0            0            0
+ sleep 5
+ rtcwake -m mem -s 180
wakeup from "mem" at Thu Apr 23 02:04:26 2020
+ sleep 5

Last edited by KristianR; 04-23-2020 at 03:27 PM.
KristianR is offline   Reply With Quote