USBDriverKit

RSS for tag

Develop drivers for USB-based devices using USBDriverKit.

Posts under USBDriverKit tag

190 Posts

Post

Replies

Boosts

Views

Activity

How to share data between iPad app and macOS app using thunderbolt
Hi folks, I'm developing a real-time audio engine that runs on macOS but has also an iPad version that enables control of the macOS app using a touch screen. I want to share control data between the iPad app and the macOS app without using Wi-Fi. As a real-time thing, it would be great to be able to use a thunderbolt cable. Is there a way of doing it? Where can I find more info? Thanks for your time.
0
0
759
Mar ’22
USB Live Stream not working in osx 12
Dear Apple Expert, Our project uses libUSB library to interact with a USB based camera device. Our application is working fine in macOS Mojave (10.14.6 ). When the new MacOS 12 beta version was made available, we tested our code. But when we try to claim the interface via "CreateInterfaceIterator" API, we are getting "kIOReturnExclusiveAccess" error code and ultimately our application fails. The failure is observed in both libUSB versions 1.0.23 and 1.0.24. Could you help us by explaining if there is change in the new OS with respect to access to USB devices?
1
0
2.2k
Mar ’22
Gravity Nova Usb C hub not showing ethernet connection
I have purchased the USB C hub by gravity and it has the ethernet port which is not appearing in my network settings. I have tried to see if it could be added but cant find anything. I have heard people talk about drivers but not sure what drivers or even if i need them. They dont say anything on the gravity website. Can anyone help?
1
0
1.1k
Feb ’22
Lack of Vendor ID for “USB transport" entitlement and Can't find "userclient-access" for AppID
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?
1
1
1.4k
Feb ’22
usb to serial / virtual COM
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
0
0
1k
Jan ’22
External usb foot pedal driver generates unexpectedly mouse click NSEvents for macOS Monterey
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?
4
0
1.5k
Jan ’22
USB issues with Big Sur
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 ???
14
0
6.9k
Dec ’21
SCSI write(10) command over USB
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 :)
0
0
1k
Dec ’21
AX88179 Drivers for Big Sur 11.0
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.
86
0
66k
Dec ’21
High CPU Usage for low latency USBDriverKit Audio Driver
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?
1
0
1.5k
Nov ’21
Would use usbdriverkit to monitoring all usb device action
I have a requirement where I need to monitor writes/reads from arbitrary USB devices. Can I do it with USBDriverKit?
Replies
0
Boosts
0
Views
1.4k
Activity
May ’22
The laptop's USB type C ver3.1 display port is connected to the iPhone's lightning interface
When connecting the USB type C ver3.1 display port output of a laptop to the lightning interface of an iPhone, how could I use the SW API on the iPhone to capture the image output of the laptop screen?
Replies
0
Boosts
0
Views
623
Activity
Mar ’22
How to share data between iPad app and macOS app using thunderbolt
Hi folks, I'm developing a real-time audio engine that runs on macOS but has also an iPad version that enables control of the macOS app using a touch screen. I want to share control data between the iPad app and the macOS app without using Wi-Fi. As a real-time thing, it would be great to be able to use a thunderbolt cable. Is there a way of doing it? Where can I find more info? Thanks for your time.
Replies
0
Boosts
0
Views
759
Activity
Mar ’22
Update discontinues software driver to Monterey or Big Sur
How hard would it be to use a Catalina driver for an audio interface to create a driver for Monterey or Big Sur? Tascam discontinued updates for my two interfaces (same models, used as aggregate device)
Replies
2
Boosts
0
Views
664
Activity
Mar ’22
USB Live Stream not working in osx 12
Dear Apple Expert, Our project uses libUSB library to interact with a USB based camera device. Our application is working fine in macOS Mojave (10.14.6 ). When the new MacOS 12 beta version was made available, we tested our code. But when we try to claim the interface via "CreateInterfaceIterator" API, we are getting "kIOReturnExclusiveAccess" error code and ultimately our application fails. The failure is observed in both libUSB versions 1.0.23 and 1.0.24. Could you help us by explaining if there is change in the new OS with respect to access to USB devices?
Replies
1
Boosts
0
Views
2.2k
Activity
Mar ’22
Macbook Pro Montery Lenovo ThinkPad USB-C docking
audio port not working on Lenovo docking station. Sound setting only options is "Lenovo-usb-audio". And this is not working.
Replies
0
Boosts
0
Views
807
Activity
Mar ’22
Gravity Nova Usb C hub not showing ethernet connection
I have purchased the USB C hub by gravity and it has the ethernet port which is not appearing in my network settings. I have tried to see if it could be added but cant find anything. I have heard people talk about drivers but not sure what drivers or even if i need them. They dont say anything on the gravity website. Can anyone help?
Replies
1
Boosts
0
Views
1.1k
Activity
Feb ’22
Lack of Vendor ID for “USB transport" entitlement and Can't find "userclient-access" for AppID
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?
Replies
1
Boosts
1
Views
1.4k
Activity
Feb ’22
usb to serial / virtual COM
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
Replies
0
Boosts
0
Views
1k
Activity
Jan ’22
External usb foot pedal driver generates unexpectedly mouse click NSEvents for macOS Monterey
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?
Replies
4
Boosts
0
Views
1.5k
Activity
Jan ’22
Is it possible to use both USB busses?
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?
Replies
0
Boosts
0
Views
725
Activity
Jan ’22
HID touch input device support
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?
Replies
0
Boosts
0
Views
1.3k
Activity
Jan ’22
can not use USB serial port cable to access the iOS device
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.
Replies
1
Boosts
0
Views
2.5k
Activity
Dec ’21
USB issues with Big Sur
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 ???
Replies
14
Boosts
0
Views
6.9k
Activity
Dec ’21
How to transmit data into the iPad via USB-C?
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.
Replies
0
Boosts
0
Views
593
Activity
Dec ’21
iOS APP USB OTG hardware devices communicate
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!
Replies
1
Boosts
0
Views
1.8k
Activity
Dec ’21
Ipad Driver for the SKR Mini E3 V2
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?
Replies
1
Boosts
0
Views
840
Activity
Dec ’21
SCSI write(10) command over USB
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 :)
Replies
0
Boosts
0
Views
1k
Activity
Dec ’21
AX88179 Drivers for Big Sur 11.0
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.
Replies
86
Boosts
0
Views
66k
Activity
Dec ’21
High CPU Usage for low latency USBDriverKit Audio Driver
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?
Replies
1
Boosts
0
Views
1.5k
Activity
Nov ’21