All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Javier Conti <av@labcc.ch>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Fix for dell inspiron 8100 maestro3
Date: Mon, 19 May 2003 13:24:21 +0200	[thread overview]
Message-ID: <s5hznljch7e.wl@alsa2.suse.de> (raw)
In-Reply-To: <200305170445.13074.av@labcc.ch>

At Sat, 17 May 2003 04:45:12 +0200,
Javier Conti wrote:
> 
> [1  <text/plain; iso-8859-1 (7bit)>]
> On Friday 16 May 2003 17:01, Takashi Iwai wrote:
> > are you sure that the patch is correct?
> > your patch adds the same vendor an device id with the existing
> > inspiron 8000 (1028:00a4).
> 
> Ok, I found the correct values, repatched and now the modules tells me the 
> hack is enabled. With the other values, that didn't happen. Seen that, I 
> tried to recompile a vanilla alsa-driver version, to see if my previous patch 
> was doing some difference. The weird thing is that it still didn't work!
> I'm puzzled, since the wrong patch fixed the problem anyway...

ok, i'll add your patch.

the irda_workaround field specifies that the workaround for touching
the bit 0x10 of GPIO direction.  depending on the device, the GPIO
direction for the same purpose might be different.

about debugging this problem:

please check the register GPIO_DIRECTION by adding printk() around
line 1922 of maestro3.c, such as

	for (i = 0; i < 5; i++) {
		dir = inw(io + GPIO_DIRECTION);
==>		printk("GPIO_DIRECTION = 0x%x\n", dir);
		if (! chip->quirk || ! chip->quirk->irda_workaround)

and compare the values between the working and non-working states.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge

  reply	other threads:[~2003-05-19 11:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-16 14:32 Fix for dell inspiron 8100 maestro3 Javier Conti
2003-05-16 15:01 ` Takashi Iwai
2003-05-17  1:58   ` Javier Conti
2003-05-17  2:45   ` Javier Conti
2003-05-19 11:24     ` Takashi Iwai [this message]
2003-05-20 13:01     ` Takashi Iwai

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=s5hznljch7e.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=av@labcc.ch \
    /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.