* [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
@ 2009-09-03 11:42 Amit Kucheria
2009-09-03 11:54 ` Ivo Van Doorn
2009-09-03 11:55 ` John W. Linville
0 siblings, 2 replies; 8+ messages in thread
From: Amit Kucheria @ 2009-09-03 11:42 UTC (permalink / raw)
To: List Linux Kernel; +Cc: linux-wireless, Amit Kucheria, Ivo van Doorn
USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
defined. Remove it from rt2500usb.
Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
Cc: Ivo van Doorn <IvDoorn@gmail.com>
---
drivers/net/wireless/rt2x00/rt2500usb.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index ce75426..2e9fac7 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -2020,7 +2020,6 @@ static struct usb_device_id rt2500usb_device_table[] = {
/* Ralink */
{ USB_DEVICE(0x148f, 0x1706), USB_DEVICE_DATA(&rt2500usb_ops) },
{ USB_DEVICE(0x148f, 0x2570), USB_DEVICE_DATA(&rt2500usb_ops) },
- { USB_DEVICE(0x148f, 0x2573), USB_DEVICE_DATA(&rt2500usb_ops) },
{ USB_DEVICE(0x148f, 0x9020), USB_DEVICE_DATA(&rt2500usb_ops) },
/* Sagem */
{ USB_DEVICE(0x079b, 0x004b), USB_DEVICE_DATA(&rt2500usb_ops) },
--
1.6.3.3
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
2009-09-03 11:42 [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb Amit Kucheria
@ 2009-09-03 11:54 ` Ivo Van Doorn
2009-09-03 12:27 ` Amit Kucheria
2009-09-03 11:55 ` John W. Linville
1 sibling, 1 reply; 8+ messages in thread
From: Ivo Van Doorn @ 2009-09-03 11:54 UTC (permalink / raw)
To: Amit Kucheria; +Cc: List Linux Kernel, linux-wireless
> USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
> defined. Remove it from rt2500usb.
>
> Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
> Cc: Ivo van Doorn <IvDoorn@gmail.com>
NACK
Users have reported that this is a valid rt2500usb ID. You can thank the
manufacturer of the dongle to produce dongles with the same USB ID but
with different chipsets.
Ivo
> ---
> drivers/net/wireless/rt2x00/rt2500usb.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
> index ce75426..2e9fac7 100644
> --- a/drivers/net/wireless/rt2x00/rt2500usb.c
> +++ b/drivers/net/wireless/rt2x00/rt2500usb.c
> @@ -2020,7 +2020,6 @@ static struct usb_device_id rt2500usb_device_table[] = {
> /* Ralink */
> { USB_DEVICE(0x148f, 0x1706), USB_DEVICE_DATA(&rt2500usb_ops) },
> { USB_DEVICE(0x148f, 0x2570), USB_DEVICE_DATA(&rt2500usb_ops) },
> - { USB_DEVICE(0x148f, 0x2573), USB_DEVICE_DATA(&rt2500usb_ops) },
> { USB_DEVICE(0x148f, 0x9020), USB_DEVICE_DATA(&rt2500usb_ops) },
> /* Sagem */
> { USB_DEVICE(0x079b, 0x004b), USB_DEVICE_DATA(&rt2500usb_ops) },
> --
> 1.6.3.3
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
2009-09-03 11:42 [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb Amit Kucheria
2009-09-03 11:54 ` Ivo Van Doorn
@ 2009-09-03 11:55 ` John W. Linville
2009-09-03 14:18 ` Ivo Van Doorn
1 sibling, 1 reply; 8+ messages in thread
From: John W. Linville @ 2009-09-03 11:55 UTC (permalink / raw)
To: Amit Kucheria; +Cc: List Linux Kernel, linux-wireless, Ivo van Doorn
On Thu, Sep 03, 2009 at 02:42:20PM +0300, Amit Kucheria wrote:
> USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
> defined. Remove it from rt2500usb.
>
> Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
> Cc: Ivo van Doorn <IvDoorn@gmail.com>
IIRC there are IDs that are used by different devices where rt73usb
covers one device and the rt2500usb covers another. Are you sure
this is not one of those?
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
2009-09-03 11:54 ` Ivo Van Doorn
@ 2009-09-03 12:27 ` Amit Kucheria
2009-09-03 13:27 ` Johannes Berg
0 siblings, 1 reply; 8+ messages in thread
From: Amit Kucheria @ 2009-09-03 12:27 UTC (permalink / raw)
To: Ivo Van Doorn; +Cc: List Linux Kernel, linux-wireless
On 09 Sep 03, Ivo Van Doorn wrote:
> > USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
> > defined. Remove it from rt2500usb.
> >
> > Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
> > Cc: Ivo van Doorn <IvDoorn@gmail.com>
>
> NACK
>
> Users have reported that this is a valid rt2500usb ID. You can thank the
> manufacturer of the dongle to produce dongles with the same USB ID but
> with different chipsets.
>
> Ivo
Interesting. On my laptop, without this patch both the drivers are loaded
(lsmod), rt2500usb aborts without allocating a device successfully but I am
unable to associate to the AP.
With the patch, I am atleast able to associate to the AP. Perhaps there is
some other side-effect.
Regards,
Amit
> > ---
> > drivers/net/wireless/rt2x00/rt2500usb.c | 1 -
> > 1 files changed, 0 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
> > index ce75426..2e9fac7 100644
> > --- a/drivers/net/wireless/rt2x00/rt2500usb.c
> > +++ b/drivers/net/wireless/rt2x00/rt2500usb.c
> > @@ -2020,7 +2020,6 @@ static struct usb_device_id rt2500usb_device_table[] = {
> > /* Ralink */
> > { USB_DEVICE(0x148f, 0x1706), USB_DEVICE_DATA(&rt2500usb_ops) },
> > { USB_DEVICE(0x148f, 0x2570), USB_DEVICE_DATA(&rt2500usb_ops) },
> > - { USB_DEVICE(0x148f, 0x2573), USB_DEVICE_DATA(&rt2500usb_ops) },
> > { USB_DEVICE(0x148f, 0x9020), USB_DEVICE_DATA(&rt2500usb_ops) },
> > /* Sagem */
> > { USB_DEVICE(0x079b, 0x004b), USB_DEVICE_DATA(&rt2500usb_ops) },
> > --
> > 1.6.3.3
> >
> >
--
-------------------------------------------------------------------------
Amit Kucheria, Kernel Developer, Verdurent
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
2009-09-03 12:27 ` Amit Kucheria
@ 2009-09-03 13:27 ` Johannes Berg
2009-09-03 14:19 ` Ivo Van Doorn
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2009-09-03 13:27 UTC (permalink / raw)
To: Amit Kucheria; +Cc: Ivo Van Doorn, List Linux Kernel, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 908 bytes --]
On Thu, 2009-09-03 at 15:27 +0300, Amit Kucheria wrote:
> On 09 Sep 03, Ivo Van Doorn wrote:
> > > USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
> > > defined. Remove it from rt2500usb.
> > >
> > > Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
> > > Cc: Ivo van Doorn <IvDoorn@gmail.com>
> >
> > NACK
> >
> > Users have reported that this is a valid rt2500usb ID. You can thank the
> > manufacturer of the dongle to produce dongles with the same USB ID but
> > with different chipsets.
> >
> > Ivo
>
> Interesting. On my laptop, without this patch both the drivers are loaded
> (lsmod), rt2500usb aborts without allocating a device successfully but I am
> unable to associate to the AP.
Sounds like the detection logic is somehow messing with the device, or
rt2500usb isn't actually freeing the device for rt73usb to bind?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
2009-09-03 11:55 ` John W. Linville
@ 2009-09-03 14:18 ` Ivo Van Doorn
2009-09-03 15:11 ` Pavel Roskin
0 siblings, 1 reply; 8+ messages in thread
From: Ivo Van Doorn @ 2009-09-03 14:18 UTC (permalink / raw)
To: John W. Linville; +Cc: Amit Kucheria, List Linux Kernel, linux-wireless
On Thu, Sep 3, 2009 at 1:55 PM, John W. Linville<linville@tuxdriver.com> wrote:
> On Thu, Sep 03, 2009 at 02:42:20PM +0300, Amit Kucheria wrote:
>> USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
>> defined. Remove it from rt2500usb.
>>
>> Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
>> Cc: Ivo van Doorn <IvDoorn@gmail.com>
>
> IIRC there are IDs that are used by different devices where rt73usb
> covers one device and the rt2500usb covers another. Are you sure
> this is not one of those?
Yes, I believe this particular ID was already discussed some time ago
on this list. This is one of the infamous duplicate IDs. (Fortunately not
one of those infamous Linksys devices with 5 different chipsets for the
same ID).
Ivo
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
2009-09-03 13:27 ` Johannes Berg
@ 2009-09-03 14:19 ` Ivo Van Doorn
0 siblings, 0 replies; 8+ messages in thread
From: Ivo Van Doorn @ 2009-09-03 14:19 UTC (permalink / raw)
To: Johannes Berg; +Cc: Amit Kucheria, List Linux Kernel, linux-wireless
On Thu, Sep 3, 2009 at 3:27 PM, Johannes Berg<johannes@sipsolutions.net> wrote:
> On Thu, 2009-09-03 at 15:27 +0300, Amit Kucheria wrote:
>> On 09 Sep 03, Ivo Van Doorn wrote:
>> > > USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
>> > > defined. Remove it from rt2500usb.
>> > >
>> > > Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
>> > > Cc: Ivo van Doorn <IvDoorn@gmail.com>
>> >
>> > NACK
>> >
>> > Users have reported that this is a valid rt2500usb ID. You can thank the
>> > manufacturer of the dongle to produce dongles with the same USB ID but
>> > with different chipsets.
>> >
>> > Ivo
>>
>> Interesting. On my laptop, without this patch both the drivers are loaded
>> (lsmod), rt2500usb aborts without allocating a device successfully but I am
>> unable to associate to the AP.
>
> Sounds like the detection logic is somehow messing with the device, or
> rt2500usb isn't actually freeing the device for rt73usb to bind?
That would be odd, I believe it is working with other devices with
duplicate ID's
where first rt2500usb is loaded and then rt73usb. As far as connecting to the
device, the first thing rt2x00 does is reading the EEPROM and checking the
chipset. So no registers are being written which could upset a rt73usb device.
Ivo
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb
2009-09-03 14:18 ` Ivo Van Doorn
@ 2009-09-03 15:11 ` Pavel Roskin
0 siblings, 0 replies; 8+ messages in thread
From: Pavel Roskin @ 2009-09-03 15:11 UTC (permalink / raw)
To: Ivo Van Doorn
Cc: John W. Linville, Amit Kucheria, List Linux Kernel,
linux-wireless
On Thu, 2009-09-03 at 16:18 +0200, Ivo Van Doorn wrote:
> On Thu, Sep 3, 2009 at 1:55 PM, John W. Linville<linville@tuxdriver.com> wrote:
> > On Thu, Sep 03, 2009 at 02:42:20PM +0300, Amit Kucheria wrote:
> >> USB_DEVICE(0x148f, 0x2573) is served by the rt73usb driver where it is already
> >> defined. Remove it from rt2500usb.
> >>
> >> Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
> >> Cc: Ivo van Doorn <IvDoorn@gmail.com>
> >
> > IIRC there are IDs that are used by different devices where rt73usb
> > covers one device and the rt2500usb covers another. Are you sure
> > this is not one of those?
>
> Yes, I believe this particular ID was already discussed some time ago
> on this list. This is one of the infamous duplicate IDs. (Fortunately not
> one of those infamous Linksys devices with 5 different chipsets for the
> same ID).
The famous Linksys devices can be distinguished by the textual PCMCIA
ID. In this case, there is no reliable way to distinguish the devices
without trying the drivers. I tried and could not find any difference
between "lsusb -v" output for the devices said to be supported by
rt2500usb and rt73usb.
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-09-03 15:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-03 11:42 [PATCH] rt2x00: Get rid of duplicate usb id from rt2500usb Amit Kucheria
2009-09-03 11:54 ` Ivo Van Doorn
2009-09-03 12:27 ` Amit Kucheria
2009-09-03 13:27 ` Johannes Berg
2009-09-03 14:19 ` Ivo Van Doorn
2009-09-03 11:55 ` John W. Linville
2009-09-03 14:18 ` Ivo Van Doorn
2009-09-03 15:11 ` Pavel Roskin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).