Greg
animals brewing
food and drink fiction
gardening general
health history
language music
multimedia opinion
photography politics
Stones Road house technology
Greg's diary
recent entries
Translate this page
Select day in June 2020:
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Select month:
2019 Sep Oct Nov Dec
2020 Jan Feb Mar Apr
2020 May Jun Jul Aug
Today's diary entry
Diary index
About this diary
Greg's home page
Greg's photos
Network link stats
Greg's other links
Copyright information
    
Groogle

Thursday, 4 June 2020 Dereel Images for 4 June 2020
Top of page
next day
last day

Winter flower bouquet
Topic: gardening, general Link here

Sadly, only 3 days after the beginning of winter, we have no roses worth picking any more; hopefully some will come. But we have a few gladioli, valerian and lavender:


https://lemis.nyc3.digitaloceanspaces.com/grog/Photos/20200604/big/Bouquet-3.jpeg
Image title: Bouquet 3          Dimensions:          3178 x 3099, 1713 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Thursday, 4 June 2020, thumbnails          All images taken on Thursday, 4 June 2020, small
Diary entry for Thursday, 4 June 2020 Complete exposure details

 


Dishwasher issues confirmed
Topic: food and drink, general Link here

Somehow I've been doing a lot of cooking lately. Today I filled two dishwashers and still had things left over. And as suspected, the handles of the new saucepan took up mre space than they should have:

 
https://lemis.nyc3.digitaloceanspaces.com/grog/Photos/20200604/small/Dish-washer.jpeg
Image title: Dish washer
Complete exposure details
Dimensions: 550 x 491, 100 kB
Dimensions of original: 3942 x 3522, 1892 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Thursday, 4 June 2020:
thumbnails    small images    diary entry
 
https://lemis.nyc3.digitaloceanspaces.com/grog/Photos/20200604/small/Dish-washer-detail.jpeg
Image title: Dish washer detail
Complete exposure details
Dimensions: 534 x 505, 87 kB
Dimensions of original: 2178 x 2060, 597 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Thursday, 4 June 2020:
thumbnails    small images    diary entry


Next teevee hang
Topic: technology Link here

Once again teevee hung this evening, again with firefox; why can't it do it during the day when I have more time? And maybe it's time to stop using firefox until that issue is solved. So I took the opportunity to explicitly add to xorg.conf:

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

According to the man page that's the default, so it shouldn't be necessary and shouldn't make any difference. Certainly it made no difference, and there was no mention of it in the log file.

FOOL! That's a Boolean, so it requires an argument. I should have written:

   Option         "Emulate3Buttons" "True"

Where “True” can also be spelt “1”, “on” or “yes”. Next time. Maybe I should set up a second machine to test with without interfering with teevee. And in the meantime I should probably use chrome instead.


Friday, 5 June 2020 Dereel Images for 5 June 2020
Top of page
previous day

Chilis ready for harvest?
Topic: gardening, food and drink, opinion Link here

The chilis I planted in October got off to a rocky start, but they've grown well and borne many fruit:

 
https://lemis.nyc3.digitaloceanspaces.com/grog/Photos/20200605/small/Chiiis-2.jpeg
Image title: Chiiis 2
Complete exposure details
Dimensions: 600 x 450, 172 kB
Dimensions of original: 5184 x 3888, 4921 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Friday, 5 June 2020:
thumbnails    small images    diary entry

Time to harvest them? I had thought so, but why? Once I harvest them they'll start to wither, or I'll have to freeze them. They'll keep longer on the plant, and it seems that even the mild frosts of the last few days haven't reached their relatively protected position.

A real question, though, that applies to nearly all garden vegetables: why bother? This plant probably cost me $5, required attention, and has now borne about $5 worth of chilis that are hotter than I really like. If I'm going to grow chilis (and tomatoes) they should be varieties that I can't easily get in the shops.


Still more teevee mouse problems
Topic: technology, opinion Link here

OK, I misentered the Emulate3Buttons entry in my X configuration yesterday. Time to fix that, and also try running X without moused. While I was at it, also worked around the bug in the loader scripts:

--- /boot/lua/drawer.lua        2020/06/05 05:11:37     1.1
+++ /boot/lua/drawer.lua        2020/06/05 05:11:43
@@ -145,9 +145,6 @@
 end

 local function defaultframe()
-       if core.isSerialConsole() then
-               return "ascii"
-       end
        return "double"
 end

Also some research into starting processes at boot time. Years ago I simply put commands into /etc/rc.local, but somewhere along the line I found out that that was an old, worn-out magic word. The alternative seems to be to embed them in the rc startup scripts. The man page gives a minimal example, from which I've removed the empty lines:

#!/bin/sh
#
# PROVIDE: foo
# REQUIRE: bar_service_required_to_precede_foo
. /etc/rc.subr
name="foo"
rcvar=foo_enable
command="/usr/local/bin/foo"
load_rc_config $name
run_rc_command "$1"

Somehow that's a whole lot more effort than what I put in /etc/rc.local:

(cd /home/grog/src/weather/WH-1080-teevee && ./dorun)

Fortunately that should still work, according to the man page.

Next, kill X and all three mouseds, and restart from an xterm on eureka. Blank screen! Tried to put an xterm on it. It didn't fail, but it didn't display either. What does ps say?

=== root@teevee (/dev/pts/6) /var/log 24 -> ps aux | grep Xorg
root       64152   0.0  1.2 6398656  46108  7  S    15:16      0:01.45 /usr/local/bin/Xorg :0 -listen tcp -auth /home/grog/.serverauth.64135
root       64256   0.0  1.2 6394268  45636  7  I    15:17      0:00.56 /usr/local/bin/Xorg :1 -listen tcp -auth /home/grog/.serverauth.64239

How could I possibly have started two servers? I just ran the same command as in the startup scripts:

DISPLAY=:0 startx -- -listen tcp

How can that start 2 servers? But it did, and what I saw was server 1. Server 0 was running normally.

As if that wasn't strange enough, round this time I somehow had finger trouble on eureka and typed X into a shell prompt. The screens all went blank. Panic? Crash? After some personal panic (eureka has been up for 268 days, something of a record in recent times) discovered that I could still contact it from lagoon, and that it had started a new server. :2? I already had :0 and :1 running. No, it seemed to somehow have usurped the :0 server number, and when I tried to start a client, it went there—until a little later, when the server spontaneously stopped and server :0 returned to normal. I've been using X for over 30 years now, but I've never seen anything like that.

Back to teevee. Switched to server 0. Yes, the mouse works without moused. And /var/log/Xorg.0.log now confirms that it has enabled Eumulate3Buttons:

[1697249.116] (II) Using input driver 'mouse' for 'sysmouse'
[1697249.116] (**) sysmouse: always reports core events
[1697249.116] (**) Option "Device" "/dev/sysmouse"
[1697249.116] (==) sysmouse: Protocol: "Auto"
[1697249.116] (**) sysmouse: always reports core events
[1697249.116] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50
[1697249.116] (**) sysmouse: ZAxisMapping: buttons 4 and 5
[1697249.116] (**) sysmouse: Buttons: 5
[1697249.116] (**) Option "config_info" "devd:sysmouse"
[1697249.116] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7)
[1697249.116] (**) sysmouse: (accel) keeping acceleration scheme 1
[1697249.116] (**) sysmouse: (accel) acceleration profile 0
[1697249.116] (**) sysmouse: (accel) acceleration factor: 2.000
[1697249.116] (**) sysmouse: (accel) acceleration threshold: 4
[1697249.117] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0
[1697249.117] (II) sysmouse: SetupAuto: protocol is SysMouse
[1697249.117] (II) config/devd: device /dev/ums0 already opened
[1697249.117] (II) config/devd: device /dev/ums1 already opened

I had started X from an xterm on eureka, not exactly the normal way, and it had pointed out that some of the path names in the startup scripts assumed that I was in my home directory. OK, stop X, try again the way I had intended (login on /dev/vty0). Still no Emulate3Buttons. Damn.

OK, I have another trick up my sleeve. Let's try xmodmap. It can't enable Emulate3Buttons, but it could reassign, say, button 8 on the Logitech M705.

=== grog@teevee (/dev/pts/8) ~ 13 -> xmodmap -e "pointer = 1 2 3 2 2 2 2 2"
Warning: Only changing the first 8 of 20 buttons.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  116 (X_SetPointerMapping)
  Value in failed request:  0x2
  Serial number of failed request:  9
  Current serial number in output stream:  9

Huh? That's not very clear, but is it maybe complaining about the fact that I have assigned logical button 2 to more than one physical button? I'm sure I've seen that that should be possible. Still, try it out...

=== grog@teevee (/dev/pts/8) ~ 15 -> xmodmap -e "pointer = 1 0 3 2"
Warning: Only changing the first 4 of 20 buttons.
=== grog@teevee (/dev/pts/8) ~ 16 -> xmodmap -pp
There are 20 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
        2              0
        3              3
        4              2
        5              5
        6              6
        7              7
...

OK, that looks more like what I'm looking for. But when I tried it out, the scroll wheel went crazy; presumably button 4 maps to scroll wheel up. Certainly when I turned the wheel in that direction, it pasted junk all over the place. And scroll wheel down (5?) did nothing. But I didn't think of that until later.

That's enough for one day. Stopped X, unplugged and replugged the USB receivers for the mice to restart moused, and back to the last level of pain.

What next? Back to the old kernel to see if that makes a difference? Or could the 50 ms Emulate3Timeout be an issue? I could increase it, of course.

In passing, reading the logs I saw:

[fvwm][menustyle_parse_old_style]: <> The old MenuStyle snytax has been deprecated.

Is that a snytax or a semantics error?


This page contains (roughly) yesterday's and today's entries. I have a horror of reverse chronological documents, so all my diary entries are chronological. This page normally contains the last two days, but if I fall behind it may contain more. You can find older entries in the archive. Note that I often update a diary entry a day or two after I write it.     Do you have a comment about something I have written? This is a diary, not a “blog”, and there is deliberately no provision for directly adding comments. It's also not a vehicle for third-party content. But I welcome feedback and try to reply to all messages I receive. See the diary overview for more details. If you do send me a message relating to something I have written, please indicate whether you'd prefer me not to mention your name. Otherwise I'll assume that it's OK to do so.


Greg's home page This month Greg's photos Greg's links

RSS 2.0 Valid XHTML 1.0!