USBDriverKit

RSS for tag

Develop drivers for USB-based devices using USBDriverKit.

USBDriverKit Documentation

Posts under USBDriverKit tag

55 Posts
Sort by:
Post not yet marked as solved
0 Replies
294 Views
I requested “USB transport " and "userclient-access" entitlements to Apple and they has approved. Apple team said I should create entitlement file and "transport.usb" entitlement should contain Vendor ID. I created also AppID and Provisionig profiles. After that, I build the Xcode project and the application doesn't work. I have two questions. Provisioning profile contains transport.usb entitlement "without" Vendor ID. Should it contain Vendor ID too? When I create AppID, I can choose "Additional Capabilities", but I can not find "userclient-access". How can I set the entitlement?
Posted
by ShoC.
Last updated
.
Post not yet marked as solved
0 Replies
282 Views
Dear All, I have looked for on this forum an answer to this question : it seems complicated and also depend of the MAC OS version. In fact, my team has developed an USB device. This device works on Windows OS. We have sold the product, it works on different OS versions (7, 10 and 11) This device works also on raspberry PI (linux core). Into these both OS, the product is detected like a serial port : I can use basic application of check that my product is perfectly functional. Now I want use it on MAC OS, my device appears into the list of USB components connected to my MAC. However I'm not able to indicate (or force) the serial port. I read lot of things, kext? ,,, could depend of MAC version however I cannot found a clear process to help me to install a virtual COM on my MAC OS. Do you have link to other forum (more hardware may be)? Do you have any technical documentation about this topic? regards, fu154
Posted
by fu154.
Last updated
.
Post not yet marked as solved
1 Replies
857 Views
External usb foot pedal driver should not generate mouse click NSEvents In Monterey external usb foot pedal driver unexpectedly also acts as a mouse device and generates NSLeftMouseDown/NSRightMouseDown events. If I click the middle button of external usb foot pedal and then NSRightMouseDown gets received then it has to be a system problem (or a driver problem) How to solve this issue?
Posted Last updated
.
Post not yet marked as solved
0 Replies
193 Views
I have noticed that although System Report shows 2 USB 3.1 busses on the USB device tree only one of the busses is used whenever a device is plugged in to one of the ports. Is the other bus reserved for internal use or is it possible to have it used by an external device?
Posted
by sienabay.
Last updated
.
Post not yet marked as solved
0 Replies
319 Views
After some iOS version, HID touch does not recognize so needs to install an extra touch driver on iOS(suppose it is after Big SUR iOS...) Is there any way to use HID touch function without installing touch driver?
Posted
by jakelee.
Last updated
.
Post not yet marked as solved
1 Replies
590 Views
Hi Team, Our app makes use of the Flutter library, but we now need to create a new feature with USB serial port cable support to get data. However, we cannot use USB serial port cable to access an IOS device. Could you please advise me on the best way to resolve this situation? Attached image FYI. Thank you all in advance.
Posted
by YinLe.
Last updated
.
Post not yet marked as solved
14 Replies
4.3k Views
Hi, is anyone else having major with their USB ports using Big Sur ? every time I attach an Ex.HD the laptop crashes, on the odd occasion I have got to the point where I can open the icon of said Ex.HD but then it crashes. This really not good as I can't even plug-in my TimeMachine Ex.HD Anyone ???
Posted
by klaatu13.
Last updated
.
Post not yet marked as solved
0 Replies
406 Views
Hello all, I am new to using USB port communications on the Mac; and I was wondering how do I open read and write to an Arduino or similar board with C++ on the MacOS? I know how to do this in python but I HAVE to do it in C/C++ for my particular project. I have read docs like these but they are very outdated: https://developer.apple.com/library/archive/documentation/DeviceDrivers/Conceptual/USBBook/USBOverview/USBOverview.html#//apple_ref/doc/uid/TP40002644-BBIHAIAG Anything will help thanks!
Posted
by BoostMan.
Last updated
.
Post not yet marked as solved
0 Replies
208 Views
Hello, we are a video capature cards manufacture. We have an new project which is aim to capature video from camera HDMI output and then transmite the video (compressed) into the latest iPad via USB-C port. What protocol should we use? iAP2 or general USB protocol? Thanks.
Posted Last updated
.
Post not yet marked as solved
1 Replies
519 Views
I want to develop an iOS APP that can interact with the hardware of USB OTG, such as sending data to and receiving data from the hardware. The peripheral type is BULK!   I did not find the relevant information on the Internet. Can anyone give me some guidance? thank you very much!
Posted
by GolfyX.
Last updated
.
Post not yet marked as solved
1 Replies
322 Views
Hello, I recently decided to upgrade my 3D printers mother board to the SKR Mini E3 and wanted to connect it to my Ipad Air Gen 3. There is no known driver for this so I'm going to try and make one instead. I have the window driver on github, but I'm not how to get started on writing a driver for Ipad. Can anyone please give me assistance?
Posted
by MLHuott.
Last updated
.
Post not yet marked as solved
0 Replies
340 Views
I'm developing an application in Objective C that works on vendor specific commands of SD cards using IOUSBHostPipe. These vendor SCSI passthrough commands are working fine. But when I try to issue a SCSI write(10) command, it seems to hang. The same implementation when done on Windows seems to be working fine. Is there a limitation to issuing a SCSI write(10) command in macOS? I'm a bit new to the macOS environment and would really appreciate some pointers to references that I can look into or any alternatives to this problem. Thanks in advance. Much appreciated :)
Posted Last updated
.
Post not yet marked as solved
86 Replies
50k Views
Well it seems that the drivers for the ethernet adapters are probably going to need updating. Does anyone know where I can find the updated driver for Big Sur? I had this issue with the last beta and just remembered it now that I'm without an ethernet adapter to use. I use the 3 Gig adapter from Amazon Basics and it's worked excellent.
Posted Last updated
.
Post not yet marked as solved
0 Replies
439 Views
I'm using USBDriverKit to write an audio driver for a High Speed USB device. In an attempt to understand the difference between DriverKit Extension and Kernel Extension latencies, I'm dispatching individual isochronous microframes that for this device each account for a duration 125µs, or 6 samples at 48kHz. I don't yet know what kind of latency I'm actually getting but I was surprised to see a high CPU usage of ~11% on a 512GB M1 mac mini running Big Sur 11.6. That's 8000 IsochIO() calls and 8000 completion callbacks per second. Instruments.app tells me that most of my time (60%) is being spent inside mach_msg, as part of a remote procedure call. Multiple questions occur to me: is this normal? should I expect lower CPU usage? isn't mach_msg blocking? shouldn't CPU usage be low? don't low latency audio folks avoid things like remote procedure calls? is seeking low latency throughput with USBDriverKit futile? does Monterey's AudioDriverKit enable lower latency, or is it a convenience API?
Posted Last updated
.
Post not yet marked as solved
0 Replies
281 Views
Добрый день, после перехода на MacOS Montaray, при подключении хаба Canyon, (сам он при этом работает, индикатор подсвечивается, зарядку через него идет) перестали работать USB 2.0 , 3.0 и MicroSD. Ранее на BigSur все было корректно, как теперь работать за ПК? Нужно перекидывать фото с MicroSD, пользоваться флешками и внешними накопителями
Posted
by barik.
Last updated
.
Post not yet marked as solved
0 Replies
345 Views
app can not be minimized or full screen when running as root user, due to macOS12 requests running as root user when an app trying to control usb device, such as the uvc camera controlled through uvc protocol, this is unnecessary before 12. how can i solve this issue, either control the uvc camera through uvc protocol without elevating the app's privilege, or app can be minimized when running as root user.
Posted
by isalin.
Last updated
.
Post not yet marked as solved
1 Replies
724 Views
Hi, yesterday I upgraded my Macbook Pro M1 to MacOS Monterey. My Monitor (HP Envy) has USB ports, an inbuilt camera and a bang & olufsen sound system. All of this is not working anymore, which is quite a problem since I need it for my full working equipment. The monitor is connected via USB-C. The monitor is still working (video signal) and charging the Macbook. The issue seems to exist for a lot USB-C hubs as well. Please fix it - I can´t really use Monterey like this. Many thanks!
Posted Last updated
.
Post not yet marked as solved
0 Replies
320 Views
We developed a C++ application to control our HID USB device, and it seems that the first time we connect our HID USB device to a brand new M1 Macbook, our application cannot detect this device, and we need to restart Macbook to recognize the device. After then, everything is working fine, we can unplug and plug the USB device without restarting Macbook for our application to detect this device. Here is our theory on why a restart is needed to "bootstrap" the device detection: M1 Macbook doesn't come with HID driver included, so the first time a HID device is connected, M1 Macbook need to install HID driver in the background to make it work. -- Can someone confirm this? Or maybe there are other reasons for the need to restart? We are using IOHIDManager from IOKit for the HID operations. Thanks!
Posted
by tzdevguy.
Last updated
.
Post not yet marked as solved
0 Replies
289 Views
Hi, We developed a Usb device, and we experience an issue when we tried to use it on a MacBook M1 (Apple Silicon). It seems that the MacBook M1 (and probably other models) advertise a default USB Current mode of 7.5Watt (1.5A@5V). When it also exists a 15 Watt mode (3A@5V). Can someone confirm that we understood correctly ? and is there a way to change the default USB Current to 15 Watt without USB-PD negotiation (we don't have it on our device). Thanks.
Posted
by brtrd.
Last updated
.