All of lore.kernel.org
 help / color / mirror / Atom feed
From: JPT <j-p-t@gmx.net>
To: linux-media@vger.kernel.org
Subject: Re: Running Technisat DVB-S2 on ARM-NAS
Date: Sun, 21 Sep 2014 19:28:39 +0200	[thread overview]
Message-ID: <541F0AC7.4010004@gmx.net> (raw)
In-Reply-To: <541EEEAB.10106@iki.fi>

> If I didn't remember wrong, that means allocated buffers are 8 * 32 *
> 2048 = 524288 bytes. It sounds rather big for my taste. Probably even
> wrong. IIRC USB2.0 frames are 1024 and there could be 1-3 frames. You
> could use lsusb with all verbosity levels to see if it is
> 1024/2048/3072. And set value according to that info.

lsusb tells:
    Interface Descriptor:
      Endpoint Descriptor:
        wMaxPacketSize     0x0200  1x 512 bytes
      Endpoint Descriptor:
        wMaxPacketSize     0x0200  1x 512 bytes
      Endpoint Descriptor:
        wMaxPacketSize     0x0200  1x 512 bytes
    Interface Descriptor:
      Endpoint Descriptor:
        wMaxPacketSize     0x0c00  2x 1024 bytes
      Endpoint Descriptor:
        wMaxPacketSize     0x0200  1x 512 bytes
      Endpoint Descriptor:
        wMaxPacketSize     0x0200  1x 512 bytes


But I haven't got any clue about the meaning.
Ask me a question about any bit in the tcp/ip packages, but don't ask me
about USB ;)
Where can I get technical details that are, well... readable without
studing for weeks?

btw, it's attached to a FT1009 USB3.0 SuperSpeed chip.

> So I would recommend
> .count = 6,
> .framesperurb = 8,
> .framesize = 1024,
> 
> Use some testing with error and trial to find out smallest working
> buffers, then add some 20% extra for that.

I set to 8x8x2048 (because max package size is 2x1024)
but w_scan doesn't find any transponder.

What should happen if buffers are too small?

Tommorrow I'll swap the sat cable just to make sure this isn't the cause.

thanks,

Jan

  reply	other threads:[~2014-09-21 17:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-21 14:26 Running Technisat DVB-S2 on ARM-NAS JPT
2014-09-21 14:38 ` Antti Palosaari
2014-09-21 15:10   ` JPT
2014-09-21 15:28     ` Antti Palosaari
2014-09-21 17:28       ` JPT [this message]
2014-09-21 20:45         ` Jannis
2014-09-22  8:26           ` Jan Tisje

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=541F0AC7.4010004@gmx.net \
    --to=j-p-t@gmx.net \
    --cc=linux-media@vger.kernel.org \
    /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.