The Following User Says Thank You to titan For This Useful Post: | ||
|
2010-05-24
, 03:47
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#942
|
The Following 7 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-24
, 13:04
|
Posts: 1 |
Thanked: 0 times |
Joined on May 2010
|
#943
|
|
2010-05-24
, 14:24
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#944
|
Does the new commit for meego help at all?
http://meego.gitorious.org/+meego-ar...7f2aca16d605e3
The Following User Says Thank You to joerg_rw For This Useful Post: | ||
|
2010-05-24
, 18:29
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#945
|
|
2010-05-24
, 19:24
|
Posts: 992 |
Thanked: 995 times |
Joined on Dec 2009
@ California
|
#947
|
just to keep you up to date (quite some kernel patches were used, including FORCE_HOSTMODE for SoC musb. NO kickstart host PC involved).
for reference:
[2010-05-24 03:59:09] <javispedro> plug b-device into
[2010-05-24 03:59:39] <javispedro> n8x0:
[2010-05-24 03:59:40] <javispedro> [25277.234375] musb_stage0_irq 645: CONNECT (a_host) devctl 5d
[2010-05-24 03:59:40] <javispedro> [25277.234375] hub 1-0:1.0: state 8 ports 1 chg 0000 evt 0000
[2010-05-24 03:59:40] <javispedro> [25277.234375] usb usb1: usb auto-resume
[2010-05-24 03:59:40] <javispedro> [25277.234375] usb usb1: finish resume
[2010-05-24 03:59:40] <javispedro> [25277.234375] hub 1-0:1.0: hub_resume
[2010-05-24 03:59:43] <javispedro> ...
[2010-05-24 03:59:56] <javispedro> Status: MHDRC, Mode=Host (Power=f0, DevCtl=5d)
[2010-05-24 03:59:57] <javispedro> OTG state: a_host; active
N900:
[2010-05-24 04:35:46] <javispedro> Status: MHDRC, Mode=Host (Power=60, DevCtl=5f)
[2010-05-24 04:35:47] <javispedro> OTG state: a_host; active
[2010-05-24 04:35:50] <javispedro> that
[2010-05-24 04:35:55] <javispedro> devctl changed after pumping power
[2010-05-24 04:35:58] <DocScrutinizer> STRIKE!
[2010-05-24 04:36:14] <javispedro> [20987.088165] generic_interrupt
[2010-05-24 04:36:14] <javispedro> [20987.088256] musb_interrupt
[2010-05-24 04:36:14] <javispedro> [20987.088287] musb_interrupt 1818: ** IRQ host usb000d tx0000 rx0000
[2010-05-24 04:36:14] <javispedro> [20987.088317] musb_stage0_irq
[2010-05-24 04:36:14] <javispedro> [20987.088348] musb_stage0_irq 580: <== Power=60, DevCtl=c4, int_usb=0x5
[2010-05-24 04:36:15] <javispedro> [20987.088378] musb_stage0_irq 764: SUSPEND (b_idle) devctl c4 power 60
[2010-05-24 04:36:17] <javispedro> [20987.088439] musb_stage0_irq 960: BABBLE devctl: c4
[2010-05-24 04:36:21] <javispedro> interrupts!!!
[2010-05-24 04:36:24] <javispedro> my beloved interrupts.
[2010-05-24 04:39:02] <javispedro> 5f is "session started"
[2010-05-24 04:39:07] <javispedro> 5d isn't
[2010-05-24 04:41:04] <javispedro> I am stable in devctl=5f as long as I keep running i2cset
The Following User Says Thank You to egoshin For This Useful Post: | ||
|
2010-05-24
, 20:08
|
Posts: 306 |
Thanked: 566 times |
Joined on Jan 2010
@ Romania
|
#948
|
The Following User Says Thank You to blue_led For This Useful Post: | ||
|
2010-05-24
, 20:20
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#949
|
BTW, can you publish your actual commands to configure chip - it may help?
case 'm': if (mbase) { u8 r; u32 l; r = gpio_get_value(RX51_USB_TRANSCEIVER_RST_GPIO); printk("RX51_USB_TRANSCEIVER_RST_GPIO = %hu\n", r); l = omap_readl(OTG_SYSCONFIG); printk("OTG_SYSCONFIG = %x\n", l); r = musb_ulpi_readb(mbase, ISP1704_OTG_CTRL); printk("ulpi read result isp1704_otg_ctrl=%hx\n", r); r = musb_ulpi_readb(mbase, ISP1704_FUNC_CTRL); printk(" isp1704_func_ctrl=%hx\n", r); r = musb_ulpi_readb(mbase, ISP1704_USB_INTRISE); printk(" isp1704_usb_intr_en_r=%hx\n", r); r = musb_ulpi_readb(mbase, ISP1704_USB_INTFALL); printk(" isp1704_usb_intr_en_f=%hx\n", r); r = musb_ulpi_readb(mbase, ISP1704_USB_INTSTAT); printk(" isp1704_usb_intr_stat=%hx\n", r); r = musb_ulpi_readb(mbase, ISP1704_PWR_CTRL); printk(" isp1704_pwr_ctrl=%hx\n", r); } break; case 'M': if (mbase) { u8 r; r = ISP1704_OTG_CTRL_DP_PULLDOWN | ISP1704_OTG_CTRL_DM_PULLDOWN; musb_ulpi_writeb(mbase, ISP1704_OTG_CTRL, r); printk("writing otg_ctrl=%hx\n", r); } break;
case '2': musb->xceiv->set_suspend(musb->xceiv, 0); break;
The Following 3 Users Say Thank You to javispedro For This Useful Post: | ||
|
2010-05-25
, 10:58
|
Posts: 1 |
Thanked: 0 times |
Joined on May 2010
|
#950
|
Tags |
awesomeness in the works, boulevard of broken deals, host, i am the dealbreaker, inspector gadget lies, mobidapter is a scam, nokia fanbois, otg, over 9000, usb, usbcontrol |
Thread Tools | |
|
and verified that one cannot force the chip to hostmode. It ignores the flag even if you properly also change the flag in the context register that is normally restored as suspend or during connect.
some other conditions need to fulfilled (device connected as peripheral?) for this flag to be effective.