Open-source USB interface: Audio Widget - Page 222 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 5th June 2013, 02:25 PM   #2211
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Well, I did edit the UAC1 USB descriptors heavily. If you can run it past some sort of USB descriptor error reporting engine, that would be good.

I've been testing the firmware on OS X and XP all day. It's been stable the whole time except one missed feedback event in XP. So tonight I'll port the 2-level feedback algorithm from the UAC2 code. XP accepts the feedback data it is getting, and I see very little correction activity for the sample rate (which is good).

BÝrge
  Reply With Quote
Old 5th June 2013, 05:54 PM   #2212
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Here is the result of a large UAC1 cleanup. Please test on all OSes.
awx_20130605.zip

The major changes are:

- IN endpoint removed (OS X playback confused by a dead microphone)
- Endpoint tweaking
- FB_rate_delta=64 (gentler response by FB state machine)
- Multi-level FB algorithm ported form UAC2
- Easily turn debugging on and off in conf_usb.h

It's tested on Win7-64, XP and OS X. Playback at 44.1 and 48 are stable. Audio-Widget and HID work.


BÝrge
  Reply With Quote
Old 6th June 2013, 05:18 PM   #2213
dhbiker is offline dhbiker  Slovenia
diyAudio Member
 
Join Date: Feb 2012
Location: Maribor/Ormož, Slovenia
what's the git or svn for your code (lost the info) ?
  Reply With Quote
Old 6th June 2013, 06:24 PM   #2214
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Follow my signature to the readme file. It's all summarized there. The new code is in branch audio-widget-experimental.

BÝrge
  Reply With Quote
Old 12th June 2013, 07:34 AM   #2215
dhbiker is offline dhbiker  Slovenia
diyAudio Member
 
Join Date: Feb 2012
Location: Maribor/Ormož, Slovenia
UAC1 seems to work fine but UAC2 seems to have problems... here is the dmesg output:

[ 1244.401486] usb 1-6: New USB device found, idVendor=16d0, idProduct=075d
[ 1244.401490] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1244.401492] usb 1-6: Product: QNKTC USB DAC AB-1.2
[ 1244.401494] usb 1-6: Manufacturer: Audio-Widget
[ 1244.401495] usb 1-6: SerialNumber: 1.0.0.0.0.0.A
[ 1244.407045] input: Audio-Widget QNKTC USB DAC AB-1.2 as /devices/pci0000:00/0000:00:0b.1/usb1/1-6/1-6:1.3/input/input7
[ 1244.407153] hid-generic 0003:16D0:075D.0003: input,hidraw0: USB HID v1.11 Device [Audio-Widget QNKTC USB DAC AB-1.2] on usb-0000:00:0b.1-6/input3
[ 1414.334410] cannot submit urb (err = -18)
[ 1414.334421] cannot submit urb (err = -18)
[ 1414.334424] cannot submit urb (err = -18)
[ 1414.334429] cannot submit urb (err = -18)

after that no app can play a sound

Audio output failed:
The audio device "default" could not be used:
File descriptor in bad state.

unless it's outputing directly to hw:0

hopefully it helps to determine the problem
  Reply With Quote
Old 12th June 2013, 06:42 PM   #2216
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Thanks for letting me know. While I focused only on the UAC1 code this time, some UAC2 stuff might have suffered from #defines meant for UAC1. I'll look into it and see what happens.

Do you have the same issues in both the debug and clean builds of the code?

BÝrge
  Reply With Quote
Old 12th June 2013, 07:01 PM   #2217
dhbiker is offline dhbiker  Slovenia
diyAudio Member
 
Join Date: Feb 2012
Location: Maribor/Ormož, Slovenia
yup pretty much any FW from AB-1.2 shipping on..
  Reply With Quote
Old 14th June 2013, 08:19 PM   #2218
borges is offline borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
Hi,

I have diffed the code in git going back to January 13th, and I don't think I've found any major show-stoppers in the UAC2 code. In any case, I have built the attached code today and committed to audio-widget-experimental.

In this code I have increased the polling interval on the feedback endpoint on both UAC1 and UAC2. I did see some tendencies in UAC1/Win7-64 that things were going a bit too fast for all polls to be taken, particularly through a hub. It looks better now.

My Linux box (Mint, 3.0.0.0-12 generic) is able to play music quite well using mpd. All frequency transitions on UAC2 work. This computer isn't highly stable at the moment but music seems OK.

BÝrge
Attached Files
File Type: zip audio_widget_20130614debug.zip (134.0 KB, 21 views)
  Reply With Quote
Old 30th June 2013, 06:56 PM   #2219
diyAudio Member
 
Join Date: Dec 2011
Hope this is right place to post this - I just completed project using WaveIO USB to I2S card to drive North Star 192 DAC via I2S - it works on all frequencies NOT JUST 192 as some people reported. WaveIO is connected via USB to VortexBox 2.2 and using Vortexbox player. Very very sweet and clear sound - USB to I2S is must if you are serious about the sound.
  Reply With Quote
Old 12th July 2013, 10:35 AM   #2220
UnixMan is offline UnixMan  Europe
diyAudio Member
 
UnixMan's Avatar
 
Join Date: Apr 2005
Location: Perugia + L'Aquila, Italy
Send a message via ICQ to UnixMan
Hi BÝrge,

I have just quickly tried out (both in UAC1 & UAC2) your latest firmwares:

awx_20130605clean.elf

and

audio_widget_20130614debug.elf

functionally, both seems to work fine (Debian GNU/Linux "Wheezy" 32bit, Kernel 3.9-1-686-pae from "Sid").

There seems to be some sound differences between the two firmwares, though (similar both in UAC1 and UAC2 mode). I wonder whether the differences may be due to the "-debug" code or something else (feedback loop?).

Could you provide a "-clean" version of the latest firmware?
__________________
Quote:
"We should no more let numbers define audio quality than we would let chemical analysis be the arbiter of fine wines." N.P.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Async 192Khz USB - the SDR-Widget collaborative project SunRa PC Based 5 26th April 2011 06:38 PM
usb audio interface david12 Equipment & Tools 14 10th October 2010 02:58 AM
Cheap Audio Interface (USB?) to PC agm2003 Instruments and Amps 11 16th September 2007 07:48 AM
Open call for suggestions on Open Source DIY Audio Design gfergy Everything Else 1 15th April 2007 07:33 AM
USB Interface Perfect?- Computer Audio fmak Digital Source 3 4th December 2004 10:24 PM


New To Site? Need Help?

All times are GMT. The time now is 09:19 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2