IRC log for #htc-linux on 20070707

00:35.18*** part/#htc-linux iggy (n=iggy@12.45.184.232)
00:39.47BabelOok, another try for the night
01:04.02psokolovskyBabelO: any changes since patches you sent? I just finish setting up usb/nfs on a new box for testing...
01:04.24BabelOyes one change, i send you mail now :)
01:05.03psokolovskythanks!
01:05.38BabelOmail sent
01:06.51BabelOi read some post about irq sharing and pcmcia, i found this from one year ago http://lists.infradead.org/pipermail/linux-pcmcia/2006-June/003709.html
01:08.29BabelOi think i understand now, my settings are bad, so i set it to dynamic sharing and try again ;)
01:13.01*** join/#htc-linux ecze (n=ecze@eczema.ecze.com)
01:16.45BabelOpsokolovsky: i think it is this in acx_cs_config p_dev->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING;
01:16.51BabelOi ll try with that now
01:17.05psokolovskyok, I so far just booted somehow...
01:31.12psokolovskywell, so latest version ends with:
01:31.12psokolovsky<4>[  207.970000] wlan0: request_irq FAILED
01:31.14psokolovskyfor me
01:31.26BabelOok
01:31.43BabelOcan you try  with IRQ_TYPE_DYNAMIC_SHARING
01:32.31BabelOi ve strange init on my ba, pcmcia don't mind driver correctly on each boot
01:33.22BabelOpsokolovsky: you have this message when you try ifconfig up ?
01:33.44psokolovskyBabelO: well, it seems for me that irq set up is incorrect completely
01:34.17psokolovskyBabelO: do you have the same message?
01:34.31BabelOpsokolovsky: yes, but i think it is because of sharing irq, i have already this message before when i load at same time htcblueangel_acx and also pcmcia
01:34.34BabelOpsokolovsky: yes
01:35.08psokolovskyBabelO: so of course, you cannot have pcmcia driver and acx driver use the same irq!
01:35.32BabelOpsokolovsky: yes i m agree
01:36.03psokolovskypcmcia_request_irq() is what we need
01:36.26psokolovskyand you have it, right?
01:36.50BabelOyes
01:37.24psokolovskythen you don't need to request it again
01:37.25BabelObut my first settings was with Tp_dev->irq.Attributes = TYPE_EXCLUSIVE
01:37.56BabelOah i think i understand what you mean
01:46.47BabelO*
01:49.41BabelOpsokolovsky: is acx irq level or raising edge ?
02:13.11*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.21)
02:59.00BabelOgood night
05:27.15*** join/#htc-linux dion (n=dion@inhex.net)
06:46.51*** join/#htc-linux RoEn (n=roen@p54A671E6.dip.t-dialin.net)
08:09.36*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
08:29.24*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
08:32.12*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
09:11.49*** join/#htc-linux psokolovsky (n=psokolov@82.193.98.21)
09:26.08*** join/#htc-linux cyrill62 (n=cyrill62@poold3-140.adsl.nordnet.fr)
10:11.44*** join/#htc-linux rob__w (n=bob@X0de9.x.pppool.de)
11:08.42*** join/#htc-linux pwr (n=pwr@82.78.119.227)
11:17.30*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
11:26.37BabelOhi
11:48.25psokolovskyBabelO: Hi! Saw my mail?
11:53.58BabelOhi psokolovsky
11:54.49BabelOyes i saw your email, i m testing cvs now, but blueangel_pcmcia in cvs is not the same i use, i use your h4000_pcmcia.c as sample to build a new one
11:56.43psokolovskyBabelO: well, that's bad ;-). because other people don't see what you use, so can't know what can be wrong ;-)
11:57.12psokolovskyanyway, either try new ba_pcmcia.c, or re-update from current h4000_pc*.c
11:57.17BabelOpsokolovsky: yes i know, i send it after my test, so it is working for you ?
11:58.35psokolovskyBabelO: as I wrote, current CVS is what works for me
11:59.07BabelOok, and suspend / resume ?
12:00.30psokolovskydoesn't work
12:00.49BabelOok, normal, function call are disabled in cs.c
12:01.20BabelOi check on ba if i can have it to works
12:02.01BabelOeh eh i see you change power settings in h4000_pcmcia.c
12:02.32psokolovskymost important, there was buggy irq setup
12:59.22BabelOpsokolovsky: i don't undrstand, you use h4000_wlan_start() in pcmcia ?
13:00.03psokolovskyBabelO: yes, that wlan start is actually setup of pcmcia device otherwise
13:01.09BabelOok, on ba i never enter in case 33:
13:05.53*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
13:07.38*** join/#htc-linux rob_w (n=bob@X0de9.x.pppool.de)
13:29.10*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
13:41.30BabelOpsokolovsky: ok,  it works now ;)
14:26.17*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
14:28.23psokolovskyBabelO: woo-hoo!!!
14:28.33psokolovskyor rather, woo-foo! ;-)
14:29.03psokolovskyBabelO: so, please drop your patches to k-d, let's have it all settled now
14:29.36BabelO:) i try to this pcccard eject and power settings, maybe with SS_POWERON
14:30.20BabelOok, i send blueangel_pcmcia to k-d, is it better to send patch or the new file ?
14:30.37psokolovskyBabelO: patch against CVS please
14:30.47BabelOok, doing it ;)
14:39.16*** join/#htc-linux eczema (n=ecze@eczema.ecze.com)
14:44.58*** join/#htc-linux wired_ (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
14:58.44*** join/#htc-linux scorpio16v (n=scorpio1@AC9E268D.ipt.aol.com)
15:20.35*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)
15:41.51*** join/#htc-linux Tjikkun (n=tjikkun@82-204-54-115.dsl.bbeyond.nl)
17:19.26*** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be)
17:26.54*** join/#htc-linux BabelO (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net)
17:54.38*** part/#htc-linux scorpio16v (n=scorpio1@AC9E268D.ipt.aol.com)
17:58.28BabelOpsokolovsky: i send email to k-d, power on / off works for me ;)
18:57.03*** join/#htc-linux pancake (n=xxx@55.pool85-52-227.static.orange.es)
18:58.39*** join/#htc-linux eczema (n=ecze@eczema.ecze.com)
19:47.54psokolovskyBabelO: great! will commit now.
19:48.24BabelOpsokolovsky: thanks, do you think you can manage power line in same way on h4000 ?
19:49.25psokolovskyBabelO: I bet, sure. Current code is fully based on wince driver. So, I can load acx module, unload it, etc. but it hangs after suspend ;-(
19:50.19BabelOpsokolovsky: i m looking at acx_cs_release and detach funciton now
20:02.19BabelOpsokolovsky: oh oh  good good, now eject / insert is working fine and acx device completly powered down
20:02.38psokolovskyok
20:03.11psokolovskywe'll possibly need to look at more detail when exactly to power it down, but that's stuff for later work.
20:04.07BabelOactually i power it down only on command pccard eject, it look reasonnable
20:08.59psokolovskyBabelO: well, I'd say, that ideal case is that it should power down on ifdown, and up on ifup, but it's another matter hwo to achieve that.
20:09.13psokolovskycommitted, sent ann mail to k-d
20:09.24BabelOok
20:46.16*** join/#htc-linux Darknezz (i=Darknezz@S0106001346c88aff.wp.shawcable.net)
23:16.24*** join/#htc-linux wireddd (n=wired@97-81-78-105.dhcp.athn.ga.charter.com)

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