Skip to contentSkip to conversation

rt3070 fails to initialize with rt2800usb

rt2x00 Walter 2 participants 4 messages Apr 17, 2010

lore
Share & tools
lore

Walter

author
#0 lore raw

I've been monitoring the community's work for the rt3070 chips and especially your recent success towards improving the driver.

I would like to share something with the rt2x00 development team which may or may not be known.

The rt3070 card I own fails to initialize with the latest (working) compat-wireless release. When I plug the USB card, rt2800usb doesn't automatically load and when I manually modprobe the driver it does not recognize it as well.

Looking in to the rt2800usb.c file I found the 'problem'. The VIDs aren't properly set. Mine shows 148f:3070. Although a line is included in the "#ifdef CONFIG_RT2800USB_RT30XX", the module won't initialize the card.

I fixed the problem by adding my device here:

	/* Ralink */
	{ USB_DEVICE(0x148f, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) },
	{ USB_DEVICE(0x148f, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) },
	/* Samsung */ 

which now looks like:

	/* Ralink */
	{ USB_DEVICE(0x148f, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) },
	{ USB_DEVICE(0x148f, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) },
        { USB_DEVICE(0x148f, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) },
	/* Samsung */

This pertains to the rt3071 as well.

Regards.

#1 lore raw
Quoted 17 lines · Walter

I've been monitoring the community's work for the rt3070 chips and especially your recent success towards improving the driver.

I would like to share something with the rt2x00 development team which may or may not be known.

The rt3070 card I own fails to initialize with the latest (working) compat-wireless release. When I plug the USB card, rt2800usb doesn't automatically load and when I manually modprobe the driver it does not recognize it as well.

Looking in to the rt2800usb.c file I found the 'problem'. The VIDs aren't properly set. Mine shows 148f:3070. Although a line is included in the "#ifdef CONFIG_RT2800USB_RT30XX", the module won't initialize the card.

I fixed the problem by adding my device here:

	/* Ralink */
	{ USB_DEVICE(0x148f, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) },
	{ USB_DEVICE(0x148f, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) },
	/* Samsung */ 

which now looks like:

Quoted 7 lines
	/* Ralink */
	{ USB_DEVICE(0x148f, 0x2770), USB_DEVICE_DATA(&rt2800usb_ops) },
	{ USB_DEVICE(0x148f, 0x2870), USB_DEVICE_DATA(&rt2800usb_ops) },
        { USB_DEVICE(0x148f, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) },
	/* Samsung */

This pertains to the rt3071 as well.

That USB ID is already known, did you compile the driver with support for CONFIG_RT2800USB_RT30XX enabled?

Ivo

author
#2 lore raw
Quoted 47 lines

From: Ivo van Doorn <[email protected]>
Subject: Re: [rt2x00] rt3070 fails to initialize with rt2800usb
To: "Walter" <[email protected]>
Cc: [email protected], [email protected]
Date: Saturday, April 17, 2010, 8:45 AM

Quoted 1 line · Walter

I've been monitoring the community's work for the

rt3070 chips and especially your recent success towards improving the driver.

Quoted 2 lines

I would like to share something with the rt2x00

development team which may or may not be known.

Quoted 2 lines

The rt3070 card I own fails to initialize with the

latest (working) compat-wireless release. When I plug the USB card, rt2800usb doesn't automatically load and when I manually modprobe the driver it does not recognize it as well.

Quoted 2 lines

Looking in to the rt2800usb.c file I found the

'problem'. The VIDs aren't properly set. Mine shows 148f:3070. Although a line is included in the "#ifdef CONFIG_RT2800USB_RT30XX", the module won't initialize the card.

Quoted 5 lines

I fixed the problem by adding my device here:

    /* Ralink */
    { USB_DEVICE(0x148f, 0x2770),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 1 line

    { USB_DEVICE(0x148f, 0x2870),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 6 lines

    /* Samsung */

which now looks like:

    /* Ralink */
    { USB_DEVICE(0x148f, 0x2770),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 1 line

    { USB_DEVICE(0x148f, 0x2870),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 1 line

         {

USB_DEVICE(0x148f, 0x3070),
USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 2 lines

    /* Samsung */

Quoted 7 lines
Quoted 1 line

This pertains to the rt3071 as well.

That USB ID is already known, did you compile the driver with support
for CONFIG_RT2800USB_RT30XX enabled?

Ivo

Yes, compat-wireless ships with ''CONFIG_RT2800USB_RT30XX=y'' in config.mk, but the card's VIDs aren't shown in modinfo rt2800usb when compiled, thus the module doesn't recognize the card at all. The only workaround I rustled up is the above mentioned one.

#3 lore raw
Quoted 49 lines · Walter
Quoted 49 lines

From: Ivo van Doorn <[email protected]>
Subject: Re: [rt2x00] rt3070 fails to initialize with rt2800usb
To: "Walter" <[email protected]>
Cc: [email protected], [email protected]
Date: Saturday, April 17, 2010, 8:45 AM

Quoted 1 line · Walter

I've been monitoring the community's work for the

rt3070 chips and especially your recent success towards improving the driver.

Quoted 2 lines

I would like to share something with the rt2x00

development team which may or may not be known.

Quoted 2 lines

The rt3070 card I own fails to initialize with the

latest (working) compat-wireless release. When I plug the USB card, rt2800usb doesn't automatically load and when I manually modprobe the driver it does not recognize it as well.

Quoted 2 lines

Looking in to the rt2800usb.c file I found the

'problem'. The VIDs aren't properly set. Mine shows 148f:3070. Although a line is included in the "#ifdef CONFIG_RT2800USB_RT30XX", the module won't initialize the card.

Quoted 5 lines

I fixed the problem by adding my device here:

    /* Ralink */
    { USB_DEVICE(0x148f, 0x2770),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 1 line

    { USB_DEVICE(0x148f, 0x2870),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 6 lines

    /* Samsung */

which now looks like:

    /* Ralink */
    { USB_DEVICE(0x148f, 0x2770),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 1 line

    { USB_DEVICE(0x148f, 0x2870),

USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 1 line

         {

USB_DEVICE(0x148f, 0x3070),
USB_DEVICE_DATA(&rt2800usb_ops) },

Quoted 3 lines

    /* Samsung */

This pertains to the rt3071 as well.

Quoted 7 lines
Quoted 5 lines

That USB ID is already known, did you compile the driver with support
for CONFIG_RT2800USB_RT30XX enabled?

Ivo

Yes, compat-wireless ships with ''CONFIG_RT2800USB_RT30XX=y'' in config.mk, but the card's VIDs aren't shown in modinfo rt2800usb when compiled, thus the module doesn't recognize the card at all. The only workaround I rustled up is the above mentioned one.

Thats odd, in compar-wireless, it already contains the lines:

#ifdef CONFIG_RT2800USB_RT30XX
	<..snip..>
	/* Ralink */
	{ USB_DEVICE(0x148f, 0x2070), USB_DEVICE_DATA(&rt2800usb_ops) },
	{ USB_DEVICE(0x148f, 0x3070), USB_DEVICE_DATA(&rt2800usb_ops) },
	{ USB_DEVICE(0x148f, 0x3071), USB_DEVICE_DATA(&rt2800usb_ops) },
	{ USB_DEVICE(0x148f, 0x3072), USB_DEVICE_DATA(&rt2800usb_ops) },
	<..snip..>

#endif

So adding the USB ID does not need to be added.

Ivo