Linux Media Controller development
 help / color / mirror / Atom feed
From: Dominic Fernandes <dalf198@yahoo.com>
To: hermann pitton <hermann-pitton@arcor.de>
Cc: linux-media@vger.kernel.org
Subject: Re: Compile error saa7134 - compro videomate S350
Date: Fri, 27 Nov 2009 02:12:42 -0800 (PST)	[thread overview]
Message-ID: <214960.24182.qm@web110609.mail.gq1.yahoo.com> (raw)
In-Reply-To: <1259172867.3335.7.camel@pc07.localdom.local>

Hi Hermann,

> unload the driver with "modprobe -vr saa7134-alsa saa7134-dvb".

When I tried this I got the message "FATAL: saa7134-alsa is in use" (or something like that).

>You might have to close mixers using saa7134-alsa previously.
> With "modinfo saa7134" you get available options.

I wasn't sure what to look for here, there was a lot of info. being displayed.

I carried on with "modprobe -v saa7134 card=169" command.  I ran dmesg to see the status of the card.  It did get the card id 169 but the board decription came up as unknown instead of the name of the videomate S350.  Is this expected?

The modification of the GPIO address "Instead of 0x8000 used in Jan's patch, use 0xC000 for GPIO setup" I'm not sure what I changed was the correct value.  Looking at the code lines I found relate to the Remote that I had changed (saa7134-cards.c):


+	case SAA7134_BOARD_VIDEOMATE_S350:
+		dev->has_remote = SAA7134_REMOTE_GPIO;
+		saa_andorl(SAA7134_GPIO_GPMODE0 >> 2,   0x00008000, 0x00008000);
+		saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
+		break;

Which leads to the question where the GPIO address of 0x8000 is currently specified?


Thanks,
Dominic




----- Original Message ----
From: hermann pitton <hermann-pitton@arcor.de>
To: Dominic Fernandes <dalf198@yahoo.com>
Cc: linux-media@vger.kernel.org
Sent: Wed, November 25, 2009 6:14:27 PM
Subject: Re: Compile error saa7134 - compro videomate S350

Hi Dominic,

Am Mittwoch, den 25.11.2009, 08:31 -0800 schrieb Dominic Fernandes:
> Hi Hermann,
> 
> Thanks for your reply.  I'm a little lost in what to do next.
> 
> How do I force the card to be recongised as card 169 (the compro videomate S350) instead of card 139?

unload the driver with "modprobe -vr saa7134-alsa saa7134-dvb".

You might have to close mixers using saa7134-alsa previously.
With "modinfo saa7134" you get available options.

With "modprobe -v saa7134 card=169" you can force that card then.

If we disable the T750 auto detection in saa7134-cards.c, both have to
force the correct card number.

Cheers,
Hermann


      


  reply	other threads:[~2009-11-27 10:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 18:01 Compile error saa7134 - compro videomate S350 Dominic Fernandes
2009-11-24  1:12 ` hermann pitton
2009-11-24 18:01   ` Dominic Fernandes
2009-11-25  0:08     ` hermann pitton
2009-11-25 16:31       ` Dominic Fernandes
2009-11-25 18:14         ` hermann pitton
2009-11-27 10:12           ` Dominic Fernandes [this message]
2009-11-27 22:14             ` hermann pitton
2009-11-27 22:59               ` Dominic Fernandes
2009-11-27 23:14                 ` hermann pitton
2009-11-29  1:30                   ` Dominic Fernandes
2009-11-30  1:29                     ` hermann pitton
2009-11-30 22:35                       ` Dominic Fernandes
2009-12-02  0:21                         ` hermann pitton

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=214960.24182.qm@web110609.mail.gq1.yahoo.com \
    --to=dalf198@yahoo.com \
    --cc=hermann-pitton@arcor.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