libera/#maemo/ Wednesday, 2021-08-04

MaxdamantusHmm.. Wonder if anyone's thought of just sticking an N900 on the back of another phone case, as a slide-out keyboard.11:00
bencohsounds ... bulky11:00
bencohhow would you connect those together? (bluetooth?)11:01
MaxdamantusUSB.11:01
KotCzarnywhat is the interface of n900's kb?11:02
KotCzarnyi2c?11:02
MaxdamantusI think so, but I'd be inclined to just run Linux on the N900 and connect using USB.11:02
MaxdamantusMaybe it'd be possible to run off the other device's power too, so wouldn't need a battery in the N900.11:03
KotCzarnystill, bulky as heck11:05
MaxdamantusActually, dunno if it's possible to boot the N900 without a battery.11:07
bencohnot really iirc11:07
KotCzarnyn810 also has a kb11:09
MaxdamantusSeems to be possible at least to go from u-boot to Linux without a battery.11:09
bencohMaxdamantus: does it manage to boot afterwards?11:10
bencohI'm not certain the usb supply is enough to provide for the current peaks at boot11:11
MaxdamantusWhen I tried it just now it didn't boot all the way into the Maemo GUI, but dunno if that's because it was playing dead or if it "crashed" in some way due to lack of power supply.11:12
MaxdamantusBut it was certainly running in userspace.11:12
bencohneat11:13
MaxdamantusI wouldn't expect to run Maemo in the setup I'm thinking of. I would just run some init script that loads g_ether, configures some networking on it, and run something else that the main phone could connect to.11:14
bencohyeah11:14
MaxdamantusThis is 3.14 booted from u-boot without battery: https://i.imgur.com/dBOJA9a.jpeg12:36
Maxdamantus(still needed a battery in it for the initial boot)12:37
MaxdamantusI think I was originally in Maemo, with USB plugged in. Removed battery and the device rebooted into u-boot (with backlight off).12:39
MaxdamantusDunno if the reboot was because of lack of power or some watchdog .. or maybe bme triggers a reboot when the battery voltage drops.12:40
MaxdamantusSeems to stay on indefinitely anyway in 3.14 after loading the twl4030 watchdog module.12:42
Maxdamantus(not in R&D mode)12:42
MaxdamantusWonder what would happen if 5 V were just supplied across the battery terminals.12:56
KotCzarnyread the specs of battery chip?12:57
MaxdamantusI imagine it's more than just the battery chip.12:58
MaxdamantusThere must be something else in the N900 that decides when to boot12:58
KotCzarnybut you can fry the chip12:59
MaxdamantusWhen the device is powered off and it's plugged into USB, it seems to put 1 V across the battery terminals.12:59
MaxdamantusSomething must detect when that rises above some threshold, and it boots.12:59
MaxdamantusI imagine it wouldn't fry the chip. Only like 0.7 V difference from the nominal maximum voltage of the battery.13:01
KotCzarnyhehe13:01
KotCzarnyi fried my ssd with 5.35v with prolonged use13:01
KotCzarnyi didnt knew sbc was supplying so much at the time13:01
KotCzarnyand ssd worked months before it didnt show up after a reboot13:02
MaxdamantusMaybe it could just be used for turning it on.13:02
KotCzarnythen adding a small switch+resistor should suffice13:02
siceloNone of my N900s automatically boot16:05
siceloAnd yes, N900 is able to run without battery on mainline kernel. Just fine, as long as it's receiving enough power16:07
MaxdamantusIt should automatically boot to "play dead" mode.21:43
MaxdamantusSo that it can charge at a higher rate than when the device is off.21:44
MaxdamantusWhen it does that, the backlight is off at the start of the boot, which is why my screenshot shows me figuring out how to turn the backlight on.21:44

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!