All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Lee <lee188@singnet.com.sg>
To: Julian Scheel <julian@jusst.de>
Cc: alsa-devel@alsa-project.org, Daniel Mack <daniel@caiaq.de>
Subject: Re: USB asynchronous mode feedback format
Date: Fri, 15 Oct 2010 21:31:50 +0800	[thread overview]
Message-ID: <1287149510.2344.8.camel@desktop-alex> (raw)
In-Reply-To: <201010151504.56742.julian@jusst.de>

On Fri, 2010-10-15 at 15:04 +0200, Julian Scheel wrote:

> Ah right, thanks.
> Well now I swapped data[1] and data[2]. When monitoring the amount of data I 
> get per read, it is constant at 192bytes, which would be expected for feedback 
> ratio of 48, right? But if I have 0x06 to 0x07 for example I do still get 
> exactly 192bytes per read, shouldn't I get less data in that case? (I always 
> try to read up to MAXPACKETSIZE which is 512, btw)

Suggest:

(1) The feedback rate has to fall withing +/- 10% of the nominal rate.
Otherwise it is ignored.

(2) You need to find out exactly how many samples the host sends you.
Look at my sdr-widget code, for example.  Then you read what the host
sends you.

(3) Do a > dmesg | tail 
    after unplugging and plugging your USB device in.  Then you can see
whether there are any errors in your syncpipe

btw, what is your Linux kernel version?

Alex

  reply	other threads:[~2010-10-15 13:31 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  8:47 USB asynchronous mode feedback format lee188
2010-10-14 10:27 ` Julian Scheel
2010-10-14 10:48   ` Daniel Mack
2010-10-14 11:01     ` Julian Scheel
2010-10-14 11:16       ` Daniel Mack
2010-10-14 11:32         ` Julian Scheel
2010-10-14 12:06           ` Daniel Mack
2010-10-14 12:30             ` Julian Scheel
2010-10-14 12:33               ` Daniel Mack
2010-10-14 12:56                 ` Julian Scheel
2010-10-14 15:10         ` Julian Scheel
2010-10-14 15:33           ` Alex Lee
2010-10-14 15:39           ` Daniel Mack
2010-10-14 15:54             ` Julian Scheel
2010-10-14 16:11               ` Daniel Mack
2010-10-14 20:14                 ` Julian Scheel
2010-10-15  8:59             ` Julian Scheel
2010-10-15  9:03               ` Daniel Mack
2010-10-18 16:53                 ` Julian Scheel
     [not found]     ` <3879AFD1-61E6-47FB-8ECB-8A7D7B233B3B@singnet.com.sg>
2010-10-14 11:44       ` Julian Scheel
2010-10-14 11:56         ` Daniel Mack
2010-10-14 11:58       ` Julian Scheel
2010-10-14 15:28         ` Alex Lee
2010-10-14 15:43           ` Julian Scheel
2010-10-15 12:08           ` Julian Scheel
2010-10-15 12:52             ` Alex Lee
2010-10-15 13:04               ` Julian Scheel
2010-10-15 13:31                 ` Alex Lee [this message]
2010-10-15 14:24                   ` Julian Scheel
2010-10-15 14:34                     ` Clemens Ladisch
2010-10-16 10:23                       ` Julian Scheel
2010-10-15 14:41                     ` Alex Lee
2010-10-15 17:16                       ` Julian Scheel
2010-10-15 17:19                         ` Julian Scheel
2010-10-16  1:52                           ` Alex Lee
2010-10-16 10:25                             ` Julian Scheel
2010-10-16 13:58                               ` Alex Lee
2010-10-16 16:30                                 ` Julian Scheel
2010-10-16 18:52                                   ` Julian Scheel
2010-10-17 10:53                                     ` Julian Scheel
2010-10-17 11:16                                       ` Alex Lee
  -- strict thread matches above, loose matches on Subject: below --
2010-10-13 15:50 Julian Scheel
2010-10-14  1:28 ` Alex
2010-10-14  5:57   ` Julian Scheel
2010-10-14  6:25     ` Alex
2010-10-14  8:46     ` lee188

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1287149510.2344.8.camel@desktop-alex \
    --to=lee188@singnet.com.sg \
    --cc=alsa-devel@alsa-project.org \
    --cc=daniel@caiaq.de \
    --cc=julian@jusst.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.