kernel: ubuntu x embedded ubuntu

1. kernel: ubuntu x embedded ubuntu

Diego
jagajugue

(usa Ubuntu)

Enviado em 21/07/2011 - 17:52h

Galera estou com o seguinte problema. Uso o Ubuntu 11.04 em meu Desktop e estou fazendo um projeto no laboratório onde trabalho com o Linux embarcado Ubuntu 10.10 Maverick e utilizo a placa Devkit8000 (armv7l) que é uma genérica da Beagle Board.

Bem, quando utilizo um bluetooth dongle no Ubuntu de meu desktop ele funfa beleza! Utilizo o hcitools, bluez e tudo, mas quando tento utilizar na plataforma embarcada sempre recebo o alerta:
"hub 1-0:1.0: unable to enumerate USB device on port 1"

O kernel do Desktop é "2.6.38-10-generic" atualizado pelo synaptic mesmo. O da placa é o "2.6.38-rc1" que baixei pela página do gitorious do Devkit8000.

Já recompilei o kernel habilitando todos os módulos bluetooth e suporte para usb. Compilei tanto como módulo quanto como embutido, mas continuo recebendo a mesma mensagem.

Gostaria de saber se vocês saberiam alguma solução.

Valeu!

Resultado do dmesg do devkit8000:

ubuntu@omap:$ dmesg

[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 124460k/124460k available, 6612k 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] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0036000 ( 184 kB)
[ 0.000000] .text : 0xc0036000 - 0xc04f07e0 (4842 kB)
[ 0.000000] .data : 0xc04f2000 - 0xc052dbc0 ( 239 kB)
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/266/500 MHz
[ 0.000000] Reprogramming SDRC clock to 266000000 Hz
[ 0.000000] dpll3_m2_clk rate change failed: -22
[ 0.000000] GPMC revision 5.0
[ 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: GPTIMER12 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.000762] Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
[ 0.164245] pid_max: default: 32768 minimum: 301
[ 0.164489] Mount-cache hash table entries: 512
[ 0.165008] CPU: Testing write buffer coherency: ok
[ 0.169250] print_constraints: dummy:
[ 0.169464] NET: Registered protocol family 16
[ 0.172729] omap_device: omap_gpio.0: new worst case activate latency 0: 30517
[ 0.172851] OMAP GPIO hardware version 2.5
[ 0.172973] OMAP GPIO hardware version 2.5
[ 0.173095] OMAP GPIO hardware version 2.5
[ 0.173217] OMAP GPIO hardware version 2.5
[ 0.173339] OMAP GPIO hardware version 2.5
[ 0.173461] OMAP GPIO hardware version 2.5
[ 0.175476] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.178161] omap_device: omap_uart.2: new worst case activate latency 0: 30517
[ 0.182189] Found NAND on CS0
[ 0.182220] Registering NAND on CS0
[ 0.189666] OMAP DMA hardware revision 4.0
[ 0.223205] bio: create slab <bio-0> at 0
[ 0.225982] SCSI subsystem initialized
[ 0.229583] usbcore: registered new interface driver usbfs
[ 0.230133] usbcore: registered new interface driver hub
[ 0.230499] usbcore: registered new device driver usb
[ 0.231719] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
[ 0.231842] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz
[ 0.251373] twl4030: PIH (irq 7) chaining IRQs 368..375
[ 0.251434] twl4030: power (irq 373) chaining IRQs 376..383
[ 0.252227] twl4030: gpio (irq 368) chaining IRQs 384..401
[ 0.256103] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.257019] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.257934] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.259674] twl4030_usb twl4030_usb: HW_CONDITIONS 0x40/64; link 0
[ 0.260131] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.261810] print_constraints: VPLL1: 1800 mV normal standby
[ 0.264007] print_constraints: VIO: 1800 mV normal standby
[ 0.265045] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[ 0.266143] print_constraints: VDAC: 1800 mV normal standby
[ 0.266387] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
[ 0.266571] omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
[ 0.268371] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.269470] Bluetooth: Core ver 2.15
[ 0.269744] NET: Registered protocol family 31
[ 0.269775] Bluetooth: HCI device and connection manager initialized
[ 0.269805] Bluetooth: HCI socket layer initialized
[ 0.269897] Switching to clocksource 32k_counter
[ 0.299407] musb-hdrc: version 6.0, tusb-omap-dma, otg (peripheral+host), debug=0
[ 0.300201] NET: Registered protocol family 2
[ 0.300476] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.300964] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.301116] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.301208] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.301239] TCP reno registered
[ 0.301269] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.301422] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.301910] NET: Registered protocol family 1
[ 0.302490] RPC: Registered udp transport module.
[ 0.302551] RPC: Registered tcp transport module.
[ 0.302581] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.302886] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.305389] VFS: Disk quotas dquot_6.5.2
[ 0.305511] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.306213] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.306610] msgmni has been set to 243
[ 0.307708] io scheduler noop registered
[ 0.307769] io scheduler deadline registered
[ 0.307861] io scheduler cfq registered (default)
[ 0.371765] OMAP DSS rev 2.0
[ 0.371917] OMAP DISPC rev 3.0
[ 0.372009] OMAP VENC rev 2
[ 0.537475] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.540283] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.540832] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.541351] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 1.152770] console [ttyO2] enabled
[ 1.172576] brd: module loaded
[ 1.183807] loop: module loaded
[ 1.190368] omap2-nand driver initializing
[ 1.195129] ONFI flash detected
[ 1.198730] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit)
[ 1.208251] cmdlinepart partition parsing not available
[ 1.213775] Creating 5 MTD partitions on "omap2-nand.0":
[ 1.219451] 0x000000000000-0x000000080000 : "X-Loader"
[ 1.227325] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.235534] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.243316] 0x000000280000-0x000000680000 : "Kernel"
[ 1.252410] 0x000000680000-0x000008000000 : "File System"
[ 1.312042] dm9000 Ethernet Driver, V1.31
[ 1.403839] eth0: dm9000a at c886a000,c886e400 IRQ 185 MAC: 02:c0:04:01:40:04 (platform data)
[ 1.413208] usbmon: debugfs is not available
[ 1.417724] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.424682] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
[ 1.424804] ehci-omap ehci-omap.0: failed to get ehci port0 regulator
[ 1.424835] ehci-omap ehci-omap.0: starting TI EHCI USB Controller
[ 1.425018] ehci-omap ehci-omap.0: OMAP UHH_REVISION 0x10
[ 1.425018] ehci-omap ehci-omap.0: TLL RESET DONE
[ 1.425048] ehci-omap ehci-omap.0: OMAP3 ES version > ES2.1
[ 1.425048] ehci-omap ehci-omap.0: UHH setup done, uhh_hostconfig=11c
[ 2.426300] ehci-omap ehci-omap.0: phy reset operation timed out
[ 2.426330] ehci-omap ehci-omap.0: reset hcs_params 0x1313 dbg=0 cc=1 pcc=3 ordered ports=3
[ 2.426330] ehci-omap ehci-omap.0: reset hcc_params 0016 thresh 1 uframes 256/512/1024 park
[ 2.426361] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 2.432434] drivers/usb/core/inode.c: creating file 'devices'
[ 2.432464] drivers/usb/core/inode.c: creating file '001'
[ 2.432525] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 2.440704] ehci-omap ehci-omap.0: park 0
[ 2.440765] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 2.446807] ehci-omap ehci-omap.0: reset command 0080b02 park=3 ithresh=8 period=1024 Reset HALT
[ 2.446838] ehci-omap ehci-omap.0: init command 0010005 (park)=0 ithresh=1 period=512 RUN
[ 2.457580] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 2.463745] usb usb1: default language 0x0409
[ 2.463806] usb usb1: udev 1, busnum 1, minor = 0
[ 2.463806] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.471008] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.478668] usb usb1: Product: OMAP-EHCI Host Controller
[ 2.484283] usb usb1: Manufacturer: Linux 2.6.38-rc1 ehci_hcd
[ 2.490356] usb usb1: SerialNumber: ehci-omap.0
[ 2.495910] usb usb1: usb_probe_device
[ 2.495941] usb usb1: configuration #1 chosen from 1 choice
[ 2.496002] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 2.496490] hub 1-0:1.0: usb_probe_interface
[ 2.496490] hub 1-0:1.0: usb_probe_interface - got id
[ 2.496520] hub 1-0:1.0: USB hub found
[ 2.500549] hub 1-0:1.0: 3 ports detected
[ 2.504821] hub 1-0:1.0: standalone hub
[ 2.504852] hub 1-0:1.0: individual port power switching
[ 2.504852] hub 1-0:1.0: individual port over-current protection
[ 2.504882] hub 1-0:1.0: power on to power good time: 20ms
[ 2.504913] hub 1-0:1.0: local power source is good
[ 2.504943] hub 1-0:1.0: enabling power on all ports
[ 2.505584] drivers/usb/core/inode.c: creating file '001'
[ 2.505859] ehci-omap ehci-omap.0: ...powerup ports...
[ 2.535949] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.542510] ohci_hcd: block sizes: ed 64 td 64
[ 2.542816] Initializing USB Mass Storage driver...
[ 2.548370] usbcore: registered new interface driver usb-storage
[ 2.554748] USB Mass Storage support registered.
[ 2.559936] usbcore: registered new interface driver sisusb
[ 2.567321] input: TWL4030 Keypad as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
[ 2.580444] ads7846 spi2.0: touchscreen, irq 187
[ 2.586303] input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.2/spi2.0/input/input1
[ 2.596679] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 2.604125] i2c /dev entries driver
[ 2.608245] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
[ 2.609649] Linux video capture interface: v2.00
[ 2.614837] gspca: v2.11.0 registered
[ 2.618988] usbcore: registered new interface driver spca500
[ 2.625305] usbcore: registered new interface driver spca501
[ 2.631591] usbcore: registered new interface driver spca505
[ 2.637847] usbcore: registered new interface driver spca506
[ 2.643829] spca506: registered
[ 2.647430] usbcore: registered new interface driver spca508
[ 2.653717] usbcore: registered new interface driver spca561
[ 2.659973] usbcore: registered new interface driver zc3xx
[ 2.666107] usbcore: registered new interface driver uvcvideo
[ 2.672210] USB Video Class driver (v1.0.0)
[ 2.676635] Bluetooth: Broadcom Blutonium firmware driver ver 1.2
[ 2.683349] usbcore: registered new interface driver bcm203x
[ 2.689361] Bluetooth: Digianswer Bluetooth USB driver ver 0.10
[ 2.695861] usbcore: registered new interface driver bpa10x
[ 2.701782] Bluetooth: BlueFRITZ! USB driver ver 1.2
[ 2.707275] usbcore: registered new interface driver bfusb
[ 2.713104] Bluetooth: Generic Bluetooth USB driver ver 0.6
[ 2.719299] usbcore: registered new interface driver btusb
[ 2.725341] sdhci: Secure Digital Host Controller Interface driver
[ 2.731903] sdhci: Copyright(c) Pierre Ossman
[ 2.739807] Registered led device: led1
[ 2.740325] Registered led device: led2
[ 2.741790] Registered led device: ledB
[ 2.742187] Registered led device: led3
[ 2.743591] usbcore: registered new interface driver usbhid
[ 2.749542] usbhid: USB HID core driver
[ 2.755645] OMAP3 Beagle/Devkit8000 SoC init
[ 2.839813] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 2.847930] ALSA device list:
[ 2.851135] #0: omap3beagle
[ 2.854522] TCP cubic registered
[ 2.858001] NET: Registered protocol family 17
[ 2.862731] NET: Registered protocol family 15
[ 2.867614] Bluetooth: L2CAP ver 2.15
[ 2.871459] Bluetooth: L2CAP socket layer initialized
[ 2.876831] Bluetooth: SCO (Voice Link) ver 0.6
[ 2.881652] Bluetooth: SCO socket layer initialized
[ 2.886932] Bluetooth: RFCOMM TTY layer initialized
[ 2.892120] Bluetooth: RFCOMM socket layer initialized
[ 2.897552] Bluetooth: RFCOMM ver 1.11
[ 2.901519] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.907135] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.914123] Registering the dns_resolver key type
[ 2.919219] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[ 2.928375] omap_voltage_late_init: Unable to create voltage debugfs main dir
[ 2.936035] vdd_debugfs_init: Unable to create debugfs directory for vdd_mpu
[ 2.943511] vdd_debugfs_init: Unable to create debugfs directory for vdd_core
[ 2.951843] Power Management for TI OMAP3.
[ 2.959472] omapfb omapfb: no driver for display
[ 2.964355] omapfb omapfb: no driver for display
[ 2.969299] omapfb omapfb: failed to setup omapfb
[ 2.974884] regulator_init_complete: VDAC: incomplete constraints, leaving on
[ 2.986450] twl_rtc twl_rtc: setting system clock to 2011-07-20 20:04:23 UTC (1311192263)
[ 2.995239] omap_vout omap_vout: probed for an unknown device
[ 3.001922] Waiting 5sec before mounting root device...
[ 3.139099] mmc0: new SDHC card at address e624
[ 3.144714] mmcblk0: mmc0:e624 SU04G 3.69 GiB
[ 3.160614] mmcblk0: p1 p2
[ 8.017730] EXT3-fs: barriers not enabled
[ 8.029052] kjournald starting. Commit interval 5 seconds
[ 8.034912] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[ 8.078277] EXT3-fs (mmcblk0p2): using internal journal
[ 8.083862] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[ 8.091369] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 8.097808] Freeing init memory: 184K
[ 46.873687] sshd (3423): /proc/3423/oom_adj is deprecated, please use /proc/3423/oom_score_adj instead.
[ 47.450012] eth0: link down
[ 47.629669] dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, no LPA
[ 83.986114] btusb: module is already loaded
[ 161.427459] btusb: module is already loaded
[ 176.044189] btusb: module is already loaded
[67670.957672] dm9000 dm9000: eth0: link down
[67674.543701] dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, no LPA
[67712.043579] dm9000 dm9000: eth0: link down
[67713.863891] dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, no LPA
[80692.762298] dm9000 dm9000: eth0: link down
[80694.676879] dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, no LPA
[80870.590484] eth0: link down
[80871.840454] dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, no LPA
[88867.419555] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0002
[88867.419616] ehci-omap ehci-omap.0: GetStatus port:1 status 001803 0 ACK POWER sig=j CSC CONNECT
[88867.419677] hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
[88867.575073] hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
[88867.637725] ehci-omap ehci-omap.0: port 1 full speed --> companion
[88867.637756] ehci-omap ehci-omap.0: GetStatus port:1 status 003801 0 ACK POWER OWNER sig=j CONNECT
[88867.637817] hub 1-0:1.0: port 1 not reset yet, waiting 50ms
[88867.699951] ehci-omap ehci-omap.0: GetStatus port:1 status 003002 0 ACK POWER OWNER sig=se0 CSC
[88867.700012] hub 1-0:1.0: unable to enumerate USB device on port 1
[88867.706451] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0002



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts