Post

Replies

Boosts

Views

Activity

Reply to Toggle to enable Driverkit Driver not appearing in App Settings in iPadOS
@DTS Engineer Hi Kevin, The workaround I've long suggested is to include a settings bundle in your app so that your app always has some kind of setting. I have a Settings bundle included in my app already. Also, I believe this setting is provided by the OS itself and having a custom setting in my bundle is not going to help activate the driver. The issue is that the toggle does not appear suddenly in Settings for some users in some versions of iPadOS even in the presence of a Settings bundle and I am unable to figure out why. What's the bug number? FB24167071 (Toggle to enable Driverkit Driver not appearing in App Settings in iPadOS)
Topic: App & System Services SubTopic: Drivers Tags:
1h
Reply to How to develop a driver extension for a USB mass storage device
@Justin Thank you for replying. I am developing a custom DEXT for sending SCSI vendor commands over USB using the BOT protocol. Earlier, this was possible with a KEXT by having IOSCSIPeripheralDevice nub as the provider class (no exclusive access required). About your suggested solution, even though I can match on the IOUSBHostDevice on the whole, the device has only one interface/IOUSBHostInterface nub and ultimately after setting up the device, I would have to open a session to this interface for sending commands to the bulk endpoint. I suppose this would again lead to the exclusive access issue mentioned above as IOUSBHostInterface::Open call is necessary in this case.
Topic: App & System Services SubTopic: Drivers Tags:
Nov ’23
Reply to Restrict access to user space applications accessing a kernel extension
Thanks Quinn for the quick response. The target that I have for my project currently is a command line tool which I am planning to run as a daemon and so I am unable to add the provisioning profile for this. Should I be creating an app project as a wrapper for this so that I can achieve the same as mentioned here for restricted entitlements, [https://developer.apple.com/documentation/xcode/signing-a-daemon-with-a-restricted-entitlement]?)
Topic: App & System Services SubTopic: Drivers Tags:
Aug ’23
Reply to Toggle to enable Driverkit Driver not appearing in App Settings in iPadOS
@DTS Engineer Hi Kevin, The workaround I've long suggested is to include a settings bundle in your app so that your app always has some kind of setting. I have a Settings bundle included in my app already. Also, I believe this setting is provided by the OS itself and having a custom setting in my bundle is not going to help activate the driver. The issue is that the toggle does not appear suddenly in Settings for some users in some versions of iPadOS even in the presence of a Settings bundle and I am unable to figure out why. What's the bug number? FB24167071 (Toggle to enable Driverkit Driver not appearing in App Settings in iPadOS)
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
1h
Reply to How to develop a driver extension for a USB mass storage device
@Justin Thank you for replying. I am developing a custom DEXT for sending SCSI vendor commands over USB using the BOT protocol. Earlier, this was possible with a KEXT by having IOSCSIPeripheralDevice nub as the provider class (no exclusive access required). About your suggested solution, even though I can match on the IOUSBHostDevice on the whole, the device has only one interface/IOUSBHostInterface nub and ultimately after setting up the device, I would have to open a session to this interface for sending commands to the bulk endpoint. I suppose this would again lead to the exclusive access issue mentioned above as IOUSBHostInterface::Open call is necessary in this case.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Restrict access to user space applications accessing a kernel extension
Thanks Quinn for the quick response. The target that I have for my project currently is a command line tool which I am planning to run as a daemon and so I am unable to add the provisioning profile for this. Should I be creating an app project as a wrapper for this so that I can achieve the same as mentioned here for restricted entitlements, [https://developer.apple.com/documentation/xcode/signing-a-daemon-with-a-restricted-entitlement]?)
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Sending SCSI commands to USB mass storage devices by DriverKit
Facing the same issue where kIOReturnNotSupported is returned as the error definition when trying to send either common or arbitrary SCSI commands to the device using UserSendCDB. Did you have any luck in making this work?
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
Apr ’23