[Bug 252434] for USB audio headset, need do set interface dynamiclly for power save and correct status of headsets

2021-04-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252434

Hans Petter Selasky  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|New |Closed

--- Comment #4 from Hans Petter Selasky  ---
Submitted by:
https://cgit.freebsd.org/src/commit/?id=31070b5bc77a499009a835650eb9d4bf2eceaa15

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 252434] for USB audio headset, need do set interface dynamiclly for power save and correct status of headsets

2021-01-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252434

--- Comment #3 from Horse Ma  ---

Put this diff to Phabricator.
https://reviews.freebsd.org/D28032

We are running Citrix VDI application on FreeBSD, and there will be audio
choppy when playing short audio voice if set_interface in chn_start set when
audio is playing by Citrix VDI application. 

It seems that it need use as less as time in chn_start. So I add chn_prepare
and do set_interface which need quite long time before chn_start.

It will make the headset situation more complicated if use "usbconfig -d X.Y
power_save". 
Power_save will not set interface, and the device may need longer time to
recover working again. 
It's not a standard method to support this feature.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 252434] for USB audio headset, need do set interface dynamiclly for power save and correct status of headsets

2021-01-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252434

--- Comment #2 from Hans Petter Selasky  ---
Hi,

Can you explain briefly why you need a new channel method to support this new
feature?

Cannot the current channel callback methods be used?


Have you tried:

usbconfig -d X.Y power_save

It will cause automatic suspend of the USB audio device when not in use? Can
this be used instead of playing with the alternate settings?

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 252434] for USB audio headset, need do set interface dynamiclly for power save and correct status of headsets

2021-01-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252434

Hans Petter Selasky  changed:

   What|Removed |Added

 CC||hsela...@freebsd.org

--- Comment #1 from Hans Petter Selasky  ---
I'll have a look at your patch later today.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 252434] for USB audio headset, need do set interface dynamiclly for power save and correct status of headsets

2021-01-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252434

Bug ID: 252434
   Summary: for USB audio headset, need do set interface
dynamiclly for power save and correct status of
headsets
   Product: Base System
   Version: Unspecified
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: usb
  Assignee: u...@freebsd.org
  Reporter: shichun...@dell.com

Created attachment 221286
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221286=edit
patch to add set interface dynamicly.

1. set interface 0 and alt number when headset stop/start working is quite
standard on windows/Linux OS
2. set interface 0 when not headset doesn't work can help power save;
3. some Epos headset tool check will check the headset status by polling it's
current alt interface, and "0" set interface alt stands that headset is idle,
so EPOS application do can do firmware update for this device.

Base above comment, it's good deal to add this patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"