Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/10/2019, à 20:16

olivier34500

Carte shield Yun port usb non reconnu

Bonjour, je viens poser ma question ici car je pense que c'est l'endroit le plus adapté a mon probleme.

Pour faire simple j'ai une carte Shield Yun draguino qui a embarqué une version lite de linux.

Il y a 10 jours de cela j'ai eu un plantage ( de ma faute ) car ce module posede très peu de mémoires j'ai voulu liberer quelques bibliothèque que je n'utilise pas pour pouvoir ajouter mes fichier bref.
Etant connecté en SSH et toujours en # j'ai supprimer quelques chose qui a planté le module si bien qu'il ne redémarrer plus.

J'ai trouvé sur le net la procédure de recuperation qui consite a se connecter via un cable RJ45 directement sur la carte de configurer l'ordinateur sur 192.168.255.2/255.255.255.0 sur le port 6666 en UDP
J'injecte le kernell puis le rootfs je relance et la miracle le module est reparti en mode usine.
Heureux je reconfigure le wifi php ... et vient le moment ou je vais connecter ma cle USB qui me sert de stockage du suivi de mon programme.

Mais rien ! elle ne s'illumine même pas. je test la clé sur mon ordinateur elle fonctionne. n'ayant pas d'autre appareil je branche mon téléphone et il se met en charge donc le port est bien alimenté en 5V
J'en déduit que c'est un problème de communication.

Je me connecte en SSH lance un:

lsusb
Protocol spec without prior Class and Subclass spec at line 17397
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lsusb -v
Protocol spec without prior Class and Subclass spec at line 17397

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.03
  iManufacturer           3 Linux 3.3.8 ehci_hcd
  iProduct                2 Generic Platform EHCI Controller
  iSerial                 1 ehci-platform
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
Device Status:     0x0001
  Self Powered

puis

dmesg
[    0.000000] Linux version 3.3.8 (dragino@iZ28vl6w7rcZ) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Jan 6 14:06:26 CST 2015
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803836d0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    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: 16256
[    0.000000] Kernel command line:  board=Yun console=ttyATH0,250000 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 60936k/65536k available (2565k kernel code, 4600k reserved, 650k data, 180k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is Arduino Yun
[    0.540000] Setting DogStick2 GPIO
[    0.560000] bio: create slab <bio-0> at 0
[    0.570000] SCSI subsystem initialized
[    0.570000] usbcore: registered new interface driver usbfs
[    0.570000] usbcore: registered new interface driver hub
[    0.580000] usbcore: registered new device driver usb
[    0.580000] Switching to clocksource MIPS
[    0.590000] NET: Registered protocol family 2
[    0.590000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.600000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.600000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.610000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.620000] TCP reno registered
[    0.620000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.630000] NET: Registered protocol family 1
[    0.660000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.660000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.670000] msgmni has been set to 119
[    0.670000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.680000] io scheduler noop registered
[    0.680000] io scheduler deadline registered (default)
[    0.690000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.700000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.710000] console [ttyATH0] enabled, bootconsole disabled
[    0.720000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.720000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.720000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.720000] Creating 7 MTD partitions on "spi0.0":
[    0.730000] 0x000000000000-0x000000040000 : "u-boot"
[    0.730000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.730000] 0x000000050000-0x000000ea0000 : "rootfs"
[    0.740000] mtd: partition "rootfs" set to be root filesystem
[    0.740000] mtd: partition "rootfs_data" created automatically, ofs=8F0000, len=5B0000 
[    0.740000] 0x0000008f0000-0x000000ea0000 : "rootfs_data"
[    0.750000] 0x000000ea0000-0x000000fe0000 : "kernel"
[    0.750000] 0x000000fe0000-0x000000ff0000 : "nvram"
[    0.750000] 0x000000ff0000-0x000001000000 : "art"
[    0.760000] 0x000000050000-0x000000fe0000 : "firmware"
[    0.780000] ag71xx_mdio: probed
[    0.780000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.340000] eth0: Found an AR7240/AR9330 built-in switch
[    2.370000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    2.920000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.920000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.920000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[    2.930000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    2.960000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    2.980000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    2.980000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.980000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.980000] usb usb1: Product: Generic Platform EHCI Controller
[    2.990000] usb usb1: Manufacturer: Linux 3.3.8 ehci_hcd
[    2.990000] usb usb1: SerialNumber: ehci-platform
[    2.990000] hub 1-0:1.0: USB hub found
[    2.990000] hub 1-0:1.0: 1 port detected
[    3.000000] Initializing USB Mass Storage driver...
[    3.000000] usbcore: registered new interface driver usb-storage
[    3.000000] USB Mass Storage support registered.
[    3.000000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    3.010000] sdhci: Secure Digital Host Controller Interface driver
[    3.010000] sdhci: Copyright(c) Pierre Ossman
[    3.010000] usbcore: registered new interface driver ushc
[    3.010000] TCP cubic registered
[    3.020000] NET: Registered protocol family 17
[    3.020000] Bridge firewalling registered
[    3.020000] 8021q: 802.1Q VLAN Support v1.8
[    3.030000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.030000] Freeing unused kernel memory: 180k freed
[    5.020000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[    6.240000] Registered led device: ds:green:usb
[    6.240000] Registered led device: ds:green:wlan
[    8.730000] JFFS2 notice: (511) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 2 orphan) found.
[   18.220000] eth0: link up (1000Mbps/Full duplex)
[   30.310000] eth0: link down
[   37.460000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   37.460000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   37.630000] cfg80211: Calling CRDA to update world regulatory domain
[   37.630000] cfg80211: World regulatory domain updated:
[   37.640000] cfg80211:  DFS Master region: unset
[   37.640000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   37.640000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   37.650000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   37.650000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   37.650000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   37.660000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   37.660000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   38.580000] ath: EEPROM regdomain: 0x0
[   38.580000] ath: EEPROM indicates default country code should be used
[   38.580000] ath: doing EEPROM country->regdmn map search
[   38.580000] ath: country maps to regdmn code: 0x3a
[   38.580000] ath: Country alpha2 being used: US
[   38.580000] ath: Regpair used: 0x3a
[   38.590000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   38.600000] Registered led device: ath9k-phy0
[   38.600000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   38.600000] cfg80211: Calling CRDA for country: US
[   38.600000] cfg80211: Regulatory domain changed to country: US
[   38.610000] cfg80211:  DFS Master region: FCC
[   38.610000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   38.610000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   38.620000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   38.620000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   38.620000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   38.630000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   39.120000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   39.250000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   39.430000] loop: module loaded
[   39.570000] PPP generic driver version 2.4.2
[   39.730000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   39.850000] NET: Registered protocol family 24
[   39.890000] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[   40.660000] i2c /dev entries driver
[   40.750000] usbcore: registered new interface driver usbserial
[   40.750000] USB Serial support registered for generic
[   40.750000] usbcore: registered new interface driver usbserial_generic
[   40.750000] usbserial: USB Serial Driver core
[   40.920000] Linux video capture interface: v2.00
[   40.990000] USB Serial support registered for ch341-uart
[   40.990000] usbcore: registered new interface driver ch341
[   41.180000] fuse init (API version 7.18)
[   51.330000] cfg80211: Calling CRDA for country: FR
[   51.330000] cfg80211: Regulatory domain changed to country: FR
[   51.330000] cfg80211:  DFS Master region: ETSI
[   51.330000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   51.340000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   51.340000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   51.340000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s)
[   51.350000] cfg80211:   (5490000 KHz - 5710000 KHz @ 80000 KHz), (N/A, 2700 mBm), (0 s)
[   51.350000] cfg80211:   (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   56.070000] wlan0: authenticate with 5c:03:39:29:db:0a
[   56.080000] wlan0: send auth to 5c:03:39:29:db:0a (try 1/3)
[   56.090000] wlan0: authenticated
[   56.110000] wlan0: associate with 5c:03:39:29:db:0a (try 1/3)
[   56.110000] wlan0: RX AssocResp from 5c:03:39:29:db:0a (capab=0x1411 status=0 aid=6)
[   56.110000] wlan0: associated
[   59.390000] eth0: link up (1000Mbps/Full duplex)
[   60.390000] eth0: link down
[   75.460000] eth0: link up (1000Mbps/Full duplex)
[   75.960000] eth0: link down
[   90.960000] eth0: link up (1000Mbps/Full duplex)
[   96.050000] ------------[ cut here ]------------
[   96.050000] WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x170/0x278()
[   96.050000] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[   96.050000] Modules linked in: fuse ch341 v4l2_common videodev usbserial i2c_dev ath79_wdt ledtrig_netdev nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc loop ntfs hfsplus hfs ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) nls_utf8 mac80211(O) crc_ccitt cfg80211(O) compat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead sd_mod reiserfs ext4 jbd2 mbcache crc16 crypto_hash crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio

Que je connecte ou deconnecte la cle ou autre je n'ai aucune modification dans dmesg

dans /dev/ je ne vois pas sda1 ni dans /mnt/

J'ai supposer que le firmware n'était pas bon j'en ai essayer 2 autres c'est la meme chose.
Je pense a un bios mais comment y acceder ???

Avez vous une petite idée ?

Merci

Dernière modification par olivier34500 (Le 09/10/2019, à 20:24)

Hors ligne