Ralink rt3070sta usb wifi device driver

For drivers and kernel modules.
Message
Author
User avatar
stevsurf
Posts: 11
Joined: Sun 14 Mar 2010, 11:55
Location: Winchester, UK

Tenda Model W541U V2.0

#31 Post by stevsurf »

I have Puppy Linux 4.3.1 with the following installed
pup_event_backend_modprobe_fix_to_p43x-1.pet
lameWiFi-0.3.4a.pet
rt3070sta-k26305-2.1.2.0-i486.pet

but #iwconfig does not show any devices.

Pleased can someone suggest what else I need to do to be able to see myTenda Model W541U V2.0 USB device.
Thank you

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#32 Post by tempestuous »

stevsurf wrote:I have Puppy Linux 4.3.1 with the following installed
...
rt3070sta-k26305-2.1.2.0-i486.pet
That's not the driver I recommended. My version of the rt3070sta driver (rt3070sta-v2.1.2.0-k2.6.30.5.pet) includes:
- a modules preference configuration file, to avoid a conflict with the rt2870sta driver
- WPA compatibility in the Network Wizard
- recognition of 2 extra USB device ID's
- correct firmware.

If, after installing this driver and rebooting, you still have no success, we need to see the output of your "dmesg" command.
Also, the result of "ifconfig -a" would be helpful. (That's "ifconfig" not "iwconfig")

User avatar
stevsurf
Posts: 11
Joined: Sun 14 Mar 2010, 11:55
Location: Winchester, UK

#33 Post by stevsurf »

tempestuous wrote: That's not the driver I recommended. My version of the rt3070sta driver (rt3070sta-v2.1.2.0-k2.6.30.5.pet) includes:
- a modules preference configuration file, to avoid a conflict with the rt2870sta driver
- WPA compatibility in the Network Wizard
- recognition of 2 extra USB device ID's
- correct firmware.

If, after installing this driver and rebooting, you still have no success, we need to see the output of your "dmesg" command.
Also, the result of "ifconfig -a" would be helpful. (That's "ifconfig" not "iwconfig")
Still no success after changing the rt3070sta driver.
my dmesg output is
0005ff0
HighMem 0x00005ff0 -> 0x00005ff0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x0000009f
0: 0x00000100 -> 0x00005ff0
On node 0 totalpages: 24463
free_area_init_node: node 0, pgdat c053cbe0, node_mem_map c1000000
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3967 pages, LIFO batch:0
Normal zone: 160 pages used for memmap
Normal zone: 20304 pages, LIFO batch:3
Using APIC driver default
ACPI: PM-Timer IO Port: 0x1008
SMP: Allowing 1 CPUs, 0 hotplug CPUs
Local APIC disabled by BIOS -- you can enable it with "lapic"
nr_irqs_gsi: 16
Allocating PCI resources starting at 10000000 (gap: 6000000:f9f80000)
NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 10 pages at c10c3000, static data 20428 bytes
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24271
Kernel command line: root=/dev/sda1 ro vga=normal
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
NR_IRQS:384
PID hash table entries: 512 (order: 9, 2048 bytes)
Fast TSC calibration using PIT
Detected 597.049 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Initializing HighMem for node 0 (00000000:00000000)
Memory: 91704k/98240k available (3179k kernel code, 6076k reserved, 1231k data, 336k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfff82000 - 0xfffff000 ( 500 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xc67f0000 - 0xff7fe000 ( 912 MB)
lowmem : 0xc0000000 - 0xc5ff0000 ( 95 MB)
.init : 0xc0556000 - 0xc05aa000 ( 336 kB)
.data : 0xc041ad14 - 0xc054ebe8 (1231 kB)
.text : 0xc0100000 - 0xc041ad14 (3179 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
Calibrating delay loop (skipped), value calculated using timer frequency.. 1194.09 BogoMIPS (lpj=2388196)
Mount-cache hash table entries: 512
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 15k freed
ACPI: Core revision 20090320
ACPI: setting ELCR to 0200 (from 0420)
weird, boot CPU (#0) not listed by the BIOS.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
SMP disabled
Brought up 1 CPUs
Total of 1 processors activated (1194.09 BogoMIPS).
net_namespace: 948 bytes
NET: Registered protocol family 16
EISA bus registered
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd9ae, last bus=1
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S5)
ACPI: Using PIC for interrupt routing
ACPI: EC: GPE = 0x9, I/O: command/status = 0x66, data = 0x62
ACPI: EC: driver started in poll mode
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:00.0: reg 10 32bit mmio: [0xe0000000-0xe3ffffff]
pci 0000:00:04.0: reg 10 32bit mmio: [0x000000-0x000fff]
pci 0000:00:04.0: supports D1 D2
pci 0000:00:04.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:04.0: PME# disabled
pci 0000:00:04.1: reg 10 32bit mmio: [0x000000-0x000fff]
pci 0000:00:04.1: supports D1 D2
pci 0000:00:04.1: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:04.1: PME# disabled
pci 0000:00:07.1: reg 20 io port: [0x1050-0x105f]
pci 0000:00:07.2: reg 20 io port: [0x1060-0x107f]
pci 0000:00:07.3: quirk: region 1000-103f claimed by PIIX4 ACPI
pci 0000:00:07.3: quirk: region 1040-104f claimed by PIIX4 SMB
pci 0000:00:08.0: reg 10 32bit mmio: [0xfc010000-0xfc010fff]
pci 0000:00:08.0: reg 14 32bit mmio: [0xfc000000-0xfc00ffff]
pci 0000:00:08.0: supports D1 D2
pci 0000:00:08.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:08.0: PME# disabled
pci 0000:00:10.0: reg 10 32bit mmio: [0xfc011000-0xfc0110ff]
pci 0000:00:10.0: reg 14 io port: [0x1080-0x1087]
pci 0000:00:10.0: reg 18 io port: [0x1400-0x14ff]
pci 0000:00:10.0: PME# supported from D3hot D3cold
pci 0000:00:10.0: PME# disabled
pci 0000:01:00.0: reg 10 32bit mmio: [0xfd000000-0xfdffffff]
pci 0000:01:00.0: reg 14 io port: [0x2000-0x20ff]
pci 0000:01:00.0: reg 18 32bit mmio: [0xfc100000-0xfc100fff]
pci 0000:01:00.0: reg 30 32bit mmio: [0x000000-0x01ffff]
pci 0000:01:00.0: supports D1 D2
pci 0000:00:01.0: bridge io port: [0x2000-0x2fff]
pci 0000:00:01.0: bridge 32bit mmio: [0xfc100000-0xfdffffff]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 *5 7 9 10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs *10)
SCSI subsystem initialized
libata version 3.00 loaded.
PCI: Using ACPI for IRQ routing
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
system 00:01: ioport range 0x1000-0x103f has been reserved
system 00:01: ioport range 0x1040-0x104f has been reserved
system 00:01: ioport range 0x3810-0x381f has been reserved
pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
pci 0000:00:01.0: IO window: 0x2000-0x2fff
pci 0000:00:01.0: MEM window: 0xfc100000-0xfdffffff
pci 0000:00:01.0: PREFETCH window: 0x00000020000000-0x000000200fffff
pci 0000:00:04.0: CardBus bridge, secondary bus 0000:02
pci 0000:00:04.0: IO window: 0x001800-0x0018ff
pci 0000:00:04.0: IO window: 0x001c00-0x001cff
pci 0000:00:04.0: PREFETCH window: 0x10000000-0x13ffffff
pci 0000:00:04.0: MEM window: 0x14000000-0x17ffffff
pci 0000:00:04.1: CardBus bridge, secondary bus 0000:06
pci 0000:00:04.1: IO window: 0x003000-0x0030ff
pci 0000:00:04.1: IO window: 0x003400-0x0034ff
pci 0000:00:04.1: PREFETCH window: 0x18000000-0x1bffffff
pci 0000:00:04.1: MEM window: 0x1c000000-0x1fffffff
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
pci 0000:00:04.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
pci 0000:00:04.1: PCI INT B -> Link[LNKB] -> GSI 10 (level, low) -> IRQ 10
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
pci_bus 0000:01: resource 0 io: [0x2000-0x2fff]
pci_bus 0000:01: resource 1 mem: [0xfc100000-0xfdffffff]
pci_bus 0000:01: resource 2 pref mem [0x20000000-0x200fffff]
pci_bus 0000:02: resource 0 io: [0x1800-0x18ff]
pci_bus 0000:02: resource 1 io: [0x1c00-0x1cff]
pci_bus 0000:02: resource 2 pref mem [0x10000000-0x13ffffff]
pci_bus 0000:02: resource 3 mem: [0x14000000-0x17ffffff]
pci_bus 0000:06: resource 0 io: [0x3000-0x30ff]
pci_bus 0000:06: resource 1 io: [0x3400-0x34ff]
pci_bus 0000:06: resource 2 pref mem [0x18000000-0x1bffffff]
pci_bus 0000:06: resource 3 mem: [0x1c000000-0x1fffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
Simple Boot Flag at 0x37 set to 0x1
NTFS driver 2.1.29 [Flags: R/W].
msgmni has been set to 179
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
pci 0000:01:00.0: Boot video device
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Switched to high resolution mode on CPU 0
Real Time Clock Driver v1.12b
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
brd: module loaded
loop: module loaded
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ata_piix 0000:00:07.1: version 2.13
ata_piix 0000:00:07.1: power state changed by ACPI to D0
scsi0 : ata_piix
scsi1 : ata_piix
ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0x1050 irq 14
ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0x1058 irq 15
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:MOUE] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP cubic registered
NET: Registered protocol family 17
Using IPI No-Shortcut mode
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
ata1.00: ATA-5: FUJITSU MHK2060AT, D836, max UDMA/66
ata1.00: 11733120 sectors, multi 16: LBA
ata1.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access ATA FUJITSU MHK2060A D836 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 11733120 512-byte hardware sectors: (6.00 GB/5.59 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
ata2.01: NODEV after polling detection
ata2.00: ATAPI: SR243T, L01F, max UDMA/33
ata2.00: configured for UDMA/33
scsi 1:0:0:0: CD-ROM MITSUMI CD-ROM SR243T L01F PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input1
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with writeback data mode.
VFS: Mounted root (ext3 filesystem) readonly on device 8:1.
Freeing unused kernel memory: 336k freed
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda1, internal journal
udevd version 124 started
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
ACPI: Power Button [PWRF]
Marking TSC unstable due to TSC halts in idle
input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3
ACPI: Lid Switch [LID]
input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
ACPI: Power Button [PWBN]
ACPI: AC Adapter [ACAD] (on-line)
ACPI: CPU0 (power states: C1[C1] C2[C2])
processor ACPI_CPU:00: registered as cooling_device0
ACPI: Processor [CPU0] (supports 8 throttling states)
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
yenta_cardbus 0000:00:04.0: CardBus bridge found [1179:ff00]
yenta_cardbus 0000:00:04.0: Enabling burst memory read transactions
yenta_cardbus 0000:00:04.0: Using CSCINT to route CSC interrupts to PCI
yenta_cardbus 0000:00:04.0: Routing CardBus interrupts to PCI
yenta_cardbus 0000:00:04.0: TI: mfunc 0x00c01d22, devctl 0x66
Linux agpgart interface v0.103
yenta_cardbus 0000:00:04.0: ISA IRQ mask 0x0838, PCI irq 10
yenta_cardbus 0000:00:04.0: Socket status: 30000010
agpgart-intel 0000:00:00.0: Intel 440BX Chipset
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xe0000000
yenta_cardbus 0000:00:04.1: CardBus bridge found [1179:ff00]
yenta_cardbus 0000:00:04.1: Using CSCINT to route CSC interrupts to PCI
yenta_cardbus 0000:00:04.1: Routing CardBus interrupts to PCI
yenta_cardbus 0000:00:04.1: TI: mfunc 0x00c01d22, devctl 0x66
yenta_cardbus 0000:00:04.1: ISA IRQ mask 0x0838, PCI irq 10
yenta_cardbus 0000:00:04.1: Socket status: 30000006
pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
martian loaded - 20080620
martian 0000:00:10.0: power state changed by ACPI to D0
martian 0000:00:10.0: enabling device (0000 -> 0003)
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
martian 0000:00:10.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, low) -> IRQ 10
IRQ 10/164x: IRQF_DISABLED is not guaranteed on shared IRQs
martian: added device 11c1:450 BaseAddress = 0x1400, CommAddres = 0x1080, irq = 10
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
ACPI: Battery Slot [BAT1] (battery present)
usbcore: registered new device driver usb
uhci_hcd: USB Universal Host Controller Interface driver
uhci_hcd 0000:00:07.2: power state changed by ACPI to D0
uhci_hcd 0000:00:07.2: enabling device (0000 -> 0001)
uhci_hcd 0000:00:07.2: PCI INT D -> Link[LNKD] -> GSI 10 (level, low) -> IRQ 10
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 10, io base 0x00001060
usb usb1: configuration #1 chosen from 1 choice
input: PC Speaker as /devices/platform/pcspkr/input/input5
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
piix4_smbus 0000:00:07.3: SMBus Host Controller at 0x1040, revision 0
fuse init (API version 7.11)
usb 1-2: new full speed USB device using uhci_hcd and address 2
aufs 2-standalone.tree-30-20090831
squashfs: version 4.0 (2009/01/31) Phillip Lougher
usb 1-2: configuration #1 chosen from 1 choice
CS4281 0000:00:08.0: enabling device (0000 -> 0002)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
CS4281 0000:00:08.0: PCI INT A -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
Adding 112444k swap on /dev/sda2. Priority:-1 extents:1 across:112444k
Clocksource tsc unstable (delta = -299907203 ns)
gameport: CS4281 Gameport is pci0000:00:08.0/gameport0, speed 2386kHz
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
lp0: using parport0 (interrupt-driven).
lp0: console ready
martian_modem is attached.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff: clean.
pcmcia 0.0: pcmcia: registering new device pcmcia0.0
pcmcia_socket pcmcia_socket1: cs: IO port probe 0xc00-0xcff: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x820-0x8ff: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
pcmcia_socket pcmcia_socket1: cs: IO port probe 0x100-0x3af: clean.
pcmcia_socket pcmcia_socket1: cs: IO port probe 0xa00-0xaff: clean.
eth0: 3Com 3c589, io 0x300, irq 3, hw_addr 00:00:86:57:14:29
8K FIFO split 5:3 Rx:Tx, auto xcvr
ACPI: EC: non-query interrupt received, switching to interrupt mode
rtusb init --->
usbcore: registered new interface driver rt3070
end_request: I/O error, dev fd0, sector 0
#ifconfig -a output is
eth0 Link encap:Ethernet HWaddr 00:00:86:57:14:29
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0B) TX bytes:0 (0.0 B)
Interupt:3 Base address:0x300

l0 Link encap:Local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0B) TX bytes:0 (0.0 B)

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#34 Post by tempestuous »

stevsurf wrote:rtusb init --->
usbcore: registered new interface driver rt3070
Well the new driver seems to load OK, but your "ifconfig -a" command shows that a network interface was not created.

Some more Googling reveals that the Tenda W541U wifi dongle seems to be fussy about the specific version of rt3070sta driver. Unfortunately I just trashed my Puppy 4.3 installation, so I cannot compile any alternative drivers for this Puppy version.

If you're prepared to move up to Puppy 5.1/5.2, this now has a new opensource driver called rt2800usb which might work.
And if it doesn't, here's the latest proprietary driver from Ralink, rt3370sta, patched to support the Tenda W541U, device ID 148f:2070.
Obviously, it's for Puppy 5.1/5.2.

EDIT Dec 16 2010:
After 14 downloads, rt3370sta-v2.4.0.1-k2.6.33.2.pet removed.

If anyone wants this driver dotpet, they should post their USB device ID, revealed by running this command

Code: Select all

cat /proc/bus/usb/devices
Last edited by tempestuous on Thu 16 Dec 2010, 03:49, edited 1 time in total.

User avatar
stevsurf
Posts: 11
Joined: Sun 14 Mar 2010, 11:55
Location: Winchester, UK

#35 Post by stevsurf »

tempestuous wrote:
If you're prepared to move up to Puppy 5.1/5.2, this now has a new opensource driver called rt2800usb which might work.
Moving to Puppy Linux 5.1.1 was successful and my Tenda W541U USB Wireless adapter was then recognised, so I have been able to connect to the internet.

Many Thanks for your help. :D

thelight
Posts: 7
Joined: Mon 27 Dec 2010, 19:57

Keebox W150NU

#36 Post by thelight »

I'm trying to get this Ralink wifi usb device to work: Keebox W150NU. The supplied Windows drivers are for RT2870, although wikidevi says the chip is Ralink RT3070L. Anyway, nothing works. :(

Linux version 2.6.25.16

Code: Select all

# cat /proc/bus/usb/devices
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=14b2 ProdID=3c2c Rev= 1.01
S:  Manufacturer=Ralink
S:  Product=802.11 n WLAN
S:  SerialNumber=1.0
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=450mA
I:* If#= 0 Alt= 0 #EPs= 7 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
The recent Wary and Lupu 517 beta don't recognize the device either.

Lastly, I'm trying to compile the module from source, but where are the kernel headers? I have the devx sfs.

thelight
Posts: 7
Joined: Mon 27 Dec 2010, 19:57

#37 Post by thelight »

OK, got the device to work. It was a simple matter of adding the device id to common/rtusb_dev_id.c in the Ralink 3070 source. Compiled fine and recognized the device after copying the .ko and manually specifying the rt3070sta module.

Oh and the kernel files were in the kernel-src-2.6.25.16-patched-puppy4.1.sfs file.

Now I'm trying to get WPA2 to work... not much luck so far.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#38 Post by tempestuous »

thelight wrote:Now I'm trying to get WPA2 to work... not much luck so far.
You need to explicitly configure the source code for WPA support with wpa_supplicant.
In /os/linux/config.mk you need:

Code: Select all

HAS_WPA_SUPPLICANT=y
...
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
It's all in the README file.

thelight
Posts: 7
Joined: Mon 27 Dec 2010, 19:57

#39 Post by thelight »

Thanks for pointing that out, tempestuous! :) I wouldn't say it's /all/ in the readme though. At least when you didn't know what wpa_supplicant is, it's pretty confusing. Now it makes sense! WPA2 did work through the driver when manually configuring it, but it was really klunky that way.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#40 Post by tempestuous »

I just compiled the latest rt3370sta driver for Ralink RT3070/RT3370 wifi devices, under Puppy 5.1.x
I also patched the driver to support some additional wifi models, including the Belkin F6D4050 v2000.
Available here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#41 Post by Rocco »

Hi everybody, this is my first post on these forums, before I tell you about my current problem, I'll tell you a little bit about myself and what brought me here. I have experience with various Microsoft operating systems going back to MS-DOS in the early 80's but I'm a COMPLETE novice when it comes to Linux, for a variety of reasons, I thought it was time to change that. So, when I was recently given an old laptop, an ibuddie A900 with a Chinese language version of Windows 98, I thought this machine might make a reasonable Linux learning platform for me. Last week, I made several unsuccessful attempts to boot up Linux, I tried several flavours of Ubuntu, a few other distros including the most to date version of Puppy Linux but the computer would not accept any of them, I finally tried Puppy 4.3.1 (kernel 2.6.30.5) and that one works for me.

One of the things motivating to do this is that I have a project in mind which would benefit greatly from having an embedded computer system and Linux seems to be the most appropriate OS for that type of application. And, since this embedded system would have no monitor, keyboard or mouse, I'd like to be able to run a VNC server on the system, operating over a wireless network to provide a convenient user interface. I hope to use this old laptop as a test platform to work out the wrinkles of this type of interface before I move on and invest any money into the embedded system.

And that finally brings us to the reason I've resurrected this old thread, I'm trying to get a Keebox W150nu wireless network adapter (which uses the Ralink RT3070 chipset) to work on my old laptop. I've downloaded and run rt3070sta-k26305-2.1.2.0-i486.pet, it tells me that the installation was successful but that there is no interface using it. I then generated a Hard info system report, under kernel modules, it shows the rt3070sta module, under USB devices, it shows OHCI Host Controller 802.11 n WLAN but under Network interfaces, there's only the loopback interface lo and the ethernet interface eth0 and no wireless interface RA0.

So, my question is simple, what am I missing? Only thing comes to mind for me, this machine has a USB 1.1 interface, which according to Keebox's website is compatible with the W150nu but, perhaps the driver I've loaded assumes USB 2.0?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#42 Post by tempestuous »

Rocco wrote:perhaps the driver I've loaded assumes USB 2.0?
It's nowhere as complex as that. Quite simply, the Ralink driver does not recognise your USB device ID.

If you can get your laptop to boot to Puppy 5.2.5 (Lucid) then I have a patched version of the Ralink driver which should work.
First try the (patched) rt3370sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

but if that doesn't work, try the older (patched) rt3070sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 360#513360

Puppy 5.2.5 is available here -
http://distro.ibiblio.org/pub/linux/dis ... pu-525.iso
If Puppy 5.2.5 fails to boot on your computer, you can try adding these boot parameters (at the boot prompt) -
"puppy nosmp" (without the quotation marks)
or
"puppy nosmp acpi=off"

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#43 Post by Rocco »

No luck yet, Puppy 5.2.5 just won't boot up on this machine.
tempestuous wrote: but if that doesn't work, try the older (patched) rt3070sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 360#513360
When I try to load that driver, the system automatically reverts to the newer driver, how do I force the system to use the older driver?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#44 Post by tempestuous »

Rocco wrote:No luck yet, Puppy 5.2.5 just won't boot up on this machine.
Then I can't see why you would be attempting to use my drivers.

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#45 Post by Rocco »

tempestuous wrote:If you can get your laptop to boot to Puppy 5.2.5 (Lucid) then I have a patched version of the Ralink driver which should work.
First try the (patched) rt3370sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 085#481085

but if that doesn't work, try the older (patched) rt3070sta driver from here -
http://www.murga-linux.com/puppy/viewto ... 360#513360
tempestuous wrote:
Rocco wrote:No luck yet, Puppy 5.2.5 just won't boot up on this machine.
Then I can't see why you would be attempting to use my drivers.
Because I misinterpreted the phrase "but if that doesn't work, try...." to mean, if you can't get 5.2.5 to boot, try.....

Anyways, it looks like I'm stuck with Puppy 4.3.1, any suggestion on how I should proceed from here?

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#46 Post by Rocco »

I don't know if this will help with diagnostics or not but I decided to test and see whether the problem was hardware or software related by trying this out on a different computer.

First, I booted up Puppy 5.2.5, it booted up fine proving that my boot CD is not corrupted and suggests that the reason it wouldn't boot up on the old laptop is hardware related. Anyways, I loaded the Ralink driver suggested for 5.2.5 and everything worked as it should, no problems at all.

Next, I booted up Puppy 4.3.1, loaded up the driver recommended on page one of this thread and I ran into the same problem as I had on the old laptop. This gives me hope that I've just missed something on the set up

Rocco
Posts: 27
Joined: Thu 09 Jun 2011, 19:25

#47 Post by Rocco »

I've done a little bit more work on my problem first, since I know for certain that my rt3070sta device works on my newer computer, I decided to do my tests on that machine and if successful replicate the results on the older machine. I booted the computer up with Puppy 5.2.5 retro with kernel 2.6.30.5, I tried all of the drivers and methods presented in this thread and in every case whether with Puppy 4.3.1 k2.6.30.5 or Puppy 5.2.5 retro k2.6.30.5 I was unable to get my device to work with kernel 2.6.30.5.

Any suggestions, comments or ideas would be most welcome.

Marja1
Posts: 21
Joined: Sat 27 Aug 2011, 01:28

Ralink rt3070sta

#48 Post by Marja1 »

I decided to re try my Tenda usb mini wireless..(311U v 2)-
the wizard had the correct module rt2870/rt3070sta-

I booted luci 5.28 -the network wizard kept saying I had a successful
wireless connect but when I went on the internet -no remote server..

So I saved my network profile then installed Frisbee, rebooted and I got on with no problems ...keeping fingers crossed.. but pretty 8)

I'll try some other puppies with this later..

tommy
Posts: 133
Joined: Tue 04 Oct 2005, 20:21
Location: Italy

#49 Post by tommy »

Hi, I tried to connect to my wifi router with no success using the rt3070sta drivers posted on page 1. Usb wifi is a Dlink DWL g 122 ver E1 ( ID 07d1:3c0f ).

Tried first on turbopup kernel 2.6.25.16: ra0 usb wifi is created, I can scan Wifi hotspots, but cannot connect using dhcpcd nor with static IP.

Same situation using driver for kernel 2.6.30.5 and Puppy 4.3.1 .
I just don't understand why I can scan correctly using iwlist but I can't connect to the router??

My router has encryption turned off.

Just a strange thing:
if i set as following:
iwconfig ra0 essid my-ssid
then iwconfig always reports: essid:"11n-AP".
I have to modify /etc/Wireless/RT3070STA/RT3070STA.dat manually removing "11n-AP" and inserting "my-ssid" to see it in iwconfig.

puppy 4.3.1 (and same with turbopup) dmesg says:

rtusb init --->


=== pAd = e0c23000, size = 463428 ===

RTMPAllocAdapterBlock, Status=0
ra0 (usb): not using net_device_ops yet
usbcore: registered new interface driver rt3070
RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibrating<==== rt28xx_init, Status=0
0x1300 = 00064300
===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 635
===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 635
Terminate the task(RtmpMlmeTask) with pid(13025)!
Terminate the task(RtmpCmdQTask) with pid(13026)!
Terminate the task(RtmpTimerTask) with pid(13024)!
---> RTMPFreeTxRxRingMemory
- RTMPFreeTxRxRingMemory
RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
RTUSBVenderReset
CfgSetCountryRegion():CountryRegion in eeprom was programmed
CfgSetCountryRegion():CountryRegion in eeprom was programmed
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
== rt28xx_init, Status=0
0x1300 = 00064300
Terminate the task(RtmpMlmeTask) with pid(13415)!
Terminate the task(RtmpCmdQTask) with pid(13416)!
Terminate the task(RtmpTimerTask) with pid(13414)!
---> RTMPFreeTxRxRingMemory
- RTMPFreeTxRxRingMemory
RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
RTUSBVenderReset
CfgSetCountryRegion():CountryRegion in eeprom was programmed
CfgSetCountryRegion():CountryRegion in eeprom was programmed
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
NVM is Efuse and its size =2d[2d0-2fc]
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
RTMPFilterCalibration - can't find a valid value, loopcnt=102 stop calibrating<==== rt28xx_init, Status=0
0x1300 = 00064300
==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
IOCTL::unknown IOCTL's cmd = 0x00008947
------------------dmesg end---------------


Is /etc/Wireless/RT3070STA/RT3070STA.dat the problem?

Ideas?

Ps: I also tried Puppy 5.2.8 and both rt3070sta and rt3370sta modules found somewhere in murga's forum with no chance.
All this has been tried in a 'modern' pentium IV pc and an older Asus P2BF 700Mhz pc with same results.

JackWagon
Posts: 51
Joined: Tue 17 Aug 2010, 15:05
Location: dead center, USA

Ralink RT3070 replacement driver

#50 Post by JackWagon »

tommy wrote:Hi, I tried to connect to my wifi router with no success using the rt3070sta drivers posted on page 1. Usb wifi is a Dlink DWL g 122 ver E1 ( ID 07d1:3c0f...
Tommy, if I'm not mistaken, others have had success with a newer drivers.
http://www.ralinktech.com/en/04_support ... php?sn=501
Let us know how you turn out.
Edit: (at April 2011) RT3070 driver code has been merged into the newer rt3370sta driver, and RT2870 driver code has been merged into the newer rt3572sta driver. So the RT3070 and RT2870 codebase has been separated, and this has created a problem for "middle-era" RT3070 devices, which are technically closer to the older RT2870 devices than they are to the latest RT3070/RT3370 devices.
jw
Last edited by JackWagon on Mon 26 Nov 2012, 23:31, edited 1 time in total.

Post Reply