Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1350619

[PATCH] Fix Terratec Grabby AC97 codec detection

From Matthieu Rogez <matthieu.rogez@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] Fix Terratec Grabby AC97 codec detection
Date 2016-03-04 22:40 +0100
Message-ID <r95C1-4Cy-7@gated-at.bofh.it> (permalink)
References <r8Fey-21e-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Thanks Mauro for commenting on my work.
With respect to first version, I've:
* added a timeout mecanism as requested
* added an extra check to avoid cases when the same value is constantly
returned no matter which register is accessed.

---

To test this:
* modprobe em28xx-alsa
* connect Grabby
* mplayer tv:// -tv driver=v4l2:width=720:height=576:device=/dev/video1:input=0:fps=25:norm=SECAM-L:alsa:adevice=plughw.2:audiorate=48000:forceaudio:amode=1:immediatemode=0 -nocache -fps 60

NOTE: for some unknown reason, if em28xx-alsa is not loaded when Grabby is
connected, there will be no sound.
NOTE2: if Grabby is connected without loading em28xx-alsa first, just deconnect
the Grabby and reconnect it.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] Fix Terratec Grabby AC97 codec detection Matthieu Rogez <matthieu.rogez@gmail.com> - 2016-03-04 22:40 +0100

csiph-web