USBDriverKit

RSS for tag

Develop drivers for USB-based devices using USBDriverKit.

Posts under USBDriverKit tag

190 Posts

Post

Replies

Boosts

Views

Activity

Перестали обнаруживаться USB и MicroSD
Добрый день, после перехода на MacOS Montaray, при подключении хаба Canyon, (сам он при этом работает, индикатор подсвечивается, зарядку через него идет) перестали работать USB 2.0 , 3.0 и MicroSD. Ранее на BigSur все было корректно, как теперь работать за ПК? Нужно перекидывать фото с MicroSD, пользоваться флешками и внешними накопителями
0
0
663
Nov ’21
app can not be minimized or full screen when running as root user
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.
0
0
870
Nov ’21
USB ports, camera and sound on monitor not working on Monterey
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!
1
0
1.4k
Nov ’21
M1-Macbook needs to restart to recognize USB-HID device.
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!
0
0
989
Oct ’21
Default USB-C current without USB power delivery negotiation
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.
0
0
705
Oct ’21
IOKit: Retrieving USB Name, Vendor ID and Product ID after Serial Connection.
Firstly let me start by saying I'm totally new to using IOKit and fairly new to Swift. That said, I've successfully managed to detect the insertion and removal of my USB serial device in my Swift, MacOS app. Therefore calling ls /dev/tty.* lists the same devices as via the IOServiceAddMatchingNotification(notifyPort, kIOFirstMatchNotification, IOServiceMatching("IOSerialBSDClient"), matchingCallback, selfPtr, &matchedIterator) call inside the resulting callback. This is a great start. As you can imagine telling the user you've found "/dev/tty.usbmodem[some number]" isn't particularly user friendly. So once I retrieve the IODialinDevice property from the aforementioned callback is there a way for me to lookup the USB device's Vendor ID and Product ID and ideally retrieve the human readable name for said USB device, so I can then expose that to the User? Thanks.
4
0
4.1k
Oct ’21
Activating a USB modem after Big Sur restart
I have a USB modem that worked fine under Mojave. With Big Sur (11.2.3), the device is not recognized immediately after a restart (/dev/cu.usbmodem123456781 does not exist). However, if I unplug the device and then replug into the USB port, /dev/cu.usbmodem123456781 exists and can be used. I'm accessing the device programmatically in a macOS app, using Objective-C. After a restart, System Report correctly lists the USB modem (even before unplug/replug) as follows: USB Modem:   Product ID: 0x1340   Vendor ID: 0x0572 (Conexant Systems, Inc.)   Version: 1.00   Serial Number: 12345678   Speed: Up to 12 Mb/s   Manufacturer: Conexant   Location ID: 0x14110000 / 5   Current Available (mA): 500   Extra Operating Current (mA): 0 What can I do so that /dev/cu.usbmodem123456781 exists after a restart?
2
0
2.1k
Oct ’21
Urgent! About "Provisioning Profile" request
We are the developer team of Nanjing Qinheng Microelectronics Co., Ltd. Recently, we have carried out device driver development and system adaptation for a variety of USB-to-serial chips. At present, our project is stagnant in the release stage because the "Provisioning Profile" does not contain our vendor ID(0x1A86). The release process of this driver will affect millions of users worldwide. We hope that the "Provisioning Profile" can be completed more quickly. This is very important for our customer and the experience of Apple's Big Sur.
2
0
1.4k
Sep ’21
Перестали обнаруживаться USB и MicroSD
Добрый день, после перехода на MacOS Montaray, при подключении хаба Canyon, (сам он при этом работает, индикатор подсвечивается, зарядку через него идет) перестали работать USB 2.0 , 3.0 и MicroSD. Ранее на BigSur все было корректно, как теперь работать за ПК? Нужно перекидывать фото с MicroSD, пользоваться флешками и внешними накопителями
Replies
0
Boosts
0
Views
663
Activity
Nov ’21
app can not be minimized or full screen when running as root user
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.
Replies
0
Boosts
0
Views
870
Activity
Nov ’21
USB ports, camera and sound on monitor not working on Monterey
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!
Replies
1
Boosts
0
Views
1.4k
Activity
Nov ’21
M1-Macbook needs to restart to recognize USB-HID device.
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!
Replies
0
Boosts
0
Views
989
Activity
Oct ’21
Default USB-C current without USB power delivery negotiation
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.
Replies
0
Boosts
0
Views
705
Activity
Oct ’21
Problem about setting IOTTYBaseName in USBSerialDriverKit
I want know how to set IOTTYBaseName in USBSerialDriverKit.We try to use SetProperties method  inherit from IOService, but the method return -301 error code.
Replies
0
Boosts
0
Views
765
Activity
Oct ’21
IOKit: Retrieving USB Name, Vendor ID and Product ID after Serial Connection.
Firstly let me start by saying I'm totally new to using IOKit and fairly new to Swift. That said, I've successfully managed to detect the insertion and removal of my USB serial device in my Swift, MacOS app. Therefore calling ls /dev/tty.* lists the same devices as via the IOServiceAddMatchingNotification(notifyPort, kIOFirstMatchNotification, IOServiceMatching("IOSerialBSDClient"), matchingCallback, selfPtr, &matchedIterator) call inside the resulting callback. This is a great start. As you can imagine telling the user you've found "/dev/tty.usbmodem[some number]" isn't particularly user friendly. So once I retrieve the IODialinDevice property from the aforementioned callback is there a way for me to lookup the USB device's Vendor ID and Product ID and ideally retrieve the human readable name for said USB device, so I can then expose that to the User? Thanks.
Replies
4
Boosts
0
Views
4.1k
Activity
Oct ’21
USB Accessories not work
Please help me, my ipad pro 2020 after update iPadOS 15 usb acc not recognized. I tried to connect my ext keyboard, mouse, or sd card and my ipad not recognized the acc. I was turn on USB Acc in menu FaceID. Please help me. Before Update it's works fine
Replies
0
Boosts
0
Views
512
Activity
Oct ’21
Activating a USB modem after Big Sur restart
I have a USB modem that worked fine under Mojave. With Big Sur (11.2.3), the device is not recognized immediately after a restart (/dev/cu.usbmodem123456781 does not exist). However, if I unplug the device and then replug into the USB port, /dev/cu.usbmodem123456781 exists and can be used. I'm accessing the device programmatically in a macOS app, using Objective-C. After a restart, System Report correctly lists the USB modem (even before unplug/replug) as follows: USB Modem:   Product ID: 0x1340   Vendor ID: 0x0572 (Conexant Systems, Inc.)   Version: 1.00   Serial Number: 12345678   Speed: Up to 12 Mb/s   Manufacturer: Conexant   Location ID: 0x14110000 / 5   Current Available (mA): 500   Extra Operating Current (mA): 0 What can I do so that /dev/cu.usbmodem123456781 exists after a restart?
Replies
2
Boosts
0
Views
2.1k
Activity
Oct ’21
Urgent! About "Provisioning Profile" request
We are the developer team of Nanjing Qinheng Microelectronics Co., Ltd. Recently, we have carried out device driver development and system adaptation for a variety of USB-to-serial chips. At present, our project is stagnant in the release stage because the "Provisioning Profile" does not contain our vendor ID(0x1A86). The release process of this driver will affect millions of users worldwide. We hope that the "Provisioning Profile" can be completed more quickly. This is very important for our customer and the experience of Apple's Big Sur.
Replies
2
Boosts
0
Views
1.4k
Activity
Sep ’21