I have a USB CDC ACM device which appears in the /dev filesystem as /dev/tty.usbmodem... and /dev/cu.usbmodem... . Most of the time, I am able to read from and write to this device using serial port libraries, including the POSIX calls open(), read(), write(), etc.However, if the device is plugged in, then my mac goes to sleep for at least a few minutes (3 seems very repeatable), when the PC wakes up and I try to open the file, the call to open() blocks or hangs forever. This also happens if I use the `O_NONBLOCK` option, which should return immediately. I am not loading any special device drivers, but instead relying on the built-in driver loaded for USB CDC ACM devices.This affects not only my software, but also built-in utilities including `screen` and other common libraries including pyserial. I've tried both the /dev/tty.usbmodem... and /dev/cu.usbmodem.. filepaths. This occurs across multiple versions of macOS including Mojave and High Sierra. I've tried using direct USB-C cable connec
Search results for
ACME
78 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have a Mac Mini 2018 which is not presenting the ABM prompt when I bring my iPhone 12 running Apple Configuration Manager near it. This machine (which has been in use for a few years) has been wiped and has a fresh install of Monterey 12.2 on it. Upon first boot after a fresh reinstall, it goes directly to the Select your Country or Region screen (it completely skips the language selection prompt for some reason). I launched ACM on my iPhone 12 and sat it atop the Mac Mini for several minutes, but nothing happened. Is there something I am doing wrong? In case it matters (and knowing my luck, it probably does), I do have the T2 Security Utility configured for Medium Security and Allow Booting from External Media as I will need to roll back this machine to Catalina after the 30-day grace period completes.
Topic:
Business & Education
SubTopic:
General
Tags:
Education and Kids
Device Management
Business and Enterprise
wwdc21-10297
Run the sample code as doc https://developer.apple.com/documentation/mattersupport?changes=latest_minor import MatterSupport let request = MatterAddDeviceRequest( topology: .init(ecosystemName: Acme SmartHome, homes: [ .init(displayName: Default Acme Home), ]) ) do { try await request.perform() print(Successfully set up a device!) } catch { print(Failed to set up a device with error: (error)) } it runs but stuck in the scene below, never get the callback. Another issue about MatterSupport, when integrated with objective-c the bridge file(eg xx-Swift.h) turn out to show error: Cannot find interface declaration for 'MatterAddDeviceExtensionRequestHandler', superclass of 'MatterAddDeviceHandler' Xcode Version 14.2 (14C18) My code: // // MatterHelper.swift // xx // // Created by Robin on 2023/3/21. // import Foundation import MatterSupport @available(iOS 16.1, *) class MatterHelper: NSObject { @objc class func commission() { let request = MatterAddDeviceRequest( topology: .init(ecosystemName: RR
I have been implementing the subscription status updates service that Apple started to offer recently following the specifications described here. I started receiving updates but the received requests are simply empty.This is a dump of the request captured by Symfony (PHP framework):SymfonyComponentHttpFoundationRequest Object ( [attributes] => SymfonyComponentHttpFoundationParameterBag Object ( [parameters:protected] => Array ( [_controller] => AcmeSubscriptionBundleControllerStatusUpdateController::postAction [_route] => acme_subscription_statusupdate [_route_params] => Array ( ) ) ) [request] => SymfonyComponentHttpFoundationParameterBag Object ( [parameters:protected] => Array ( ) ) [query] => SymfonyComponentHttpFoundationParameterBag Object ( [parameters:protected] => Array ( ) ) [server] => SymfonyComponentHttpFoundationServerBag Object ( [parameters:protected] => Array ( [REDIRECT_SCRIPT_URL] => /statusupdate [REDIRECT_SCRIPT_URI] => https://acme.com/statusupdate
When testing the iOS 9 Beta with MobileIron, we discovered a very problematic change in the device's behavior.When opening a Webclip, which refers to a websitre requesting a client certificate, there shows up a prompt to explicitly choose the client certificate to authenticate with.The website requests a client certificate issued by a specific certificate authority, for instance CN=CA1/O=Acme (this is part of the TLS handshake).The device does only have one client certificate issued by this CA (subprofile of a MDM profile).The prompt to choose appears, even as the list does only contain this single client certificate.In iOS 8 the device does automatically authenticate with the matching client certificate.Therefore this feature is widely used for securing and authenticating access to corporate websites, and in regards of MobileIron for the Enterprise AppStore.If this is no bug, and will remain in final iOS 9 release, we will be seeing immense user impact.Please provide us with clarity on whether this
David:Only assumptions on my part, I'd guess that file is allowed to go big specifically related to the beta, via the ACM, or, at least in your example, it's borked - sqlite.org says this about size, otherwise:Avoiding Excessively Large WAL FilesIn normal cases, new content is appended to the WAL file until the WAL file accumulates about 1000 pages (and is thus about 4MB in size) at which point a checkpoint is automatically run and the WAL file is recycled. The checkpoint does not normally truncate the WAL file (unless the journal_size_limit pragma is set). Instead, it merely causes SQLite to start overwriting the WAL file from the beginning. This is done because it is normally faster to overwrite an existing file than to append. When the last connection to a database closes, that connection does one last checkpoint and then deletes the WAL and its associated shared-memory file, to clean up the disk.So in the vast majority of cases, applications need not worry about the WAL file at all. SQLite will a
Topic:
App & System Services
SubTopic:
Core OS
Tags:
This is my entitlements.plist: com.apple.security.app-sandbox com.apple.security.device.usb Check signing result, I run codesign -d --entitlements :- ./dist/My.app codesign -vv ./dist/My.app and I get this Executable=/dist/My.app/Contents/MacOS/main Warning: Specifying ':' in the path is deprecated and will not work in a future release com.apple.security.app-sandboxcom.apple.security.device.usbcom.apple.security.network.clientcom.apple.security.network.servercom.apple.security.temporary-exception.files.absolute-path.read-only/private/etc/apache2/mime.types ./dist/My.app: valid on disk ./dist/My.app: satisfies its Designated Requirement But when I run my app, I got ['/dev/cu.Bluetooth-Incoming-Port', 'n/a', 'n/a'] ['/dev/cu.usbmodem23401', 'GD32 USB CDC ACM in FS Mode', 'USB VID:PID=28E9:018A SER=GD32F30X-3.0.0-7z8x9yer LOCATION=2-3.4'] (1, could not open port /dev/cu.usbmodem23401: [Errno 1] Operation not permitted: '/dev/cu.usbmodem23401') My app can't access to my usb device, how can I solve this
Hi, I have a usb composite device with multiple interfaces that support cdc-acm UARTs. My custom driver (.dext) loads and works for single channel usb-cdcccm device with these entries in the info.plist: bInterfaceNumber 1 But there is no option to define multiple bInterfaceNumber key. I tried bInterfaceClass also, as given below, but no success. Option-1: bInterfaceClass 10 bInterfaceSubClass 0 bInterfaceProtocol 0 Option-2: bInterfaceClass 10 bInterfaceSubClass 0 bInterfaceProtocol 0 Both the above options yield no result. But as I said in the beginning: IOProviderClass IOUSBHostInterface IOClass IOUserSerial IOResourceMatch IOKit IOUserClass MyDriver IOUserServerName $(PRODUCT_BUNDLE_IDENTIFIER) idVendor VENDORID idProduct PRODUCTID bInterfaceNumber 1 bConfigurationValue 1 MyDriver loads for interface-1 and works fine. The default AppleCDCACM driver loads for the 2nd channel. I want the same driver load for both the channels. Any help/suggestions is very much appreciated. Thank you.
Topic:
App & System Services
SubTopic:
Drivers
oli-mbp:~ oli$ auval -v aufx IpeH Acme AU Validation Tool Version: 1.6.1a1 Copyright 2003-2013, Apple Inc. All Rights Reserved. Specify -h (-help) for command options -------------------------------------------------- VALIDATING AUDIO UNIT: 'aufx' - 'IpeH' - 'Acme' -------------------------------------------------- Manufacturer String: AcmeInc AudioUnit Name: IPlugEffect Component Version: 1.0.0 (0x10000) * * PASS -------------------------------------------------- TESTING OPEN TIMES: COLD: dyld: warning, LC_RPATH @executable_path/../Frameworks in /Users/oli/Applications/IPlugEffect.app/Contents/Frameworks/IPlugEffectAUv3Framework.framework/IPlugEffectAUv3Framework being ignored in restricted program because of @executable_path 2018-05-10 20:45:25.883 auvaltool[5532:94786] -[IPlugViewController createAudioUnitWithComponentDescription:error:]: unrecognized selector sent to instance 0x7fa5b4031ee0 2018-05-10 20:45:25.883 auvaltool[5532:94786] *** Terminating app due to uncaught exception 'NSInv
I'm trying to debug what appears to be a high rate traffic memory corruption related issue in a Network Extension and am attempting to run the Address Sanitizer to help track the issue down. With the Address Sanitizer enabled the Network Extension fails to start correctly. Does anyone know if this is a supported operation mode ? Without Address Santization the tunnel executes and can be debugged successfully.If I attempt to attach the Xcode debugger to the extension as it starts there is some indication that the session is starting but then it dies.default 13:57:09.831134 +0100 nesessionmanager NESMVPNSession[ACME VPN:0AA30726-7734-40A5-8387-43FCF341B0D9]: Received a start command from ACME[524]default 13:57:09.836846 +0100 nesessionmanager NESMVPNSession[ACME VPN:0AA30726-7734-40A5-8387-43FCF341B0D9]: status changed to connectingdefault 13:57:09.847652 +0100 neagent calling plugIn beginUsing:default 13:57:09.849673 +0100 pkd allowing host 296 <private> to use plug-in <priv
Hello I'm seeing a 100% reproducible issue with macOS keychain when dealing with items protected with kSecAccessControlApplicationPassword. Creating, accessing the item works fine unless the user is running on macOS 12 (Monterey) and the system has been sleeping for at least 15 minutes (based on testing). I've seen the exact same behavior on an iMac and a Macbook (both running on the latest Monterey version). After sleeping for at least 15 minutes, trying to get an existing keychain item will fail with .errSecAuthFailed. From the Console I can see various messages like this: default 12:03:11.395081+0100 KeychainAppPasswordDemo LAContext[3506:10] created new cid:88 default 12:03:11.395231+0100 coreauthd setCredential:5621 type:0 on ContextProxy[398:287:387] rid:829 default 12:03:11.395261+0100 coreauthd Replacing ACM passphrase credential with purpose 0 on ACMContext 387 default 12:03:11.395395+0100 KeychainAppPasswordDemo setCredential:5621 type:0 on LAContext[3506:10] cid:89 returned success default
I have an existing ScrollView view with a Picker. Upon selection of a picker value, and user pressing the details button, I want to append a view to the bottom of the existing view. I call detailsView. But it does not seem to work. @Environment(.managedObjectContext) private var viewContext @Environment(.dismiss) var dismiss @Environment(.presentationMode) var presentationMode @Binding var chosenProvider: Provider? @State var selectedLocation: Location? @State private var vendorNames: [String] = [] @State private var selectedVendor:String? = nil @State private var showingSheet = false @State var state: String? @State var zip: String? var body: some View { ScrollView { VStack { HStack { Text(Select Vendor) Picker(Provider, selection: $selectedVendor , content: { ForEach(vendorNames,id: .self, content: { name in Text(name) }) }) .pickerStyle(MenuPickerStyle()) .onTapGesture { self.getVendorNames() { providers, status in if (status) { vendorNames = providers } } } } .onChange(of: selectedVendor, perform: { newVa
I am attempting to communicate over serial with a USB-C device and an M-Series iPad. I have proven the device to communicate as expected (baud rate, parity, etc) via a Swift app on Mac using a third party library (IOKit) that utilizes the AppleUSBACM (v5.0.0) driver on macOS. I am looking to recreate this communication via iPadOS and a custom DriverKit driver that provides this same interface. There is not an example from Apple for serial communication and DriverKit but there is a couple for communicating from an app to the dext, and for other networking examples. There are also other mentions in WWDC videos but they are incomplete and do not provide the needed structure. Communicating between a driver extension and a client app Connecting a network driver Bring your driver to iPad with DriverKit System Extensions and DriverKit My question revolves around architecture and how to set up a driver for these needs. I have gotten the examples to run and understand what is needed for entitlements and other local si
I am working with USB serial devices on macOS.How can I detect BSD(unix) name have for my USB Serial device on macOS using IOKit?I want to get device name like : IODialinDevice = /dev/tty.usbmodemMyDeviceNameMy USB device is USB serial COM port.Also I want to detect when device was attached to machine.I can detect when new USB device with my VID and PID was connected.This code allows me to do it CFMutableDictionaryRef keywordDict = IOServiceMatching(kIOSerialBSDServiceValue); kern_return_t result = IOServiceGetMatchingServices(kIOMasterPortDefault, keywordDict, &iterator); while ((port = IOIteratorNext(iterator))) { io_object_t parent = 0; io_object_t current_device = port; while (KERN_SUCCESS == IORegistryEntryGetParentEntry(current_device, kIOServicePlane, &parent)) { CFTypeRef vendor_Id = IORegistryEntryCreateCFProperty(parent, CFSTR(kUSBVendorID), kCFAllocatorDefault, 0); CFTypeRef pr_Id = IORegistryEntryCreateCFProperty(parent, CFSTR(kUSBProductID), kCFAllocatorDefault, 0); if((vendor_id==MY_VEND
I am sending DeclarativeManagement with the MDM command, but it seems that it is not valid even if I send it to declaration-items What can you think of? iOS 16 MDM Command Command Data eyJTeW5jVG9rZW5zIjp7IlRpbWVzdGFtcCI6IjIwMjMtMTAtMThUMTE6MDY6MDJaIiwi RGVjbGFyYXRpb25zVG9rZW4iOiJiNjU0NDAyN2EzMTVjZDAwODVkNGNmMDgxNzQ2MjRj MmQxNDI0NDQ4MDQzMGE4N2IxNzZhMjcyN2U3MzY2MDA5In19 RequestType DeclarativeManagement CommandUUID 3398d0c0-8b36-4647-86ab-6a63f26d1576 UDID XXXXXXX-ZZZZZZZZZZZZZz declaration-items Rersponse(json) { DeclarationsToken: 1429e356-c51a-42a3-aff2-22963df30202, Declarations: { Assets: [ ], Management: [ { Type: com.apple.management.organization-info, Identifier: e07d18d6-4ec6-432a-b474-9b8816d029a2, ServerToken: 4922d69c-c231-426d-9598-c3acb612069e, Payload: { Email: email@example.com, Name: Acme Inc, URL: https://www.example.com } } ], Configurations: [ { Type: com.apple.configuration.legacy, Identifier: 84fe24b1-ac21-4a29-b279-70f715b3ac82, ServerToken: 0283b145-5791-4d7a-8a8e-769