I try to plug a 8Gb usb key on the pandora, it usuallly works, now it don't.
I think it's a hadware thing....
So after a fresh reboot, I plug my hub with my pad pluged in, the hub also feature 3 usb ports, and 4 type of cards reader.
Then I've enabled USB host.
And this is the dmesg and lsusb output :
ptflbx-pandora:~$ dmesg
[ 0.000000] Linux version 3.2.45 (notaz@pixelinis) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #894 Sat Jul 6 17:22:45 EEST 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Pandora Handheld Console
[ 0.000000] Initialized persistent memory from 80fe0000-80ffffff
[ 0.000000] cma: CMA: reserved 16 MiB at 9f000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c05b4854, node_mem_map c05e7000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130048 pages, LIFO batch:31
[ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[ 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: 130048
[ 0.000000] Kernel command line: ubi.mtd=4 ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw rootflags=bulk_read vram=6272K omapfb.vram=0:3000K mmc_core.removable=0 quiet
[ 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: 512MB = 512MB total
[ 0.000000] Memory: 497168k/497168k available, 27120k 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 : 0xe0800000 - 0xf8000000 ( 376 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0545a84 (5367 kB)
[ 0.000000] .init : 0xc0546000 - 0xc0578000 ( 200 kB)
[ 0.000000] .data : 0xc0578000 - 0xc05b4fc0 ( 244 kB)
[ 0.000000] .bss : 0xc05b4fe4 - 0xc05e61e0 ( 197 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:410
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000183] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
[ 0.039123] pid_max: default: 32768 minimum: 301
[ 0.039367] Mount-cache hash table entries: 512
[ 0.039764] Initializing cgroup subsys devices
[ 0.039825] CPU: Testing write buffer coherency: ok
[ 0.040008] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.040100] Setting up static identity map for 0x803e8348 - 0x803e83a0
[ 0.040710] devtmpfs: initialized
[ 0.046661] print_constraints: dummy:
[ 0.047943] NET: Registered protocol family 16
[ 0.049591] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.049987] GPMC revision 5.0
[ 0.053100] OMAP GPIO hardware version 2.5
[ 0.056396] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.062957] Reprogramming SDRC clock to 400000000 Hz
[ 0.065155] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.072052] omap-mcbsp.2: alias fck already exists
[ 0.072387] omap-mcbsp.3: alias fck already exists
[ 0.073822] OMAP DMA hardware revision 5.0
[ 0.088928] bio: create slab <bio-0> at 0
[ 0.090087] print_constraints: vwlan: 1800 mV
[ 0.091644] SCSI subsystem initialized
[ 0.094024] usbcore: registered new interface driver usbfs
[ 0.094268] usbcore: registered new interface driver hub
[ 0.094482] usbcore: registered new device driver usb
[ 0.109497] omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz
[ 0.112670] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.112762] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.113281] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.113739] _omap_mux_init_gpio: Could not set gpio192
[ 0.114807] _omap_mux_init_gpio: Could not set gpio193
[ 0.117401] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.118072] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.118682] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.179809] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.181152] print_constraints: vdd_mpu_iva: 600 <--> 1450 mV normal
[ 0.181732] print_constraints: vdd_core: 600 <--> 1450 mV normal
[ 0.182434] print_constraints: VMMC1: 1850 <--> 3150 mV at 3150 mV normal standby
[ 0.183135] print_constraints: VDAC: 1800 mV normal standby
[ 0.183776] print_constraints: VAUX2: 1800 mV normal standby
[ 0.184417] print_constraints: VPLL2: 1800 mV normal standby
[ 0.185119] print_constraints: VMMC2: 1850 <--> 3150 mV at 3150 mV normal standby
[ 0.185760] print_constraints: VSIM: 2800 mV normal standby
[ 0.186401] print_constraints: VAUX1: 3000 mV normal standby
[ 0.187042] print_constraints: VAUX4: 3000 mV normal standby
[ 0.187530] omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 100 kHz
[ 0.189788] omap-iommu omap-iommu.0: isp registered
[ 0.190368] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.191162] Switching to clocksource 32k_counter
[ 0.213043] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.218353] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.218383] musb-hdrc: MHDRC RTL version 1.800
[ 0.218414] musb-hdrc: setup fifo_mode 4
[ 0.218414] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.218933] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 0.219635] NET: Registered protocol family 2
[ 0.219818] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.220092] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.220458] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.220642] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.220672] TCP reno registered
[ 0.220672] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.220703] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.220947] NET: Registered protocol family 1
[ 0.221160] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.226715] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.242126] VFS: Disk quotas dquot_6.5.2
[ 0.242523] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.247344] msgmni has been set to 1003
[ 0.249145] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.249176] io scheduler noop registered
[ 0.249206] io scheduler deadline registered
[ 0.249237] io scheduler cfq registered (default)
[ 0.264129] OMAP DSS rev 2.0
[ 0.267333] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.269378] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.269866] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.270263] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 0.270690] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[ 0.282318] brd: module loaded
[ 0.288177] loop: module loaded
[ 0.288238] OMAP overclocker loaded.
[ 0.290374] omap2-nand driver initializing
[ 0.290527] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
[ 0.290985] Creating 5 MTD partitions on "omap2-nand.0":
[ 0.290985] 0x000000000000-0x000000080000 : "xloader"
[ 0.291717] 0x000000080000-0x000000260000 : "uboot"
[ 0.292663] 0x000000260000-0x000000280000 : "uboot-env"
[ 0.293334] 0x000000280000-0x000000c80000 : "boot"
[ 0.295684] 0x000000c80000-0x000020000000 : "rootfs"
[ 0.384277] UBI: attaching mtd4 to ubi0
[ 1.358856] UBI: scanning is finished
[ 1.373138] UBI: attached mtd4 (name "rootfs", size 499 MiB) to ubi0
[ 1.373168] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 1.373168] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 1.373168] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[ 1.373199] UBI: good PEBs: 3996, bad PEBs: 0, corrupted PEBs: 0
[ 1.373199] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.373229] UBI: max/mean erase counter: 52/9, WL threshold: 4096, image sequence number: 11465358
[ 1.373229] UBI: available PEBs: 0, total reserved PEBs: 3996, PEBs reserved for bad PEB handling: 39
[ 1.373291] UBI: attaching mtd3 to ubi1
[ 1.373657] UBI: background thread "ubi_bgt0d" started, PID 572
[ 1.393402] UBI: scanning is finished
[ 1.400238] UBI: attached mtd3 (name "boot", size 10 MiB) to ubi1
[ 1.400268] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 1.400268] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 1.400268] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[ 1.400299] UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[ 1.400299] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.400329] UBI: max/mean erase counter: 19/8, WL threshold: 4096, image sequence number: 1239062592
[ 1.400329] UBI: available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 2
[ 1.400543] UBI: background thread "ubi_bgt1d" started, PID 577
[ 1.400634] usbcore: registered new interface driver libusual
[ 1.401245] mousedev: PS/2 mouse device common for all mice
[ 1.401855] input: keypad as /devices/platform/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
[ 1.406219] input: power-button as /devices/platform/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 1.407470] input: nub0 as /devices/platform/omap_i2c.3/i2c-3/3-0066/input/input2
[ 1.408752] input: nub1 as /devices/platform/omap_i2c.3/i2c-3/3-0067/input/input3
[ 1.414916] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 1.415985] i2c /dev entries driver
[ 1.420410] bq27x00-battery 3-0055: support ver. 1.2.0 enabled
[ 1.443664] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 1.444122] twl4030_wdt twl4030_wdt: Failed to register misc device
[ 1.444183] twl4030_wdt: probe of twl4030_wdt failed with error -16
[ 1.444824] cpuidle: using governor ladder
[ 1.444824] cpuidle: using governor menu
[ 1.671295] Registered led device: pandora::sd1
[ 1.671569] Registered led device: pandora::sd2
[ 1.671813] Registered led device: pandora::bluetooth
[ 1.672027] Registered led device: pandora::wifi
[ 1.673400] Registered led device: pandora::keypad_bl
[ 1.674438] Registered led device: pandora:
ower
[ 1.677154] Registered led device: pandora::charger
[ 1.678405] usbcore: registered new interface driver usbhid
[ 1.678405] usbhid: USB HID core driver
[ 1.678649] persistent_ram: uncorrectable error in header
[ 1.678680] persistent_ram: no valid data in buffer (sig = 0x3f7ffbff)
[ 1.679290] console [ram-1] enabled
[ 1.681640] OMAP3 Pandora SoC init
[ 1.757293] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 1.758819] asoc: twl4030-hifi <-> omap-mcbsp-dai.3 mapping ok
[ 1.761322] ALSA device list:
[ 1.761322] #0: omap3pandora
[ 1.761505] TCP cubic registered
[ 1.761505] NET: Registered protocol family 17
[ 1.761566] NET: Registered protocol family 15
[ 1.761596] Registering the dns_resolver key type
[ 1.761688] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.761718] ThumbEE CPU extension supported.
[ 1.761749] Registering SWP/SWPB emulation handler
[ 1.767639] clock: disabling unused clocks to save power
[ 1.768859] registered taskstats version 1
[ 1.783966] Console: switching to colour frame buffer device 100x30
[ 1.903564] mmc1: host does not support reading read-only switch. assuming write-enable.
[ 1.909393] mmc1: new high speed SDHC card at address e624
[ 1.910125] mmcblk0: mmc1:e624 SU16G 14.8 GiB
[ 1.919860] mmcblk0: p1
[ 1.977539] input: gpio-keys as /devices/platform/gpio-keys/input/input4
[ 1.979461] twl_rtc twl_rtc: setting system clock to 2013-10-06 14:29:27 UTC (1381069767)
[ 1.981048] UBIFS: background thread "ubifs_bgt0_0" started, PID 679
[ 2.016143] mmc2: card claims to support voltages below the defined range. These will be ignored.
[ 2.017120] mmc2: new SDIO card at address 0001
[ 2.065338] UBIFS: mounted UBI device 0, volume 0, name "rootfs"(null)
[ 2.065368] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.065368] UBIFS: FS size: 508612608 bytes (485 MiB, 3942 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
[ 2.065399] UBIFS: reserved for root: 0 bytes (0 KiB)
[ 2.065429] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 7F3FDFE9-E261-4537-ABCD-B44E834867BF, small LPT model
[ 2.067749] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 2.069793] devtmpfs: mounted
[ 2.070068] Freeing init memory: 200K
[ 2.955383] udevd (726): /proc/726/oom_adj is deprecated, please use /proc/726/oom_score_adj instead.
[ 4.665466] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 4.669891] mmc0: new high speed SDHC card at address aaaa
[ 4.711181] mmcblk1: mmc0:aaaa SU32G 29.7 GiB
[ 4.728607] mmcblk1: p1 p2 p3
[ 6.144775] ads7846 spi1.0: touchscreen, irq 254
[ 6.145629] input: touchscreen as /devices/platform/omap2_mcspi.1/spi_master/spi1/spi1.0/input/input5
[ 6.519470] FAT-fs (mmcblk0): invalid media value (0x00)
[ 6.519622] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
[ 6.749114] FAT-fs (mmcblk1): invalid media value (0x00)
[ 6.749328] FAT-fs (mmcblk1): Can't find a valid FAT filesystem
[ 6.988250] FAT-fs (mmcblk0): invalid media value (0x00)
[ 6.988403] FAT-fs (mmcblk0): Can't find a valid FAT filesystem
[ 7.209930] FAT-fs (mmcblk1): invalid media value (0x00)
[ 7.210174] FAT-fs (mmcblk1): Can't find a valid FAT filesystem
[ 7.566497] EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
[ 7.995452] EXT4-fs (mmcblk1p1): Unrecognized mount option "umask=0" or missing value
[ 8.073089] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[ 8.170867] alignment: ignoring faults is unsafe on this CPU. Defaulting to fixup mode.
[ 8.415008] fuse init (API version 7.17)
[ 8.528320] NET: Registered protocol family 10
[ 8.676605] zram: module is from the staging directory, the quality is unknown, you have been warned.
[ 8.678649] zram: num_devices not specified. Using default: 1
[ 8.678680] zram: Creating 1 devices ...
[ 8.844848] UBIFS: background thread "ubifs_bgt1_0" started, PID 1471
[ 8.916351] UBIFS: mounted UBI device 1, volume 0, name "boot"(null)
[ 8.916381] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 8.916381] UBIFS: FS size: 8386560 bytes (7 MiB, 65 LEBs), journal size 1032193 bytes (0 MiB, 6 LEBs)
[ 8.916412] UBIFS: reserved for root: 396117 bytes (386 KiB)
[ 8.916442] UBIFS: media format: w4/r0 (latest is w4/r0), UUID B947DDB2-85C6-4BF9-AAE6-F7E083BD6811, small LPT model
[ 9.320312] zram: disk size not provided. You can use disksize_kb module param to specify size.
[ 9.320343] Using default: (25% of RAM).
[ 9.320709] FAT-fs (zram0): bogus number of reserved sectors
[ 9.320861] FAT-fs (zram0): Can't find a valid FAT filesystem
[ 9.744323] FAT-fs (zram0): bogus number of reserved sectors
[ 9.744567] FAT-fs (zram0): Can't find a valid FAT filesystem
[ 10.004150] platform mpu.0: max OPP set to 4
[ 10.310272] input: nub0 as /devices/platform/omap_i2c.3/i2c-3/3-0066/input/input6
[ 10.350189] input: nub1 as /devices/platform/omap_i2c.3/i2c-3/3-0067/input/input7
[ 10.412048] Adding 128432k swap on /dev/zram0. Priority:5 extents:1 across:128432k SS
[ 12.853759] SGX clock rate: 200000000
[ 485.343231] Bluetooth: Core ver 2.16
[ 485.344451] NET: Registered protocol family 31
[ 485.344482] Bluetooth: HCI device and connection manager initialized
[ 485.344482] Bluetooth: HCI socket layer initialized
[ 485.344482] Bluetooth: L2CAP socket layer initialized
[ 485.345336] Bluetooth: SCO socket layer initialized
[ 491.342773] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 492.347564] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 492.347595] sched: RT throttling activated
[ 492.349212] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 492.350402] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 492.363494] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 492.363586] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 492.363616] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 492.363616] usb usb1: Product: OMAP-EHCI Host Controller
[ 492.363616] usb usb1: Manufacturer: Linux 3.2.45 ehci_hcd
[ 492.363616] usb usb1: SerialNumber: ehci-omap.0
[ 492.365631] hub 1-0:1.0: USB hub found
[ 492.365661] hub 1-0:1.0: 3 ports detected
ptflbx-pandora:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ptflbx-pandora:~$
It's strange, the hub is present in dmesg but not the gamepad.
I confirm that evertything works as expected if connected on my laptop.
Next step will be flashing the firmware, I guess...