00:24.38 | *** join/#openezx WyrM (n=wyrm@20158134017.user.veloxzone.com.br) |
01:09.30 | *** join/#openezx flyhorse|linux (n=flyhorse@116.18.158.160) |
03:00.48 | tmzt | WyrM: hey, talked with ph5 and asked about gpio_vbus for udc and the configuration done in ezx.c for ohci host |
03:00.58 | tmzt | it seems we should have a ohci pdata with certain flags set and call pxa_set_ohci_info |
03:02.46 | WyrM | tmzt we have no gpio for vbus. |
03:03.03 | WyrM | afaik. |
03:03.25 | tmzt | I'm missing something then, this was two different things |
03:03.43 | WyrM | and the configuration for ohci on ezx.c is for another usb port. |
03:03.52 | tmzt | an otg_transceiver implementation |
03:04.25 | WyrM | its is directly connected via single ended usb pins (6 vias, no transceiver) to the baseband |
03:05.00 | tmzt | yeah usb3, the second part of that was about replacing the ohci_init in ezx.c with ohci_platform_data and calling pxa_set_ohci_info |
03:05.37 | tmzt | even still, pH5 said there's no reason to have the ioremap's because the register already has a macro define to access it |
03:05.42 | WyrM | don't we do that already? |
03:06.28 | WyrM | <PROTECTED> |
03:07.22 | tmzt | and set the flags in ezx_ohci_platform_data? |
03:07.36 | WyrM | <PROTECTED> |
03:07.43 | WyrM | any other flag we should set? |
03:08.12 | tmzt | the writels in ezx_ohci_init are to set bits on UP3OCR? |
03:08.21 | WyrM | which writel? |
03:08.44 | tmzt | the second one, the first is to enable usb2 and 3 |
03:08.57 | WyrM | I don't have any ezx_ohci_init on my code. |
03:09.06 | WyrM | only ezx_bp_init() |
03:09.14 | WyrM | with UP3OCR = 2; |
03:09.35 | WyrM | and I don't have any ioremap either. |
03:09.57 | tmzt | then I have an old version of that because it was in ezx.c at some point |
03:11.11 | WyrM | http://git.openezx.org/?p=openezx.git;a=blob;f=arch/arm/mach-pxa/ezx.c;h=cb1af2c97acd0fbddaf250dcd4788418b103557d;hb=f284d7d4a5ab75fb012ebd1274d8a9fa27aec171#l879 |
03:12.41 | tmzt | __raw_writel(__raw_readl(iobase + 0x64) & ~((1<<10)|(1<<11)|(1<<5)), iobase+0x64); |
03:12.45 | tmzt | this is what I had |
03:12.57 | tmzt | is that the same thing as UP3OCR = 2? |
03:13.02 | WyrM | last time I looked at otg implementation (some time ago, when phillip and robert were working at it) it was hardcoded to the pxa internal transceiver. |
03:13.51 | WyrM | I even contributed an "one liner" to linux-usb to remove the hardcoding on pxa27x-udc to the builtin transceiver. |
03:14.16 | WyrM | what is iobase? |
03:14.46 | tmzt | iobase = ioremap(0x40600000,0x1000); __raw_writel(0x00000002, iobase+0x24); iounmap(iobase); |
03:14.49 | tmzt | iobase = ioremap(0x4C000000,0x1000); __raw_writel(__raw_readl(iobase + 0x64) & ~((1<<10)|(1<<11)|(1<<5)), iobase+0x64); iounmap(iobase); |
03:15.00 | WyrM | up3ocr is __REG(0x40600024) |
03:15.26 | tmzt | oh, what's 0x4c000064? |
03:16.11 | WyrM | don't know. |
03:16.17 | WyrM | need to look at the manual :) |
03:16.38 | WyrM | afaik its not even the udc. |
03:18.33 | tmzt | 05:40 < pH5> I think no, it's in the ohci driver code. |
03:18.33 | tmzt | 05:41 < pH5> 4C000064 can be set via .flags |
03:19.16 | WyrM | 4c000064 is UHCHR |
03:19.23 | tmzt | yeah |
03:20.03 | tmzt | & |
03:20.04 | tmzt | <PROTECTED> |
03:20.24 | tmzt | what does that mean bitwise? |
03:20.24 | WyrM | please. |
03:20.29 | WyrM | instead of trying to figure out old code, update your ezx.c :) |
03:21.16 | WyrM | ohci is working on current tree. |
03:21.25 | WyrM | at least, BP is working. |
03:21.28 | tmzt | my ezx.c was the same as upstream because of topgit missing branches |
03:21.33 | WyrM | what are you trying to do btw? |
03:21.44 | WyrM | same as upstream? |
03:21.58 | WyrM | there is no ohci/udc/usb code at all on mainline linux for ezx. |
03:22.02 | tmzt | I think, or at least the master in openezx.git |
03:22.38 | WyrM | can't be either, as master is the same code as mainline. |
03:23.37 | WyrM | master: http://git.openezx.org/?p=openezx.git;a=blob;f=arch/arm/mach-pxa/ezx.c;h=df5f822f3b6cd79cf351dafb861ae2b5aac5c032;hb=HEAD |
03:23.37 | tmzt | I got that block of code from some version of ezx.c and it was needed to make usb host work for my msm chip (baseband), and was also enough to make usb host work on htc apache so I was trying to see why this was not upstream |
03:23.53 | WyrM | ezx/current: http://git.openezx.org/?p=openezx.git;a=blob;f=arch/arm/mach-pxa/ezx.c;h=cb1af2c97acd0fbddaf250dcd4788418b103557d;hb=f284d7d4a5ab75fb012ebd1274d8a9fa27aec171 |
03:24.18 | tmzt | because it didn't look very clean to have it in a board in pxa |
03:24.27 | WyrM | with the actual ohci code on ezx.c your msm should work too. |
03:24.46 | WyrM | about apache... |
03:25.14 | WyrM | afaik they use the internal transceiver of pxa, so it is pretty different. |
03:25.59 | WyrM | UP?OCR defines the kind of connection, so if UP?OCR is different, everything else is probably different too. |
03:26.29 | tmzt | its is directly connected via single ended usb pins (6 vias, no transceiver) to the baseband |
03:26.36 | tmzt | what does that mean? |
03:26.48 | WyrM | do you have the manual? |
03:27.32 | tmzt | hold on |
03:32.56 | WyrM | see 12.5.5 (what is used on EZX) |
03:33.21 | WyrM | vs 12.5.4 (what is used on htc phones) |
03:33.24 | WyrM | afaik :) |
03:34.49 | WyrM | if what you want to do is trying to use usb host on your motoq, the only needed change on the PXA part of the code is UP2OCR = UP2OCR_SEOS(3) instead of 2. |
03:35.43 | tmzt | I am using the usb host with the block I posted earlier, the usb host is directly connected to the msm the way you described earlier I think |
03:36.11 | WyrM | so, it should work with the latest ezx.c too. |
03:36.13 | WyrM | just try. |
03:36.23 | tmzt | I just don't get how that's different than using the internal transceiver since the msm chip is designed to be interfaced to a standard usb host |
03:36.26 | WyrM | im talking about usb host on the mini usb port. |
03:36.56 | tmzt | I don't have that unless the "eoc" chip supports it, and pxa only has one usb host port right? |
03:36.58 | WyrM | it is different. see the manual.. the same pins would have different functions. |
03:37.36 | WyrM | hum. |
03:37.45 | tmzt | htc apache has a msm chip on the usb host as well, I don't think it has the capability of using the host through the miniusb |
03:37.56 | WyrM | afaik it has 2 usb ports which you can route to both udc and uhc. |
03:38.10 | tmzt | I'm looking at the manual |
03:38.42 | WyrM | yes, you can use host on the miniusb. |
03:39.18 | tmzt | pxa has three hosts, one of which can be used for otg by connecting a transceiver to it and the udc port? |
03:39.25 | WyrM | probably on apache which uses the builtin transceiver, you wold have only unpowered usb host. |
03:39.38 | WyrM | on ezx you can have powered usb host because of the external transceiver. |
03:39.55 | WyrM | 3 hosts or 3 ports? |
03:40.02 | tmzt | 3 ports |
03:42.09 | tmzt | 0x0 = host controller port 3 transceiver with external hsot controller |
03:42.24 | tmzt | 0x2 = host controller port 3 transceiver with external device controller |
03:42.42 | tmzt | UP3OCR |
03:43.26 | WyrM | yes, as it looks port 3 is host only. |
03:43.34 | WyrM | port 2 supports both uhc and udc |
03:44.05 | tmzt | ok, on q and apache msm is connected to port3? |
03:44.21 | WyrM | I think yes. |
03:44.22 | tmzt | same as bp on some of the ezx phones? |
03:44.33 | WyrM | neptune is connected to port3 on ezx. |
03:44.41 | tmzt | yeah ok |
03:44.46 | WyrM | and EOC/PCAP to port 2 |
03:45.01 | tmzt | I will try the new ezx.c code and see if the modem still works |
03:45.11 | WyrM | ok |
03:55.26 | *** join/#openezx flyhorse|linux (n=flyhorse@116.4.161.117) |
07:05.27 | *** join/#openezx pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
07:07.46 | *** join/#openezx l403 (n=l@85.132.159.239) |
09:04.46 | *** join/#openezx ao2 (n=u@2001:1418:117:0:0:0:0:1) |
09:25.40 | Hopscotch | guten morgen |
09:45.23 | *** join/#openezx florian_kc (n=fuchs@217.146.132.69) |
10:19.19 | *** join/#openezx jonwil (n=jonwil@123-243-219-11.tpgi.com.au) |
10:19.26 | jonwil | hi |
10:28.23 | florian | hi jonwil |
11:02.00 | sabrod | hi all |
12:26.18 | *** join/#openezx pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
12:33.13 | *** join/#openezx sabrod_ (n=mac@lns-bzn-40-82-251-172-149.adsl.proxad.net) |
13:40.09 | *** join/#openezx gmzhuo (i=gmzhuo@125.70.87.165) |
13:41.13 | gmzhuo | HI |
13:50.12 | gmzhuo | E6's screen lock is GPIO15 |
13:50.28 | sabrod_ | hi gmzhuo |
13:53.48 | gmzhuo | Hi,sabrod |
14:10.33 | *** join/#openezx tombhadAC (n=tombhad@pD95DE9CE.dip.t-dialin.net) |
14:19.29 | gmzhuo | I can't push in ezx now :( |
14:35.58 | *** join/#openezx tombhadAC (n=tombhad@pD95DD8CC.dip.t-dialin.net) |
14:38.27 | *** join/#openezx johanbr (n=j@JBrannlund2.MathStat.Dal.Ca) |
14:56.49 | *** join/#openezx pleemans (n=toi@116.54-246-81.adsl-static.isp.belgacom.be) |
15:05.38 | ao2 | hi gmzhuo, what is the problem with push? |
15:15.03 | WyrM | hi. |
15:16.52 | *** join/#openezx tombhadAC (n=tombhad@pD95DE2C1.dip.t-dialin.net) |
15:46.38 | ao2 | interesting mail on openezx-devel, usb host working on a780 |
15:59.36 | WyrM | nice. |
15:59.37 | WyrM | :) |
16:08.54 | WyrM | im curious to see if he placed a sysfs control or if he implemented some accessory detection logic :) |
16:27.56 | gmzhuo | Hi,ao2,The remote end hung up unexpectedly |
16:28.10 | gmzhuo | this is my error msg for git-push |
16:30.25 | gmzhuo | I'm intresting of usb-host working on the a780 too,how to connect and how about the patch |
17:15.42 | l403 | it nneeds external power though |
17:16.26 | *** join/#openezx r00t|vaio (i=foobar@port-83-236-58-164.dynamic.qsc.de) |
17:17.54 | l403 | but it is achievable with 2 AA batts |
17:19.29 | *** join/#openezx darion76 (i=darion@94-248-30-88.dynamic.peoplenet.ua) |
17:28.07 | *** join/#openezx LoneStar (n=xinzhen@114.92.171.72) |
17:50.27 | *** join/#openezx darion76 (i=darion@94-248-30-88.dynamic.peoplenet.ua) |
18:40.11 | *** join/#openezx pleemans (n=toi@d54C2AAB7.access.telenet.be) |
19:18.51 | yang | hi ao2 |
19:33.41 | *** join/#openezx p3t3r__1 (n=peter@gate1.net-you.de) |
19:33.48 | p3t3r__1 | Hi! |
19:37.16 | p3t3r__1 | Just kidding: Do you think there is a way to connect / add a touchscreen to a non-touchscreen phone? Are there connectors to solder it to? |
19:43.42 | *** part/#openezx darion76 (i=darion@94-248-30-88.dynamic.peoplenet.ua) |
19:59.29 | l403 | p3t3r__1: I think you can. just need a usable GPIOs to talk to a sensor driver. then there is the physical mount issue :) |
20:04.00 | p3t3r__1 | Ok.. well, this sounds pretty difficult.. I have an E680 ts here, that's why i asked.. A910 with TS (and in a non clamshell case'd be the uber-ezx ;-) ) |
20:07.55 | l403 | btw there are howtos about how tthey work and even nhow to make your oown capacitive taouchscreen |
20:09.20 | *** join/#openezx florian (n=fuchs@f054164016.adsl.alicedsl.de) |
20:18.05 | *** join/#openezx ao2 (n=u@2001:1418:117:0:0:0:0:1) [NETSPLIT VICTIM] |
20:18.06 | *** join/#openezx ghane (n=ghane@unaffiliated/ghane) [NETSPLIT VICTIM] |
20:43.45 | *** join/#openezx flyhorse|linux (n=flyhorse@116.4.161.117) [NETSPLIT VICTIM] |
21:11.26 | *** join/#openezx flyhorse|linux (n=flyhorse@116.4.161.117) [NETSPLIT VICTIM] |
21:14.41 | *** join/#openezx l403 (n=l@85.132.159.239) |
22:10.02 | *** join/#openezx l403_ (n=l@85.132.159.239) |
22:29.26 | johanbr | from the mailing list: "We got usb-host working on the a780. Up to now we successfully tested usb keyboards, a d-link dwl-122 wifi adaptor and a usb to ethernet adaptor." |
22:29.29 | johanbr | wow :) |
22:54.05 | *** join/#openezx l403 (n=l@85.132.159.239) |
23:08.46 | *** join/#openezx l403 (n=l@85.132.159.239) |
23:42.21 | CIA-15 | OpenEZX: 03guiming zhuo <gmzhuo@gbsoft.localdomain> 07ezx/current * r63b32fac14 10openezx/arch/arm/mach-pxa/ezx.c: Add support for E6 lock switch |
23:52.45 | *** join/#openezx johanbr (n=j@blk-7-131-230.eastlink.ca) |