HP USB-C audio problems / no audio devices…

Losing all your audio-devices when connecting a USB C dock to your laptop, or a USB C monitor (with a USB hub)?

Try disconnecting all audio devices (including webcams with microphones) from the HP Dock or HP monitor.

After a while audio output from your laptop will be available again.

Still trying to figure out how to get audio working from the USB C dock and USB C monitor…

If you try troubleshooting the “no audio devices available”, audio services will restart but just for an instance. They will disappear quite immediately…

Update: Fix can be found here, and seems to be (at least also) related to a Logitech C920 webcam.

Device manager > Disable HD pro webcam C920 (only under sound, video and game controllers). Wait 30 seconds and audio devices will reappear.

phpBB upgrade 3.0.9 to 3.3 – 500 http errors fixed

I recently tried to upgrade a 4 year old phpBB forum to the latest version (3.3).

First: there is a lot of talk when you move from 3.0.x to 3.1/3.2. You need to download the support toolkit to clean up the existing board software because of major updates. So be sure the read those guidelines. For me this wasn’t an issue because my phpBB installation was one without any MODifications, special skins or additional language packs. I ran the support toolkit on my board anyway, but it didn’t do anything…

I took a shot at jumping from 3.0.9 straight ahead to the 3.3 installation, following the guide Upgrade from 3.0 to 3.2.

At step 12 problems started to occur when updating the database. The update program stopped multiple times at different stages. I solved this by deleting the install and production directory in the cache folder and running the update process again, and again, … and again, until it reached 100%.

At first glance the board seemed to function right away. But when browsing around, many 500 http errors were thrown. I tried deleting browser cache, removing production directory (cache folder) again, and again… but the problem persisted. I was unable to access the administration control area, etc…

I decided to take a look at the php error log and the one thing that kept popping up was:

Got error ‘PHP message: PHP Fatal error: Uncaught phpbb\exception\http_exception: Failure while aqcuiring locks. in /***/***/***/***/phpbb/lock/flock.php:106

When you have a look on the community board at phpBB customers from hosting company ‘STRATO’ run into the same problems. However, I’m not on STRATO hosting and from what I know my hosting also has a different setup.

The solution to fix is offered by IMC_ger: find in the file phpbb/lock/flock.php line 104.

Code

if (!@flock($this->lock_fp, LOCK_EX))

And replace:

if (!@flock($this->lock_fp, $mode == 'wb' ? LOCK_EX : LOCK_SH))

All 500 errors are gone now and the phpBB is fully operational.

2.5inch bay on HP Zbook 15 G6 too small to fit a hard drive

Recently I got a new laptop and I was surprised to find out the HP Zbook 15 G6 won’t fit a 2.5 sata/ssd drive. The bay is just too small because part of the motherboard takes up space in the bay which should accomodate a 2.5 inch drive.

I have had contact with HP and after a few ticket escalations I got the answer. If you order the HP Zbook 15 G6 with the NVIDIA® Quadro® RTX 3000 GPU there just isn’t enough space because of the size of the RTX 3000. That’s why the connector isn’t available either.

In this particular case it’s HP SKU 6VD99AV (i9 + RTX 3000). But there are other SKU’s which might have the same problem, like 6TU91EA (i7 + RTX 3000). According to HP: if you absolutely require the 2.5 inch bay to add a SATA drive you need to order NVIDIA® Quadro® T1000 or NVIDIA® Quadro® T2000 graphics options.

When I ordered the laptop I couldn’t find anything on the spec sheets indicating that the 2.5 inch SATA bay would become useless. It’s a very unpleasant surprise when opening up the laptop with an additional SSD ready to be added to the system.

HP refers to the second NVME / M.2 module. And yes… that’s the only way you can add additional (and more expensive) storage if you have the RTX 3000.

Update 20200224: HP released a customer advisory statement ZBook 15 G6 Mobile Workstations – May Not Have SATA Connector

Dodentocht en Garmin Tracking

Hoewel ik nog geeneens zeker ben dat ik ver zal raken, is er iets wat me al een tijd bezig houdt in voorbereiding van de 100km dodentocht: houdt mijn Garmin Fenix 5 het 24 uur vol in GPS mode?

Volgens Garmin zou dat wel het geval zijn, maar dat is wellicht enkel in de meest ideale omstandigheden. Een aantal hardloopsessies per week met GPS & GLONASS is geen enkel probleem, maar voor zo’n lange activiteit als de dodentocht (of eender welke andere activiteit die al ver boven de 50km gaat) lijkt het verdict toch dat de Garmin Fenix 5 het geen volledige 24u (of minder) zal volhouden in GPS mode. En dat is natuurlijk jammer want je wil toch zoveel mogelijk data bijeensprokkelen van zo’n tocht. Al is het maar om er op Strava mee uit te pakken (laat ons eerlijk zijn).

De Garmin Fenix 5 heeft natuurlijk wel een UltraTrac mode waarmee men volgens de specificaties gedurende 75u een activiteit kan registreren. Uiteraard heb ik niet nagelaten de nauwkeurigheid daarvan eens te testen en die is toch eerder bedroevend.

Logisch gevolg is dat je dan begint te googlen om te kijken wat de community daarover te zeggen heeft en ook daar is het kommer en kwel voor lange afstandsregistraties met behulp van UltraTrac. Er wordt al vaak gesproken over een verschil in geregistreerde afstand tot 40%. Dan is je data toch echt waardeloos.

Helaas heb ik zelf nog niet kunnen testen wat de maximale autonomie is van een activiteit met GPS, ook niet als je alle andere zaken uitschakelt (zoals Bluetooth verbinding, notificaties, backlight, enz.). De dodentocht zal dus voor mij de echte test worden aangaande autonomie. Maar één ding is zeker: waar ik eerst nog dacht te gaan voor de UltraTrac setting bij de wandelactiviteit, ga ik nu sowieso toch voor de GPS mode, maar met maximale uitschakeling van alle andere overbodige features. Lees hier hoe je de batterij van je Fenix 5 ten volle kan benutten. Hou er ook rekening mee dat de firmware van je toestel van invloed kan zijn op het batterijverbruik. Sommige versies rapporteren een hoge batterijbelasting, dus dan kan het nuttig zijn om een rollback te doen, of zéker te zijn dat je een recentere versie hebt geïnstalleerd.

In principe zou je nog een Powerbank kunnen meenemen en je toestel tijdens een rustpauze bijladen. Praktisch is wat anders. Maar als je voor deze optie gaat, kan je zeker gebruik maken van de hervat later / resume later optie.

Voor mezelf heb ik nog een backupplan voorzien. Mijn vorige activity tracker, de Garmin Vivosmart HR+, heeft ook GPS-tracking. Deze ga ik inschakelen als mijn Fenix 5 het dreigt te begeven. Hiermee zou ik in principe nog een 5 à 8u GPS tracking kunnen registreren.

Garmin laat sinds enige tijd toe om verschillende trackers te combineren en geeft prioriteit aan het meest geavanceerde systeem. Dat staat bekend onder de naam Garmin TrueUp Multi-Device.

Garmin VivoSmart HR+ TrueUp

Achteraf, indien mijn deelname succesvol blijkt te zijn, kunnen beide registraties eventueel aan elkaar geplakt worden en als één activity opgeladen naar Strava. Er zijn tools voorhanden om die data te mergen. Maar daarover zal ik weten te schrijven indien ik de finish haal…

Wie met hetzelfde probleem kampt, en geen andere tracker op overschot heeft, kan misschien bij de laatste 15% batterij, toch nog overschakelen naar UltraTrac. Je zou de activiteit kunnen starten met GPS en aan het einde de setting veranderen naar UltraTrac. Dat doe je door de menu-toets ingedrukt te houden tot de settings verschijnen en daar vervolgens bij GPS te kiezen voor UltraTrac.

Nuttige links


Dell Precision and docking issues (E-Dock / WD15 / TB16)

I’ve been using my Dell Precision 7520 for quite a while now and have used it in combination with three different docking stations.

E-dock

The Precision series are still equipped with E-dock connection, which in my opinion is a major benefit, so there was no need upgrading to USB-C dock instantly.

I have used an E-dock for several months (with 1 Dell 1920*1200 monitor). Resulting in several Windows 10 crashes. Always had to shut down the device and (re)boot it. Coming out of sleep also resulted in crashes quite randomly. Had my motherboard replaced by Dell, changed hard drives, … no effect.

WD15

Then I started using a Dell WD15 dock (with 2 Dell 1920*1200 monitors) and I haven’t had any problems whatsoever. When connecting the USB-C cable, the laptop awakes from sleep without any problem. Sometimes external screens go dark for 2 seconds and light up again. But this hiccup only happens once in a while and you can continue work without further problems.

TB16

For a few weeks I had the opportunity to test the Dell Thunderbolt TB16 on my device (with 2 Dell 1920*1200 monitors) and the same problems as mentioned with the E-Dock emerged. Random crashes and not being able to connect to external monitors upon connecting the USB-C cable, resulting in a crash. Crash also occured when launching Photoshop. I  think it also boils down to a graphics problem?

Conclusion

So now I’m using the Dell WD15 again. Aside from a more limited graphic ability (amount / resolution of external monitors), the only downside is that power over USB (docking ports) only seem to work when the connected laptop is active.

Your thoughts?

Anyone having the same issues? Firmware upgrading never did the trick and advanced diagnostics never showed any problems.

Setting up PEAR mail on Scotch Box

You have Vagrant and Scotch Box installed. You still need to install Pear.

$ vagrant ssh
$ sudo apt-get -y install php-pear
$ sudo pear install mail_mime

In your PHP script

include_once('Mail.php');
include_once('Mail/mime.php');

Parameters to define SMTP Scotch Box

$params["host"] = "127.0.0.1";
$params["port"] = 1025;
$params["Date"] = date('r',time());
$mail = Mail::factory("smtp",$params);
...

Catch mails in Mailhog at http://192.168.33.10:8025

Geen internet met WiFi Hotspot via Mobile Vikings (Moto G)

Ook dat probleem waarbij je WiFi Hotspot op je smartphone bij Mobile Vikings geen internet doorgeeft naar je pc of tablet? In mijn geval ging het om een Lenovo Moto G5 plus die nog een extra aanpassing nodig had.

Volgende stappen zorgen ervoor dat internet wel gedeeld wordt via de hotspot.

Op je smartphone (Android 7):

  1. Instellingen
  2. Meer
  3. Mobiele netwerken
  4. Namen toegangspunten
  5. Mobile Internet [PC] (of andere naam die je gegeven hebt aan de APN
  6. Verander APN-type van default naar default, dun
  7. Herstart telefoon

Add a date to a JPG in Lightroom

If you import JPG files or other images in Lightroom which haven’t been captured by a camera or lost EXIF and other timestamp data, you can add a capture time this way:

  1. Go to grid view
  2. Select one or more image thumbs
  3. Choose Metadata > Edit capture time…
    (there is also the option to automatically use the date when the file was created)
Logo taken from Wikipedia (Public Domain)