IRC log for #maemo-ssu on 20161014

00:14.34*** join/#maemo-ssu RedW (~redw@89-76-164-87.dynamic.chello.pl)
00:51.17*** join/#maemo-ssu Milhouse (~Milhouse@kodi/staff/milhouse)
03:35.58*** join/#maemo-ssu RedW (~redw@89-76-164-87.dynamic.chello.pl)
03:53.01*** join/#maemo-ssu RedW (~redw@89-76-164-87.dynamic.chello.pl)
04:30.27*** join/#maemo-ssu DocScrutinizer05 (~saturn@openmoko/engineers/joerg)
06:20.32kerioDocScrutinizer05: that devuan image has a partition table ._.
06:23.53keriook admittedly i could use my 1gb microsd but
06:24.12freemangordonkerio: uImage won't boot
06:24.23kerionooooooooooooou D;
06:24.32keriowhy not
06:24.43kerioi thought it was the latest pali linux4
06:24.45freemangordonno idea, all I get is a black screen
06:25.03freemangordonyep, but it is compiled by some custom build tools :)
06:25.18freemangordonand no, it is not the latest
06:25.39keriorip
06:25.51freemangordonthat one https://github.com/pali/linux-n900/tree/v4.7-rc4-n900 is the latest
06:27.57keriosurely https://github.com/pali/linux-n900/tree/master
06:28.19keriothere's no master D;
06:28.23freemangordonor even https://github.com/freemangordon/linux-n900/tree/v4.7-rc5-n900 ;)
06:29.15freemangordonbut... all those add stuff we don;t really need atm for devuan
06:29.44freemangordonso, vanilla upstream with custom config is the right way IMO
07:24.39DocScrutinizer05FYI: please see http://termbin.com/meyp
07:25.29DocScrutinizer05(it's a tad annoying to 'sync' *three* IRC channels)
07:26.36kerioDocScrutinizer05: to be fair
07:26.45kerio"modem turned into usb keyboard" would make headlines
07:27.02keriounprecedented attack vector ;o
07:27.33DocScrutinizer05indeed :-P
07:28.04DocScrutinizer05particularly when you consider that there's per default no USB kbd at all in this platform
07:29.00DocScrutinizer05and even if you could turn the modem into a fully working kbd and get it accepted by the system, you still gained zilch since there's no console per default
07:29.25DocScrutinizer05not to think of you *seeing* anything from such nonexistent console, even if it existed
07:30.30keriooh really
07:30.32DocScrutinizer05I mean, it's not like the xserver would usually autodetect all input devices and activate them, on a platform like Neo900
07:30.36keriowhat if i also present a usb video card
07:30.45kerio:D
07:30.58keriook actually
07:30.59DocScrutinizer05that might work :-)
07:31.00kerioftdi usb serial
07:31.39kerioalthough arguably that's the other way around
07:32.07kerioDocScrutinizer05: usb NIC and rely on network autoconf?
07:33.31DocScrutinizer05if your system already has a driver for that USB NIC... :-D
07:34.52kerioDocScrutinizer05: what about rethinking the connection between system and modem
07:34.57keriocan't you use ethernet
07:35.01DocScrutinizer05no
07:35.03kerio:(
07:35.05kerioi like ethernet
07:35.12DocScrutinizer05the modem has USB and UART
07:35.48DocScrutinizer05the OMAP has no genuine ethernet interface anyway
07:36.02keriothat's where you attach the USB NIC :D
07:36.10DocScrutinizer05LOL
07:36.26kerioare all the modem functions available through uart
07:36.32kerioor is that too slow
07:36.55DocScrutinizer05OMAP-USB-->USB/NIC--ethernet-->NIC/USB-->modem
07:37.04kerioindeed :D
07:37.24DocScrutinizer05all available through UART but too slow for LTE and HSPA
07:37.24kerioanyway, surely there's a way to lock down specific usb ports
07:37.26kerioin linux
07:37.49DocScrutinizer05there is, for sure
07:38.10DocScrutinizer05pabs3 just mentioned usbguard
07:38.11keriousb mass storage and trick uboot into booting some other kernel?
07:38.40keriousb keyboard into sysrq+b, then usb mass storage and uboot script
07:39.19DocScrutinizer05https://dkopecek.github.io/usbguard/
07:42.21DocScrutinizer05I invited paulfertser and pabs3 to join here, but I dizbt they will
07:42.34DocScrutinizer05doubt*
07:42.48*** join/#maemo-ssu pabs3 (~pabs@unaffiliated/pabs3)
07:47.53pabs3usbguard is more for situations where you have external USB ports anything can be plugged into.
07:48.00pabs3for non-pluggable USB stuff I think an in-kernel or in-devicetree whitelist is the way to go
08:10.29DocScrutinizer05yep
08:13.13DocScrutinizer05a dedicated kernel driver module that only matches/binds to that particular USB interface and modem device type, and that gets loaded during boot and thus occupied the usb controller for that bus before any generic USB driver could get its grubby fingers at it
08:22.05DocScrutinizer05nothing wrong with a dedicated FOSS kernel driver for a particular detail of a particular hw platform
08:23.03DocScrutinizer05could even get pretty generic when you hand in USB address and device's VID/PID as module parameters
08:26.18DocScrutinizer05err well, when we make it a kernel driver for the USB *controller* then the USB address is pretty much irrelevant since there's only this one USB device supposed to be hooked up to this controller, and this particular controller driver could probably not handle other devices concurrently to the 'locked' device anyway
08:26.51DocScrutinizer05rather it needs to be the controller address then, I guess
08:27.56DocScrutinizer05OMAP for example has one musb-hdrc OTG controller and two host controllers
08:29.36DocScrutinizer05I'm too much of a DT noob to know if the controller could get assigned our special kernel driver in DT
08:35.22DocScrutinizer05freemangordon: pali: ^^^
08:43.36DocScrutinizer05we might want a special "USB"driver for the modem anyway, optimizing out any delays from (useless) ENUM, and maybe special handling for USB bus suspend
08:44.43DocScrutinizer05to optimize power management and performance, we need to minimize latency of that particular USB bus to enter and leave suspended state
08:45.42DocScrutinizer05and possibly even shortcut ENUM completely, too
09:21.27*** join/#maemo-ssu RedW (~redw@89-76-164-87.dynamic.chello.pl)
09:54.48*** join/#maemo-ssu pyllyukko (~pyllyukko@unaffiliated/pyllyukko)
15:11.24*** join/#maemo-ssu DrCode (~DrCode@5.28.134.3)
15:16.34*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
16:38.48*** join/#maemo-ssu RedW (~redw@89-76-164-87.dynamic.chello.pl)
18:43.48*** join/#maemo-ssu povbot_ (~supybot@office.pov.lt)
18:43.49*** mode/#maemo-ssu [+v povbot_] by ChanServ
18:47.40*** join/#maemo-ssu gregoa_ (~gregoa@colleen.colgarra.priv.at)
18:57.07*** join/#maemo-ssu XDS2010 (sid1218@gateway/web/irccloud.com/x-rympfxvvxpvmvwip)
19:00.53*** join/#maemo-ssu XDS2010 (sid1218@gateway/web/irccloud.com/x-uckzsllcuosjojgk)
19:24.05*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
21:48.58*** join/#maemo-ssu RedM (~redw@89-76-164-87.dynamic.chello.pl)
23:12.21*** join/#maemo-ssu jon_y (~enforcer@2001:e68:4074:46ff:e01f:8e6d:cdca:d0e5)
23:23.30*** join/#maemo-ssu NishanthMenon (~nmenon@192.91.101.32)
23:23.30*** join/#maemo-ssu NishanthMenon (~nmenon@unaffiliated/nishanthmenon)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.