Saturday, April 10, 2021

Recent Questions - Ask Different

Recent Questions - Ask Different


Subscribed calendars not shown on my device, but they can be opened manually [iOS 14.4.2]

Posted: 10 Apr 2021 12:33 AM PDT

I am trying to write a PHP service to make calendars from some data. Anyway, the example it returns (it is static during the test) shows up normally when trying to get it by http://my_domain.com/ics.php or just to download response as an .ics file (location, URL, description, alert fields have been shown properly, I can save it on my device or CalDAV/Cloud server), so the iCS syntax is OK. But when I try to subscribe to it through webcal://my_domain.com/ics.php, its events do not show up on my Calendar timeline (although I can still see it in the "Calendars" sections and even "refresh" it). When refreshing it, the events still can't be seen, but the server notices the request to my_domain.com/ics.php.

I tried:

  • Rebooting the device & server
  • Making a static .ics file and subscribing to it
  • Adding response headers like Content-type: text/calendar and Content-disposition: attachment; filename=index.ics
  • Disabling iCloud & Google Calendars accounts on the device
  • Generating another event in the calendar

And nothing above helped. The subscribition works on Microsoft Outlook, Mozilla Thunderbird on Windows 10 device. On my i-device there was another public subscribed calendar, but it also did not worked. The example of generated ICS can be watched here. What should I change to make it subscribed and shown properly?

I will appreciate any provided help!

Added: now when accessing through webcal:// safari responses that "Can't opent the page because it is invalid"

An app to click somewhere on the screen via keystrokes

Posted: 09 Apr 2021 09:17 PM PDT

I'm looking to reduce my mouse usage. (It's bad for your hands.)

If you ever used Vimium extension (e.g. for Chrome), it does this brilliant thing where once you hit F it shows you some keystroke sequences, and lets you open any link on the page for clicking (pictured below).

Vimium extension for Chrome

Now imagine I want the same, but for the whole display. Once I hit a key, a light grid is drawn onto my screen, splitting it to NxM pieces. It shows 2 or 3 key sequences. Once you press the sequence, the app clicks to the middle of that grid for you.

I need an app like this for macOS. If it doesn't exist, I suspect it's time to finally teach myself some Cocoa SDK and Swift to code it up. But if it exists, please write it down here so others can learn as well.

Why does Pages constantly freeze on a particular pages document

Posted: 09 Apr 2021 08:59 PM PDT

I'm writing a report (4000 words)on Pages in the past few days. However, since this afternoon, after I added a new picture to the report, this report has been constantly unresponsive whenever I scroll down/up or type something.

I've restarted macbook but it doesn't solve the problem.

I also opened a small document (200 words), everything works fine.

Macbook Pro 2018. MacOs: Big Sur 11.2.3

Best macOS for 13 inch MacBook Pro mid 2012

Posted: 09 Apr 2021 07:29 PM PDT

What is the best macOS for MacBook Pro 13 inch mid 2012. macOS Catalina is running very slow.

Transferring Thunderbird Data from Ubuntu to MacOS?

Posted: 09 Apr 2021 06:27 PM PDT

On ubuntu all the thunderbird files are stored under ~/.thunderbird/. If I want to backup / copy the files to another Ubuntu laptop I can just copy that folder to the new laptop.

Is it the same for MacOS?

Can I just copy the ~/.thunderbird folder to ~?

Finding keychain item creator codes

Posted: 09 Apr 2021 05:06 PM PDT

A number of subcommands of the command-line keychain tool security accept a four-character "creator" code. Where can these FourCCs be looked up? For a given potential creator (such as an application), how can its FourCC be determined? For a given keychain item, how can its creator code be shown?

Confusion about installing ESXi on Apple hardware

Posted: 09 Apr 2021 09:36 PM PDT

I am confused about VMware and/or Apple's commitment to supporting ESXi running natively on Apple hardware.

According to VMware, there are only 8 Apple products that support running ESXi natively (see table below). Only 5 of these are Mac Pros and of those, none are the current model of the Mac Pro (MacPro 7,1).

Additionally, from my own experimenting around, any version of ESXi (up to and including 7.0b) fails to successfully install on a Mac that already has Big Sur installed. It boots and the ESXi installer runs, but ultimately it fails. And since Big Sur has been out for 5 months and no version of ESXi (that I am aware of) will install on a machine running that, I have to conclude that VMware and/or Apple isn't serious about supporting ESXi natively on Apple hardware.

My plan was to purchase Apple hardware (a rack mounted Mac Pro) so I could run, among other OSes, a virtual Mac. But this goal is looking more and more unrealistic.

Have I missed something? Are people out there successfully installing ESXi over their MacPro7,1 machine's Mac OS Big Sur (specifically Big Sur)? Has anyone successfully installed any version of ESXi on top of Big Sur running on any Mac (i.e. not necessarily the MacPro 7,1)? And if people are able to do this, how are they doing it? I have been using UNetbootin to create bootable flash drives from ESXi ISO images. These all boot and run the ESXi installer (regardless of ESXi version), but the ESXi installer never completes successfully.

And... when I say "on top of" I mean replacing the existing Big Sur OS with ESXi such that booting the machine takes you straight into ESXi.

enter image description here

Why does Skype want to use a "Xcode Server Builder Identity" key?

Posted: 09 Apr 2021 03:53 PM PDT

While examining some features of XCode, I briefly enabled the XCode Continuous Integration Server. The following dialog box now pops up:

Skype wants to sign using key "Xcode Server Builder Identity" in your keychain. To allow this, enter the "login" keychain password.

If I choose "Allow" or "Deny", the dialog box will pop back up roughly a half dozen times in succession. Using Keychain Access, I find no item named "Xcode Server Builder Identity" in the login keychain or otherwise (the only item mentioning "XCode" in the login keychain predates any of this), nor in the server certificates for the system Apache server (which the XCode server seemed to want to use).

Why is Skype trying to use this key? Where is it stored? How can I stop the prompts (short of always allowing access)?

Is there any MacBook-supported filesystem that will not do a scan every time its underlying external HDD gets unplugged without eject?

Posted: 09 Apr 2021 04:21 PM PDT

Currently, with ExFAT filesystem on an external HDD connected to a MacBook Pro I experience very long scan times (proportional to the size of the HDD, several TBs in this case; MacOS is used here) whenever I plug the drive after it was accidentally unplugged without ejecting the drive first. While I understand the reason behind it, it is sometimes unacceptable to wait for hours before I can start using it again.

Therefore I am looking for filesystems that wouldn't render the drive unusable for hours whenever that happens.

Any suggestion is appreciated, the internet yields no immediate solutions/answers, and I would really like to avoid answering myself by testing filesystems - if this kind of info already exists somewhere out there.

Recover iPhone from an older iCloud backup

Posted: 09 Apr 2021 05:51 PM PDT

There's some data I want to recover I've lost this morning due to an accidental synchronization. Unfortunately, it made a new backup, so recovering the lost files via iCloud doesn't seem possible anymore. So, is it possible to recover an iPhone from an older backup in iCloud?

Btw., there's no backup on my Mac as I've made a clean reinstallation. So, the only way to recover the lost files is by using iCloud.

How to figure out how a process auto started itself after login?

Posted: 09 Apr 2021 08:55 PM PDT

(I added an Update in the end.)

My related questions:

How to delete hidden login iterms from backgrounditems.btm?

A launchd job without plist file, how does that work and how to find what job triggers it?

Even though the above questions are related, but they are not the same to this question.

I am running MacOS Big Sur.

I found out there were many apps downloaded online will auto start themselves somehow. I am having really a hard time to trace how they auto started.

Take an example, com.xunlei.Thunder.ThunderHelper is always started automatically after the system starts.

So far, I found out there were two things which are related to this process autostart.

One is from launchd job (no .plist file):

$ launchctl list | grep -i thunder  405 0   com.xunlei.Thunder.ThunderHelper    $ launchctl print gui/$(id -u)/com.xunlei.Thunder.ThunderHelper  ...      path = (submitted by otherbsd.330)      program identifier = com.xunlei.Thunder.ThunderHelper      parent bundle identifier = com.xunlei.Thunder  ...  

One is a hidden login iterm from $HOME/Library/Application Support/com.apple.backgroundtaskmanagementagent/backgrounditems.btm file. NOTE: this login iterm is NOT shown in System Preferences. I found it by using a python script mentioned in my another question in detail python3 ./bgiparser.py -f backgrounditems.btm -c.

I do NOT find anything related to thunder process in the following directories:

/Library/StartupItems  /System/Library/StartupItems  ~/Library/LaunchAgents/  /Library/LaunchAgents  /Library/LaunchDaemons  /System/Library/LaunchAgents  /System/Library/LaunchDaemons  

I don't start thunder app by myself.

NOW, in order to stop it auto starts, I did the following

launchctl stop com.xunlei.Thunder.ThunderHelper  launchctl remove com.xunlei.Thunder.ThunderHelper  kill -9 405  rm "$HOME/Library/Application Support/com.apple.backgroundtaskmanagementagent/backgrounditems.btm"  

Note again, I don't start thunder app by myself. Now, I shutdown the MacOS system and unplug the power cable, plug the power cabe, start MacOS system.

Magically, the thunder helper app starts it automatically again. It created a running launchd job again. It created a hidden login iterm again in a new backgrounditems.btm file.

I am very confused and how does it do this?

If I open the app manually and then it creates laucnhd job and login iterm, I am fine with it. BUT I don't start the app at all. I have removed the login iterm file. I have stopped its related process.

Can anyone help me finding how this program auto starts itself?

Thank you very much.

PS:

I know there are the following file and directory:

/Applications/Thunder.app/Contents/Library/LaunchServices/com.xunlei.Thunder.HelperTool    /Applications/Thunder.app/Contents/Library/LoginItems/ThunderHelper.app/  

I know I could remove them (although I haven't tried it). But I want to figure out how they are started automatically instead of removing them. Cheers.

Update

I found a scary truth on this issue.

After killing/remove any running thunder processes (inlcuding rm backgrounditems.btm).

I moved Thunder.app to other directory with the following command:

$ mkdir -p $HOME/tmp/thunder_tmp/  $ mv /Applications/Thunder.app $HOME/tmp/thunder_tmp/  

And then restart macos system. The most weird thing happened. Thunder helper app started automatically from the new path and login iterms with the new path added to new backgrounditems.btm file:

# Part of decoded backgrounditems.btm file:  {      "name": "ThunderHelper.app",      "path": "/Users/myuser/tmp/thunder_tmp/Thunder.app/Contents/Library/LoginItems/ThunderHelper.app"  },  

It seems MacOS searches my entire harddrive to find all helper app and starts them automatically and added them as a hidden iterm to login iterms automatically too. (might not be true)

If this is true, it will be very scary!

How can I stop MacOS doing this scary thing? Why does it search my entire drive everytime at startup and try to find a helper app to start and add to login iterms too? It's really unbelievable.

Can't see video files on memory card

Posted: 09 Apr 2021 06:19 PM PDT

I have an Extreme PRO 64GB SanDisk memory card for my Canon camera. In macOS I can view the pictures I took, but not the videos. They just don't show up in the Finder window but I can watch them on the camera.

How can I access the videos?

Ethernet-over-usb not working with usb-c to usb-c cable, working with adapter

Posted: 09 Apr 2021 04:43 PM PDT

I have an OTG device that exposes a network interface over USB-C, providing a DHCP server (think a raspberry pi or similar). When I plug it into my Linux computer (USB-A on the computer, USB-C in the device), then Linux shows a new interface with an IP, and I can SSH into the device.

On a Macbook (where the Macbook also has USB-C connectors), it does not always work:

  1. If I take a usb-c to usb-c cable and use it to connect the Macbook to the device, it does not seem to get recognized (the network interface is not appearing in ifconfig).
  2. If I connect a USB adapter to the Macbook (one of those USB hubs exposing 3 USB-A sockets), and then I connect a usb-a to usb-c cable between the hub and the device (so it's usb-c <--> usb-a <--> usb hub <--> usb-c), then it is recognized.

My first thought was that the hub was definitely a USB device/gadget, and maybe that helped because both the Macbook and the device were USB hosts. But I am pretty sure that the device is OTG, and the fact that the device can connect directly to the Linux shows that it can run as a gadget (and for sure the Macbook can run as a host).

What could be the reason for that issue? And optionally: is it correct to think that the Macbook USB ports are not OTG but always host (I have never heard of an OTG port in a computer, not sure if that's a thing)?

Note: it seems similiar to this old unanswered question.

EDIT: as required, the System Report when it works. When it doesn't (i.e. with the usb-c-only cable), then the line just does not appear in "USB 3.0 Bus"...

Device is detected

Without realizing the time it would take to complete, I issued the command sudo /usr/libexec/locate.updatedb . What happens if I kill the process?

Posted: 09 Apr 2021 07:08 PM PDT

Will killing the process cause problems if I shutdown and reboot immediately after doing it? I am running OS 11.2.3 (Big Sur) on Mac Mini.

Why is a Rosetta-specific terminal recommended for Ruby development on M1? [closed]

Posted: 10 Apr 2021 12:48 AM PDT

In various "how to set up your Ruby development environment on an M1 Mac" tutorials (like this one), there is a repeated recommendation to run the entire terminal under Rosetta2.

What is the problem that this addresses? What software needs it? Is it an outdated recommendation since Homebrew started supporting M1? Is there a way to track across multiple packages when an update to native dependencies is available (presumably there will be a point when everything becomes native)?

How to find the current temperature of an iPhone's CPU?

Posted: 09 Apr 2021 06:55 PM PDT

There are extremely useful utilities like iStats for viewing the CPU temperature on a device running macOS.

Is there a way to view the current CPU temperature of an iPhone?

Note: the reason I want this info is because an app I regularly use runs some very heavy processes which heat up the phone to very hot temperatures in around 15 minutes. I would like to be able to take the phone's temperature before and after 15 minutes of using that app.

Increasing the size of all content

Posted: 09 Apr 2021 07:45 PM PDT

I'm looking for something that works like "display size" on Android, "change the size of text, apps, and other items" on Windows or "zoom level" on Linux Mint.

"Text size" doesn't cut it because it leaves a lot of things unscaled and accessibility zoom - well, I'm sure it's nice for severely impaired people but I just want to scale up everything by something like 25 to 50% without having to need to pan around.

(I'm using an iPad Pro with iOS 14.4.2)

Is there a way for the host of a Zoom meeting running the Zoom app on a Mac to admit everyone from the waiting room via keyboard not mouse?

Posted: 09 Apr 2021 08:19 PM PDT

If I am the host of a Zoom meeting and people arrive at the meeting late and I want to admit them to the meeting without interrupting the flow of my presentation, is there any way to "Admit all from Waiting Room" from the keyboard? This is further complicated by the fact that if only one person is in the waiting room, there is no "Admit all" option.

Things I've unsuccessfully tried:

  • There is no pre-defined keyboard shortcut for admitting people from the waiting room
  • There is no menu item in Zoom to admit from waiting room, so I can't assign a keyboard shortcut in System Preferences
  • The "Admit all" button doesn't appear in the same place on the screen depending on how many people are in the waiting room, so it looks like simulating a mouse click at particular coordinates wouldn't work.

I don't know if there is a path forward with UI Scripting through AppleScript, or if I'm overlooking a simulated mouse click solution, or if there's something else I'm not thinking of, but I'd love to be able to admit latecomers to a zoom meeting from the keyboard.

How to delete burst photos stuck in Recently Deleted folder?

Posted: 10 Apr 2021 12:01 AM PDT

I have a known bug (outlined here, here, here, here, and here) where burst photos won't delete.

I suspect instructions here would help, except my problem is more complicated since the bursts are not in Photos, but in 'Recently Deleted'.

Also, I have Emptied 'Recently Deleted' many times, so the files are still there, but they appear blank, so I cannot tell which of the 25000 files are bursts (there are 17 sets of bursts among the 25000 files).

Attempts to 'Delete' the files from 'Recently Deleted' results in them simply reappearing after exiting and reentering 'Recently Deleted'. Attempts to restore them results in blank files going back into Photos, with no way of distinguishing the bursts from the regular photos.

Any iPhone app crashes whenever time radio dial is pressed

Posted: 09 Apr 2021 07:05 PM PDT

Problem

A few weeks ago, I noticed that I could not add any new alarms on my iPhone. Eventually, I figured out what was going on:

  • Whenever I press any button that launches a time-based radio dial (one of the pop-up context menus that has you choose a time or date), the app crashes.

Attempts to Fix It

  • I thought this was just a problem with the Clock app (I just use the standard iPhone clock), but when I tested other apps that have the datetime radio button, like the transit app I use, the same problem occurred.
  • I don't seem to have any other problems, other than this time-radio-button. No other problems on other apps, and the phone otherwise is working fine.
  • I have tried all of the standard means of trying to fix something while in ignorance:
    • reboot the phone
    • reset all of the settings (that was a pain, but I did it)
    • uninstall and reinstall the offending apps
  • None of those efforts worked, and Google searching, I couldn't even find anyone who had a similar problem.
  • There was even an iOS update recently, and after the update, the problem was still there.

Any ideas on what could be causing the problem and what I might be able to do to fix it?

My iPhone details:

  • iOS version 14.2
  • iPhone Xs (model #: MT9J2QN/A)
  • 256 GB, with 214 GB free

What is changing the default keyboard layout from "U.S." to symbols after hitting <option>+<e> in 10.15.7 on a Mid 2012 MacBook Pro?

Posted: 09 Apr 2021 04:03 PM PDT

The event:

After updating to 10.15.7 on a Mid 2012 MacBook Pro and hitting first time the + key - "é", the keyboard layout changed to symbols (instead of asdfg I get åß∂ƒ©). I have only the "U.S." keyboard layout installed. A few years ago I had the Greek because it was easier to type greek letters, but removed it about 4 years ago.

Symptoms:

  • Of course I am unable to log in. /Sometimes I can, but I was unable to determine what sequence of trials /+, , , , +, +++

    , etc.../ sets it back to "U.S".

  • The "About This Mac" menu item under the Apple menu disappear. A new menu item "System Information" appears.

  • When I am in an Application - let's say Safari -, the "Quit Safari" menu item changes to "Quit Safari but keep the Windows"

Remedies tried:

  • All the key combinations and more listed above. Did not work
  • Chat with Apple Support twice. They had no clue but recommended to reformat and reinstall.
  • Reformated all volumes that Apple allows to reformat and reinstalled from the Base Mac OS. Did not work.
  • Reformated again and installed 10.14.6. Did not work. After the first hit of + or +, the keyboard layout changed to symbols. Upgraded it to 10.15.7, hoping it will wipe the Base Mac OS clean and updates the EPROM... Did not work
  • Tried to boot from an USB drive that is bootable and contains 10.15.7 but after the Installer rebooted the machine the install did not continued from the USB drive, but rather of the Base Mac OS stored on the internal drive. So, ultimately did not work.

Any good suggestion that will work to keep the "U.S" keyboard layout?

How to disable notifications from automated "shortcuts"?

Posted: 09 Apr 2021 07:45 PM PDT

How can I disable notifications from iOS "Automation" "shortcuts"?

Is there a way to disable (or manage at all) notifications from my shortcuts? I have "Automation" shortcuts which turn on the phone screen and I really don't need or want notifications for.

Thanks.

Changing Apple ID on Macbook to match ID on iPhone and iPad

Posted: 09 Apr 2021 06:01 PM PDT

My 13" Mac has a different Apple ID than my iPad and iPhone. I'd like to change the Apple ID on my mac so I can utilize apps properly.

Installing Ubuntu 20.04 on external drive with iMac running macOS + Windows 10

Posted: 09 Apr 2021 05:02 PM PDT

I have a late 2012 iMac running macOS High Sierra (10.13.6) and Windows 10 (Build 18362) through Bootcamp in legacy BIOS mode and I'd like to do a full install of Ubuntu 20.04 to this external drive and be able to boot it from the iMac when it's plugged in. I've seen guides that address installing Ubuntu either to a Mac + Windows system or to an external drive but not both at the same time. My guess is that the process is similar to this guide but if it's not, how would I go about doing this?


Disks

diskutil list (with external drive plugged in)

/dev/disk0 (internal, physical):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *3.0 TB     disk0     1:                        EFI EFI                     209.7 MB   disk0s1     2:          Apple_CoreStorage Mac OS X                1.4 TB     disk0s2     3:                 Apple_Boot Boot OS X               650.0 MB   disk0s3     4:       Microsoft Basic Data BOOTCAMP                824.0 GB   disk0s4     5:          Apple_CoreStorage Mac OS X                801.4 GB   disk0s5     6:                 Apple_Boot Boot OS X               134.2 MB   disk0s6    /dev/disk1 (internal, virtual):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:                  Apple_HFS Macintosh HD           +2.2 TB     disk1                                   Logical Volume on disk0s2, disk0s5                                   F3382795-876E-40E2-9F63-D1174B9325BF                                   Unencrypted    /dev/disk2 (external, physical):     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *5.0 TB     disk2     1:                        EFI EFI                     209.7 MB   disk2s1     2:                  Apple_HFS Untitled                5.0 TB     disk2s2  

Internal Drive

sudo gpt -r show /dev/disk0

gpt show: /dev/disk0: Suspicious MBR at sector 0         start        size  index  contents             0           1         MBR             1           1         Pri GPT header             2          32         Pri GPT table            34           6                     40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B        409640  2683911088      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC    2684320728     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC    2685590264        1288             2685591552  1609371648      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7    4294963200        2040             4294965240  1565305744      5  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC    5860270984      262144      6  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC    5860533128           7             5860533135          32         Sec GPT table    5860533167           1         Sec GPT header  

sudo fdisk /dev/disk0

Disk: /dev/disk0    geometry: 97451/255/63 [1565565872 sectors]  Signature: 0xAA55           Starting       Ending   #: id  cyl  hd sec -  cyl  hd sec [     start -       size]  ------------------------------------------------------------------------   1: EE 1023 254  63 - 1023 254  63 [         1 -     409639] <Unknown ID>   2: AC 1023 254  63 - 1023 254  63 [    409640 - 2683911088] <Unknown ID>   3: AB 1023 254  63 - 1023 254  63 [2684320728 -    1269536] Darwin Boot   *4: 0C 1023 254  63 - 1023 254  63 [2685591552 - 1609371648] Win95 FAT32L  

External Drive

sudo gpt -r show /dev/disk2

       start        size  index  contents             0           1         PMBR             1           1         Pri GPT header             2          32         Pri GPT table            34           6                     40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B        409640  9766869344      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC    9767278984      262150             9767541134          32         Sec GPT table    9767541166           1         Sec GPT header  

sudo fdisk /dev/disk2

Disk: /dev/disk2    geometry: 73302/255/63 [1177606575 sectors]  Signature: 0xAA55           Starting       Ending   #: id  cyl  hd sec -  cyl  hd sec [     start -       size]  ------------------------------------------------------------------------   1: EE 1023 254  63 - 1023 254  63 [         1 - 4294967294] <Unknown ID>   2: 00    0   0   0 -    0   0   0 [         0 -          0] unused         3: 00    0   0   0 -    0   0   0 [         0 -          0] unused         4: 00    0   0   0 -    0   0   0 [         0 -          0] unused  

Sharing MacBook internet to iPad via USB

Posted: 09 Apr 2021 08:05 PM PDT

I was sharing my MacBook LAN connection to my iPad using the internet sharing feature. But after the most recent update, I cannot find the iPad USB and iPhone USB option to share the internet. How do I fix this problem?

Is there a way to toggle VPN in iOS shortcuts?

Posted: 09 Apr 2021 04:33 PM PDT

Is there a way to toggle VPN trough shortcuts in iOS 12?

Looked into it, but can't really find anything.

Can't restore iPhone in order to downgrade

Posted: 09 Apr 2021 04:40 PM PDT

I just downloaded the iOS 11 beta from Apple's developer website, but I'm having such a headache downgrading back to iOS 10.3.2.

I installed their provisioning profile from their website, as instructed on their site.

To restore, I did the following:

I restarted my iPhone to recovery mode to restore it, only to be presented this message:

the iPhone could not be updated. Declined to authorize this image on this device for this user

I rebooted it to find the provisioning profile in order to delete it, only to find that the management page in settings was not there and neither Xcode/Devices nor Apple Configurator 2 showed any profiles.

Now I'm stuck on iOS 11, and I can't figure out how to downgrade.

Do you have any ideas?

MacBook Misidentifies Physical Layout of Built-in Keyboard

Posted: 09 Apr 2021 04:23 PM PDT

I have a really strange problem with my sister's MacBook Pro (Mid 2012, running El Capitan): it is incorrectly identifying the physical layout of the built-in keyboard. It isn't just a matter of mapping the buttons to characters incorrectly; the diagram shown in "Keyboard Viewer" actually shows more physical buttons than exist on the keyboard.

Note: see the update at the end for the current status.

The physical keyboard appears to be the correct US English version, and it is called "U.S." in the "Input Sources" preferences pane — but here's a screenshot of what Keyboard Viewer thinks it physically looks like:

screenshot: no keys pressed

The problems become more obvious with Shift pressed:

screenshot: shift pressed

Thanks to Wikipedia-ing (and a helpful clue from the yen symbol), I think this is showing the Japanese Industrial Standard layout, but I don't actually read any East Asian alphabets, so I'm less than 100% confident.

My goal is to get the layout recognized as standard US QWERTY, either (preferably) by actually getting OS X to believe it is one, or by re-mapping the keys it believes it has. I've read Create and use your own input source, but so far without success. I think my issue may be that the characters it wants to map from are the Japanese(?) ones rather than the ASCII ones.

Interestingly, I tried booting from a Ubuntu USB, and it recognized the keyboard with no problems. On the other hand, the layout was still incorrect when I booted from the OS X recovery partition.

Any advice on how to correct this would be very greatly appreciated!


Update 1:

Inspired by Tom Gewecke's answer below, I tried re-setting the SMC, which has changed things. Probably the fastest way to describe it is with two new screenshots (taken with the "U.S." input source):

  • With no keys pressed: Screenshot of Keyboard Viewer after resetting SMC
  • With Shift pressed: enter image description here

As you can see, it's not Japanese anymore, but it also still doesn't match the layout of the physical keyboard. In Keyboard Viewer:

  • The diagram shows a key with § and ± to the left of the 1/! key. but the actual keyboard has a key marked `/~. When I press this key, Keyboard Viewer shows it as a press to the `/~ key between the z and left shift keys (there is no physical key between z and shift.
  • The diagram shows a vertical return/enter key and an extra \/| key at the right-hand side of the home row, between '/" and enter. The actual keyboard has a horizontal enter on the home row and has the \/| key as the last key on the QWERTY row, to the right of ]/}. Again, Keyboard Viewer shows a press of the physical \/| as a press of its misplaced key.

So, for practical purposes, this is a huge improvement, since the physical keys now all do what their keycaps say they do. On the other hand, something is clearly still wrong, since Keyboard viewer still has keys in the wrong place, keys that are the wrong shape, and one key in it's diagram (the §/± key) that isn't mapped to any to any physical key on the keyboard.

Update 2:

I've tried resetting the SMC a number of times; the resulting layout is always either JIS or ISO, but never ANSI, and I've yet to find any pattern that would allow me to predict which the result will be. More concerningly, even when I get an ISO layout by resetting the SMC, it will revert to a JIS layout at some arbitrary point while using the system.

Update 3:

After a long delay, I recently gained access to this machine again. Following up on dan's comment, the keyboard is indeed showing the USB "product id" 0x0264, which appears to be the JIS variant for the MacbookPro10,1 (this model). Here's a screenshot:

Screenshot of system information

Turn on Do Not Disturb mode on all devices from one device

Posted: 09 Apr 2021 04:43 PM PDT

Has anyone found a way to turn on Do Not Disturb mode for every device from one.

Often times when I'm trying to work and people won't shut up I turn on DND mode on my MBP but then my iPhone will start dinging away. So I turn on DND mode there too. Then iPad starts up etc. This is an almost endless process. There's an additional 2 other Macs tied into my iCloud account. I've been tempted to just turn it off completely but it's about as handy as it is annoying.

Also find that when I need to turn DND mode off I forget on 1 device or more causing some annoyance if I actually need the notifications.

Ideally I'd like to be able to activate DND mode globally from my MBP.

I'm curious if anyone else has seen a possible solution to this.

Can I get the CPU temperature and fan speed from the command line in OS X?

Posted: 09 Apr 2021 09:22 PM PDT

Is there a command I can run from the command line in OS X to get the current CPU temperature and/or the fan speed(s)?

To be more specific, I'd like to be able to get the same info available in the iStat widget under the Fans and Temps tabs on the command line.

I'd like to be able to find these values at the command line so it could be scripted and plugged into a monitoring setup on my Mac - I have a data-nerd desire to collect and graph these values (and other stats) on my Macbook over time.

On Linux, it seems like this would be possible by reading a pseudo-file under the /proc directory, but I'm not sure how to do the equivalent on OS X (if it exists).

No comments:

Post a Comment