change an USBinterface setting from inactive to active state With JSR80,

JSR80 API

OS linux

Hello. I would like to access at an USBinterface setting (1) of a USB audio device (I use JSR80 library). This setting is not the active setting by default (2 settings : 0 and 1).

How do I do to active this setting. I don't see any method for that. In other API, method exist.

Example :

int usb set interface(struct usb device *dev, int interface,int alternate);

This function activates an alternate setting of a specified interface.

Thanks for your help.

[555 byte] By [Breizh22a] at [2007-11-27 10:15:18]
# 1

int usb set interface(struct usb device *dev, int interface,int alternate);

Is that supposed to be java?

hunter9000a at 2007-7-28 15:38:41 > top of Java-index,Java Essentials,Java Programming...
# 2

No. I found this in usbdoc-1.32.pdf ''Programming Guide for Linux USB Device

Drivers" 2.2.2 Standard Device Requests page 16

Breizh22a at 2007-7-28 15:38:41 > top of Java-index,Java Essentials,Java Programming...
# 3

I don't know anything about usb devices or jsr80, but if the functionality you need isn't in the api, maybe dig into the source and see if you can add it yourself?

http://javax-usb.org/jdoc/

hunter9000a at 2007-7-28 15:38:41 > top of Java-index,Java Essentials,Java Programming...