JamboK
Posts: 4
Joined: Tue Jul 30, 2013 8:22 pm

Re: Dynamode USB Wifi Dongle issues

Tue Jul 30, 2013 8:35 pm

First of all, thanks for the previous contributions, the steps are concise and clear. However, after building the files I too was having a problem with the frustrating "disagrees about version of symbol module_layout" message. Looks like timing is everything though, my Raspbmc took a kernel update this evening, and used the /usr/src/linux-headers-3.6.11/Module.symvers included in the build into /home/pi/src/kernel/linux-rpi-3.6.y, rebuilt the driver and then installed using "sudo make install". I now have my ra0 interface, so thanks again.

Hope this provides hope for those struggling..

Ken

KM68
Posts: 1
Joined: Tue Aug 06, 2013 3:03 pm

Re: Dynamode USB Wifi Dongle issues

Tue Aug 06, 2013 3:07 pm

Hi,

For me, the line: "pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ gzip -dc /proc/config.gz > .config" returns the message "bash: .config: Permission denied".

Otherwise, working my way through it & everything seems to be working fine so far (great instructions, btw).

jamie07051975
Posts: 1
Joined: Thu Aug 08, 2013 11:53 pm

Re: Dynamode USB Wifi Dongle issues

Thu Aug 08, 2013 11:59 pm

llad wrote:Hopefully I think after doing an rpi-update you should just be able to copy the mt*.ko files over to /lib/modules/... again.
Because the source you have should match the latest build.

The rpi-update will replace the old /lib/modules.

Don't forget depmod -a

If not you may have to start again from

pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make mrproper.
.
Also a make clean will be needed before make all in the driver source directory.

Don't mind you asking. I've been using Unix/Linux on and off for 20+ years.
Hi - hope you can help me. I'm in exactly the same position as chandhar. I have run all the code you've given and its made the files, etc. I have copied them across as you've explained and run sudo depmode -a but the drive is still not picked up by lsusb or lsmod:

lsusb:
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp.

lsmod:
Module Size Used by
snd_bcm2835 16304 0
snd_pcm 77560 1 snd_bcm2835
snd_page_alloc 5145 1 snd_pcm
snd_seq 53329 0
snd_seq_device 6438 1 snd_seq
snd_timer 19998 2 snd_pcm,snd_seq
snd 58447 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device
leds_gpio 2235 0
led_class 3562 1 leds_gpio

depmsg:
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #520 PREEMPT Wed Aug 7 16:07:34 BST 2013
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] cma: CMA: reserved 16 MiB at 0e000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 61440
[ 0.000000] free_area_init_node: node 0, pgdat c053d894, node_mem_map c05e7000
[ 0.000000] Normal zone: 480 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 60960 pages, LIFO batch:15
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 60960
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0x2 bcm2708.serial=0x5aba69a5 smsc95xx.macaddr=B8:27:EB:BA:69:A5 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0xfa00000 vc_mem.mem_size=0x10000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 240MB = 240MB total
[ 0.000000] Memory: 221128k/221128k available, 24632k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xcf800000 - 0xff000000 ( 760 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcf000000 ( 240 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc04e74c0 (4990 kB)
[ 0.000000] .init : 0xc04e8000 - 0xc0508f64 ( 132 kB)
[ 0.000000] .data : 0xc050a000 - 0xc053e0c0 ( 209 kB)
[ 0.000000] .bss : 0xc053e0e4 - 0xc05e6d18 ( 676 kB)
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.001009] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060125] pid_max: default: 32768 minimum: 301
[ 0.060449] Mount-cache hash table entries: 512
[ 0.061202] Initializing cgroup subsys cpuacct
[ 0.061257] Initializing cgroup subsys devices
[ 0.061291] Initializing cgroup subsys freezer
[ 0.061321] Initializing cgroup subsys blkio
[ 0.061421] CPU: Testing write buffer coherency: ok
[ 0.061751] hw perfevents: enabled with v6 PMU driver, 3 counters available
[ 0.061902] Setting up static identity map for 0x39e6f8 - 0x39e754
[ 0.063390] devtmpfs: initialized
[ 0.074099] NET: Registered protocol family 16
[ 0.080511] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.081603] bcm2708.uart_clock = 0
[ 0.083017] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.083071] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.083107] mailbox: Broadcom VideoCore Mailbox driver
[ 0.083202] bcm2708_vcio: mailbox at f200b880
[ 0.083305] bcm_power: Broadcom power driver
[ 0.083343] bcm_power_open() -> 0
[ 0.083367] bcm_power_request(0, 8)
[ 0.584051] bcm_mailbox_read -> 00000080, 0
[ 0.584090] bcm_power_request -> 0
[ 0.584115] Serial: AMBA PL011 UART driver
[ 0.584254] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.907737] console [ttyAMA0] enabled
[ 0.931746] bio: create slab <bio-0> at 0
[ 0.936624] SCSI subsystem initialized
[ 0.940717] usbcore: registered new interface driver usbfs
[ 0.946300] usbcore: registered new interface driver hub
[ 0.951889] usbcore: registered new device driver usb
[ 0.958232] Switching to clocksource stc
[ 0.962468] FS-Cache: Loaded
[ 0.965600] CacheFiles: Loaded
[ 0.980521] NET: Registered protocol family 2
[ 0.985809] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.993155] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.999735] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.006163] TCP: reno registered
[ 1.009414] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.015312] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.021859] NET: Registered protocol family 1
[ 1.026778] RPC: Registered named UNIX socket transport module.
[ 1.032821] RPC: Registered udp transport module.
[ 1.037542] RPC: Registered tcp transport module.
[ 1.042255] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.049392] bcm2708_dma: DMA manager at f2007000
[ 1.054178] bcm2708_gpio: bcm2708_gpio_probe c0517d98
[ 1.059641] vc-mem: phys_addr:0x00000000 mem_base=0x0fa00000 mem_size:0x10000000(256 MiB)
[ 1.068779] audit: initializing netlink socket (disabled)
[ 1.074371] type=2000 audit(0.930:1): initialized
[ 1.196568] VFS: Disk quotas dquot_6.5.2
[ 1.200602] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.207668] FS-Cache: Netfs 'nfs' registered for caching
[ 1.213424] NFS: Registering the id_resolver key type
[ 1.218581] Key type id_resolver registered
[ 1.222869] Key type id_legacy registered
[ 1.227234] msgmni has been set to 463
[ 1.232809] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.240499] io scheduler noop registered
[ 1.244532] io scheduler deadline registered (default)
[ 1.249714] io scheduler cfq registered
[ 1.261983] Console: switching to colour frame buffer device 82x26
[ 1.272101] kgdb: Registered I/O driver kgdboc.
[ 1.278736] vc-cma: Videocore CMA driver
[ 1.284111] vc-cma: vc_cma_base = 0x00000000
[ 1.290168] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.296931] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.312528] brd: module loaded
[ 1.321765] loop: module loaded
[ 1.326601] vchiq: vchiq_init_state: slot_zero = 0xce000000, is_master = 0
[ 1.335551] Loading iSCSI transport class v2.0-870.
[ 1.342740] usbcore: registered new interface driver smsc95xx
[ 1.349870] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.562035] Core Release: 2.80a
[ 1.566515] Setting default values for core params
[ 1.572616] Finished setting default values for core params
[ 1.784530] Using Buffer DMA mode
[ 1.789114] Periodic Transfer Interrupt Enhancement - disabled
[ 1.796197] Multiprocessor Interrupt Enhancement - disabled
[ 1.803038] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.808641] Dedicated Tx FIFOs mode
[ 1.814280] dwc_otg: Microframe scheduler enabled
[ 1.814658] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.820899] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.829520] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.836372] Init: Port Power? op_state=1
[ 1.841541] Init: Power Port (0)
[ 1.846125] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.854385] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.863007] usb usb1: Product: DWC OTG Controller
[ 1.869068] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
[ 1.876171] usb usb1: SerialNumber: bcm2708_usb
[ 1.882829] hub 1-0:1.0: USB hub found
[ 1.887945] hub 1-0:1.0: 1 port detected
[ 1.893500] dwc_otg: FIQ enabled
[ 1.893516] dwc_otg: NAK holdoff enabled
[ 1.893525] dwc_otg: FIQ split fix enabled
[ 1.893544] Module dwc_common_port init
[ 1.893767] Initializing USB Mass Storage driver...
[ 1.900128] usbcore: registered new interface driver usb-storage
[ 1.907516] USB Mass Storage support registered.
[ 1.913604] usbcore: registered new interface driver libusual
[ 1.920928] mousedev: PS/2 mouse device common for all mice
[ 1.928541] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[ 1.935749] bcm2835-cpufreq: switching to governor powersave
[ 1.942717] bcm2835-cpufreq: switching to governor powersave
[ 1.949629] cpuidle: using governor ladder
[ 1.954979] cpuidle: using governor menu
[ 1.960133] sdhci: Secure Digital Host Controller Interface driver
[ 1.967541] sdhci: Copyright(c) Pierre Ossman
[ 1.973201] sdhci: Enable low-latency mode
[ 2.022509] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 2.032954] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 2.042335] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.055099] usbcore: registered new interface driver usbhid
[ 2.061998] usbhid: USB HID core driver
[ 2.069843] TCP: cubic registered
[ 2.076653] Initializing XFRM netlink socket
[ 2.084377] NET: Registered protocol family 17
[ 2.092442] Indeed it is in host mode hprt0 = 00021501
[ 2.099112] Key type dns_resolver registered
[ 2.112819] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 2.133340] registered taskstats version 1
[ 2.162891] Waiting for root device /dev/mmcblk0p2...
[ 2.194399] mmc0: read SD Status register (SSR) after 3 attempts
[ 2.215913] mmc0: new high speed SDHC card at address e624
[ 2.224599] mmcblk0: mmc0:e624 SD08G 7.40 GiB
[ 2.234195] mmcblk0: p1 p2
[ 2.288090] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.299281] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.315525] devtmpfs: mounted
[ 2.320416] Freeing init memory: 128K
[ 2.342398] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.350546] Indeed it is in host mode hprt0 = 00001101
[ 2.563149] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.571474] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.582763] hub 1-1:1.0: USB hub found
[ 2.588683] hub 1-1:1.0: 3 ports detected
[ 2.872584] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.983094] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.991588] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.018929] smsc95xx v1.0.4
[ 3.087918] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ba:69:a5
[ 3.192627] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[ 3.681100] usb 1-1.3: New USB device found, idVendor=148f, idProduct=7601
[ 3.690589] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.914857] udevd[154]: starting version 175
[ 5.113774] Registered led device: led0
[ 5.186755] mtutil7601Usta: no symbol version for module_layout
[ 9.090822] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 9.590958] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 20.053811] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 24.669145] Adding 102396k swap on /var/swap. Priority:-1 extents:129 across:1754856k SS

Any help appreciated!

llad
Posts: 15
Joined: Wed Jun 12, 2013 5:44 am

Re: Dynamode USB Wifi Dongle issues

Sat Aug 10, 2013 5:02 pm

Hi

Did you solve this?
I think this line is probably the clue.

mtutil7601Usta: no symbol version for module_layout

The following may help. It looks like something went wrong with preping the
http://askubuntu.com/questions/14627/no ... -usbhid-ko

pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make mrproper
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ gzip -dc /proc/config.gz > .config
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make oldconfig
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make prepare
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make modules_prepare
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ wget https://github.com/raspberrypi/firmware ... le.symvers

Look for errors in the output of the above steps

sirpoot
Posts: 2
Joined: Tue Sep 03, 2013 8:45 pm

Re: Dynamode USB Wifi Dongle issues

Tue Sep 03, 2013 8:51 pm

I've followed the guide faithfully, and upon reboot I got this messages:

[ 5.187115] usb 1-1.3.3: Product: PS2toUSB Adapter
[ 5.211691] usb 1-1.3.3: Manufacturer: GASIA
[ 5.230193] input: GASIA PS2toUSB Adapter as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/input/input1
[ 5.262145] hid-generic 0003:0E8F:0020.0002: input,hidraw1: USB HID v1.10 Keyboard [GASIA PS2toUSB Adapter] on usb-bcm2708_usb-1.3.3/input0
[ 5.309566] input: GASIA PS2toUSB Adapter as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.1/input/input2
[ 5.350263] hid-generic 0003:0E8F:0020.0003: input,hidraw2: USB HID v1.10 Mouse [GASIA PS2toUSB Adapter] on usb-bcm2708_usb-1.3.3/input1
[ 5.546927] Registered led device: led0
[ 5.622533] mt7601Usta: module license 'unspecified' taints kernel.
[ 5.820356] Disabling lock debugging due to kernel taint
[ 6.199144] mt7601Usta: Unknown symbol rausb_buffer_free (err 0)
[ 6.463843] mt7601Usta: Unknown symbol RtmpOsFreeSpinLock (err 0)
[ 6.671791] mt7601Usta: Unknown symbol RtmpOsPktHeadBufExtend (err 0)
[ 6.771263] mt7601Usta: Unknown symbol RtmpOsGetNetDevName (err 0)
[ 6.931127] mt7601Usta: Unknown symbol RtmpOSTaskNotifyToExit (err 0)
[ 7.031689] mt7601Usta: Unknown symbol RtmpOsHtonl (err 0)
[ 7.141328] mt7601Usta: Unknown symbol RtmpOsAtomicInterlockedExchange (err 0)
[ 7.229052] mt7601Usta: Unknown symbol RtmpUtilInit (err 0)
[ 7.289071] mt7601Usta: Unknown symbol RtmpOSTaskInit (err 0)
[ 7.346475] mt7601Usta: Unknown symbol RtmpOsAtomicInit (err 0)
[ 7.393982] mt7601Usta: Unknown symbol RtmpOsTaskletInit (err 0)
[ 7.465467] mt7601Usta: Unknown symbol rausb_buffer_alloc (err 0)
[ 7.562479] mt7601Usta: Unknown symbol RtmpOsPktInit (err 0)
[ 7.575057] mt7601Usta: Unknown symbol RtmpThreadPidKill (err 0)
[ 7.585281] mt7601Usta: Unknown symbol RTMPFreeNdisPacket (err 0)
[ 7.595470] mt7601Usta: Unknown symbol RtmpDrvAllRFPrint (err 0)
[ 7.605449] mt7601Usta: Unknown symbol AdapterBlockAllocateMemory (err 0)
[ 7.616116] mt7601Usta: Unknown symbol RtmpOsWait (err 0)
[ 7.625384] mt7601Usta: Unknown symbol RTMP_SetPeriodicTimer (err 0)
[ 7.635622] mt7601Usta: Unknown symbol RtmpOSNetDevCreate (err 0)
[ 7.647414] mt7601Usta: Unknown symbol RTPktOffsetLen (err 0)
[ 7.712817] mt7601Usta: Unknown symbol duplicate_pkt (err 0)
[ 7.789588] mt7601Usta: Unknown symbol RtmpOSWrielessEventSend (err 0)
[ 7.838076] mt7601Usta: Unknown symbol os_alloc_mem (err 0)
[ 7.857205] mt7601Usta: Unknown symbol RtmpOsUsbContextGet (err 0)
[ 7.867255] mt7601Usta: Unknown symbol RTDebugFunc (err 0)
[ 7.876387] mt7601Usta: Unknown symbol RtmpOsGetSystemUpTime (err 0)
[ 7.886281] mt7601Usta: Unknown symbol RtmpOsCheckTaskLegality (err 0)
[ 7.896312] mt7601Usta: Unknown symbol ClonePacket (err 0)
[ 7.905221] mt7601Usta: Unknown symbol RTDebugLevel (err 0)
[ 7.914128] mt7601Usta: Unknown symbol RtmpOsTimerBefore (err 0)
[ 7.923364] mt7601Usta: Unknown symbol RtmpOSTaskAttach (err 0)
[ 7.932501] mt7601Usta: Unknown symbol RtmpOsVfree (err 0)
[ 7.940991] mt7601Usta: Unknown symbol RtmpOsAtomicDec (err 0)
[ 7.949767] mt7601Usta: Unknown symbol RtmpOSTaskWait (err 0)
[ 7.958410] mt7601Usta: Unknown symbol Sniff2BytesFromNdisBuffer (err 0)
[ 7.968038] mt7601Usta: Unknown symbol RtmpOsPktProtocolAssign (err 0)
[ 7.977409] mt7601Usta: Unknown symbol RtmpOsTaskDataGet (err 0)
[ 7.986161] mt7601Usta: Unknown symbol RtmpInitCompletion (err 0)
[ 7.995033] mt7601Usta: Unknown symbol RtmpOsMlmeUp (err 0)
[ 8.003260] mt7601Usta: Unknown symbol RtmpDrvAllMacPrint (err 0)
[ 8.011821] mt7601Usta: Unknown symbol RTMP_OS_Add_Timer (err 0)
[ 8.020186] mt7601Usta: Unknown symbol ralinkrate (err 0)
[ 8.027952] mt7601Usta: Unknown symbol RtmpOsSimpleStrtol (err 0)
[ 8.036428] mt7601Usta: Unknown symbol RtmpOsIntLock (err 0)
[ 8.044454] mt7601Usta: Unknown symbol rausb_submit_urb (err 0)
[ 8.052756] mt7601Usta: Unknown symbol RtmpOsCmdUp (err 0)
[ 8.060560] mt7601Usta: Unknown symbol RTPktOffsetCB (err 0)
[ 8.068565] mt7601Usta: Unknown symbol RTMP_AllocateFragPacketBuffer (err 0)
[ 8.078063] mt7601Usta: Unknown symbol rausb_alloc_urb (err 0)
[ 8.086280] mt7601Usta: Unknown symbol RtmpMsecsToJiffies (err 0)
[ 8.094782] mt7601Usta: Unknown symbol RtmpOsGetUnalignedlong (err 0)
[ 8.103604] mt7601Usta: Unknown symbol RtmpOsHtons (err 0)
[ 8.111426] mt7601Usta: Unknown symbol RTMP_OS_Mod_Timer (err 0)
[ 8.119801] mt7601Usta: Unknown symbol os_free_mem (err 0)
[ 8.127663] mt7601Usta: Unknown symbol RtmpOsTimerAfter (err 0)
[ 8.137175] mt7601Usta: Unknown symbol RtmpOsTaskletSche (err 0)
[ 8.145678] mt7601Usta: Unknown symbol RtmpOsWlanEventSet (err 0)
[ 8.154148] mt7601Usta: Unknown symbol rausb_control_msg (err 0)
[ 8.162516] mt7601Usta: Unknown symbol RtmpOsUsbEmptyUrbCheck (err 0)
[ 8.171279] mt7601Usta: Unknown symbol duplicate_pkt_with_TKIP_MIC (err 0)
[ 8.182246] mt7601Usta: Unknown symbol RtmpOsCopyToUser (err 0)
[ 8.190601] mt7601Usta: Unknown symbol RtmpOsPktBodyCopy (err 0)
[ 8.213668] mt7601Usta: Unknown symbol RtmpOSNetDevAddrSet (err 0)
[ 8.222377] mt7601Usta: Unknown symbol RtmpOsMsDelay (err 0)
[ 8.230307] mt7601Usta: Unknown symbol RtmpOsPktRcvHandle (err 0)
[ 8.238719] mt7601Usta: Unknown symbol RtmpOsIntUnLock (err 0)
[ 8.246881] mt7601Usta: Unknown symbol RtmpOsSetNetDevType (err 0)
[ 8.255380] mt7601Usta: Unknown symbol RtmpOSTaskCustomize (err 0)
[ 8.263845] mt7601Usta: Unknown symbol RtmpOsAllocateLock (err 0)
[ 8.272369] mt7601Usta: Unknown symbol RTMP_OS_Del_Timer (err 0)
[ 8.282403] mt7601Usta: Unknown symbol rausb_free_urb (err 0)
[ 8.290554] mt7601Usta: Unknown symbol hex_dump (err 0)
[ 8.311763] mt7601Usta: Unknown symbol RtmpOsMaxScanDataGet (err 0)
[ 8.320431] mt7601Usta: Unknown symbol RtmpOsGetUnaligned (err 0)
[ 8.330616] mt7601Usta: Unknown symbol RTMP_GetCurrentSystemTick (err 0)
[ 8.339806] mt7601Usta: Unknown symbol RtmpOsPktTailBufExtend (err 0)
[ 8.348621] mt7601Usta: Unknown symbol wext_notify_event_assoc (err 0)
[ 8.357525] mt7601Usta: Unknown symbol RtmpOSFileOpen (err 0)
[ 8.365604] mt7601Usta: Unknown symbol RtmpOsUsbStatusGet (err 0)
[ 8.374030] mt7601Usta: Unknown symbol RtmpOsGetUnaligned32 (err 0)
[ 8.382625] mt7601Usta: Unknown symbol RtmpOsUsbInitRxDesc (err 0)
[ 8.391103] mt7601Usta: Unknown symbol RtmpOsCopyFromUser (err 0)
[ 8.399518] mt7601Usta: Unknown symbol RtmpOsNtohl (err 0)
[ 8.407333] mt7601Usta: Unknown symbol RtmpOsUsbUrbDataGet (err 0)
[ 8.415834] mt7601Usta: Unknown symbol RtmpOsAtomicDestroy (err 0)
[ 8.424335] mt7601Usta: Unknown symbol RtmpOsIsInInterrupt (err 0)
[ 8.432833] mt7601Usta: Unknown symbol RtmpOsSetNetDevTypeMonitor (err 0)
[ 8.441943] mt7601Usta: Unknown symbol RtmpOSFSInfoChange (err 0)
[ 8.450317] mt7601Usta: Unknown symbol rausb_sndctrlpipe (err 0)
[ 8.458646] mt7601Usta: Unknown symbol RtmpWaitForCompletionTimeout (err 0)
[ 8.467950] mt7601Usta: Unknown symbol RtmpOsNetQueueStart (err 0)
[ 8.476525] mt7601Usta: Unknown symbol RtmpComplete (err 0)
[ 8.484410] mt7601Usta: Unknown symbol RtmpOsSemaWaitInterruptible (err 0)
[ 8.493581] mt7601Usta: Unknown symbol rtstrchr (err 0)
[ 8.501076] mt7601Usta: Unknown symbol wlan_802_11_to_802_3_packet (err 0)
[ 8.510283] mt7601Usta: Unknown symbol send_monitor_packets (err 0)
[ 8.518921] mt7601Usta: Unknown symbol RtmpOsSpinUnLockBh (err 0)
[ 8.527347] mt7601Usta: Unknown symbol RtmpOsUsbDmaMapping (err 0)
[ 8.535849] mt7601Usta: Unknown symbol RtmpOsSpinLockBh (err 0)
[ 8.544109] mt7601Usta: Unknown symbol os_alloc_mem_suspend (err 0)
[ 8.552735] mt7601Usta: Unknown symbol RtmpOsNtohs (err 0)
[ 8.560511] mt7601Usta: Unknown symbol RtmpOsTaskletKill (err 0)
[ 8.568860] mt7601Usta: Unknown symbol RtmpOsOpsInit (err 0)
[ 8.576825] mt7601Usta: Unknown symbol RTMP_GetCurrentSystemTime (err 0)
[ 8.585857] mt7601Usta: Unknown symbol RtmpOsAtomicRead (err 0)
[ 8.594099] mt7601Usta: Unknown symbol RTMPAllocateNdisPacket (err 0)
[ 8.602901] mt7601Usta: Unknown symbol RTMP_OS_Release_Timer (err 0)
[ 8.611612] mt7601Usta: Unknown symbol RT_RateSize (err 0)
[ 8.619404] mt7601Usta: Unknown symbol RtmpOsStatsAlloc (err 0)
[ 8.627637] mt7601Usta: Unknown symbol RtmpOsUsbUrbLenGet (err 0)
[ 8.636102] mt7601Usta: Unknown symbol rausb_kill_urb (err 0)
[ 8.644225] mt7601Usta: Unknown symbol RtmpOsSendWirelessEvent (err 0)
[ 8.653147] mt7601Usta: Unknown symbol RtmpOsSemaWakeUp (err 0)
[ 8.661387] mt7601Usta: Unknown symbol RtmpOsTaskIsKilled (err 0)
[ 8.669847] mt7601Usta: Unknown symbol RtmpOsWirelessExtVerGet (err 0)
[ 8.678820] mt7601Usta: Unknown symbol RtmpOsSemaDestory (err 0)
[ 8.687220] mt7601Usta: Unknown symbol RtmpOsTaskPidInit (err 0)
[ 8.695557] mt7601Usta: Unknown symbol RTPktOffsetData (err 0)
[ 8.703745] mt7601Usta: Unknown symbol RTMP_OS_Init_Timer (err 0)
[ 8.712162] mt7601Usta: Unknown symbol RTMPusecDelay (err 0)
[ 8.720106] mt7601Usta: Unknown symbol RtmpOsUsbInitHTTxDesc (err 0)
[ 8.728772] mt7601Usta: Unknown symbol RtmpOsSemaInit (err 0)
[ 8.736854] mt7601Usta: Unknown symbol RtmpOsTickUnitGet (err 0)
[ 8.745168] mt7601Usta: Unknown symbol WpaSendMicFailureToWpaSupplicant (err 0)
[ 8.754846] mt7601Usta: Unknown symbol RtmpOsUsbUrbStatusGet (err 0)
[ 8.763551] mt7601Usta: Unknown symbol RtmpDrvAllE2PPrint (err 0)
[ 8.772014] mt7601Usta: Unknown symbol RtmpOSTaskKill (err 0)
[ 8.781778] mt7601Usta: Unknown symbol RtmpOsFileIsErr (err 0)
[ 8.790088] mt7601Usta: Unknown symbol RtmpOSFileRead (err 0)
[ 8.811722] mt7601Usta: Unknown symbol RtmpOsTaskletDataAssign (err 0)
[ 8.820712] mt7601Usta: Unknown symbol RtmpOsNetQueueStop (err 0)
[ 8.830908] mt7601Usta: Unknown symbol rausb_rcvctrlpipe (err 0)
[ 8.839439] mt7601Usta: Unknown symbol RtmpOSFileClose (err 0)
[ 8.847620] mt7601Usta: Unknown symbol RTMP_QueryPacketInfo (err 0)
[ 8.856243] mt7601Usta: Unknown symbol RtmpOSFileWrite (err 0)
[ 8.864419] mt7601Usta: Unknown symbol RtmpOSFileSeek (err 0)
[ 8.872578] mt7601Usta: Unknown symbol RtmpOsTaskWakeUp (err 0)
[ 11.433982] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 11.861709] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 21.840906] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

What could have gone wrong? :cry:

Sabreur
Posts: 8
Joined: Mon Jul 01, 2013 9:05 am

Re: Dynamode USB Wifi Dongle issues

Fri Sep 06, 2013 12:43 pm

llad wrote:OK Here goes. I did say there was quite a few steps involved. I think the sequence is correct.

snip
===========================================================

Get kernel sources - needed to build the driver

pi@raspberrypi ~/src $ mkdir kernel
pi@raspberrypi ~/src $ cd kernel
pi@raspberrypi ~/src/kernel $ wget https://github.com/raspberrypi/linux/ar ... 6.y.tar.gz
pi@raspberrypi ~/src/kernel $ tar xvfz rpi-3.6.y.tar.gz

===========================================================

Prepare the kernel/module sources so the driver can build with them.

pi@raspberrypi ~/src/kernel $ sudo ln -s /home/pi/src/kernel/linux-rpi-3.6.y /lib/modules/3.6.11+/build
pi@raspberrypi ~/src/kernel $ cd linux-rpi-3.6.y
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make mrproper
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ gzip -dc /proc/config.gz > .config
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make oldconfig
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make prepare
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make modules_prepare
pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ wget https://github.com/raspberrypi/firmware ... le.symvers

===========================================================
snip
All went swimmingly until make oldconfig which then produced the following:-

Code: Select all

root@squeezeplug:~/src/kernel/linux-rpi-3.6.y# make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
.config:1573:warning: symbol value 'm' invalid for POWER_SUPPLY
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
Cross-compiler tool prefix (CROSS_COMPILE) []
Local version - append to kernel release (LOCALVERSION) []
Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n
Kernel compression mode
> 1. Gzip (KERNEL_GZIP)
  2. LZMA (KERNEL_LZMA)
  3. XZ (KERNEL_XZ) (NEW)
  4. LZO (KERNEL_LZO)
choice[1-4?]:
Any idea where I went wrong?

llad
Posts: 15
Joined: Wed Jun 12, 2013 5:44 am

Re: Dynamode USB Wifi Dongle issues

Fri Sep 06, 2013 3:21 pm

Hi

Looks like you are working on squeeze version.

I used Wheezy.

If you followed me to the letter you probably have the wrong kernel source code.
The config file you got out of sqeeze is probably for a different kernel.

Hope this helps

Sabreur
Posts: 8
Joined: Mon Jul 01, 2013 9:05 am

Re: Dynamode USB Wifi Dongle issues

Sat Sep 07, 2013 5:36 pm

Looks like you are working on squeeze version.

I used Wheezy.
uname returns

Code: Select all

squeezeplug 3.6.11+ armv61
Isn't this the one you used or have I already damaged my kernel by running make mrproper and oldconfig?

llad
Posts: 15
Joined: Wed Jun 12, 2013 5:44 am

Re: Dynamode USB Wifi Dongle issues

Sun Sep 08, 2013 12:46 pm

No shouldn't have damaged the kernel.

If you can mount the SD card you can just remove the .ko files that you copied into the /lib/modules folder.

I am using the wheezy version of Raspbian if yours isn't then the kernel config may be different even if the same version.

Latest kernel update on wheezy build has broken this not sure how to get working again at the moment.

Hmmm!

G1eb
Posts: 1
Joined: Mon Sep 16, 2013 7:42 am

Re: Dynamode USB Wifi Dongle issues

Mon Sep 16, 2013 7:48 am

Hi, I have almost the same problem with my dongle, and I'm asking for some help from you:

Quote:
"Prepare the kernel/module sources so the driver can build with them.

pi@raspberrypi ~/src/kernel $ sudo ln -s /home/pi/src/kernel/linux-rpi-3.6.y /lib/modules/3.6.11+/build
pi@raspberrypi ~/src/kernel $ cd linux-rpi-3.6.y"

my system show me "
pi@raspberrypi ~/src/kernel $ dir
linux-rpi-3.6.y rpi-3.6.y.tar.gz
pi@raspberrypi ~/src/kernel $ cd linux-rpi-3.6.y
-bash: cd: linux-rpi-3.6.y: Permission denied"

Pls advise me what is the problem

Alan
Posts: 2
Joined: Mon Sep 16, 2013 1:16 pm

Re: Dynamode USB Wifi Dongle issues

Mon Sep 16, 2013 1:34 pm

Hi,

I have followed all the steps. The relevant information I think is below. Any help would be appreciated.

Thanks

Alan

pi@raspberrypi ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:53:e9:e0
inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:96 errors:0 dropped:0 overruns:0 frame:0
TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8976 (8.7 KiB) TX bytes:11069 (10.8 KiB)

lo 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

pi@raspberrypi ~ $ ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:53:e9:e0
inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:132 errors:0 dropped:0 overruns:0 frame:0
TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11358 (11.0 KiB) TX bytes:15449 (15.0 KiB)

lo 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

pi@raspberrypi ~ $ lsmod
Module Size Used by
snd_bcm2835 16432 0
snd_pcm 77728 1 snd_bcm2835
snd_seq 53482 0
snd_timer 20110 2 snd_pcm,snd_seq
snd_seq_device 6462 1 snd_seq
snd 58744 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_de vice
snd_page_alloc 5169 1 snd_pcm
evdev 9450 4
leds_gpio 2243 0
led_class 3570 1 leds_gpio
pi@raspberrypi ~ $ dsmod
-bash: dsmod: command not found
pi@raspberrypi ~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.6.11+ (dc4@dc4-arm-01) (gcc version 4.7.2 2012073 1 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #538 PREEMPT Fri Aug 30 20:42:08 BST 2013
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr =00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruc tion cache
[ 0.000000] Machine: BCM2708
[ 0.000000] cma: CMA: reserved 16 MiB at 1b000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c0545b54, node_mem_map c05f000 0
[ 0.000000] Normal zone: 896 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 113792 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 113792
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200 bcm2708.boardrev=0xd bcm2708.serial=0xe353e9e0 smsc95xx .macaddr=B8:27:EB:53:E9:E0 sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_ba se=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,1 15200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 ele vator=deadline rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 448MB = 448MB total
[ 0.000000] Memory: 432220k/432220k available, 26532k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc04ef844 (5023 kB)
[ 0.000000] .init : 0xc04f0000 - 0xc05111f0 ( 133 kB)
[ 0.000000] .data : 0xc0512000 - 0xc0546560 ( 210 kB)
[ 0.000000] .bss : 0xc0546584 - 0xc05ef738 ( 677 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, N odes=1
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4 294967ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.000972] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060125] pid_max: default: 32768 minimum: 301
[ 0.060617] Mount-cache hash table entries: 512
[ 0.061440] Initializing cgroup subsys cpuacct
[ 0.061495] Initializing cgroup subsys devices
[ 0.061528] Initializing cgroup subsys freezer
[ 0.061557] Initializing cgroup subsys blkio
[ 0.061700] CPU: Testing write buffer coherency: ok
[ 0.062025] hw perfevents: enabled with v6 PMU driver, 3 counters available
[ 0.062164] Setting up static identity map for 0x3a5238 - 0x3a5294
[ 0.063644] devtmpfs: initialized
[ 0.075148] NET: Registered protocol family 16
[ 0.081602] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.082675] bcm2708.uart_clock = 0
[ 0.084039] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.084093] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.084130] mailbox: Broadcom VideoCore Mailbox driver
[ 0.084218] bcm2708_vcio: mailbox at f200b880
[ 0.084331] bcm_power: Broadcom power driver
[ 0.084369] bcm_power_open() -> 0
[ 0.084393] bcm_power_request(0, 8)
[ 0.585081] bcm_mailbox_read -> 00000080, 0
[ 0.585119] bcm_power_request -> 0
[ 0.585143] Serial: AMBA PL011 UART driver
[ 0.585267] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.916932] console [ttyAMA0] enabled
[ 0.941201] bio: create slab <bio-0> at 0
[ 0.946104] SCSI subsystem initialized
[ 0.950168] usbcore: registered new interface driver usbfs
[ 0.955761] usbcore: registered new interface driver hub
[ 0.961353] usbcore: registered new device driver usb
[ 0.967695] Switching to clocksource stc
[ 0.971988] FS-Cache: Loaded
[ 0.975146] CacheFiles: Loaded
[ 0.990111] NET: Registered protocol family 2
[ 0.995388] TCP established hash table entries: 16384 (order: 5, 131072 bytes )
[ 1.003126] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 1.009915] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.016515] TCP: reno registered
[ 1.019766] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.025662] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.032304] NET: Registered protocol family 1
[ 1.037178] RPC: Registered named UNIX socket transport module.
[ 1.043226] RPC: Registered udp transport module.
[ 1.047948] RPC: Registered tcp transport module.
[ 1.052693] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.059817] bcm2708_dma: DMA manager at f2007000
[ 1.064594] bcm2708_gpio: bcm2708_gpio_probe c051fdf8
[ 1.070049] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000 000(512 MiB)
[ 1.079256] audit: initializing netlink socket (disabled)
[ 1.084853] type=2000 audit(0.940:1): initialized
[ 1.217646] VFS: Disk quotas dquot_6.5.2
[ 1.222017] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.231092] FS-Cache: Netfs 'nfs' registered for caching
[ 1.237751] NFS: Registering the id_resolver key type
[ 1.243007] Key type id_resolver registered
[ 1.247212] Key type id_legacy registered
[ 1.251563] msgmni has been set to 876
[ 1.257557] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 52)
[ 1.265380] io scheduler noop registered
[ 1.269335] io scheduler deadline registered (default)
[ 1.274664] io scheduler cfq registered
[ 1.322162] Console: switching to colour frame buffer device 240x75
[ 1.347167] kgdb: Registered I/O driver kgdboc.
[ 1.352481] vc-cma: Videocore CMA driver
[ 1.356497] vc-cma: vc_cma_base = 0x00000000
[ 1.361283] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.366830] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.381350] brd: module loaded
[ 1.389769] loop: module loaded
[ 1.393437] vchiq: vchiq_init_state: slot_zero = 0xdb000000, is_master = 0
[ 1.401205] Loading iSCSI transport class v2.0-870.
[ 1.407267] usbcore: registered new interface driver smsc95xx
[ 1.413477] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.624526] Core Release: 2.80a
[ 1.627781] Setting default values for core params
[ 1.632777] Finished setting default values for core params
[ 1.843531] Using Buffer DMA mode
[ 1.846934] Periodic Transfer Interrupt Enhancement - disabled
[ 1.852895] Multiprocessor Interrupt Enhancement - disabled
[ 1.858566] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.863035] Dedicated Tx FIFOs mode
[ 1.867642] dwc_otg: Microframe scheduler enabled
[ 1.868078] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.873253] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.880663] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.886346] Init: Port Power? op_state=1
[ 1.890344] Init: Power Port (0)
[ 1.893771] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.900690] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1
[ 1.908074] usb usb1: Product: DWC OTG Controller
[ 1.912905] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
[ 1.918762] usb usb1: SerialNumber: bcm2708_usb
[ 1.924179] hub 1-0:1.0: USB hub found
[ 1.928059] hub 1-0:1.0: 1 port detected
[ 1.932457] dwc_otg: FIQ enabled
[ 1.932473] dwc_otg: NAK holdoff enabled
[ 1.932482] dwc_otg: FIQ split fix enabled
[ 1.932501] Module dwc_common_port init
[ 1.932728] Initializing USB Mass Storage driver...
[ 1.937912] usbcore: registered new interface driver usb-storage
[ 1.944132] USB Mass Storage support registered.
[ 1.949003] usbcore: registered new interface driver libusual
[ 1.955184] mousedev: PS/2 mouse device common for all mice
[ 1.961530] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[ 1.967536] bcm2835-cpufreq: switching to governor powersave
[ 1.973345] bcm2835-cpufreq: switching to governor powersave
[ 1.979125] cpuidle: using governor ladder
[ 1.988641] cpuidle: using governor menu
[ 1.997886] sdhci: Secure Digital Host Controller Interface driver
[ 2.009299] sdhci: Copyright(c) Pierre Ossman
[ 2.018981] sdhci: Enable low-latency mode
[ 2.072051] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platfor m's DMA
[ 2.085431] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 2.098783] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.115530] usbcore: registered new interface driver usbhid
[ 2.126523] usbhid: USB HID core driver
[ 2.137897] Indeed it is in host mode hprt0 = 00021501
[ 2.151260] TCP: cubic registered
[ 2.171821] Initializing XFRM netlink socket
[ 2.191835] NET: Registered protocol family 17
[ 2.201714] Key type dns_resolver registered
[ 2.233912] mmc0: read SD Status register (SSR) after 2 attempts
[ 2.252197] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 2.274972] registered taskstats version 1
[ 2.284772] mmc0: new high speed SDHC card at address 0002
[ 2.306822] mmcblk0: mmc0:0002 00000 7.32 GiB
[ 2.320316] mmcblk0: p1 p2 < p5 p6 >
[ 2.346204] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. O pts: (null)
[ 2.359991] VFS: Mounted root (ext4 filesystem) on device 179:6.
[ 2.379736] devtmpfs: mounted
[ 2.388738] Freeing init memory: 132K
[ 2.421877] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.434750] Indeed it is in host mode hprt0 = 00001101
[ 2.652543] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.664934] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.679912] hub 1-1:1.0: USB hub found
[ 2.690819] hub 1-1:1.0: 3 ports detected
[ 2.982181] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.102866] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.116201] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber =0
[ 3.137145] smsc95xx v1.0.4
[ 3.216918] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb- 1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:53:e9:e0
[ 3.332242] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 3.481340] usb 1-1.2: New USB device found, idVendor=0f30, idProduct=0001
[ 3.511899] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber =0
[ 3.531947] usb 1-1.2: Product: Air Mouse
[ 3.551956] usb 1-1.2: Manufacturer: HJT
[ 3.581572] input: HJT Air Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1- 1.2/1-1.2:1.0/input/input0
[ 3.615299] hid-generic 0003:0F30:0001.0001: input,hidraw0: USB HID v1.11 Key board [HJT Air Mouse] on usb-bcm2708_usb-1.2/input0
[ 3.664973] input: HJT Air Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1- 1.2/1-1.2:1.1/input/input1
[ 3.702696] hid-generic 0003:0F30:0001.0002: input,hidraw1: USB HID v1.11 Mou se [HJT Air Mouse] on usb-bcm2708_usb-1.2/input1
[ 3.832176] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[ 4.046449] udevd[154]: starting version 175
[ 4.331163] usb 1-1.3: New USB device found, idVendor=148f, idProduct=7601
[ 4.363281] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber =3
[ 5.564975] Registered led device: led0
[ 10.245293] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 10.719432] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 20.747480] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45 E1
[ 22.160348] bcm2835-cpufreq: switching to governor ondemand
[ 22.160383] bcm2835-cpufreq: switching to governor ondemand
[ 24.880829] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:1 02396k SS
pi@raspberrypi ~ $

llad
Posts: 15
Joined: Wed Jun 12, 2013 5:44 am

Re: Dynamode USB Wifi Dongle issues

Sun Sep 22, 2013 1:25 pm

Hello All

Ralink/MediaTek have now released V 3.0.0.4 of the driver on their website.

Download here http://www.mediatek.com/_en/07_download ... php?sn=501.

This now works with current Raspbian Wheezy kernel.

Mine is.
uname -a
Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l

Although by default it continuously puts a lot of debug info in the syslog file.

You can stop this by editing the os/linux/rt_linux.c

Change the line
ULONG RTDebugLevel = RT_DEBUG_TRACE;
to
ULONG RTDebugLevel = RT_DEBUG_ERROR;

Hope this helps.

leidashuaige
Posts: 1
Joined: Tue Sep 24, 2013 3:13 am

Re: Dynamode USB Wifi Dongle issues

Tue Sep 24, 2013 3:19 am

hi,excuse me.I meet a mistake while following the instruction
the line pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make prepare
I have run it for more than 8 hours.
Could somebody tell me what happens?
thanks in advance

sicariusterr
Posts: 1
Joined: Sat Oct 05, 2013 6:45 pm

Re: Dynamode USB Wifi Dongle issues

Sat Oct 05, 2013 6:48 pm

Hello,

can anyone build the drivers and upload this?

Thanks

llad
Posts: 15
Joined: Wed Jun 12, 2013 5:44 am

Re: Dynamode USB Wifi Dongle issues

Tue Oct 08, 2013 1:58 pm

Tried but too big to attach in here.

ant_thomas
Posts: 115
Joined: Fri May 04, 2012 4:33 pm

Re: Dynamode USB Wifi Dongle issues

Wed Oct 30, 2013 6:30 pm

llad wrote:Tried but too big to attach in here.
If you could put it on dropbox or email it to me I could host it?

I have bought this adapter off ebay by accident. I bought one that was advertised as a RealTek RTL8188SU chipset but in fact it has this 148f:7601 Ralink chipset.

I bought it specifically for the RTL8188SU chipset. Not impressed. Not sure if I can be bothered returning it.

ant_thomas
Posts: 115
Joined: Fri May 04, 2012 4:33 pm

Re: Dynamode USB Wifi Dongle issues

Thu Oct 31, 2013 8:53 am

Actually, don't bother.

I'm returning it and have bought a known working adapter.

sjashton
Posts: 5
Joined: Thu Nov 21, 2013 7:46 pm

Re: Dynamode USB Wifi Dongle issues

Sun Nov 24, 2013 8:10 pm

Did you solve this? - mtutil7601Usta: no symbol version for module_layout

A late night accidental 'sudo rm -R /' :roll: meant a clean NOOBS Raspbian install and followed the instructions step by step I got the above dmesg message as Chandhar did. I then installed rpi-update and ran it.

As I'm still learning I went through from the first steps - instead of using make clean in the source directories I wiped it all the src folders and started the instructions again. When I rebooted this time I didn't get any error message at all.
It was as if I was back to the start.

But I've learnt a lot this weekend. So after a coffee break I checked

Code: Select all

uname -a
which returned;

Linux raspberrypi 3.10.19+ #600 PREEMPT Sat Nov 16 18:34:43 GMT 2013 armv6l GNU/Linux

This means I had a set of instructions for kernel 3.6.11+ , source for 3.6.y, and Modules.symvers for 3.10.19 and now I was on 3.10.19+ - So if I was careful and tweaked the code it should work, right?

Thanks so much for the clearly written instructions - I've had some error permissions - to do with mounting my source kernel & driver files on

Code: Select all

 /media/RPi-Source
not in

Code: Select all

 /home/pi/
- and had translated a few of the locations and commands to my system setup. The logic of the commands however remained the same. This problem has helped me learn in leaps and bounds. This reply is a heartfelt thanks & a comment on how I finished the instructions to work in my case.

https://github.com/raspberrypi/firmware ... le.symvers is for 3.10.19 as I write this post - first time I followed the driver compile instructions I was on 3.6.11+ - it seems it always posts the latest version. So if I ever want to compile on an older kernel I'll need to find an older verison of Modules.symvers file which matches my system!

I also found the new linux driver source from MediaTek: (Instructions had 3.0.0.3)
http://www.mediatek.com/_en/07_download ... php?sn=501
DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2

But I don't know if the DPO Vs DPA archive naming signifies ARM source code? So I stuck with the code on the instructions.
Could anyone confirm if I could do this? I'm not doing it now as I'm up and running, but I'd like to know.

I replaced the 3.6.y kernel source wget with the following:

Code: Select all

wget https://github.com/raspberrypi/linux/archive/rpi-3.10.y.tar.gz

Code: Select all

tar xvfz rpi-3.10.y.tar.gz
I amended the symbolic link between source folder and system libraries as follows:

Code: Select all

sudo ln -s /media/RPi_Source/src/kernel/linux-rpi-3.10.y /lib/modules/3.10.19+/build

Code: Select all

cd linux-rpi-3.10.y
I then borrowed a little sequence of commands from here: http://forum.stmlabs.com/showthread.php?tid=11422- I hadn't got these work either because I couldn't follow the working - unlike here - from this point on I've used some inductive leaps.

Code: Select all

make mrproper
gzip -dc /proc/config.gz > .config
cp .config .config.org
sed -i 's/^CONFIG_CROSS_COMPILE.*/CONFIG_CROSS_COMPILE=""/' .config[/code]
#This edited one line in the config file as shown - from .* to ="" - this I still need to look into..

Code: Select all

make modules_prepare 
wget [url]https://github.com/raspberrypi/firmware/raw/master/extra/Module.symvers[/url]
I made sure Module.symvers was in the kernel source folder - but the command on the other instructions seemed to be moving the same file up a directory? This bit never worked - so I manually copied a version of Module.symvers to the main folder of

Code: Select all

/media/RPi_Source/
- I'm not convinced this was needed?

Then moving to the

Code: Select all

cd /media/RPi_Source/src/DPA_MT7601U_LinuxSTA_3.0.0.3_20130717_LS
folder I did the following to make sure the driver compilations was pointing to the folders I needed it to!

# Edit Makefile.inc
# Change

Code: Select all

LINUX_SRC = /lib/modules/$(shell uname -r)/build
# To

Code: Select all

LINUX_SRC = /media/RPi_Source/src/kernel/linux-rpi-3.10.y

Code: Select all

make all
Last 3 commands: Again pointing to the folders I needed:

Code: Select all

sudo cp MODULE/os/linux/mt7601Usta.ko /lib/modules/3.10.19+/kernel/drivers/net/wireless/
sudo cp UTIL/os/linux/mtutil7601Usta.ko /lib/modules/3.10.19+/kernel/drivers/net/wireless/
sudo cp NETIF/os/linux/mtnet7601Usta.ko /lib/modules/3.10.19+/kernel/drivers/net/wireless/
On a reboot I know have ra0 under

Code: Select all

sudo ifconfig -a
- so I can finally crack on with the rest of my headless RaspberryPi plans! Next time I'm checking hardware compatibility before I buy. :D

pi_phreak
Posts: 1
Joined: Sun Nov 24, 2013 8:18 pm
Location: Portsmouth Uk
Contact: Website

Re: Dynamode USB Wifi Dongle issues

Sun Nov 24, 2013 8:29 pm

Just my 10p's worth there is a 150n wireless dongle for £10 that works with xbmc and with wheezy straight out of the box its from Maplin Electronics its

http://www.maplin.co.uk/maplin-single-b ... ter-681507

product code A71LB

its £9.99 but its headache free, i have used these on a number of projects and have had no problems

Pi_Phreak

sjashton
Posts: 5
Joined: Thu Nov 21, 2013 7:46 pm

Re: Dynamode USB Wifi Dongle issues

Tue Dec 03, 2013 2:58 pm

Well for my second box I followed your advice and I'm up and running on first boot. Thanks for the post!

smallpotato000
Posts: 4
Joined: Wed Jan 22, 2014 11:03 am

Re: Dynamode USB Wifi Dongle issues

Wed Jan 22, 2014 8:30 pm

I have done this for raspbian 2014-01-07. The binaries can be downloaded from http://vdisk.weibo.com/s/z88sCIH-o18rr/1390421896 . Sorry for uploading to a Chinese-only site. I am going to upload it to GoogleDrive or SkyDrive when I have VPN connection.
With these drivers ra0 appers in both ifconfig -a or iwconfig. However wpa_cli does not work. Going to fix this tomorrow.

netelbcn
Posts: 5
Joined: Wed Jan 01, 2014 11:24 pm

Re: Dynamode USB Wifi Dongle issues

Fri Feb 07, 2014 1:21 pm

smallpotato000 wrote:I have done this for raspbian 2014-01-07. The binaries can be downloaded from http://vdisk.weibo.com/s/z88sCIH-o18rr/1390421896 . Sorry for uploading to a Chinese-only site. I am going to upload it to GoogleDrive or SkyDrive when I have VPN connection.
With these drivers ra0 appers in both ifconfig -a or iwconfig. However wpa_cli does not work. Going to fix this tomorrow.
Hi, smallpotato
I'm running kernel 3.10.25. I follow this steps:
- downloaded kernel
- untar it
- create te dynamic link to /lib/modules/
- download your files
- copy all .so and .dat to /lib/modules/3.10.25/kernel/drivers/net/wireless/
- reboot my raspi

and my Ralink 7610 don't appear in ifconfig or iwconfig.

Can you help me ang guide in the process to add these files to my system?

Thank you very much for your time...

sepplmaster
Posts: 3
Joined: Mon Feb 10, 2014 6:43 pm

Re: Dynamode USB Wifi Dongle issues

Mon Feb 10, 2014 8:28 pm

smallpotato000 wrote:Sorry for uploading to a Chinese-only site. I am going to upload it to GoogleDrive or SkyDrive when I have VPN connection.
Since I had real problems getting it when I needed it, I took the liberty and uploaded it to some filehoster myself. I hope you are fine with that.

mt7601_rpi_3.10.25_bin.tgz

JamboK
Posts: 4
Joined: Tue Jul 30, 2013 8:22 pm

Re: Dynamode USB Wifi Dongle issues

Tue Feb 18, 2014 4:23 pm

For anyone needing a compiled version for 3.10.24 -- here you go

mt7601.firmware.3.10.24.zip

Ken

dvx
Posts: 6
Joined: Sun Mar 02, 2014 9:17 pm

Re: Dynamode USB Wifi Dongle issues

Sun Mar 02, 2014 9:30 pm

Hello people. Some time search for tutorial to install. I did not expect to be such problems. This tutorial I quite like. But I have a problem already in step "pi@raspberrypi ~/src/kernel/linux-rpi-3.6.y $ make mrproper" ! I received a reply "make: *** No rule to make target ' mproper'. Stop. "
Does anyone tell me why? ! ?
All make do problem...
---------------------------------
I did not expect such problems with the driver installation. :roll: :roll: :shock:

Return to “Troubleshooting”