Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7010499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:59:54+00:00 2026-05-27T21:59:54+00:00

Is it possible for a USB device to tell the host which alternate interfaces

  • 0

Is it possible for a USB device to tell the host which alternate interfaces to use, either during startup or any other time?

I know about the GET_INTERFACE and SET_INTERFACE interface requests, but my impression is that the host will just assume alternate interface 0 is in effect on startup — at least for HID devices. I’m hoping to find some way around this without writing a host driver.


Background:
I’m working on a personal project involving converting various PS/2 and other devices to USB (HID). Normally you wouldn’t need a driver for this since OS’s tend to support such devices natively. However, for the keyboard interface I would like to provide several NKRO options, so some keyboard interfaces will have more than the standard 6+modifier keys. This works fine natively in the OS’s I’ve tried, but I would like to allow the user to choose which keyboard interface to use. Ideally this would be saved on the device and take effect again on startup, so I don’t need to provide a driver for the device.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:59:55+00:00Added an answer on May 27, 2026 at 9:59 pm

    No, host, (strictly speaking – HID driver in your case) by defaults always selects first interface.

    But, you can change order in which your device sends interface info during enumeration, so selected interface always will be the first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to use a USB device peripheral that I have created directly
We have made a device which can act as an USB host or slave
I have an android device with support of USB host functionality. I have to
I have a device that connects to pc via USB, which gets mapped to
I can tell how many USB HID devices I have (7), but every time
I have an Arduino-based device which connects through USB. I'd like to detect it
Is it possible to use an Android mobile device as a GSM modem? I
is it possible to mount another usb device x to gphone and then create
Is it possible to connect and operate USB mass storage device to a Smart
Is it possible to use the Android NDK to treat a smartphone USB port

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.