public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Florian Streibelt <florian@inet.tu-berlin.de>
Cc: linux-media@vger.kernel.org
Subject: Re: CX23103  Video Grabber seems to be supported by cx231xx  driver
Date: Sun, 14 Jul 2013 11:23:46 +0200	[thread overview]
Message-ID: <51E26E22.8050005@xs4all.nl> (raw)
In-Reply-To: <20130712182632.667842dc@fls-nb.lan.streibelt.net>

Hi Florian,

On 07/12/2013 06:26 PM, Florian Streibelt wrote:
> Hi,
> 
> the chip CX23103 that is used in various devices sold e.g. in germany works with the cx231xx stock driver.
> 
> The author of that driver is not reachable via the email adress stated in the source file: srinivasa.deevi@conexant.com
> [ host cnxtsmtp1.conexant.com [198.62.9.252]: 550 5.1.1 <srinivasa.deevi@conexant.com>:  Recipient address rejected: User unknown in relay recipient table]

Yeah, I suspect he left Conexant. For all practical purposes that leaves me as
the maintainer for my sins.

> 
> In drivers/media/video/cx231xx/cx231xx-cards.c the struct usb_device_id cx231xx_id_table[] needs these lines added:
> 
>    {USB_DEVICE(0x1D19, 0x6109),
>    .driver_info = CX231XX_BOARD_PV_XCAPTURE_USB},

That looks OK.

> While the change is minimal due to the fact that no real technical documentation is available on the chip the support was guessed - but worked for video.
> 
> The videostream can pe played using mplayer tv:///0  - proof: http://streibelt.de/blog/2013/06/23/kernel-patch-for-cx23103-video-grabber-linux-support/
> 
> However when trying to capture audio using audacity while playing the video stream in mplayer my system locked (no message in syslog, complete freeze). 

I've no idea what is happening here. It has probably to do with the board setup,
although there isn't all that much that you can change there that relates to audio.

Try using 'arecord' instead of audicity. The arecord tool is more low-level, so
it will be interesting to know if it behaves differently.

Besides that the only thing I can think of is just to try and add printk's to
cx231xx-audio.c and see where things go boom.

A useful trick there is to add a mdelay(5) or so after the printk to give the
system time to write to the kernel log.

Be aware that I consider this driver to be flaky, so I would not at all be
surprised if there are bugs lurking in the code.

Regards,

	Hans

> I posted this one month ago to this list without any reaction so I ask if this is the correct way to get that grabber really supported.
> 
> I am willing to do any tests neccessary and try out patches.


  reply	other threads:[~2013-07-14  9:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 16:26 CX23103 Video Grabber seems to be supported by cx231xx driver Florian Streibelt
2013-07-14  9:23 ` Hans Verkuil [this message]
2013-07-14 13:23   ` Florian Streibelt
2013-07-14 13:41     ` Devin Heitmueller
2013-07-14 23:21       ` Florian Streibelt

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=51E26E22.8050005@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=florian@inet.tu-berlin.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox