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-15-2022, 02:33 PM   #1
Szybet
Connoisseur
Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.
 
Posts: 90
Karma: 3892
Join Date: Feb 2022
Device: Kobo nia
Needed help with USB OTG get to working

Welcome
So here is my question, is it possible to use the kobo nia as a usb host? just like it was made here. I tryied the same thing, but with no success.

Here are the dmesg logs:
Spoiler:

Code:
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 4.1.15idontknow ehci_hcd
usb usb1: SerialNumber: ci_hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
IRQ gpio=0, IN_TEN_SYS=0xd1,PWR_ON_TIMES=0x5b,int_sts=0x40,when interrupt is comming
PMU2: Watchdog timeout triggered. ===============
RTL871X: adaptive_early_32k(): bcn_cnt = 101
RTL871X: rtw_set_ps_mode(eth0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
usb 1-1: new high-speed USB device number 45 using ci_hdrc
usb 1-1: new high-speed USB device number 46 using ci_hdrc
usb 1-1: new high-speed USB device number 47 using ci_hdrc
usb 1-1: new high-speed USB device number 48 using ci_hdrc
RTL871X: CurIGValue=69, EntryMinUndecoratedSmoothedPWDB = 70
usb 1-1: new high-speed USB device number 49 using ci_hdrc
RTL871X: adaptive_early_32k(): bcn_cnt = 101
usb 1-1: new high-speed USB device number 50 using ci_hdrc
RTL871X: rtw_set_ps_mode(eth0) Leave 802.11 power save - WIFI-LPS_CTRL_TX_TRAFFIC_LEAVE
RTL871X: rtl8188f_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2
usb 1-1: new high-speed USB device number 51 using ci_hdrc
usb 1-1: new high-speed USB device number 52 using ci_hdrc
usb 1-1: new high-speed USB device number 53 using ci_hdrc
usb 1-1: new high-speed USB device number 54 using ci_hdrc
usb 1-1: new high-speed USB device number 55 using ci_hdrc
usb 1-1: new high-speed USB device number 56 using ci_hdrc
usb 1-1: new high-speed USB device number 57 using ci_hdrc
RTL871X: rtw_issue_addbareq_cmd, p=0
RTL871X: BA_starting_seqctrl = 3350 for TID=0
RTL871X: issue_addba_req(eth0) ra=0c:54:15:1c:2c:8a tid=0
RTL871X: OnAction_back
RTL871X: OnAction_back, action=1
RTL871X: agg_enable for TID=0
usb 1-1: new high-speed USB device number 58 using ci_hdrc
usb 1-1: new high-speed USB device number 59 using ci_hdrc
usb 1-1: new high-speed USB device number 61 using ci_hdrc
usb 1-1: new high-speed USB device number 62 using ci_hdrc
usb 1-1: new high-speed USB device number 63 using ci_hdrc
usb 1-1: new high-speed USB device number 64 using ci_hdrc
usb 1-1: new high-speed USB device number 65 using ci_hdrc
usb 1-1: new high-speed USB device number 66 using ci_hdrc
usb 1-1: new high-speed USB device number 67 using ci_hdrc
usb 1-1: new high-speed USB device number 68 using ci_hdrc
usb 1-1: new high-speed USB device number 69 using ci_hdrc
usb 1-1: new high-speed USB device number 70 using ci_hdrc
RTL871X: rtw_set_ps_mode(eth0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
RTL871X: rtl8188f_set_FwPwrMode_cmd(): FW LPS mode = 2, SmartPS=2
usb 1-1: new high-speed USB device number 71 using ci_hdrc
usb 1-1: new high-speed USB device number 72 using ci_hdrc
usb 1-1: new high-speed USB device number 73 using ci_hdrc
RTL871X: rtw_set_ps_mode(eth0) Leave 802.11 power save - WIFI-LPS_CTRL_TX_TRAFFIC_LEAVE
RTL871X: rtl8188f_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2
RTL871X: adaptive_early_32k(): bcn_cnt = 101
usb 1-1: new high-speed USB device number 86 using ci_hdrc
usb 1-1: new high-speed USB device number 87 using ci_hdrc
usb 1-1: new high-speed USB device number 88 using ci_hdrc
usb 1-1: new high-speed USB device number 89 using ci_hdrc
usb 1-1: new high-speed USB device number 91 using ci_hdrc
usb 1-1: new high-speed USB device number 93 using ci_hdrc
usb 1-1: new high-speed USB device number 94 using ci_hdrc
usb 1-1: new high-speed USB device number 95 using ci_hdrc
usb 1-1: new high-speed USB device number 96 using ci_hdrc
usb 1-1: new high-speed USB device number 97 using ci_hdrc
usb 1-1: new high-speed USB device number 98 using ci_hdrc
usb 1-1: new high-speed USB device number 99 using ci_hdrc
usb 1-1: new high-speed USB device number 100 using ci_hdrc
PMU: mainFlowOfLowVoltage :     Noxx : cc_delta_cap is -10, cc_delta_cap_now is -77, last_cc_delta_cap is -67
PMU: mainFlowOfLowVoltage :     Noxx : temp_cc_delta_cap is 0, after temp_cc_delta_cap_mas is -289, cc_cap_mas -25011
PMU: mainFlowOfLowVoltage :     No9 :Cap is 8725 , low_rate is 81, dsoc is 8494, capnow is 8690, capzero is 15, delta cc is -8, delta cc ori is -10
PMU: mainFlowOfLowVoltage :     No10 :temp_mas is -321, offset_mas is -32, value is -810, final value is -8
PMU : set_current_time2register : second is 1644942428, hour is 456928
PMU:STATUS= 7: IBAT= -119: VSYS= 3966000: VBAT= 3989250: DSOC= 8494: RSOC= 8500: cc_delta=29: rrf= 0
usb 1-1: new high-speed USB device number 102 using ci_hdrc
usb 1-1: new high-speed USB device number 103 using ci_hdrc
IRQ gpio=0, IN_TEN_SYS=0xd1,PWR_ON_TIMES=0x5b,int_sts=0x40,when interrupt is comming
PMU2: Watchdog timeout triggered. ===============
usb 1-1: new high-speed USB device number 104 using ci_hdrc
usb 1-1: new high-speed USB device number 105 using ci_hdrc
usb 1-1: new high-speed USB device number 106 using ci_hdrc
usb 1-1: new high-speed USB device number 107 using ci_hdrc


They are cutted out and connected together for the most important part, but the point is it registers new usb devices, begins with 0 and goes infinite. I also measured the power consumption of the keyboard, it was raising to 50 mA and then back to 2 mA ( i was using an external power supply, yes the ground was connected together ) all the time. Also, there were only those logs with only one keyboard, using the oryginal or a other OTG cable.

I tryied recompiling the kernel, adding drivers, nothing worked.

If someone is curious I also posted the same question on Kobolabs github

Any links, directions where to look are appreciated and welcome
Szybet is offline   Reply With Quote
Old 08-22-2022, 01:32 PM   #2
badrihippo
Member
badrihippo began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2018
Location: Tamilnadu, India
Device: Kobo Elipsa & Kobo Touch
Hi! Did you manage to figure this out yet? I'm trying to connect my Nia too. I saw on GitHub that you mentioned it needs power, but is that the solution or are there still more issues?
badrihippo is offline   Reply With Quote
Advert
Old 08-22-2022, 07:14 PM   #3
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Probably: https://github.com/Szybet/niAudio
Szybet contributes a lot to InkBox OS, and we will probably integrate audio support for some devices that can support it soon.
NiMa is offline   Reply With Quote
Old 10-04-2022, 05:05 PM   #4
Szybet
Connoisseur
Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.Szybet can teach chickens to fly.
 
Posts: 90
Karma: 3892
Join Date: Feb 2022
Device: Kobo nia
Sorry @badrihippo for not answering! i hate this forum, the look of it
It needs to be charged to make usb host work. there are some options using I2C to make it charg less, or even supply its own power ( experimental? ). If you want, continue the conversation on Inkbox discord server or on niAudio github page
Szybet is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW2 USB OTG ahorner Kindle Developer's Corner 0 09-12-2021 04:48 PM
USB Host (OTG) tinkerwinker Kobo Developer's Corner 9 02-04-2017 06:08 AM
CC and USB/OTG support GEB Calibre Companion 2 05-30-2015 12:24 PM
Experiments with USB-OTG HarryT Android Devices 13 07-03-2012 03:55 PM
USB OTG Mythic Bookeen 7 11-11-2007 12:39 PM


All times are GMT -4. The time now is 06:28 PM.


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