IRC log for #htc-linux on 20090517

00:43.29marajinnice, google earth actually decided to work with a bluetooth GPS device
01:15.18*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
01:15.26*** join/#htc-linux the_sys0p (n=the_sys0@116.199.69.24)
02:30.18*** join/#htc-linux AntiXpucT (n=Skim@vpn-pool-78-139-211-142.tomtel.ru)
03:09.43*** join/#htc-linux mrmoku|a` (n=mrmoku@ppp-93-104-57-48.dynamic.mnet-online.de)
04:04.36*** join/#htc-linux Shinto (n=John@f048128062.adsl.alicedsl.de)
04:09.05*** join/#htc-linux Shinto (n=John@f048128062.adsl.alicedsl.de)
04:42.14*** join/#htc-linux droid001 (n=mc@p4FDCE934.dip.t-dialin.net)
04:52.07*** join/#htc-linux timebomb (n=tb@d009157.adsl.hansenet.de)
05:12.14*** join/#htc-linux goxboxlive (n=goxboxli@204.84-48-126.nextgentel.com)
05:31.28*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
06:11.50*** join/#htc-linux punkass (n=punkass@unaffiliated/punkass)
07:09.13*** join/#htc-linux timebomb (n=tb@d009157.adsl.hansenet.de)
08:05.24*** join/#htc-linux BabelO (n=fcr@unaffiliated/babelo)
08:30.37*** join/#htc-linux dcordes (n=luke@unaffiliated/dcordes)
08:37.50*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
08:48.29tmztszsoftware: the major/minor should be the same across kernels, most of them are standardized, some devices may be dynamic thouh
08:49.00tmztszsoftware: ah, smd is 254, that might not be standardized
08:49.23tmztszsoftware: mdev is better, if android it should have the functionality built in to to init
08:49.50*** join/#htc-linux szsoftwa1e (n=szsoftwa@e178242003.adsl.alicedsl.de)
09:06.26tmztNetRipper: are you familar with the rpc's to switch audio on raph800?
09:14.17dcordestmzt, hi. I've seen you got static out of arm9 on your raph?
09:28.41*** join/#htc-linux tsdogs (n=tsdogs@net203-187-146.mclink.it)
09:31.32*** join/#htc-linux skodde (n=skodde@unaffiliated/skodde)
09:36.24*** join/#htc-linux MethoS- (n=clemens@host-091-096-215-243.ewe-ip-backbone.de)
09:41.32szsoftwa1etmzt: Thank ya for detailed help
09:42.10szsoftwaredcordes: Morning!
09:42.53tmztdcordes: yes, but just static
09:43.17tmztno code yet, I have just taken some things from vogue-hw and put them in htc_hw
09:43.43dcordesnice
09:43.50dcordesszsoftware, hi
09:47.43*** join/#htc-linux nebi_ (n=nebi@217.142.147.19)
10:22.07*** join/#htc-linux BabelO__ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
10:31.29*** join/#htc-linux BabelO (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
10:54.15*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
11:23.59*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
11:42.26*** join/#htc-linux the_sys0p (n=the_sys0@116.199.69.24)
11:56.38*** join/#htc-linux nebi_ (n=nebi@217.142.147.19)
12:10.08*** join/#htc-linux wirelessdreamer (n=dreamer@chrobd01.vailsys.com)
12:52.41*** join/#htc-linux szsoftware (n=szsoftwa@e178220057.adsl.alicedsl.de)
13:17.06*** join/#htc-linux echo31 (i=52f0c236@gateway/web/ajax/mibbit.com/x-1724934a17eccdca)
13:22.34*** join/#htc-linux Echo31 (n=olivier@mir31-4-82-240-194-54.fbx.proxad.net)
13:22.59*** join/#htc-linux MethoS-- (n=clemens@dyndsl-085-016-167-160.ewe-ip-backbone.de)
13:43.25*** join/#htc-linux nebi_ (n=nebi@217.142.147.19)
13:49.20Echo31Hello, I want to fill the  htc_egpio_platform_data structure from htc-egpio.h for Athena
13:49.31Echo31The current fields are reg_width  ,bus_width ,irq_base,num_irqs,ack_register,chip num_chips
13:49.43Echo31I have the fields values (gpio_base,bus_shift, nrRegs) from a old version (gpio_cpld1_data and egpio_cpld2_data)
13:49.53Echo31Chips and num_chips come from pins and num_pins.
13:50.02Echo31What are the field values (gpio_base,bus_shift, nrRegs) corresponding to current version?
13:50.34tmztKevin2: htc-egpio is yours?
13:52.16Echo31The htc-egpio.h comes from the 2.6.30.r4
13:52.48tmztwhat I know is the irq's are essentially the outputs
13:52.49Echo31My old version comes from the hh.org
13:53.13tmztgpio_base should be handled automatically I think (it's an integer, right?)
13:53.51tmztdo you have memory resources?
13:55.02Echo31yes, thes old value are for cpld1
13:55.03Echo31.bus_shift   = 0,
13:55.03Echo31.irq_base    = IRQ_BOARD_START,
13:55.03Echo31.gpio_base   = 1*GPIO_BASE_INCREMENT,
13:55.03Echo31.nrRegs      = 9,
13:55.20tmztwhat are the memory resources?
13:55.33tmztdivide the size by nrRegs I think to get the width
13:55.48Kevin2tmzt: I wrote the original version, and pH5 enhanced it and worked with lkml to get it into mainline.
13:56.05tmztKevin2: Echo31 is trying to convert pdata from hh.org to current
13:56.32Kevin2It's been too long for me to recall the details.  :-/
13:56.55tmztwidth is usually 16bit?
14:00.51Echo31tmzt: I don't know. I use the current magician.c file from 2.6.30 for the porting to athena
14:01.33tmztok, think of gpio's as the inputs and irq's as the outputs
14:01.50tmztwhen you get an irq you ask the egpio chip which gpio triggered it
14:11.18Echo31for comparing to magician
14:11.38Echo31.reg_width    = 8,
14:11.39Echo31.bus_width    = 32,
14:11.39Echo31.irq_base     = IRQ_BOARD_START,
14:11.39Echo31.num_irqs     = 4,
14:11.39Echo31.ack_register = 3,
14:11.40Echo31.chip         = egpio_chips,
14:11.41Echo31.num_chips    = ARRAY_SIZE(egpio_chips),
14:11.58Echo31and the old version
14:12.11Echo31.bus_shift   = 1,/* 32bit alignment instead of 16bit */
14:12.11Echo31.irq_base    = IRQ_BOARD_START,/* 16 IRQs, we only have 4 though */
14:12.11Echo31.gpio_base   = GPIO_BASE_INCREMENT,
14:12.11Echo31.nrRegs      = 7,
14:12.11Echo31.ackRegister = 3,
14:12.12Echo31.pins        = egpio_pins,
14:12.14Echo31.nr_pins     = ARRAY_SIZE(egpio_pins),
14:37.05marajinyo
14:57.15*** join/#htc-linux PoohbaLT (n=BlkPoohb@c-69-141-71-249.hsd1.nj.comcast.net)
15:05.03Echo31* struct htc_egpio_platform_data - description provided by the arch
15:05.04Echo31<PROTECTED>
15:05.04Echo31<PROTECTED>
15:05.04Echo31<PROTECTED>
15:05.04Echo31<PROTECTED>
15:05.06Echo31<PROTECTED>
15:05.08Echo31<PROTECTED>
15:05.10Echo31<PROTECTED>
15:05.12Echo31<PROTECTED>
15:05.21Echo31Do you agree that reg_width cpld1 = 8  and reg_width cpld2 = 16  for athena?
15:08.43*** join/#htc-linux crayolaguru (n=michael@adsl-75-39-140-130.dsl.tpkaks.sbcglobal.net)
15:09.38*** join/#htc-linux MethoS- (n=clemens@dyndsl-085-016-167-160.ewe-ip-backbone.de)
15:09.47*** join/#htc-linux no2chem (n=no2chem@ip98-164-222-34.oc.oc.cox.net)
15:13.32*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
15:26.12*** join/#htc-linux cr2 (n=cr2@ip-77-24-125-155.web.vodafone.de)
15:55.58*** join/#htc-linux AntiXpucT[n] (n=Skim@vpn-pool-78-139-211-147.tomtel.ru)
16:16.12szsoftwarej0b0: Hey!
16:18.35*** join/#htc-linux Untouchab1e (n=Untoucha@82.147.51.146)
16:18.37Untouchab1eHi all
16:18.39Untouchab1ehow's it going?
16:18.49szsoftwareHi Untouchab1e!
16:18.51Untouchab1ehey
16:18.56szsoftwareFine
16:21.26*** join/#htc-linux Fawkes (n=vircuser@92-235-108-130.cable.ubr07.telf.blueyonder.co.uk)
16:23.57*** part/#htc-linux crayolaguru (n=michael@adsl-75-39-140-130.dsl.tpkaks.sbcglobal.net)
16:26.17FawkesHey there
16:27.48*** join/#htc-linux cr2 (n=cr2@ip-77-24-125-155.web.vodafone.de)
16:35.18j0b0szsoftware evening
16:39.14FawkesAnyone familiar with Android for Athena port? Is the version linked to from the AndroidAthenaProject1.0  (05282008) still the latest version?
16:44.51Untouchab1ej0b0! Has there been any progress on the Diamond or Raph the last couple of weeks? I have been on a military Exercise.. lol
16:46.25marajinhey Untouchab1e
16:46.31marajinyo szsoftware
16:48.09j0b0Untouchab1e current git head boots 1.5, im not sure on adsp and rpc routing, only yesterday i got 'size' from the touch screen
16:48.44Untouchab1ecool
16:52.20*** join/#htc-linux cr2 (n=cr2@ip-77-24-125-155.web.vodafone.de)
16:52.20j0b0it will probably take some more measuring and tinkering to get it working for other device than raph100 tho. i briefly explain how i got there here -> http://forum.xda-developers.com/showpost.php?p=3788860
16:55.51*** join/#htc-linux timebomb (n=tb@d159027.adsl.hansenet.de)
16:59.46FawkesHmm. Is the Linux for Athena port dead, or am I looking in the wrong places?
17:04.15*** join/#htc-linux kiozen (n=oeichler@rgnb-5d87c98e.pool.einsundeins.de)
17:08.55*** join/#htc-linux Fawkes (n=vircuser@92-235-108-130.cable.ubr07.telf.blueyonder.co.uk)
17:12.29szsoftwarej0b0: Hi. I tried to display initlogo.rle from your 1.5-cupcake images.
17:13.32szsoftwarej0b0: It's the same way disformed, like the android start screen from the image you provide.
17:14.23szsoftwarej0b0: Is there any coherence between this?
17:14.47szsoftwarej0b0: I mean the cause of the fault
17:15.19szsoftwarej0b0: And btw., how can I view/edit/transform those *.rle images?
17:34.33j0b0szsoftware the logos looking disformed is weird. i have no theory on that, especially if it looks normal with other system images on the same kernel and if it looks normal once you get to the home screen
17:36.25j0b0i made the picture by saving as rgb888 and then using the to565 tool in ./build/tools/rgb2565/ in the Android tree
17:36.40j0b0so to change it i would just edit the original and save and convert again
17:55.30szsoftwarej0b0: many thanks
18:01.59j0b0szsoftware if it is only this system image that acts weird and others work fine, then its probably not worth spending time on. then its not your device or your kernel that causes it. when i produce a new one we can see whether it was a fluke.
18:06.32*** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net)
18:12.49szsoftwarej0b0: I have an older cupcake Android 1.5 image from dzo running, without such weird look. I built my own Android1.5 last days, but did not reach home screen after start screen.Must further debug this
18:13.36szsoftwarej0b0: would be glad to try newer images of you
18:15.25szsoftwarej0b0: Do you know wether android set's network stuff when loading? I have no cdc_subset triggering, even when usb0 is set up through init, before android has been loaded.
18:18.05j0b0no. i can telnet in as soon as init brings it up
18:34.48*** join/#htc-linux timebomb (n=tb@d159027.adsl.hansenet.de)
18:42.13*** join/#htc-linux pleemans (n=toi@d54C2AAB7.access.telenet.be)
18:48.43szsoftwarej0b0: Interesting, do you think, using this init script it should work? : http://linuxtogo.org/~szsoftware/initrd/#init
19:00.01szsoftwarebbl
19:15.31*** join/#htc-linux vircuser (n=vircuser@92-235-108-130.cable.ubr07.telf.blueyonder.co.uk)
19:31.03*** join/#htc-linux Zoolooc (n=fredsiba@nrbg-4dbfca8e.pool.einsundeins.de)
19:31.27*** join/#htc-linux hollo_ (n=hollo@3e6b7b2c.rev.stofanet.dk)
20:04.38szsoftwarej0b0: Did you had time to look at the above mentioned init script?
20:07.56j0b0szsoftware i saw it
20:09.11j0b0it does make some assumptions on the sd card layout tho
20:10.26szsoftwarebut this has nothing to do with the network stuff
20:12.26j0b0right yes
20:13.13j0b0so if you do_init() to a shell, can you not telnet in?
20:15.41szsoftwareI did also examine init.rc for init.android but haven't seen some network specific exect fireing up lo and this "setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208"
20:17.06szsoftwarej0b0: No I cant', thats the point. When it does "exec init.android" it takes some seconds while the android boot screen is shown, then cdc_subset is triggerd on host
20:18.27j0b0i dont experience the same. i can telnet in almost immediately and the connection stays alive all the way through
20:20.02szsoftwareyou lucky
20:22.31j0b0luck has nothing to do with it. its my mad booting skills
20:23.56szsoftwarej0b0: the other problem is this unreliable usb0 connection. tail -f /var/log/messages on host says register/unregister every 10 seconds. Sometimes its more reliable, when I restart the host. Strange thing..
20:25.15szsoftwarebbl
20:28.37*** join/#htc-linux szsoftware (n=szsoftwa@e178220057.adsl.alicedsl.de)
20:30.52szsoftwareok, that cdc_subset works better after restarting the host was coincidence
20:33.25j0b0do you have the same problem using a complete set that works for others? including kernel, initrd, default.txt
20:34.10j0b0if so you should try your phone on a different linux box or a different phone on yours to check whether something is just broken. do you ever activesync to a windows box and if so does that work smoothly?
20:37.43szsoftwaregood thinkabouts. I will have a try with a recent android 1.1 bootkit. Different Linux Box not availabls.Windows sync worked (long time ago)
20:38.25diogene31is away: TV time
20:48.02*** join/#htc-linux fnord_ (n=fnord@24-151-90-116.static.nwtn.ct.charter.com)
20:49.09*** join/#htc-linux szsoftware (n=szsoftwa@e178220057.adsl.alicedsl.de)
20:54.28*** join/#htc-linux hac (n=c__o@host179-50-dynamic.57-82-r.retail.telecomitalia.it)
20:54.35*** part/#htc-linux hac (n=c__o@host179-50-dynamic.57-82-r.retail.telecomitalia.it)
21:06.38*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
21:10.12*** join/#htc-linux lol404 (n=lol404@193.136.67.241)
21:43.04*** join/#htc-linux wirelessdreamer (n=dreamer@chrobd01.vailsys.com)
21:50.30*** join/#htc-linux BabelO_ (n=fcr@lun34-2-82-238-28-28.fbx.proxad.net)
21:57.37szsoftwareWhy I have no dns resolution on android, this drives me crazy!
22:05.29szsoftwarej0b0: Can you tell me what I have to set on host, so he can be the gateway for the pda? On pda is already set the "route add default gw 192.168.2.100"
22:07.29j0b0on the host, assign that gw address to usb0, and you need ip forwarding and masquerading
22:08.52j0b0i dont know the exact commands but it is on the forum and maybe even on the wiki
22:09.13szsoftwareI will take a look ..
22:12.21*** join/#htc-linux dzo (n=dzo@121-98-128-127.bitstream.orcon.net.nz)
22:16.12Balsatecho "1" > /proc/sys/net/ipv4/ip_forward" and "iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
22:17.37szsoftwareBalsat: thank you, already set this up. It works now
22:17.49BalsatCool
22:18.59dzoszsoftware: have you tried setprop "net.dns1" "DNSIP"
22:21.34*** join/#htc-linux IamSOG (n=SOG@n058152148148.netvigator.com)
22:22.48szsoftwaredzo: Hey!
22:23.10dzoHi, how's things.
22:23.47szsoftwareno I did not. Can I do this outside of android? Already in the init script, before android loads?
22:24.04szsoftwareWhat does setprop? Writing in /proc?
22:25.00szsoftwaredzo: did you read about my cdc_register/unregister every ~10 seconds issue?
22:25.46*** join/#htc-linux marex (n=marex@vasut.kolej.mff.cuni.cz)
22:26.06szsoftwaredzo: I meant cdc_subset register
22:26.12dzofor ppp it does it in /etc/ppp/ip-up, setprop just sets some android properties. Yes it does this to me sometimes at first, but not every 10 seconds and sometimes will go for hours.
22:26.54szsoftwaredzo: yes sometimes (rarely) it works like a charm, but most time not
22:27.18dzoWhat device do you have?
22:27.23szsoftwarepolaris
22:27.58dzoOK, kaiser doesn't work at all after the first drop, so you are lucky!
22:28.09szsoftwareI baked kernel using latest git and tried several of your kernels
22:28.46dzoI think 7200 does something else for USB but I don't know what.
22:28.48szsoftwaredzo: Ok, I stop crying. You encourage me!
22:29.51szsoftwaredzo: you think it depends on traffic at usb0?
22:30.10dzoI don't think so, Perhaps it's something to do with charging.
22:30.45szsoftwaredzo: can I disable charging for debugging this assumption?
22:30.51dzothe whole usb driver is a bit flakey though, I would never have started it if I had known how horrible usb is.
22:31.25szsoftwaredzo: however, thank you that you did!
22:31.53dzoperhaps, how do you do that on polaris. vogue is easy but kaiser seems to always charge.
22:33.28szsoftwaredzo: cdc_subset is triggered on host during android boot but not earlier after init script. Do you know why?
22:33.51*** join/#htc-linux Untouchab1e (n=Untoucha@91-165-255.ggsn.netcom.no)
22:35.04*** join/#htc-linux Untouchab1e (n=Untoucha@91-165-255.ggsn.netcom.no)
22:35.10dzowhat do you mean? when the driver inits the host sees it and when init does ifconfig usb0 up, the interface comes up.
22:36.47szsoftwaredzo: thats the point, when I don't exec init.android but /bin/sh the host doesn't recognise usb0, although usb0 is up and running on polaris
22:37.14szsoftwaredzo: for better understanding I use this script: http://linuxtogo.org/~szsoftware/initrd/#init
22:37.58szsoftwaredzo: cdc_subset is triggered some seconds before android's homescreen is appearing but never earlier
22:39.16dzoyes, I saw that initrd, nice work. my initrd does: "ifconfig usb0 192.168.2.1" at the end.
22:40.32szsoftwaredzo: when I do a debug output then usb0 is configured well. But it still needs booting/init android for telnet connection
22:41.31dzoThat's odd, I don't think I tried that. Perhaps android does something else. Anyway, got to go now. Bye.
22:41.48szsoftwaredzo: thank you! bye
22:54.37*** join/#htc-linux Untouch0 (n=Untoucha@235-188-900.ggsn.netcom.no)
23:11.30*** join/#htc-linux AntiXpucT (n=Skim@77.106.108.232)
23:46.16marajinwow, having some pretty nasty issues with my kovsky
23:55.09*** join/#htc-linux Perkka (n=perkka@ua-83-227-207-92.cust.bredbandsbolaget.se)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.