abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    dnes 02:44 | Nová verze

    Emulátory Box86 a Box64 umožňující spouštět linuxové aplikace pro x86 a x86_64 na jiných než x86 a x86_64 architekturách, například ARM a ARM64, byly vydány v nových verzích: Box86 0.3.8 a Box64 0.3.2. Ukázka možností na YouTube.

    Ladislav Hagara | Komentářů: 0
    včera 20:55 | Nová verze

    Byla vydána nová verze 6.1 neměnné (immutable) distribuce openSUSE Leap Micro určené pro běh kontejneru a virtuálních strojů. S vydáním verze 6.1 byla ukončena podpora verze 5.5.

    Ladislav Hagara | Komentářů: 0
    včera 19:55 | IT novinky

    Poslanci dnes ve třetím čtení schválili návrh zákona o digitálních financích. Cílem zákona je implementace předpisů Evropské unie v oblasti digitálních financí, konkrétně nařízení DORA (Digital Operational Resilience Act) o digitální provozní odolnosti finančního sektoru a nařízení MiCA (Markets in Crypto Assets) o trzích kryptoaktiv. Zákon nyní míří k projednání do Senátu ČR. U kryptoměn bude příjem do 100 tisíc Kč za zdaňovací období osvobozen od daně, podobně jako u cenných papírů, a to za podmínky jejich držení po dobu alespoň 3 let.

    Ladislav Hagara | Komentářů: 3
    včera 19:11 | Komunita

    O víkendu (15:00 až 23:00) proběhne EmacsConf 2024, tj. online konference vývojářů a uživatelů editoru GNU Emacs. Sledovat ji bude možné na stránkách konference. Záznamy budou k dispozici přímo z programu.

    Ladislav Hagara | Komentářů: 0
    včera 10:22 | Nová verze

    Mozilla má nové logo a vizuální identitu. Profesionální. Vytvořeno u Jones Knowles Ritchie (JKR). Na dalších 25 let.

    Ladislav Hagara | Komentářů: 22
    5.12. 23:33 | Komunita

    Bylo rozhodnuto, že nejnovější Linux 6.12 je jádrem s prodlouženou upstream podporou (LTS). Ta je aktuálně plánována do prosince 2026. LTS jader je aktuálně šest: 5.4, 5.10, 5.15, 6.1, 6.6 a 6.12.

    Ladislav Hagara | Komentářů: 0
    5.12. 15:11 | Nová verze

    Byla vydána nová stabilní verze 3.21.0, tj. první z nové řady 3.21, minimalistické linuxové distribuce zaměřené na bezpečnost Alpine Linux (Wikipedie) postavené na standardní knihovně jazyka C musl libc a BusyBoxu. Z novinek lze vypíchnou počáteční podporu architektury Loongson LoongArch64.

    Ladislav Hagara | Komentářů: 0
    5.12. 11:33 | IT novinky

    Mapy.cz Premium stojí 249 korun ročně. Premium verze je zaváděna postupně.

    Ladislav Hagara | Komentářů: 30
    5.12. 11:00 | IT novinky

    Hodnota Bitcoinu, decentralizované kryptoměny překonala 100 000 dolarů (2 390 000 korun).

    JZD | Komentářů: 16
    5.12. 05:11 | Zajímavý software

    Hurl byl vydán ve verzi 6.0.0. Hurl je nástroj běžící v příkazovém řádku, který spouští HTTP požadavky definované v textovém souboru.

    Ladislav Hagara | Komentářů: 0
    Rozcestník

    Dotaz: Raspberry pi a wifi ralink RT5370

    21.10.2013 20:18 Jirka | skóre: 25
    Raspberry pi a wifi ralink RT5370
    Přečteno: 1808×
    Zdravím všechny,
    mám tu malinu verze A, zprovozňuju ji s wifi kartou a řeším tu takovou záludnost. S kartou atheros při startu naběhne, připojí se a všechno OK, až na ty rozměry.
    Horší je to s ralinkem RT5370, kterej je příjemně maličkej, ale při startu se ne a ne zinicializovat, wlan0 to prostě neobjeví, dokud kartu nevytáhnu a zase nezandám. Pak teprve, ale už jen ručně se s ní dá připojit k síti. Nemá někdo tip, jak tohle vyřešit? Díky.
    Dokud to funguje, nešťourej se v tom!...

    Odpovědi

    21.10.2013 21:02 NN
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Nejake logy, dmesg, debug etc. nemame?
    21.10.2013 21:36 Jirka | skóre: 25
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    dmesg:
    root@raspiA:/data# cat 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 20120731 (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 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 c0545b54, node_mem_map c05f0000
    [    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=512 bcm2708.boardrev=0x8 bcm2708.serial=0xb96a3ae3 smsc95xx.macaddr=B8:27:EB:6A:3A:E3 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: 221092k/221092k available, 24668k 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 - 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, Nodes=1
    [    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.000970] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
    [    0.060125] pid_max: default: 32768 minimum: 301
    [    0.060607] Mount-cache hash table entries: 512
    [    0.061417] Initializing cgroup subsys cpuacct
    [    0.061473] Initializing cgroup subsys devices
    [    0.061505] Initializing cgroup subsys freezer
    [    0.061535] Initializing cgroup subsys blkio
    [    0.061678] CPU: Testing write buffer coherency: ok
    [    0.062001] hw perfevents: enabled with v6 PMU driver, 3 counters available
    [    0.062152] Setting up static identity map for 0x3a5238 - 0x3a5294
    [    0.063629] devtmpfs: initialized
    [    0.075093] NET: Registered protocol family 16
    [    0.081484] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [    0.082547] bcm2708.uart_clock = 0
    [    0.083908] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    [    0.083962] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.083998] mailbox: Broadcom VideoCore Mailbox driver
    [    0.084086] bcm2708_vcio: mailbox at f200b880
    [    0.084199] bcm_power: Broadcom power driver
    [    0.084237] bcm_power_open() -> 0
    [    0.084261] bcm_power_request(0, 8)
    [    0.584944] bcm_mailbox_read -> 00000080, 0
    [    0.584984] bcm_power_request -> 0
    [    0.585009] Serial: AMBA PL011 UART driver
    [    0.585133] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
    [    0.916352] console [ttyAMA0] enabled
    [    0.940623] bio: create slab bio-0 at 0
    [    0.945531] SCSI subsystem initialized
    [    0.949595] usbcore: registered new interface driver usbfs
    [    0.955185] usbcore: registered new interface driver hub
    [    0.960770] usbcore: registered new device driver usb
    [    0.967108] Switching to clocksource stc
    [    0.971399] FS-Cache: Loaded
    [    0.974554] CacheFiles: Loaded
    [    0.989525] NET: Registered protocol family 2
    [    0.994796] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    1.002143] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    1.008722] TCP: Hash tables configured (established 8192 bind 8192)
    [    1.015144] TCP: reno registered
    [    1.018396] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    1.024288] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    1.030902] NET: Registered protocol family 1
    [    1.035815] RPC: Registered named UNIX socket transport module.
    [    1.041855] RPC: Registered udp transport module.
    [    1.046580] RPC: Registered tcp transport module.
    [    1.051324] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.058441] bcm2708_dma: DMA manager at f2007000
    [    1.063214] bcm2708_gpio: bcm2708_gpio_probe c051fdf8
    [    1.068665] vc-mem: phys_addr:0x00000000 mem_base=0x0fa00000 mem_size:0x10000000(256 MiB)
    [    1.077867] audit: initializing netlink socket (disabled)
    [    1.083465] type=2000 audit(0.940:1): initialized
    [    1.215832] VFS: Disk quotas dquot_6.5.2
    [    1.220081] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.229266] FS-Cache: Netfs 'nfs' registered for caching
    [    1.235922] NFS: Registering the id_resolver key type
    [    1.241109] Key type id_resolver registered
    [    1.245412] Key type id_legacy registered
    [    1.249774] msgmni has been set to 463
    [    1.255756] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [    1.263571] io scheduler noop registered
    [    1.267525] io scheduler deadline registered (default)
    [    1.272851] io scheduler cfq registered
    [    1.288934] Console: switching to colour frame buffer device 82x32
    [    1.298290] kgdb: Registered I/O driver kgdboc.
    [    1.303570] vc-cma: Videocore CMA driver
    [    1.309225] vc-cma: vc_cma_base      = 0x00000000
    [    1.315652] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
    [    1.322724] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
    [    1.338431] brd: module loaded
    [    1.348228] loop: module loaded
    [    1.353462] vchiq: vchiq_init_state: slot_zero = 0xce000000, is_master = 0
    [    1.362771] Loading iSCSI transport class v2.0-870.
    [    1.370348] usbcore: registered new interface driver smsc95xx
    [    1.378022] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    1.590558] Core Release: 2.80a
    [    1.595457] Setting default values for core params
    [    1.601935] Finished setting default values for core params
    [    1.814173] Using Buffer DMA mode
    [    1.819114] Periodic Transfer Interrupt Enhancement - disabled
    [    1.826576] Multiprocessor Interrupt Enhancement - disabled
    [    1.833776] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    1.839726] Dedicated Tx FIFOs mode
    [    1.845702] dwc_otg: Microframe scheduler enabled
    [    1.846078] dwc_otg bcm2708_usb: DWC OTG Controller
    [    1.852762] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    [    1.861720] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    [    1.868854] Init: Port Power? op_state=1
    [    1.874439] Init: Power Port (0)
    [    1.879335] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.887806] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.896685] usb usb1: Product: DWC OTG Controller
    [    1.903017] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
    [    1.910372] usb usb1: SerialNumber: bcm2708_usb
    [    1.917248] hub 1-0:1.0: USB hub found
    [    1.922767] hub 1-0:1.0: 1 port detected
    [    1.928657] dwc_otg: FIQ enabled
    [    1.928672] dwc_otg: NAK holdoff enabled
    [    1.928681] dwc_otg: FIQ split fix enabled
    [    1.928699] Module dwc_common_port init
    [    1.928921] Initializing USB Mass Storage driver...
    [    1.935765] usbcore: registered new interface driver usb-storage
    [    1.943526] USB Mass Storage support registered.
    [    1.949944] usbcore: registered new interface driver libusual
    [    1.957675] mousedev: PS/2 mouse device common for all mice
    [    1.965667] bcm2835-cpufreq: min=700000 max=700000 cur=700000
    [    1.973235] bcm2835-cpufreq: switching to governor powersave
    [    1.980534] bcm2835-cpufreq: switching to governor powersave
    [    1.987837] cpuidle: using governor ladder
    [    1.993538] cpuidle: using governor menu
    [    1.999055] sdhci: Secure Digital Host Controller Interface driver
    [    2.006815] sdhci: Copyright(c) Pierre Ossman
    [    2.012813] sdhci: Enable low-latency mode
    [    2.061393] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
    [    2.072587] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
    [    2.082293] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.095265] usbcore: registered new interface driver usbhid
    [    2.102645] usbhid: USB HID core driver
    [    2.112953] TCP: cubic registered
    [    2.120046] Initializing XFRM netlink socket
    [    2.128163] Indeed it is in host mode hprt0 = 00021501
    [    2.135061] NET: Registered protocol family 17
    [    2.151433] Key type dns_resolver registered
    [    2.161605] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
    [    2.201431] registered taskstats version 1
    [    2.212020] Waiting for root device /dev/mmcblk0p2...
    [    2.218942] mmc0: read SD Status register (SSR) after 3 attempts
    [    2.245036] mmc0: new high speed SDHC card at address b368
    [    2.261796] mmcblk0: mmc0:b368 SMI   3.69 GiB 
    [    2.271675]  mmcblk0: p1 p2
    [    2.369322] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.381104] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.389049] usb 1-1: new full-speed USB device number 2 using dwc_otg
    [    2.398757] devtmpfs: mounted
    [    2.404211] Freeing init memory: 132K
    [    2.409892] Indeed it is in host mode hprt0 = 00021501
    [    2.601321] usb 1-1: device descriptor read/64, error -71
    [    2.713497] Indeed it is in host mode hprt0 = 00021501
    [    2.921353] usb 1-1: device descriptor read/64, error -71
    [    3.031390] Indeed it is in host mode hprt0 = 00021501
    [    3.261296] usb 1-1: new full-speed USB device number 3 using dwc_otg
    [    3.277684] Indeed it is in host mode hprt0 = 00021501
    [    3.511353] usb 1-1: device descriptor read/64, error -71
    [    3.624219] Indeed it is in host mode hprt0 = 00021501
    [    3.851319] usb 1-1: device descriptor read/64, error -71
    [    3.967523] udevd[154]: starting version 175
    [    3.975814] Indeed it is in host mode hprt0 = 00021501
    [    4.251381] usb 1-1: new full-speed USB device number 4 using dwc_otg
    [    4.681319] usb 1-1: device not accepting address 4, error -71
    [    4.704572] Indeed it is in host mode hprt0 = 00021501
    [    4.991346] usb 1-1: new full-speed USB device number 5 using dwc_otg
    [    5.075440] Registered led device: led0
    [    5.421327] usb 1-1: device not accepting address 5, error -71
    [    5.429362] hub 1-0:1.0: unable to enumerate USB device on port 1
    [   10.594130] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   11.193356] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   12.056697] cfg80211: Calling CRDA to update world regulatory domain
    [   12.140551] usbcore: registered new interface driver rt2800usb
    [   12.326155] cfg80211: World regulatory domain updated:
    [   12.345927] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   12.366283] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.388202] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   12.441315] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   12.464350] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.491320] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)


    debug:
    Oct 21 21:16:07 raspiA kernel: [    0.000000] On node 0 totalpages: 61440
    Oct 21 21:16:07 raspiA kernel: [    0.000000] free_area_init_node: node 0, pgdat c0545b54, node_mem_map c05f0000
    Oct 21 21:16:07 raspiA kernel: [    0.000000]   Normal zone: 480 pages used for memmap
    Oct 21 21:16:07 raspiA kernel: [    0.000000]   Normal zone: 0 pages reserved
    Oct 21 21:16:07 raspiA kernel: [    0.000000]   Normal zone: 60960 pages, LIFO batch:15
    Oct 21 21:16:07 raspiA kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    Oct 21 21:16:07 raspiA kernel: [    0.000000] pcpu-alloc: [0] 0 
    Oct 21 21:16:07 raspiA kernel: [    1.845702] dwc_otg: Microframe scheduler enabled
    Oct 21 21:16:07 raspiA kernel: [    1.928657] dwc_otg: FIQ enabled
    Oct 21 21:16:07 raspiA kernel: [    1.928672] dwc_otg: NAK holdoff enabled
    Oct 21 21:16:07 raspiA kernel: [    1.928681] dwc_otg: FIQ split fix enabled
    Oct 21 21:16:07 raspiA kernel: [    1.928699] Module dwc_common_port init
    Oct 21 21:16:07 raspiA kernel: [    5.075440] Registered led device: led0
    Oct 21 21:16:11 raspiA ntpd[1958]: signal_no_reset: signal 17 had flags 4000000
    


    kern.log
    Oct 21 21:16:07 raspiA kernel: imklog 5.8.11, log source = /proc/kmsg started.
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Booting Linux on physical CPU 0
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Initializing cgroup subsys cpu
    Oct 21 21:16:07 raspiA kernel: [    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) ) #538 PREEMPT Fri Aug 30 20:42:08 BST 2013
    Oct 21 21:16:07 raspiA kernel: [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
    Oct 21 21:16:07 raspiA kernel: [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Machine: BCM2708
    Oct 21 21:16:07 raspiA kernel: [    0.000000] cma: CMA: reserved 16 MiB at 0e000000
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Memory policy: ECC disabled, Data cache writeback
    Oct 21 21:16:07 raspiA kernel: [    0.000000] On node 0 totalpages: 61440
    Oct 21 21:16:07 raspiA kernel: [    0.000000] free_area_init_node: node 0, pgdat c0545b54, node_mem_map c05f0000
    Oct 21 21:16:07 raspiA kernel: [    0.000000]   Normal zone: 480 pages used for memmap
    Oct 21 21:16:07 raspiA kernel: [    0.000000]   Normal zone: 0 pages reserved
    Oct 21 21:16:07 raspiA kernel: [    0.000000]   Normal zone: 60960 pages, LIFO batch:15
    Oct 21 21:16:07 raspiA kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    Oct 21 21:16:07 raspiA kernel: [    0.000000] pcpu-alloc: [0] 0 
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 60960
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=512 bcm2708.boardrev=0x8 bcm2708.serial=0xb96a3ae3 smsc95xx.macaddr=B8:27:EB:6A:3A:E3 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
    Oct 21 21:16:07 raspiA kernel: [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Memory: 240MB = 240MB total
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Memory: 221092k/221092k available, 24668k reserved, 0K highmem
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Virtual kernel memory layout:
    Oct 21 21:16:07 raspiA kernel: [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]     vmalloc : 0xcf800000 - 0xff000000   ( 760 MB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]     lowmem  : 0xc0000000 - 0xcf000000   ( 240 MB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]       .text : 0xc0008000 - 0xc04ef844   (5023 kB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]       .init : 0xc04f0000 - 0xc05111f0   ( 133 kB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]       .data : 0xc0512000 - 0xc0546560   ( 210 kB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000]        .bss : 0xc0546584 - 0xc05ef738   ( 677 kB)
    Oct 21 21:16:07 raspiA kernel: [    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Oct 21 21:16:07 raspiA kernel: [    0.000000] NR_IRQS:330
    Oct 21 21:16:07 raspiA kernel: [    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
    Oct 21 21:16:07 raspiA kernel: [    0.000000] Console: colour dummy device 80x30
    Oct 21 21:16:07 raspiA kernel: [    0.000000] console [tty1] enabled
    Oct 21 21:16:07 raspiA kernel: [    0.000970] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
    Oct 21 21:16:07 raspiA kernel: [    0.060125] pid_max: default: 32768 minimum: 301
    Oct 21 21:16:07 raspiA kernel: [    0.060607] Mount-cache hash table entries: 512
    Oct 21 21:16:07 raspiA kernel: [    0.061417] Initializing cgroup subsys cpuacct
    Oct 21 21:16:07 raspiA kernel: [    0.061473] Initializing cgroup subsys devices
    Oct 21 21:16:07 raspiA kernel: [    0.061505] Initializing cgroup subsys freezer
    Oct 21 21:16:07 raspiA kernel: [    0.061535] Initializing cgroup subsys blkio
    Oct 21 21:16:07 raspiA kernel: [    0.061678] CPU: Testing write buffer coherency: ok
    Oct 21 21:16:07 raspiA kernel: [    0.062001] hw perfevents: enabled with v6 PMU driver, 3 counters available
    Oct 21 21:16:07 raspiA kernel: [    0.062152] Setting up static identity map for 0x3a5238 - 0x3a5294
    Oct 21 21:16:07 raspiA kernel: [    0.063629] devtmpfs: initialized
    Oct 21 21:16:07 raspiA kernel: [    0.075093] NET: Registered protocol family 16
    Oct 21 21:16:07 raspiA kernel: [    0.081484] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    Oct 21 21:16:07 raspiA kernel: [    0.082547] bcm2708.uart_clock = 0
    Oct 21 21:16:07 raspiA kernel: [    0.083908] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    Oct 21 21:16:07 raspiA kernel: [    0.083962] hw-breakpoint: maximum watchpoint size is 4 bytes.
    Oct 21 21:16:07 raspiA kernel: [    0.083998] mailbox: Broadcom VideoCore Mailbox driver
    Oct 21 21:16:07 raspiA kernel: [    0.084086] bcm2708_vcio: mailbox at f200b880
    Oct 21 21:16:07 raspiA kernel: [    0.084199] bcm_power: Broadcom power driver
    Oct 21 21:16:07 raspiA kernel: [    0.084237] bcm_power_open() -> 0
    Oct 21 21:16:07 raspiA kernel: [    0.084261] bcm_power_request(0, 8)
    Oct 21 21:16:07 raspiA kernel: [    0.584944] bcm_mailbox_read -> 00000080, 0
    Oct 21 21:16:07 raspiA kernel: [    0.584984] bcm_power_request -> 0
    Oct 21 21:16:07 raspiA kernel: [    0.585009] Serial: AMBA PL011 UART driver
    Oct 21 21:16:07 raspiA kernel: [    0.585133] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
    Oct 21 21:16:07 raspiA kernel: [    0.916352] console [ttyAMA0] enabled
    Oct 21 21:16:07 raspiA kernel: [    0.940623] bio: create slab bio-0 at 0
    Oct 21 21:16:07 raspiA kernel: [    0.945531] SCSI subsystem initialized
    Oct 21 21:16:07 raspiA kernel: [    0.949595] usbcore: registered new interface driver usbfs
    Oct 21 21:16:07 raspiA kernel: [    0.955185] usbcore: registered new interface driver hub
    Oct 21 21:16:07 raspiA kernel: [    0.960770] usbcore: registered new device driver usb
    Oct 21 21:16:07 raspiA kernel: [    0.967108] Switching to clocksource stc
    Oct 21 21:16:07 raspiA kernel: [    0.971399] FS-Cache: Loaded
    Oct 21 21:16:07 raspiA kernel: [    0.974554] CacheFiles: Loaded
    Oct 21 21:16:07 raspiA kernel: [    0.989525] NET: Registered protocol family 2
    Oct 21 21:16:07 raspiA kernel: [    0.994796] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    Oct 21 21:16:07 raspiA kernel: [    1.002143] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    Oct 21 21:16:07 raspiA kernel: [    1.008722] TCP: Hash tables configured (established 8192 bind 8192)
    Oct 21 21:16:07 raspiA kernel: [    1.015144] TCP: reno registered
    Oct 21 21:16:07 raspiA kernel: [    1.018396] UDP hash table entries: 256 (order: 0, 4096 bytes)
    Oct 21 21:16:07 raspiA kernel: [    1.024288] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    Oct 21 21:16:07 raspiA kernel: [    1.030902] NET: Registered protocol family 1
    Oct 21 21:16:07 raspiA kernel: [    1.035815] RPC: Registered named UNIX socket transport module.
    Oct 21 21:16:07 raspiA kernel: [    1.041855] RPC: Registered udp transport module.
    Oct 21 21:16:07 raspiA kernel: [    1.046580] RPC: Registered tcp transport module.
    Oct 21 21:16:07 raspiA kernel: [    1.051324] RPC: Registered tcp NFSv4.1 backchannel transport module.
    Oct 21 21:16:07 raspiA kernel: [    1.058441] bcm2708_dma: DMA manager at f2007000
    Oct 21 21:16:07 raspiA kernel: [    1.063214] bcm2708_gpio: bcm2708_gpio_probe c051fdf8
    Oct 21 21:16:07 raspiA kernel: [    1.068665] vc-mem: phys_addr:0x00000000 mem_base=0x0fa00000 mem_size:0x10000000(256 MiB)
    Oct 21 21:16:07 raspiA kernel: [    1.077867] audit: initializing netlink socket (disabled)
    Oct 21 21:16:07 raspiA kernel: [    1.083465] type=2000 audit(0.940:1): initialized
    Oct 21 21:16:07 raspiA kernel: [    1.215832] VFS: Disk quotas dquot_6.5.2
    Oct 21 21:16:07 raspiA kernel: [    1.220081] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Oct 21 21:16:07 raspiA kernel: [    1.229266] FS-Cache: Netfs 'nfs' registered for caching
    Oct 21 21:16:07 raspiA kernel: [    1.235922] NFS: Registering the id_resolver key type
    Oct 21 21:16:07 raspiA kernel: [    1.241109] Key type id_resolver registered
    Oct 21 21:16:07 raspiA kernel: [    1.245412] Key type id_legacy registered
    Oct 21 21:16:07 raspiA kernel: [    1.249774] msgmni has been set to 463
    Oct 21 21:16:07 raspiA kernel: [    1.255756] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    Oct 21 21:16:07 raspiA kernel: [    1.263571] io scheduler noop registered
    Oct 21 21:16:07 raspiA kernel: [    1.267525] io scheduler deadline registered (default)
    Oct 21 21:16:07 raspiA kernel: [    1.272851] io scheduler cfq registered
    Oct 21 21:16:07 raspiA kernel: [    1.288934] Console: switching to colour frame buffer device 82x32
    Oct 21 21:16:07 raspiA kernel: [    1.298290] kgdb: Registered I/O driver kgdboc.
    Oct 21 21:16:07 raspiA kernel: [    1.303570] vc-cma: Videocore CMA driver
    Oct 21 21:16:07 raspiA kernel: [    1.309225] vc-cma: vc_cma_base      = 0x00000000
    Oct 21 21:16:07 raspiA kernel: [    1.315652] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
    Oct 21 21:16:07 raspiA kernel: [    1.322724] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
    Oct 21 21:16:07 raspiA kernel: [    1.338431] brd: module loaded
    Oct 21 21:16:07 raspiA kernel: [    1.348228] loop: module loaded
    Oct 21 21:16:07 raspiA kernel: [    1.353462] vchiq: vchiq_init_state: slot_zero = 0xce000000, is_master = 0
    Oct 21 21:16:07 raspiA kernel: [    1.362771] Loading iSCSI transport class v2.0-870.
    Oct 21 21:16:07 raspiA kernel: [    1.370348] usbcore: registered new interface driver smsc95xx
    Oct 21 21:16:07 raspiA kernel: [    1.378022] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    Oct 21 21:16:07 raspiA kernel: [    1.590558] Core Release: 2.80a
    Oct 21 21:16:07 raspiA kernel: [    1.595457] Setting default values for core params
    Oct 21 21:16:07 raspiA kernel: [    1.601935] Finished setting default values for core params
    Oct 21 21:16:07 raspiA kernel: [    1.814173] Using Buffer DMA mode
    Oct 21 21:16:07 raspiA kernel: [    1.819114] Periodic Transfer Interrupt Enhancement - disabled
    Oct 21 21:16:07 raspiA kernel: [    1.826576] Multiprocessor Interrupt Enhancement - disabled
    Oct 21 21:16:07 raspiA kernel: [    1.833776] OTG VER PARAM: 0, OTG VER FLAG: 0
    Oct 21 21:16:07 raspiA kernel: [    1.839726] Dedicated Tx FIFOs mode
    Oct 21 21:16:07 raspiA kernel: [    1.845702] dwc_otg: Microframe scheduler enabled
    Oct 21 21:16:07 raspiA kernel: [    1.846078] dwc_otg bcm2708_usb: DWC OTG Controller
    Oct 21 21:16:07 raspiA kernel: [    1.852762] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    Oct 21 21:16:07 raspiA kernel: [    1.861720] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    Oct 21 21:16:07 raspiA kernel: [    1.868854] Init: Port Power? op_state=1
    Oct 21 21:16:07 raspiA kernel: [    1.874439] Init: Power Port (0)
    Oct 21 21:16:07 raspiA kernel: [    1.879335] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    Oct 21 21:16:07 raspiA kernel: [    1.887806] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    Oct 21 21:16:07 raspiA kernel: [    1.896685] usb usb1: Product: DWC OTG Controller
    Oct 21 21:16:07 raspiA kernel: [    1.903017] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
    Oct 21 21:16:07 raspiA kernel: [    1.910372] usb usb1: SerialNumber: bcm2708_usb
    Oct 21 21:16:07 raspiA kernel: [    1.917248] hub 1-0:1.0: USB hub found
    Oct 21 21:16:07 raspiA kernel: [    1.922767] hub 1-0:1.0: 1 port detected
    Oct 21 21:16:07 raspiA kernel: [    1.928657] dwc_otg: FIQ enabled
    Oct 21 21:16:07 raspiA kernel: [    1.928672] dwc_otg: NAK holdoff enabled
    Oct 21 21:16:07 raspiA kernel: [    1.928681] dwc_otg: FIQ split fix enabled
    Oct 21 21:16:07 raspiA kernel: [    1.928699] Module dwc_common_port init
    Oct 21 21:16:07 raspiA kernel: [    1.928921] Initializing USB Mass Storage driver...
    Oct 21 21:16:07 raspiA kernel: [    1.935765] usbcore: registered new interface driver usb-storage
    Oct 21 21:16:07 raspiA kernel: [    1.943526] USB Mass Storage support registered.
    Oct 21 21:16:07 raspiA kernel: [    1.949944] usbcore: registered new interface driver libusual
    Oct 21 21:16:07 raspiA kernel: [    1.957675] mousedev: PS/2 mouse device common for all mice
    Oct 21 21:16:07 raspiA kernel: [    1.965667] bcm2835-cpufreq: min=700000 max=700000 cur=700000
    Oct 21 21:16:07 raspiA kernel: [    1.973235] bcm2835-cpufreq: switching to governor powersave
    Oct 21 21:16:07 raspiA kernel: [    1.980534] bcm2835-cpufreq: switching to governor powersave
    Oct 21 21:16:07 raspiA kernel: [    1.987837] cpuidle: using governor ladder
    Oct 21 21:16:07 raspiA kernel: [    1.993538] cpuidle: using governor menu
    Oct 21 21:16:07 raspiA kernel: [    1.999055] sdhci: Secure Digital Host Controller Interface driver
    Oct 21 21:16:07 raspiA kernel: [    2.006815] sdhci: Copyright(c) Pierre Ossman
    Oct 21 21:16:07 raspiA kernel: [    2.012813] sdhci: Enable low-latency mode
    Oct 21 21:16:07 raspiA kernel: [    2.061393] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
    Oct 21 21:16:07 raspiA kernel: [    2.072587] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
    Oct 21 21:16:07 raspiA kernel: [    2.082293] sdhci-pltfm: SDHCI platform and OF driver helper
    Oct 21 21:16:07 raspiA kernel: [    2.095265] usbcore: registered new interface driver usbhid
    Oct 21 21:16:07 raspiA kernel: [    2.102645] usbhid: USB HID core driver
    Oct 21 21:16:07 raspiA kernel: [    2.112953] TCP: cubic registered
    Oct 21 21:16:07 raspiA kernel: [    2.120046] Initializing XFRM netlink socket
    Oct 21 21:16:07 raspiA kernel: [    2.128163] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    2.135061] NET: Registered protocol family 17
    Oct 21 21:16:07 raspiA kernel: [    2.151433] Key type dns_resolver registered
    Oct 21 21:16:07 raspiA kernel: [    2.161605] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
    Oct 21 21:16:07 raspiA kernel: [    2.201431] registered taskstats version 1
    Oct 21 21:16:07 raspiA kernel: [    2.212020] Waiting for root device /dev/mmcblk0p2...
    Oct 21 21:16:07 raspiA kernel: [    2.218942] mmc0: read SD Status register (SSR) after 3 attempts
    Oct 21 21:16:07 raspiA kernel: [    2.245036] mmc0: new high speed SDHC card at address b368
    Oct 21 21:16:07 raspiA kernel: [    2.261796] mmcblk0: mmc0:b368 SMI   3.69 GiB 
    Oct 21 21:16:07 raspiA kernel: [    2.271675]  mmcblk0: p1 p2
    Oct 21 21:16:07 raspiA kernel: [    2.369322] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    Oct 21 21:16:07 raspiA kernel: [    2.381104] VFS: Mounted root (ext4 filesystem) on device 179:2.
    Oct 21 21:16:07 raspiA kernel: [    2.389049] usb 1-1: new full-speed USB device number 2 using dwc_otg
    Oct 21 21:16:07 raspiA kernel: [    2.398757] devtmpfs: mounted
    Oct 21 21:16:07 raspiA kernel: [    2.404211] Freeing init memory: 132K
    Oct 21 21:16:07 raspiA kernel: [    2.409892] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    2.601321] usb 1-1: device descriptor read/64, error -71
    Oct 21 21:16:07 raspiA kernel: [    2.713497] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    2.921353] usb 1-1: device descriptor read/64, error -71
    Oct 21 21:16:07 raspiA kernel: [    3.031390] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    3.261296] usb 1-1: new full-speed USB device number 3 using dwc_otg
    Oct 21 21:16:07 raspiA kernel: [    3.277684] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    3.511353] usb 1-1: device descriptor read/64, error -71
    Oct 21 21:16:07 raspiA kernel: [    3.624219] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    3.851319] usb 1-1: device descriptor read/64, error -71
    Oct 21 21:16:07 raspiA kernel: [    3.975814] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    4.251381] usb 1-1: new full-speed USB device number 4 using dwc_otg
    Oct 21 21:16:07 raspiA kernel: [    4.681319] usb 1-1: device not accepting address 4, error -71
    Oct 21 21:16:07 raspiA kernel: [    4.704572] Indeed it is in host mode hprt0 = 00021501
    Oct 21 21:16:07 raspiA kernel: [    4.991346] usb 1-1: new full-speed USB device number 5 using dwc_otg
    Oct 21 21:16:07 raspiA kernel: [    5.075440] Registered led device: led0
    Oct 21 21:16:07 raspiA kernel: [    5.421327] usb 1-1: device not accepting address 5, error -71
    Oct 21 21:16:07 raspiA kernel: [    5.429362] hub 1-0:1.0: unable to enumerate USB device on port 1
    Oct 21 21:16:07 raspiA kernel: [   10.594130] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    Oct 21 21:16:07 raspiA kernel: [   11.193356] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    Oct 21 21:16:07 raspiA kernel: [   12.056697] cfg80211: Calling CRDA to update world regulatory domain
    Oct 21 21:16:07 raspiA kernel: [   12.140551] usbcore: registered new interface driver rt2800usb
    Oct 21 21:16:07 raspiA kernel: [   12.326155] cfg80211: World regulatory domain updated:
    Oct 21 21:16:07 raspiA kernel: [   12.345927] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    Oct 21 21:16:07 raspiA kernel: [   12.366283] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    Oct 21 21:16:07 raspiA kernel: [   12.388202] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    Oct 21 21:16:07 raspiA kernel: [   12.441315] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    Oct 21 21:16:07 raspiA kernel: [   12.464350] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    Oct 21 21:16:07 raspiA kernel: [   12.491320] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    Oct 21 21:16:08 raspiA kernel: [   23.258386] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SS
    Dokud to funguje, nešťourej se v tom!...
    22.10.2013 11:34 Enigma
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Napadá mě, jestli není ten ralink o něco žravější. Když při startování je spotřeba komponent o něco vyšší, nemusí se třeba dostat dost energie pro wifi kartu.
    22.10.2013 12:15 Jirka | skóre: 25
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    To by spíš kleklo, ale prověřím, projíždím net, "error -71" je evidentně dost častej úkaz.
    Dokud to funguje, nešťourej se v tom!...
    22.10.2013 13:57 gogol
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Vyskusaj loading Ralink ovladaca s nejakym oneskorenim.

    Pre vacsi prud ako 100mA na USB port si musi zariadenie (jeho ovladac) poziadat subsystem spravy energie o pozadovany nasobok nepresahujuci 5 nasobok zakladneho nastavenia. Je mozne, ze prave tuto operaciu Ralink ovladac nerobi. Sprava energie pre USB porty moze byt upravena na maximum az po naloadovani Ralink ovladaca. Preto, to moze po znova zasunuti fungovat normalne.
    22.10.2013 19:20 Jirka | skóre: 25
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Napájení už můžu definitivně vyloučit, +5V na USB je natvrdo spojeno s napájecím konektorem, pojistku jsem vyřadil a použil 3A zdroj s krátkým kablíkem.
    Různé optiony do /boot/cmdline.txt taky nezabírají, bude muset nastoupit plán B.
    Jak vyresetovat USB včetně všech zařízení k němu připojených? To by mohlo pomoct, připojení k síti už se pak vyřeší skriptem.
    Dokud to funguje, nešťourej se v tom!...
    22.10.2013 21:27 gogol
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Ja sice neviem ako je na RPi spraveny power managament USB radica, ale je mozne, ze napajanim natvrdo nevyriesis komunikaciu adaptera s radicom USB, ktory do adapteru posiela tie iste udaje nezavisle na tom ako si upravil napajanie za radicom. Daj si tam USB HUB a monitoruj komunikaciu dalsim pocitacom s Wiresharkom. Mozno na nieco prides. Doporucujem si dat ten adapter na klasicky pocitac s Linuxom a vypisat si parametre po zadani: lsusb -d IdVendor:IdProduct -v a porovnat ich potom s RPi.
    24.10.2013 13:24 pavel
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Mám Raspberry A + Ralink RT5370 připojený přímo do USB portu. Zdroj mám poněkud předimenzovaný 2A noname. Funguje mi to všechno bez problémů ihned po startu. A nevzpomínám si, že bych někde něco nastavoval.
    [    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) ) #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 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 c0545b54, node_mem_map c05f0000
    [    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=0x8 bcm2708.serial=0xa581bf29 smsc95xx.macaddr=B8:27:EB:81:BF:29 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: 221092k/221092k available, 24668k 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 - 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, Nodes=1
    [    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.000969] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
    [    0.060122] pid_max: default: 32768 minimum: 301
    [    0.060604] Mount-cache hash table entries: 512
    [    0.061414] Initializing cgroup subsys cpuacct
    [    0.061469] Initializing cgroup subsys devices
    [    0.061502] Initializing cgroup subsys freezer
    [    0.061531] Initializing cgroup subsys blkio
    [    0.061675] CPU: Testing write buffer coherency: ok
    [    0.061998] hw perfevents: enabled with v6 PMU driver, 3 counters available
    [    0.062148] Setting up static identity map for 0x3a5238 - 0x3a5294
    [    0.063624] devtmpfs: initialized
    [    0.075069] NET: Registered protocol family 16
    [    0.081449] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [    0.082508] bcm2708.uart_clock = 0
    [    0.083864] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    [    0.083919] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.083954] mailbox: Broadcom VideoCore Mailbox driver
    [    0.084042] bcm2708_vcio: mailbox at f200b880
    [    0.084154] bcm_power: Broadcom power driver
    [    0.084191] bcm_power_open() -> 0
    [    0.084217] bcm_power_request(0, 8)
    [    0.584900] bcm_mailbox_read -> 00000080, 0
    [    0.584940] bcm_power_request -> 0
    [    0.584966] Serial: AMBA PL011 UART driver
    [    0.585090] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
    [    0.916300] console [ttyAMA0] enabled
    [    0.940558] bio: create slab bio-0 at 0
    [    0.945465] SCSI subsystem initialized
    [    0.949527] usbcore: registered new interface driver usbfs
    [    0.955118] usbcore: registered new interface driver hub
    [    0.960706] usbcore: registered new device driver usb
    [    0.967044] Switching to clocksource stc
    [    0.971336] FS-Cache: Loaded
    [    0.974492] CacheFiles: Loaded
    [    0.989448] NET: Registered protocol family 2
    [    0.994718] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    1.002066] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    1.008646] TCP: Hash tables configured (established 8192 bind 8192)
    [    1.015069] TCP: reno registered
    [    1.018320] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    1.024214] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    1.030828] NET: Registered protocol family 1
    [    1.035743] RPC: Registered named UNIX socket transport module.
    [    1.041788] RPC: Registered udp transport module.
    [    1.046512] RPC: Registered tcp transport module.
    [    1.051255] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.058378] bcm2708_dma: DMA manager at f2007000
    [    1.063153] bcm2708_gpio: bcm2708_gpio_probe c051fdf8
    [    1.068601] vc-mem: phys_addr:0x00000000 mem_base=0x0fa00000 mem_size:0x10000000(256 MiB)
    [    1.077804] audit: initializing netlink socket (disabled)
    [    1.083400] type=2000 audit(0.940:1): initialized
    [    1.215790] VFS: Disk quotas dquot_6.5.2
    [    1.220036] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.229222] FS-Cache: Netfs 'nfs' registered for caching
    [    1.235877] NFS: Registering the id_resolver key type
    [    1.241033] Key type id_resolver registered
    [    1.245337] Key type id_legacy registered
    [    1.249699] msgmni has been set to 463
    [    1.255672] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [    1.263496] io scheduler noop registered
    [    1.267449] io scheduler deadline registered (default)
    [    1.272778] io scheduler cfq registered
    [    1.292805] Console: switching to colour frame buffer device 82x26
    [    1.302933] kgdb: Registered I/O driver kgdboc.
    [    1.309517] vc-cma: Videocore CMA driver
    [    1.314946] vc-cma: vc_cma_base      = 0x00000000
    [    1.321027] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
    [    1.327765] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
    [    1.343132] brd: module loaded
    [    1.352553] loop: module loaded
    [    1.357298] vchiq: vchiq_init_state: slot_zero = 0xce000000, is_master = 0
    [    1.366211] Loading iSCSI transport class v2.0-870.
    [    1.373410] usbcore: registered new interface driver smsc95xx
    [    1.380545] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [    1.592725] Core Release: 2.80a
    [    1.597164] Setting default values for core params
    [    1.603313] Finished setting default values for core params
    [    1.815220] Using Buffer DMA mode
    [    1.819816] Periodic Transfer Interrupt Enhancement - disabled
    [    1.826914] Multiprocessor Interrupt Enhancement - disabled
    [    1.833772] OTG VER PARAM: 0, OTG VER FLAG: 0
    [    1.839387] Dedicated Tx FIFOs mode
    [    1.845022] dwc_otg: Microframe scheduler enabled
    [    1.845393] dwc_otg bcm2708_usb: DWC OTG Controller
    [    1.851705] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    [    1.860264] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    [    1.867104] Init: Port Power? op_state=1
    [    1.872392] Init: Power Port (0)
    [    1.876974] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    1.885175] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.893794] usb usb1: Product: DWC OTG Controller
    [    1.899865] usb usb1: Manufacturer: Linux 3.6.11+ dwc_otg_hcd
    [    1.906983] usb usb1: SerialNumber: bcm2708_usb
    [    1.913575] hub 1-0:1.0: USB hub found
    [    1.918705] hub 1-0:1.0: 1 port detected
    [    1.924265] dwc_otg: FIQ enabled
    [    1.924281] dwc_otg: NAK holdoff enabled
    [    1.924289] dwc_otg: FIQ split fix enabled
    [    1.924306] Module dwc_common_port init
    [    1.924524] Initializing USB Mass Storage driver...
    [    1.930890] usbcore: registered new interface driver usb-storage
    [    1.938291] USB Mass Storage support registered.
    [    1.944383] usbcore: registered new interface driver libusual
    [    1.951761] mousedev: PS/2 mouse device common for all mice
    [    1.959271] bcm2835-cpufreq: min=700000 max=800000 cur=700000
    [    1.966472] bcm2835-cpufreq: switching to governor powersave
    [    1.973448] bcm2835-cpufreq: switching to governor powersave
    [    1.980365] cpuidle: using governor ladder
    [    1.985709] cpuidle: using governor menu
    [    1.990876] sdhci: Secure Digital Host Controller Interface driver
    [    1.998283] sdhci: Copyright(c) Pierre Ossman
    [    2.003954] sdhci: Enable low-latency mode
    [    2.051337] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
    [    2.061785] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
    [    2.071232] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.083872] usbcore: registered new interface driver usbhid
    [    2.090872] usbhid: USB HID core driver
    [    2.100849] TCP: cubic registered
    [    2.107668] Initializing XFRM netlink socket
    [    2.115437] NET: Registered protocol family 17
    [    2.121400] Indeed it is in host mode hprt0 = 00021501
    [    2.131277] Key type dns_resolver registered
    [    2.141544] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
    [    2.171941] registered taskstats version 1
    [    2.177532] mmc0: read SD Status register (SSR) after 2 attempts
    [    2.191707] Waiting for root device /dev/mmcblk0p2...
    [    2.202778] mmc0: new high speed SDHC card at address 1234
    [    2.221367] mmcblk0: mmc0:1234 SA04G 3.63 GiB
    [    2.229445]  mmcblk0: p1 p2
    [    2.361211] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [    2.371291] Indeed it is in host mode hprt0 = 00001101
    [    2.599263] usb 1-1: New USB device found, idVendor=148f, idProduct=5370
    [    2.607555] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    2.616155] usb 1-1: Product: 802.11 n WLAN
    [    2.621781] usb 1-1: Manufacturer: Ralink
    [    2.627176] usb 1-1: SerialNumber: 1.0
    [    7.814120] EXT4-fs (mmcblk0p2): recovery complete
    [    7.823355] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.834354] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    7.843851] devtmpfs: mounted
    [    7.848756] Freeing init memory: 132K
    [    9.391969] udevd[155]: starting version 175
    [   10.416490] bcm2708_i2c bcm2708_i2c.0: BSC0 Controller at 0x20205000 (irq 79) (baudrate 9k)
    [   10.567770] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x20804000 (irq 79) (baudrate 9k)
    [   10.687532] Registered led device: led0
    [   11.653935] cfg80211: Calling CRDA to update world regulatory domain
    [   11.963736] Indeed it is in host mode hprt0 = 00001101
    [   12.441247] usb 1-1: reset high-speed USB device number 2 using dwc_otg
    [   12.453300] Indeed it is in host mode hprt0 = 00001101
    [   12.521846] cfg80211: World regulatory domain updated:
    [   12.528708] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   12.551128] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.562136] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   12.573331] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   12.584622] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.595959] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   12.766340] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [   12.769772] Registered led device: rt2800usb-phy0::radio
    [   12.770273] Registered led device: rt2800usb-phy0::assoc
    [   12.770808] Registered led device: rt2800usb-phy0::quality
    [   12.773487] usbcore: registered new interface driver rt2800usb
    [   26.541623] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   26.981688] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   27.664402] i2c /dev entries driver
    [   39.047277] wlan0: authenticate with uu:vv:ww:xx:zz:yy
    [   39.121848] wlan0: send auth to uu:vv:ww:xx:zz:yy (try 1/3)
    [   39.126373] wlan0: authenticated
    [   39.171179] wlan0: associate with uu:vv:ww:xx:zz:yy (try 1/3)
    [   39.174862] wlan0: RX AssocResp from uu:vv:ww:xx:zz:yy (capab=0x431 status=0 aid=1)
    [   39.190769] wlan0: associated
    [   39.191019] cfg80211: Calling CRDA for country: DE
    [   39.244229] cfg80211: Regulatory domain changed to country: DE
    [   39.244260] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   39.244275] cfg80211:   (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [   39.244286] cfg80211:   (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [   39.244299] cfg80211:   (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm)
    [   39.244324] cfg80211:   (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm)
    
    24.10.2013 14:30 Jirka | skóre: 25
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    To mi kdysi taky fungovalo, dokonce jsem s raspberkem měl udělanej wifi repeater s 2xRT5370, ale v aktuální verzi raspbianu prostě ne.
    Ještě zkusím, jestli arch linux arm nenabídne řešení.
    Dokud to funguje, nešťourej se v tom!...
    24.10.2013 21:07 Jirka | skóre: 25
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Tak mám zase informaci navíc, dělá to i s archlinuxem, akorát se to po opětovným vložení wifi karty nikdy nerestartuje, raspbian skoro pokaždý i s napájeným hubem. Nemá někdo tip, jak restartovat za provozu usb?
    Dokud to funguje, nešťourej se v tom!...
    25.10.2013 23:58 gogol
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Vyskusaj popatrat preco ti USB radic detekoval pripojenu kartu na nizkej rychlosti zbernice.

    Po Windowsacky zrejme ako USB1.1 namiesto USB2.0

    Nemas ho nahodou v mass-storage rezime ?

    Tvoj log:

    usb 1-1: new full-speed USB device number 2 using dwc_otg

    usb 1-1: device descriptor read/64, error -71

    Log od Pavel:

    usb 1-1: new high-speed USB device number 2 using dwc_otg

    usb 1-1: New USB device found, idVendor=148f, idProduct=5370
    26.10.2013 11:17 Petr
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Zdravím,

    zrovna tento týden jsem konfiguroval RPi B pro stejnou kartu v systému Raspbian. Po vložení karty se také restartoval. Navíc jsem potřeboval mód ad-hoc, který za žádnou cenu nechtěl najet. Nakonec jsem to vyřešil malými úpravami konfig. souborů:

    - zavedení modulu při bootu: Do /etc/modules přidat řádek s názvem modulu: rt2800usb

    - Problém s démonem ifplugd - blokoval přístup ke kartě. V mém případě nešlo změnit mód na ad-hoc (System or resource busy). Myslím si, že to byl největší problém. Vyřešeno změnou konfigurace v /etc/default/ifplugd:

    # Disable daemon

    # HOTPLUG_INTERFACES="all"

    HOTPLUG_INTERFACES=""

    - Síťová rozhraní konfigurována manuálně (/etc/network/interfaces). Pouze přikládám svou konfiguraci jako inspiraci pro experimentování:

    auto lo

    iface lo inet loopback

    #iface eth0 inet dhcp

    # auto eth0

    iface eth0 inet static

    address 10.0.0.11

    netmask 255.255.255.0

    gateway 10.0.0.1

    allow-hotplug wlan0

    # auto wlan0

    iface wlan0 inet static

    wireless-mode ad-hoc

    wireless-channel 3

    wireless-essid BlaBlaBla

    address 192.168.155.100

    netmask 255.255.255.0

    network 192.168.155.0

    broadcast 192.168.155.255

    Od té doby karta najede automaticky po bootu a vytvoří i správně konfiguravaný adaptér, na který se hned dá pingnout.

    Hodně zdaru při konfiguraci.
    29.10.2013 08:19 Jirka | skóre: 25
    Rozbalit Rozbalit vše Re: Raspberry pi a wifi ralink RT5370
    Díky za snahu, nepomohlo, zatím odloženo a čekám, až mi přijde jiná karta. Uvidíme...
    Dokud to funguje, nešťourej se v tom!...

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.