From: Greg KH <gregkh@suse.de>
To: Jakob Gruber <jakob.gruber@kabelnet.at>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Missing device IDs in rt2870
Date: Wed, 29 Jul 2009 09:16:43 -0700 [thread overview]
Message-ID: <20090729161643.GA6313@suse.de> (raw)
In-Reply-To: <20090729171107.155719b5.jakob.gruber@kabelnet.at>
On Wed, Jul 29, 2009 at 05:11:07PM +0200, Jakob Gruber wrote:
> On Tue, 28 Jul 2009 14:12:16 -0700
> Greg KH <gregkh@suse.de> wrote:
>
> > On Tue, Jul 28, 2009 at 11:01:17PM +0200, Jakob Gruber wrote:
> > > >From http://bugzilla.kernel.org/show_bug.cgi?id=13459#c3
> > >
> > > In rt2870.h, there are 2 lists of USB devices. One is within
> > >
> > > #ifndef RT30xx
> > > #endif
> > >
> > > and the other in
> > >
> > > #ifdef RT30xx
> > > #endif
> >
> > That kind of implies that the 2870 driver should not support this
> > device, right?
>
> I think there's been a misunderstanding - I wasn't saying that the
> device ID is included in one block but not in another. I wanted to
> point out that I wasn't sure whether to add the ID to both lists or
> just the first one.
Ah, ok. It looks like you just need the first one.
> > > Since I'm not sure whether to add the devices to both lists or only the first,
> > > I'm posting a patch for both variations.
> > >
> > > Patch 1, add devices only to first list:
> >
> > Well, pick one :)
> >
> > I'd prefer someone with one of these devices to test the patch and
> > verify that it works before blindly applying. Fair enough?
>
> I own the Belkin device in question (0x050D,0x815C), and it worked
> perfectly with kernel 2.6.29 after adding the device ID to rt2870.h.
> The patch is also included in the Archlinux kernel, see
> http://projects.archlinux.org/?p=linux-2.6-ARCH.git;a=tree;f=patches;hb=HEAD
>
> I haven't tested rt2870 in 2.6.30 thoroughly because of this bug
> (http://bugzilla.kernel.org/show_bug.cgi?id=13638), which forces me to
> use the driver from the Ralink website instead of the kernel module.
> However, I can confirm that - until running into the bug - the Belkin
> card also works in 2.6.30.
Ah, that sucks. I should revert that patch, if you do that, does the
device work properly for you?
> A patch for adding the Belkin device ID is attached. I removed the
> other 2 IDs from http://bugzilla.kernel.org/show_bug.cgi?id=13459
> since I do not own these devices and cannot verify them. The ID is
> only added to the "#ifndef RT30xx" block, same as the patch applied to
> the Archlinux kernel.
I'll take the other two ids, now that it makes more sense.
Care to respin with the 2 new ids, and add a "Signed-off-by:" to the
patch so I can properly apply it?
thanks,
greg k-h
next prev parent reply other threads:[~2009-07-29 16:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-28 21:01 Missing device IDs in rt2870 Jakob Gruber
2009-07-28 21:12 ` Greg KH
2009-07-29 15:11 ` Jakob Gruber
2009-07-29 16:16 ` Greg KH [this message]
2009-07-30 18:37 ` Jakob Gruber
2009-07-30 19:51 ` Greg KH
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=20090729161643.GA6313@suse.de \
--to=gregkh@suse.de \
--cc=jakob.gruber@kabelnet.at \
--cc=linux-kernel@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