#garfield Logs

Apr 15 2020

#garfield Calendar

12:00 AM rue_mohr: hmm
12:11 AM Tom_L: hah that was easy
12:12 AM Tom_L: ab:gobottom()
12:12 AM Tom_L: ab:cargo := .F.
01:14 AM rue_mohr: I think I got it
01:14 AM rue_mohr: I think its now an event state machine
01:15 AM rue_mohr: and I think I shaved off 1000 bytes!
01:15 AM rue_mohr: (of source code)
01:16 AM aandrew: nice
01:16 AM aandrew: I keep adding size
01:17 AM rue_mohr: this is _a_ 38k source file
01:17 AM rue_mohr: I'v not written the likes of a monstrosity like this since my late BASIC days
01:17 AM rue_mohr: AND I'v removed all the header stuff to a header file.., thats 5.8k
01:18 AM aandrew: heh
01:18 AM rue_mohr: the program itself is 41k
01:18 AM rue_mohr: I'm gradually breaking it up
01:18 AM rue_mohr: I'm getting it ready to convert to the editor core I wrote back in 2000
01:19 AM rue_mohr: which is AN AWESOME CORE
01:19 AM rue_mohr: but, only that, no UI
01:19 AM aandrew: sounds nice. I can't write UIs to save my life
01:19 AM rue_mohr: this thing is a mediocre ui with a horrid core
01:19 AM rue_mohr: its text console
01:19 AM rue_mohr: which I would generally describe as a mild pain
01:20 AM rue_mohr: http://paste.debian.net/1140497/ <- the stdin collector
01:21 AM rue_mohr: that goes to an FSM, that then goes to a lookup function (one of two)
01:21 AM rue_mohr: just to know what was pressed
01:26 AM aandrew: $ sudo ./lu.js i2c
01:26 AM aandrew: Found: #project-ventilator-cam
01:26 AM aandrew: advertising: 6e400001b5a3f393e0a9e50e24dcca9e
01:26 AM aandrew: connected to uuid d564287b23f7
01:26 AM aandrew: discovered debug service
01:26 AM aandrew: discovered the following characteristics: 0 uuid: 6e400003b5a3f393e0a9e50e24dcca9e 1 uuid: 6e400002b5a3f393e0a9e50e24dcca9e
01:26 AM aandrew: yay
01:26 AM aandrew: progress
01:26 AM rue_mohr: ? ok
01:27 AM aandrew: I have a BLE device. I'm writing some node.js bs to talk to it
01:27 AM aandrew: everything about BLE involves these ridiculous UUIDs
01:27 AM aandrew: intentionally obfuscated I believe. :-)
01:40 AM rue_mohr: hmm
02:06 AM aandrew: bleh. 3am
02:06 AM aandrew: I need to get my ass to bed
07:54 AM polprog: sitting here not having anything to do
10:00 AM aandrew: back at it now
10:00 AM aandrew: I think it was failing because I'd made a NUS service on the board and not raw endpoints
10:00 AM aandrew: fixing that this morning
02:47 PM Tom_L: ok rue_mohr
02:47 PM Tom_L: buster install defaults to 640 x 480
02:47 PM Tom_L: xrandr output: failed to get size of gama for output default screen 0:.........
03:02 PM Tom_L: boot up normal and the screeen res is fine
03:02 PM Tom_L: 1920x1080
03:03 PM rue_mohr: ouch
03:06 PM Tom_L: any ideas?
03:06 PM Tom_L: it's an experimental kernel
03:13 PM rue_mohr: you tried ctrl-alt-+ in X, right?
03:13 PM rue_mohr: ctrl-alt-+ and - should rotate thru available video modes
03:14 PM rue_mohr: its quite possible that it doesn't have more than a vga driver for you card
03:14 PM Tom_L: i tried xrandr -s with a mode and it said it couldn't
03:15 PM Tom_L: xrandr -s 800x600 or such
03:15 PM Tom_L: what is 'X' ?
03:16 PM rue_mohr: X is the gui system
03:16 PM rue_mohr: like windows 3.1 in dos
03:16 PM rue_mohr: was the gui on the OS
03:17 PM Tom_L: so do i try that in a terminal?
03:17 PM rue_mohr: oh, can it not bring up X?
03:17 PM rue_mohr: or it just does in 640x480?
03:17 PM Tom_L: i've never used it
03:17 PM Tom_L: how do i bring it up?
03:17 PM rue_mohr: ok, so the computer isn't booting into gui?
03:18 PM Tom_L: it is
03:18 PM rue_mohr: ok, thats x
03:18 PM rue_mohr: the gui is X
03:18 PM rue_mohr: did you try ctrl alt + in the gui
03:19 PM Tom_L: i'm booting it just a sec
03:20 PM Tom_L: does nothing
03:20 PM rue_mohr: :(
03:20 PM rue_mohr: k, hmm
03:20 PM rue_mohr: video cards often take me hours to work out
03:21 PM rue_mohr: which is why I havn't tried the new card I got for my system yet
03:21 PM rue_mohr: any my computer has been running for 410 days now and I dont mind leaving it running
03:23 PM rue_mohr: I often start like this
03:24 PM rue_mohr: boot knoppix, and see what video driver modules its using
03:24 PM rue_mohr: ( lsmod )
03:24 PM rue_mohr: but its harder now, cause they feaking broke the kernel into a billion modules
04:40 PM Tom_L: how do i tell what graphic chip i have?
04:50 PM polprog: lspci if you have that
04:50 PM polprog: you should have that command installed
04:50 PM polprog: or rather
04:50 PM polprog: lspci | grep VGA
04:50 PM polprog: that will filter out the uninteresting stuff.. graphics chips are listed as "VGA controller"
04:51 PM polprog: oh.. haha: 00:02.0 VGA compatible controller: Cirrus Logic GD 5446
04:52 PM polprog: my virtual server has an emulated cirrus
05:01 PM Tom_L: polprog, thing is i'm testing an experimental kernel on an old intel D525 MB
05:01 PM polprog: oh
05:02 PM Tom_L: but it's not finding the graphic drivers aparently
05:02 PM Tom_L: normal booting it works fine
05:02 PM Tom_L: it's an intel GMA3150 chip
05:04 PM polprog: weird... graphics drivers in linux were always a pain but intel seemed to JustWork if you didnt need some hyper graphical perf for games
07:00 PM rue_mohr: hmm
07:00 PM rue_mohr: what video res does knoppix start up with?
07:00 PM rue_mohr: their autoconfig is pretty good
07:41 PM Tom_L: i gave up on it for a while
07:41 PM Tom_L: it's a kernel issue i think
07:42 PM Tom_L: and i'm just wandering around blindly with it
09:21 PM aandrew: so I fixed my ble issue which is good
09:21 PM aandrew: javascript still sucks
10:09 PM rue_mohr: GMA3150 chip
10:10 PM rue_mohr: "graphics (GMA 3600 series) are not supported by open source drivers."
10:11 PM rue_mohr: Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86-video-intel driver, and instead falling back on the modesetting driver for Gen4 and newer GPUs (GMA 3000 from 2006 and newer).
10:12 PM rue_mohr: Ubuntu 12.04.1 LTS, and then Ubuntu 10.10. Ubuntu 10.10 is right around the time where the Atom D525 / GMA3150 support was initially well ironed out on Linux.
10:12 PM rue_mohr: GMA3150 intel video chipset requires xf86-video-intel 2.10.0 video driver.
10:13 PM rue_mohr: https://superuser.com/questions/161767/how-to-install-xorg-intel-driver-in-the-stable-testing-debian-os-to-support-inte
10:51 PM Tom_L: there are other issues too so i don't know how much i'm going to worry about it now but thanks for checking on it
10:51 PM Tom_L: it was a test
10:53 PM Tom_L: lenny and squeeze are pretty old aren't they?
10:53 PM Tom_L: (from that last link)
11:01 PM rue_mohr: I dont bother checking
11:01 PM rue_mohr: if I have to update, I do
11:02 PM rue_mohr: every day there are updates, if you get every one of them, you will experience lots of broken software
11:03 PM Tom_L: i somewhat expected issues with this test but not video
11:03 PM Tom_L: i installed it with stretch and the video was fine
11:03 PM Tom_L: but it has other issues
11:04 PM Tom_L: they're trying to get a working RTAI for buster
11:04 PM Tom_L: preempt-rt works but needs newer hardware. RTAI works better on old hardware
11:05 PM Tom_L: the last RTAI version was wheezy which is not supported anymore
11:14 PM rue_mohr: maze