IRC log of #maemo-ssu for Friday, 2016-10-14

*** xes has quit IRC00:08
*** xes has joined #maemo-ssu00:08
parazydfreemangordon: the kernel is in /root/ of the image00:28
parazydyou're supposed to do ubootmenu yourself00:28
parazydthrough maemo00:29
parazydif there's another way, let me know :)00:29
*** RedW has joined #maemo-ssu00:48
*** RedM has quit IRC00:48
*** RedW has quit IRC01:51
*** RedW has joined #maemo-ssu01:52
*** NishanthMenon has joined #maemo-ssu02:23
*** RedW has quit IRC03:13
*** RedW has joined #maemo-ssu03:14
*** Guest64392 is now known as Milhouse03:50
*** Milhouse has joined #maemo-ssu03:51
*** RedW has quit IRC06:35
*** RedW has joined #maemo-ssu06:35
*** RedW has quit IRC06:52
*** RedW has joined #maemo-ssu06:53
*** DocScrutinizer05 has quit IRC07:30
*** DocScrutinizer05 has joined #maemo-ssu07:30
kerioDocScrutinizer05: that devuan image has a partition table ._.09:20
keriook admittedly i could use my 1gb microsd but09:23
freemangordonkerio: uImage won't boot09:24
kerionooooooooooooou D;09:24
keriowhy not09:24
kerioi thought it was the latest pali linux409:24
freemangordonno idea, all I get is a black screen09:24
freemangordonyep, but it is compiled by some custom build tools :)09:25
freemangordonand no, it is not the latest09:25
keriorip09:25
freemangordonthat one https://github.com/pali/linux-n900/tree/v4.7-rc4-n900 is the latest09:25
keriosurely https://github.com/pali/linux-n900/tree/master09:27
keriothere's no master D;09:28
freemangordonor even https://github.com/freemangordon/linux-n900/tree/v4.7-rc5-n900 ;)09:28
freemangordonbut... all those add stuff we don;t really need atm for devuan09:29
freemangordonso, vanilla upstream with custom config is the right way IMO09:29
DocScrutinizer05FYI: please see http://termbin.com/meyp10:24
DocScrutinizer05(it's a tad annoying to 'sync' *three* IRC channels)10:25
kerioDocScrutinizer05: to be fair10:26
kerio"modem turned into usb keyboard" would make headlines10:26
keriounprecedented attack vector ;o10:27
DocScrutinizer05indeed :-P10:27
DocScrutinizer05particularly when you consider that there's per default no USB kbd at all in this platform10:28
DocScrutinizer05and 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 default10:29
DocScrutinizer05not to think of you *seeing* anything from such nonexistent console, even if it existed10:29
keriooh really10:30
DocScrutinizer05I mean, it's not like the xserver would usually autodetect all input devices and activate them, on a platform like Neo90010:30
keriowhat if i also present a usb video card10:30
kerio:D10:30
keriook actually10:30
DocScrutinizer05that might work :-)10:30
kerioftdi usb serial10:31
kerioalthough arguably that's the other way around10:31
kerioDocScrutinizer05: usb NIC and rely on network autoconf?10:32
DocScrutinizer05if your system already has a driver for that USB NIC... :-D10:33
kerioDocScrutinizer05: what about rethinking the connection between system and modem10:34
keriocan't you use ethernet10:34
DocScrutinizer05no10:35
kerio:(10:35
kerioi like ethernet10:35
DocScrutinizer05the modem has USB and UART10:35
DocScrutinizer05the OMAP has no genuine ethernet interface anyway10:35
keriothat's where you attach the USB NIC :D10:36
DocScrutinizer05LOL10:36
kerioare all the modem functions available through uart10:36
kerioor is that too slow10:36
DocScrutinizer05OMAP-USB-->USB/NIC--ethernet-->NIC/USB-->modem10:36
kerioindeed :D10:37
DocScrutinizer05all available through UART but too slow for LTE and HSPA10:37
kerioanyway, surely there's a way to lock down specific usb ports10:37
kerioin linux10:37
DocScrutinizer05there is, for sure10:37
DocScrutinizer05pabs3 just mentioned usbguard10:38
keriousb mass storage and trick uboot into booting some other kernel?10:38
keriousb keyboard into sysrq+b, then usb mass storage and uboot script10:38
DocScrutinizer05https://dkopecek.github.io/usbguard/10:39
DocScrutinizer05I invited paulfertser and pabs3 to join here, but I dizbt they will10:42
DocScrutinizer05doubt*10:42
*** pabs3 has joined #maemo-ssu10:42
pabs3usbguard is more for situations where you have external USB ports anything can be plugged into.10:47
pabs3for non-pluggable USB stuff I think an in-kernel or in-devicetree whitelist is the way to go10:48
DocScrutinizer05yep11:10
DocScrutinizer05a 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 it11:13
DocScrutinizer05nothing wrong with a dedicated FOSS kernel driver for a particular detail of a particular hw platform11:22
DocScrutinizer05could even get pretty generic when you hand in USB address and device's VID/PID as module parameters11:23
DocScrutinizer05err 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 anyway11:26
DocScrutinizer05rather it needs to be the controller address then, I guess11:26
DocScrutinizer05OMAP for example has one musb-hdrc OTG controller and two host controllers11:27
DocScrutinizer05I'm too much of a DT noob to know if the controller could get assigned our special kernel driver in DT11:29
DocScrutinizer05freemangordon: pali: ^^^11:35
DocScrutinizer05we might want a special "USB"driver for the modem anyway, optimizing out any delays from (useless) ENUM, and maybe special handling for USB bus suspend11:43
DocScrutinizer05to optimize power management and performance, we need to minimize latency of that particular USB bus to enter and leave suspended state11:44
DocScrutinizer05and possibly even shortcut ENUM completely, too11:45
*** RedW has quit IRC12:21
*** RedW has joined #maemo-ssu12:21
*** pyllyukko has joined #maemo-ssu12:54
*** jon_y_ is now known as jon_y14:28
*** DrCode has quit IRC17:53
*** DrCode has joined #maemo-ssu18:11
*** Pali has joined #maemo-ssu18:16
*** RedW has quit IRC19:38
*** RedW has joined #maemo-ssu19:38
*** povbot_ has joined #maemo-ssu21:43
*** ChanServ sets mode: +v povbot_21:43
*** gregoa_ has joined #maemo-ssu21:47
*** jon_y has quit IRC21:51
*** povbot has quit IRC21:51
*** gregoa has quit IRC21:51
*** XDS2010 has quit IRC21:54
*** XDS2010 has joined #maemo-ssu21:57
*** xes has quit IRC21:57
*** XDS2010 has quit IRC21:59
*** XDS2010 has joined #maemo-ssu22:00
*** xes has joined #maemo-ssu22:24
*** gregoa_ is now known as gregoa22:51
*** Pali has quit IRC23:17

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!