Re: [SlimDevices: Touch] Async USB Dac Experiments - testers wanted...

2013-07-06 Thread Eryk

Hi,

regardless of whether it could be improved on the EDO side
(I was able to play in asynchronous mode using build in aplay player)
it works now with new firmware for VIA VT1731.

If you have any dac using VIA VT1731 (or Audio-gd with usb-32) there is
new firmware
that allows to play in asynchronous mode using EDO plugin.


Link to firmware and instruction you can find here:
http://www.head-fi.org/t/500369/audio-gd-digital-interface/3870#post_9563929

I've flashed firmware on dac and squeezebox works now in asynchronous
mode.


The last thing that I want to do is to upsample on squeezebox side.
Anyone knows how to set up fixed resampling to for example 176,4kHz?



Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=93310

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Announce: Enhanced Digital Output app - USB Dac and 192k Digital Ouput

2013-02-10 Thread Eryk

Hi RDaneel and ajwaldo,

I have with this usb chip problems too. I wrote about this in other
thread.
My last post is here:

http://forums.slimdevices.com/showthread.php?93310&p=732722

in short:

with firmware #3 on usb chip it works OK with USB connection but only as
adaptive mode

with firmware #4 on usb chip it works OK on Linux in asynchronous mode
(I've tried not only
Squeezebox) but it doesn't work OK with Squeezebox player. For me it is
problem with
jive_alsa becuase after connecting to Squeezebox using ssh terminal I
was able to play
music without any problems using standard aplay command.

I hope that Triode will answer to my post to give a hint where in
scripts I can change
something to make this working. For example solution can be to change
output from
jive_alsa to aplay.

I didn't test firmware #3 and #4 with files higher than 96khz. I will
try to make such
tests.



Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=94512

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Async USB Dac Experiments - testers wanted...

2013-01-10 Thread Eryk

Hi Triode,

I discovered something important.

Because I'm unable to play through USB so I'm using optical output.

I remember to try to use aplay command when using USB output 
but always get this device is busy.

Yesterday when I switched between frequency rates I've got the
same strange sound that I have with EDO.

So I've tried today to make the same on squeezebox. But because
I don't know how to change resampling on squeezebox. So I tried
following command:

aplay -f dat -Dplughw:1,0 piano2.wav

On first run I've got the same incorrect sound but on second run
sound was played correctly. There were few times when sound wasn't
OK, for example after loosing connection to squeezebox from winscp.
But in most cases sound is OK.

So what can be wrong?

Thinking that now everything is OK, I've typed following command:

jive_alsa -d hw:CARD=Audiogd -c default -b 2 -p 2 -s 24 -f 1

and aplay stop to work. And I have incorrect sound from squeezebox
player on USB and optical. I can switch in DAC between these two
and on both I have the same incorrect sound.

So using this command I have incorrect optical output. Strange.

So if something like this works:

cat piano2.wav | aplay -Dplughw:1,0

so maybe there is possible to obey jive_alsa and play by aplay?

Is it possible?



Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=93310

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Async USB Dac Experiments - testers wanted...

2013-01-09 Thread Eryk

Hi Triode,

There was no go for me to test this in different way than installing
Linux
on my notebook. So I will describe my steps to get Linux because this
can be good test case to setup environment for such tests.

I didn't want to make any changes to SSD drive in my notebook so after
reading some pages I found that we can install Linux on USB.
After few more queries to google I found such software: 
www.pendrivelinux.com/yumi-multiboot-usb-creator/

Wonderful thing. Because of this next steps will be easy. After
inserting
USB stick (you don't have to worry about data on it if you have fat32 on
it, tested)
and running this yumi I've selected 'slacko puppy' distribution. I've
found that
this distribution is small and is modern too. Using iso check box you
will be
redirected to proper iso file download. You have to save iso file and
after
download select it in yumi. After clicking 'create' you have bootable
usb
stick with Linux. Pretty simple.

After booting this puppy if you are clicking on flac file it's
automatically run
Pmusic program and starts to play. Because sound went from my notebook
speakers I've set my USB DAC clicking start menu -> setup -> ALSA sound
wizard
-> Three: multiple sound cards. Change works without reboot.

To have the same test environment I would use following example to play
music:
mplayer http://radio.cesnet.cz:8000/cro-d-dur.flac -ao alsa

And music is played correctly.

Output from lsusb command in attachment.

I don't know how to switch re-sampling. Because playing 96khz file gave
me 48khz.
Checked in stream0 and hw_params. So I edited
/usr/share/alsa/alsa.config
and putted a following change:
defaults.pcm.dmix.rate 192000

Momentary freq in most of the time is 192000 and change to 192031 about
3 times
per second.

I've tried 44100 too. And sound was OK too. Momentary freq 44078 and
44110.

cat /proc/asound/version returns 1.0.24
kernel version is 3.1.10


+---+
|Filename: lsusb.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=14219|
+---+


Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=93310

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Async USB Dac Experiments - testers wanted...

2013-01-04 Thread Eryk

Hi Triode,

it's VIA Vinyl Audio VT1731

http://www.via.com.tw/en/products/audio/usb/vt1731/index.jsp

The latest firmware is #4.

I'm not familiar with linux but to get new ALSA you have to get
new Linux kerlner? It's not possible to get new ALSA for 2.6.26.8
kernel (this number displays 'uname -a' command)?



Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=93310

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Async USB Dac Experiments - testers wanted...

2013-01-03 Thread Eryk

Hi Triode,

I've upgraded usb chip to firmware #4. But have following problem.
When playing 44.1kHz music /proc/asound/Audiogd/stream0 returns:

Playback:
Status: Running
Interface = 1
Altset = 3
URBs = 3 [ 7 8 8 ]
Packet Size = 776
Momentary freq = 48000 Hz (0x6.)
Feedback Format = 14.18

and used interface is following:

Interface 1
Altset 3
Format: S32_LE
Channels: 2
Endpoint: 4 OUT (ASYNC)
Rates: 44100, 88200, 48000, 96000, 176400, 192000
Data packet interval: 500 us
Max Packet Size = 776
EP Attribute = 0x0


And sound isn't OK. You can hear something but sound is constantly
interrupted.
I can change this interruption interval by changing buffer size. But I
can't find
setting that the sound is OK.

It seems that problem is 14.18 feedback format. That is not standard
16.16.
But reading about ALSA it seems that they tried now to detect when to
send data
to DAC using packet sizes or something like this.

I don't have other computer with Linux. But I would like to check the
newest
version of ALSA. EDO using version 1.0.16. The newest seems to be
1.0.26.
Is there a chance to get EDO with the newest ALSA version?

Or maybe you know what to do in such not standard feedback format?



Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=93310

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Announce: Enhanced Digital Output app - USB Dac and 192k Digital Ouput

2012-12-15 Thread Eryk

Previously I've posted my checking according to DAC from Audio-gd
using VIA VT1731 usb chip on thread 'Async USB Dac Experiments - testers
wanted...'.

It seems that if DAC operates under the EDO app it doesn't means that it
uses asynchronous
data transfer. Some one already posted on:


https://docs.google.com/spreadsheet/ccc?key=0AqiK6WHnz5FHdEtlalVRb29pX3N2WXhfMlAzNmFMZnc#gid=0

that "Dac's w. VIA 1731" works under EDO.

So maybe I will find here other persons who have connected this DAC by
USB
to Linux device. I don't have at home other device working on Linux to
check this.

Could you check your entries in file
/proc/asound//stream0

device name you can get from
/proc/asound/cards

to check if this USB chip maybe working in asynchronous mode
under other Linux environment and we can modify Squeezebox the
same way.

If result will be negative it seems that firmware for VIA Vinyl Audio
VT1731
chip have to be bugfixed to support asynchronous mode.


The same can be helpful for other dacs. So if your DAC works with EDO
check under:
Settings -> Audio Settings -> Digital Output -> 

the row with Type and add information to the spreadsheet if this
DAC works in Adaptive or Asynchronous mode.



Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=94512

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch


Re: [SlimDevices: Touch] Async USB Dac Experiments - testers wanted...

2012-12-15 Thread Eryk

First of all, thanks Triode for this great applet.

I'm new owner of Audio-gd NFB-1.32 DAC.

Because this DAC sounds better when connected by USB
I tried your applet. Installation was very easy. So far
I only played 16/44 files and have not noticed any problems.

But checking information about USB device in settings (that is
provided by EDO applet) I got information that is operating in
adaptive mode.

As I understand in this mode SBT is master (and his clock)
when sending digital audio to DAC. My DAC is with the upgrade
for USB clock (additional TCXO clock). So going to asynchronous
mode and using this TCXO clock should be a better solution for
sound quality.

Audio-gd advertise this DAC as asynchronous so it seems that
USB chip VIA Vinyl Audio VT1731 should be compatible with the
asynchronous mode. 
http://www.via.com.tw/en/products/audio/usb/vt1731/index.jsp

So after reading posts from this topic I tried to get more info
from SBT. I used WinSCP (I'm a Windows user) to connect to SBT.
For anyone who would like to use this software there is some hint.
Often, I received an error message connected with ssh and groups.
Here is the solution:

go to folder
/usr/bin
press Shift+F4 for creating new file, name it
groups
in editor past following code
#!/bin/sh
echo "root"
save, close editor, when folder will be updated with
new file, go to the properties under right click mouse menu
on this groups file and put
0755
as access rights or you can invoke console Ctrl+T and
put following command
chmod 0755 groups


So I was able now to invoke dmesg on SBT.
Here is the result: http://pastebin.com/fSbppG0g
(you should be able to find it in the attachment too)

Here is the content for /proc/asound/card1/stream0

/proc/asound/card1$ cat stream0
i-top SVB-202D at usb-fsl-ehci.0-1, high speed : USB Audio

Playback:
Status: Running
Interface = 1
Altset = 1
URBs = 3 [ 32 32 32 ]
Packet Size = 768
Momentary freq = 44100 Hz (0x5.8333)
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 4 OUT (ADAPTIVE)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 250 us
Max Packet Size = 768
EP Attribute = 0x0
Interface 1
Altset 2
Format: S24_3LE
Channels: 2
Endpoint: 4 OUT (ADAPTIVE)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 250 us
Max Packet Size = 576
EP Attribute = 0x0
Interface 1
Altset 3
Format: S16_LE
Channels: 2
Endpoint: 4 OUT (ADAPTIVE)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000
Data packet interval: 500 us
Max Packet Size = 768
EP Attribute = 0x0


For WinSCP users - because this is file generated by
system so don't see content by opening this file.
Under console you have to invoke command
cat /proc/asound/card1/stream0


Now is the question. How to enable async mode?
What I have to change in files under SBT? Maybe
I can invoke some command to enable this mode?
Or install additional packages?

If you have any ideas, please send them to me and
I will try them.

Thank you for any help.


+---+
|Filename: dmesg_info.txt   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=14068|
+---+


Eryk's Profile: http://forums.slimdevices.com/member.php?userid=58454
View this thread: http://forums.slimdevices.com/showthread.php?t=93310

___
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch