Some Bits: Nelson's log

7 posts about playstation

PS5 controllers vs Anker USB chargers

For years I’ve been annoyed that Sony Playstation controllers won’t charge when plugged into my high quality Anker USB chargers. They charge fine on the PS5 itself but not an external charger. Turns out this is sort of Anker’s fault, at least according to an informed-sounding reddit post.

It’s a screw up on both sides, Sony and Anker.

The reason the Anker charger won’t charge the PS5 controller is because the Anker does not correctly follow the rules of the USB Type-C specification, which forbids proprietary charging modes, and requires that USB-C chargers present as a USB BC 1.2 DCP (ie, a short between the D+ and D- lines.

The Anker charger presents Apple, Qualcomm, and other proprietary charging modes on D+ and D-. This is Anker’s “PowerIQ” technology, which tries to present a grab bag of random proprietary fast charging modes in an attempt to make the other side happy no matter what.

The Sony controller *requires* BC 1.2 DCP in order to start charging from a charger. This is technically also not spec compliant, as it should start charging from any 5V 1.5A or 5V 3A charger signaled via USB-C...

But yeah... in this case, the PS5 controller doesn’t charge because both sides aren’t following the USB-C spec in their own ways.

So the key protocol here is USB Battery Charging 1.2 Dedicated Charging Port. This spec dates to 2010 and works with old USB A devices. It predates the USB Power Delivery protocol from 2012 that I think is the hallmark of good USB C charging.

For USB BC, the charger simply connects the otherwise unused data D+ and D- lines with a 200Ω resistor and that’s a signal to the device it’s connected to a dedicated charging port. Unfortunately a bunch of other common proprietary devices (Apple, Qualcomm, etc) used D+ and D- in different ways to control charging. Anker supports those under the name “Power IQ” but then that doesn’t do USB BC.

It may be impossible to build a device that reliably supports all these old different weird ways of signaling charging. I’m sympathetic to the argument that in 2024, chargers should no longer be doing out-of-spec stuff for 10+ year old devices. But that’s a product choice that’s not clear. Also Anker is very proud of PowerIQ, back in 2014 or whenever it seemed like quite an innovation.

Sony could sure help by updating to USB PD.

Some more reading here, here, here, here.

Vaguely related; the PS5 DualSense battery is 1560mAh. There’s third party replacements that are 2650 mAh. Details here. My Pixel 8 has a 4575 mAh battery. Anker’s power packs are 5,000 to 40,000 mAh.

PS5 vs TCL 6: dark HDR

I’ve got my Playstation 5 plugged directly into my TCL 6 Series TV. That makes for what should be a great picture: 2160p resolution, HDR10 color. It looks great! When it works.

The setup started developing a problem where sometimes when I turned it on everything was way too dark. Like the whole picture was scrunched down to 0-50% brightness. It happened randomly and maybe dependent on the order I turned things on. But it got worse and worse until I just couldn’t use HDR anymore.

The fix is to reboot the TCL TV. No, seriously. TVs no longer turn off when they’re off, they keep running their computer in the background. So you need a full reboot via system menus (or power cord).

If you search you find lots of people online are having this problem, plenty of Reddit discussions. There’s also a bunch of other “HDR dark?” articles that talk about a different problem, which is the default picture settings for HDR are way darker than standard color. But this problem is a real bug and no amount of boosting brightness, etc will fix it.

Update: no, turns out reboots don’t always fix it. I’ve started from a soft reboot of both the PS5 and the TCL TV and gotten into the dim HDR mode. I haven’t tried a full hard / cold reboot (ie: unplug the damn thing).

I may have found another fix though, which is to go into a debug menu and select the “update dimming firmware” option. I don’t think the firmware update itself does anything, or rather maybe there’s no firmware to update. But it seems to cause the TV to reboot the HDR connection and twice now it’s come back at the right brightness. The magic sequence is HOME BUTTON (5X) - RW - PAUSE - FF - PAUSE - RW. This brings up the so called “platform menu”; there’s lots of hidden menus in Roku documented here and here.

PS4 6.02: more external storage woes

As I wrote in an earlier post, on a PS4 there’s no way to make a copy of a game’s download files to an external drive. You can move the files to a drive but they are then deleted from the source. Which is a huge PITA when the game requires a 90 GB download.

But it gets better. If you plug an external drive with a copy of a game into a PS4 that already has a copy of that game, the software freaks out. It insists you delete one of the two copies before you can use the external drive. There’s no way to tell it to ignore the duplicate to, say, let you get at some other game on the external drive. You must delete first.

So not only can you not create copies of games, but if you screw up you’ll be forced to delete a copy you downloaded. Argh!

(I reiterate; none of this is about copy protection; the PS4 online DRM will prevent you from playing the game if your login doesn’t have a license for it, whether you have a copy on the drive or not.)

PS: the external drive copying is awfully slow. a 50GB game image is taking 18 minutes, or about 50 MB/s. That’s just about USB 2.0 speeds. The drive, cable, and the PS4 itself are all supposed to support USB 3.0. Maybe it’s the spinning drive speed limiting things.

PS4 5.50+ USB hard drive, copying games

A tale of failures. I wanted to copy a PS4 game I have off the internal hard drive onto a USB drive, so I could copy it onto a second console instead of redownloading 60GB+ worth of stuff. This turns out to be impossible.

Since version 5.50 the PS4 has gotten a lot friendlier about supporting USB drives. Among other things you can relatively easily plug in a USB drive and copy user data (like game saves) to and from it. The PS4 will do this with any exFAT or FAT32 disc, like your garden variety flash drive.

You can also move a game from the internal hard drive to a USB. Key point there: move, not copy. Copy is explicitly not allowed. You can only move a game to disc if the disc is formatted as “extended storage” for the PS4. I thought I’d be clever and move the game to an external drive, make a clone, then move it back. But you can’t do that easily. The extended storage volume doesn’t even have a meaningful partition table, no filesystem I can mount. I suppose I could make a block level clone of the disk but that’s too much trouble. (It’s probably just some slightly bent version of a standard FreeBSD or Windows filesystem, but I’m not going to waste time researching that.)

One last option PS4 supports is to back up your whole console to an external disc, then restore it to a different console. You can also clone one PS4 to another directly over a LAN. However in both cases the destination PS4 gets entirely wiped and reconfigured, it’s not suitable for making a copy of a game.

The stupid thing about all this is Sony probably still thinks it’s doing some useful copy protection. It’s not, the copy protection is entirely keyed now to your online account. They’re just making it awkward for power users to do reasonable things.

 

Sony Playstation: how to fail at cloud sync

First world problems; I got a second Playstation console, the sweet God of War edition. Yay for me, no more carrying a PS4 back and forth between houses! Only now I have to worry about moving my save game data around because the cloud sync on Playstation is so awful.

Sony added auto-upload back in 2015 as part of your paid subscription. However they never added auto-download. So even when everything is working perfectly you still have to manually download save game data every time you switch devices.

Only auto-upload doesn’t work very well. It seems to only upload when you put the device in rest mode. If you go straight from playing a game to shutting down, the files aren’t auto-uploaded. So you can’t trust it and have to manually upload. But manually uploading is also a hassle, you have to shut the game down entirely to upload. (Which raises the question of how it’s uploading in rest mode when the game is still in memory, albeit suspended.)

Even with fully manual management there’s problems. There’s some confusion about file origin; both of my PS4s are complaining that the file didn’t originate on their system when I try to download. Also you can’t be logged in to Playstation on the same account on two consoles at the same time. And there’s also some confusing thing about which console is your “primary” for your account, which seems to have to do with licensing rights. Only maybe a secondary console also doesn’t auto-upload?

Real two-way automatic sync is a little tricky; if the user modifies files on both systems simultaneously and then syncs both, you have a conflict. No gamer wants to have to “git merge” two timelines. But 99% of the time a file is only modified in one place so “always sync the latest version” is fine as long as you detect conflicts. Hell, do a little light locking and warn the user if they’re trying to play while another session is active. To be safe a good sync system should have a bit of history for the files too and some way to recover an older version. Sony of course doesn’t, treating storage space as some enormous premium. (It was a big deal when they moved from 1GB of storage to 10GB for users who are paying $10/month.)

I gather Xbox Live’s version of cloud syncing works better. Steam’s SteamSync mostly works just great too, although I did have it bug out on me once.

 

Two unrelated PS4 gripes

Sony’s online store site requires a login. The login requires third party cookies; logging in to  store.playstation.com requires setting using a cookie at auth.api.sonyentertainmentnetwork.com, so it won’t work if you have third party cookies disabled. This breaks the Brave Browser, which disables third party cookies by default. It also breaks in Chrome if you disable the cookies. I thought Safari prevented third party cookies by default, I wonder if they have a workaround? The error displayed is

{“error”:”invalid_client”,”error_description”:”Bad client credentials”,”error_code”:4102,”parameters”:[]}

The PS4 operating system, or the apps, have a bug where if a game is put in the background the fan gets really loud. Ie, if you open the system menus. I assume instead of suspending processing entirely the game starts spinning consuming lots of CPU or GPU, generating heat, which makes the fan run. It’s dumb. A fan theory is that the games have no framerate cap and so they effectively render at 1000 FPS or whatever, but I think the problem may be broader than that.

 

Upgrading a PS4 hard drive

I just upgraded the hard drive in my Playstation. It was remarkably easy following these very thorough directions. Sony designed the system to be easily upgraded, quite a surprise.

The hardware is super simple; slide off the cover, remove a single branded screw, and slide out the drive tray. Swap in the new drive (4 screws) and slide it back in, done. I replaced it with a 2TB hybrid drive. A full SSD would be faster but costs 5x as much. These Seagate SSHD drives have a 64GB SSD caching the 2TB platter and seem like a reasonable compromise.

The software is also surprisingly simple. Back up the PS4 to a spare external  USB drive, swap in the blank new drive, then boot to recovery mode. You can then reinstall the firmware from a download Sony provides, restore your backup, and you’re done. It took all of 30 minutes of my time, plus 5 hours waiting for the backup and restores to copy.

My main reason for the upgrade was more space. The old units shipped with a 500GB drive which after overhead, etc allowed for about 6 games to be installed at once. Significant nuisance; I don’t want to download 30GB a second time for something I want to revisit.