00:06.41 | paulproteus | Hmm, my modem seems to get "stuck" sometimes. |
00:06.58 | paulproteus | I wonder what can be done about this. |
00:11.07 | *** join/#htc-linux SmallR2002 (n=SmallR20@79-66-65-46.dynamic.dsl.as9105.com) |
00:54.22 | *** part/#htc-linux bernt__ (n=bernt@dslb-084-060-126-026.pools.arcor-ip.net) |
01:27.53 | *** join/#htc-linux silven (n=zmc@adsl-64-237-225-148.prtc.net) |
03:51.48 | *** join/#htc-linux Zoolooc_ (n=fredsiba@p54952A87.dip0.t-ipconnect.de) |
04:44.03 | *** join/#htc-linux the_sys0p (i=the_sys0@gateway/tor/x-653f8085c014a828) |
05:30.44 | *** join/#htc-linux goxboxlive (n=jrs@195.159.97.196) |
05:31.08 | goxboxlive | good morning |
06:19.45 | ellisway | morning goxboxlive |
06:20.00 | goxboxlive | hi ellisway |
06:25.12 | ellisway | hows it going |
06:25.32 | *** join/#htc-linux _law_ (n=law@80.122.23.18) |
06:30.00 | goxboxlive | ellisway: i'm real tired, woken child this night :-/ |
06:30.13 | goxboxlive | and u |
06:30.41 | ellisway | not bad been making changes to my dsl routers |
07:23.04 | paulproteus | goxboxlive, Morning (-: |
07:24.59 | goxboxlive | paulproteus: hi |
07:28.27 | paulproteus | Curiously my Universal seems to have powered itself off in the past few hours. I wonder why; I'll let it charge overnight.... |
07:33.13 | goxboxlive | paulproteus: really, sure it wasent just suspended? |
07:33.35 | paulproteus | goxboxlive, Er, I figure the keyboard should have woken it up. |
07:33.54 | goxboxlive | ok |
07:34.03 | goxboxlive | what rootfs image are you using? |
07:34.54 | paulproteus | Well, your rootfs, but running my custom Qtopia now. |
07:35.04 | paulproteus | BTW the Qtopia in my git has the "missed a call you're answering right now" bug. |
07:35.12 | paulproteus | I can up the time-out and push that to the git. |
07:35.15 | goxboxlive | paulproteus: what have you changed in your custom Qtopia image? |
07:35.27 | paulproteus | Nothing, it's just Qtopia latest snapshot + the work in svn. |
07:35.34 | goxboxlive | ok |
07:35.51 | paulproteus | BTW, the time-out thing is the sort of global change that I fear is right for one piece of hardware (Uni) that may be wrong for another (EZX) that's why I want separate branches. |
07:36.32 | goxboxlive | paulproteus: it should be allready fixed in the htcuniversal forlder. Sure you have commited the latest rev? |
07:36.57 | paulproteus | goxboxlive, Hmm, I'm pretty sure I do have the latest htcuniversal folder. |
07:37.02 | paulproteus | Tell me what to look for to verify it? |
07:37.07 | goxboxlive | paulproteus: It shouldnt be like that. |
07:37.21 | goxboxlive | i dont remember the last chages |
07:37.48 | goxboxlive | well now i do. It's a hack in the Qtopie source |
07:38.10 | goxboxlive | It should be in the device flder and not in Qtopia source. |
07:38.47 | goxboxlive | All devices should use the same base source. No dirty hacks should in the qtopia core source should be comitted upstream |
07:39.18 | paulproteus | Sure, but it's okay if the dirty hacks are temporarily enabled in some branch that happens to be published if the hacks are necessary. |
07:39.41 | goxboxlive | I think it's wromg to have diffrent branches, it should be the same for all devices like we have it in the git tree for the kernel soyurce at linuxtogo |
07:40.20 | paulproteus | But OTOH there are many branches of the kernel source across different groups. |
07:40.42 | paulproteus | I can see your logic though. |
07:41.16 | goxboxlive | If a developer like to do dirty hacks (like me, i do it all the time) he should do that localy so not anyone else pulls his changes. |
07:41.30 | paulproteus | I disagree! |
07:41.45 | paulproteus | If a developer does dirty hacks, then others should be able to see what those hacks are to give feedback on how to make them not dirty. |
07:41.55 | goxboxlive | this is becuase bug reporting wouldt work if we diffrent hacks in the source |
07:42.09 | paulproteus | + if those dirty hacks really improve the user experience, then users benefit from having them too. |
07:42.14 | goxboxlive | paulproteus: yes agree, but they should not be pulled mainline |
07:42.22 | paulproteus | Yes - that's what branches are for. |
07:42.34 | goxboxlive | ok |
07:42.38 | paulproteus | Keep one branch called "Things we want TrollTech to see" and also publish other branches. |
07:42.47 | goxboxlive | :-) |
07:44.37 | paulproteus | Easy branching + easy merging (supposedly - I haven't actually tried that yet, but I do hear it's good) are why I think git is good for this. |
07:46.31 | goxboxlive | ok, i dont know much about git so maybe your way is the best, but for me it seems a little confusing |
07:49.18 | paulproteus | Basically, I want to make sure everyone publishes their work somewhere, no matter how ugly they feel it is, so that others can build upon it. |
07:51.37 | paulproteus | What is the timeout you were playing with so I can see what I have it set to? |
07:53.58 | goxboxlive | AFAIR 11000 i think. I think defualt is 5500, i tried 100000 but it freaked out |
07:56.12 | paulproteus | What is it called /what file is it in? |
07:57.15 | goxboxlive | i dont remeber, i'm at work. Check the logs, 1 or 2 days before 24th dec. |
07:57.31 | paulproteus | Sounds good. |
08:24.11 | *** join/#htc-linux bernt__ (n=bernt@dslb-084-060-112-006.pools.arcor-ip.net) |
09:02.11 | bernt__ | Is it possible to switch of the green and/or red led of the blueangel? |
09:04.10 | bernt__ | I have found /sys/class/leds/blueangel/green/device/power/state |
09:04.48 | bernt__ | the state has the value 0, but the led is on. |
09:09.05 | *** part/#htc-linux rmoravcik (n=rmoravci@adsl-dyn53.91-127-139.t-com.sk) |
09:13.16 | *** join/#htc-linux rmoravcik (n=rmoravci@adsl-dyn53.91-127-139.t-com.sk) |
09:27.04 | *** join/#htc-linux rob_w (n=bob@X11b2.x.pppool.de) |
09:36.34 | goxboxlive | bernt__: then just send a "1" and see what happends. Mybe it is inverted somehow |
09:52.56 | *** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org) |
09:55.41 | *** join/#htc-linux rob_w (n=bob@X11b2.x.pppool.de) |
10:02.41 | *** join/#htc-linux pleemans (n=peter@d51A5E76A.access.telenet.be) |
10:33.00 | bernt__ | goxboxlive: Nothing happends :-( |
10:33.16 | goxboxlive | ok |
10:33.45 | bernt__ | but backlight on/of works good :-) |
10:44.58 | bernt__ | cat /sys/class/leds/blueangel\:green/trigger gives [none] blueangel-radio ac-online usb-online timer |
10:45.13 | bernt__ | but I cant change it with echo ... |
10:46.38 | *** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org) |
10:51.35 | *** join/#htc-linux AlGe (n=alge@chello080109231226.4.uni-klu.teleweb.at) |
10:54.52 | AlGe | bernt___: you can read/set the brigthness of the leds like this: |
10:54.52 | AlGe | led is on: |
10:54.52 | AlGe | root@htcblueangel:~$ cat /sys/class/leds/blueangel\:green/brightness |
10:54.52 | AlGe | 255 |
10:54.53 | AlGe | root@htcblueangel:~$ echo 0 > /sys/class/leds/blueangel\:green/brightness |
10:54.53 | AlGe | led is of |
10:56.05 | AlGe | works the same for the other leds including keyboard backlight |
10:58.08 | AlGe | btw, I cannot see a difference between echo 1 >... and echo 255 >..., its simply on/off |
11:06.52 | *** join/#htc-linux lieter_ (n=lieter@a62-251-100-248.adsl.xs4all.nl) |
11:06.56 | bernt__ | with kbdbackli this is working, but I think the green and red leds are on because off the usb-connection |
11:07.59 | *** join/#htc-linux rakeem (n=rakeem@n219078211158.netvigator.com) |
11:10.07 | AlGe | yes, but I can switch them off/on manually as I want, regardless of the usb connection. |
11:11.18 | rakeem | I need urgent help... With CE of all things... My BA's screen won't initialise after sleeping! It behaves identical to linux: Bright white, display but everything else is fine... I can control it using Pocket Controller... I have to go out soon so any help would be apprecitated... Merry Xmas BTW... |
11:11.23 | bernt__ | I've found it! it was the phonebutt :-) ... brightness -> 0 both leds off |
11:15.08 | bernt__ | hmm, phonebutt is working but green and red not :-( |
11:16.53 | bernt__ | but I have another problem (not so big .. I could reboot): |
11:17.14 | bernt__ | I have hide the menu bar. |
11:17.28 | bernt__ | Is there a way to get it back? |
11:19.07 | AlGe | you mean the panel? tap for 2 or 3 seconds on the lower screen border to get it back |
11:20.09 | bernt__ | Alge: -- this are only little problems -- Your Image is very good! :-) |
11:21.17 | AlGe | echo 1 > /sys/class/leds/blueangel\:phonebutt/brightness turns both phonebuttons on, for me |
11:23.03 | AlGe | where you able to reproduce a "working" phone call (where you could here the other side)? |
11:23.03 | AlGe | (but be careful when experimenting with the mixer values, dont put your ear to near to it if you are unsure how loud it will shout at you :-) |
11:23.59 | bernt__ | I notice that also the Screen Setup dont change portrait/landscape any more |
11:25.00 | AlGe | btw, I updated the images yesterday, now it ist 2.6.21-hh20-r6, but i didnt check the logs if it conatined BA related changes. |
11:25.15 | bernt__ | I had one test call yesterday that was ok .. I think I should try a second call ;-) |
11:25.55 | MichouX | hey all |
11:26.31 | AlGe | I saw that i have to check the "output Mux" value after each reboot, because someting seems to reset it to "Direct" after the asound.state ist restored |
11:26.37 | bernt__ | I'm using zImage-2.6.21-hh18-htcblueangel-20071201102557 |
11:27.42 | AlGe | that mean one of my kernels from the images.old? try the new one, it supports battery status reading vie /proc/apm thanks to BabelOs patch |
11:28.47 | AlGe | of course you need then the newer tar file too. |
11:29.43 | MichouX | bernt__, AlGe : what rom and kernel are you using on your blueangel ? I'am working on http://www.linuxtogo.org/~htcpxa/htcblueangel/O.P.I.E-II/ rom but phone doesn't work and I am trying to compile anoncvs.handhelds.org:/cvs but I have some problems on pcmcia part |
11:31.49 | *** join/#htc-linux Maturion (n=maturion@p5B0D9770.dip0.t-ipconnect.de) |
11:32.06 | *** part/#htc-linux Maturion (n=maturion@p5B0D9770.dip0.t-ipconnect.de) |
11:32.45 | AlGe | Im using linux-handhelds-2.6-2.6.21-hh20-r6 (which is hh.org cvs) as it is available in the recent oe environment. + babelos ds1wm patch (http://www.algepop.net/users/alge/angstrom-ba/) |
11:36.00 | bernt__ | This remembers me to the time of linux kernel version shortly after 1.0: sometimes two new kernel versions per day ;-) |
11:36.41 | *** join/#htc-linux kiozen (n=kiozen@rgnb-4db03f30.pool.einsundeins.de) |
11:39.34 | kiozen | BabelO: do you know how to summon the keyboard widget for input fields in qtopia? |
11:46.53 | MichouX | AlGe: oki thx, I will retry to compile hh.org kernel |
11:48.15 | MichouX | AlGe: what is your kernel toolchain ? http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2007q1-10-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 ? |
11:48.58 | AlGe | the cross compilers generated within oe, i'll check the version ... |
11:50.16 | AlGe | alge@ls-7269:~/oe/ba/build$ tmp/cross/bin/arm-angstrom-linux-gnueabi-gcc -v |
11:50.17 | AlGe | Using built-in specs. |
11:50.17 | AlGe | Target: arm-angstrom-linux-gnueabi |
11:50.17 | AlGe | Thread model: posix |
11:50.17 | AlGe | gcc version 4.1.2 |
12:05.09 | bernt__ | AlGe: the line in /etc/ipkg/htcblueangel-feed.conf should be commented out -- this address does not exist. |
12:07.26 | AlGe | yes, of course. you may add proper feed.confs for my server instead of this. I'll put some examples there. |
12:11.23 | AlGe | ... I have first to restructure my server directories -- file system full. so please be carefull with the last downloads, they may be coruppted |
12:26.34 | bernt__ | starting gomunicator gives: |
12:27.08 | bernt__ | cannot open connection to phone module in /dev/ttyS0 Permission denied |
12:27.28 | bernt__ | cannot find a phone at /dev/ttyS0 |
12:27.48 | bernt__ | can't get mixer element Phone |
12:30.08 | bernt__ | (this was through clicking the phone button on the screen) |
12:31.55 | AlGe | chmod 666 /dev/ttyS0 |
12:32.54 | *** join/#htc-linux goxboxlive (n=goxboxli@81.80-202-132.nextgentel.com) |
12:35.24 | AlGe | I wonder why it didnt happen to me ... |
12:35.27 | rakeem | \ |
12:36.05 | MichouX | AlGe: I have this error when I compile hh.org kernel : http://pastebin.com/d606845c4 |
12:36.26 | bernt__ | ok one time logout and login again it is working because now I'm root ;-) |
12:37.12 | AlGe | ... ok with the last image I used autologin=true which results in the root user beeing logged in |
12:38.10 | bernt__ | the other possibility would be to make the user a member of the dialout group ... |
12:39.46 | bernt__ | there should be the possibility to autologin with a non root user, like in a normal linux system. |
12:39.52 | AlGe | yes, best done with adding "dialout" here: |
12:39.52 | AlGe | root@htcblueangel:~$ cat /etc/gpe/gpe-login.conf |
12:39.52 | AlGe | addgroups audio,video,dialout |
12:40.51 | AlGe | autologin: I forgot the file where it had to be set, but in that script, autlogin meant root explicitly |
12:40.53 | bernt__ | fine :-) |
12:42.48 | bernt__ | But the problem with no voice at the phone call is also there ... |
12:43.39 | AlGe | check "Output Mux" within alsamxer, I bet it is set to "Direct", change to "Mixer" |
12:47.19 | AlGe | MichouX: we should compare our .config files, but i have to run for lunch now ... |
12:47.50 | bernt__ | ;-) |
12:52.51 | MichouX | AlGe: oki CU |
12:53.15 | MichouX | AlGe: I'm trying on the static way |
12:58.37 | bernt__ | ok with "Output Mux" to Mixer i can hear something .. sound is not so good ... but now I must get something to eat ;-) |
13:17.27 | AlGe | MichouX: my config is there: http://www.algepop.net/users/alge/angstrom-ba/htcblueangel-config |
13:25.39 | *** join/#htc-linux SmallR2002 (n=SmallR20@79-74-94-66.dynamic.dsl.as9105.com) |
13:26.39 | AlGe | btw, my image already contains x11vnc, so you can get remote access easily, just ssh in and start x11vnc and then connect via vncviewer from outside (via wlan) |
14:03.50 | *** join/#htc-linux pH5 (n=ph5@p5485E1DE.dip.t-dialin.net) |
14:04.41 | *** join/#htc-linux Marex-notebook (n=marex@gwfm10-3-250.802.cz) |
15:04.55 | bernt__ | x11vnc is very good, because the display of my ba is only grey, but remote connection per usb is working :-) |
15:19.33 | *** join/#htc-linux BabelO (n=pocketir@unaffiliated/babelo) |
15:19.58 | BabelO | hi |
15:24.58 | kiozen | BabelO: hi |
15:25.14 | kiozen | BabelO: have you read my keyboard question? |
15:26.04 | BabelO | kiozen : hi, no i m connected on my artemis, not at home until tomorrow |
15:26.47 | kiozen | BabelO: ok, you know how to summon a virtual keyboard in qtopia? |
15:28.52 | BabelO | summon? |
15:29.46 | kiozen | BabelO: well, create/show a keyboard widget |
15:30.20 | kiozen | BabelO: the doc brawls a lot about it but does not tell how in detail. |
15:30.54 | BabelO | kiozen : keyboard are shown automatically, else you have to look at plugin |
15:31.01 | MichouX | hey BabelO |
15:31.35 | kiozen | ok, let's see... |
15:32.03 | MichouX | BabelO: Is it normal the gsm doesn't work with your qtopia image ? |
15:34.01 | BabelO | MichouX yes, i did not found time to fix it |
15:34.25 | BabelO | MichouX there is lot of segfault :( |
15:34.53 | BabelO | kiozen : last virtual keyboard is predictive |
15:35.58 | BabelO | kiozen else it depend of your settings in top right corner of qtopia, and settings in defaultbutton.conf file |
15:37.59 | kiozen | BabelO: top right corner has a battery status and a clock, only. |
15:38.29 | kiozen | BabelO: for what do I have to look in defaultbutton.conf ? |
15:39.08 | MichouX | BabelO: did I already ask you about my qtopia build error ?: |
15:39.18 | kiozen | BabelO: can't I call the widget directly. Haven't found anything in the spec... |
15:39.22 | MichouX | qlist.h:51:15: error: new: no such file... |
15:40.40 | BabelO | kiozen i think yes with IPC call i think |
15:41.16 | kiozen | BabelO: IPC, I saw that in the doc, let's see... |
15:41.53 | BabelO | kiozen : in defaultbutton.conf , it is primaryinput= |
15:42.40 | kiozen | BabelO: PrimaryInput=Keypad |
15:43.12 | BabelO | MichouX : yes, cr2 look in the log and we found tsdogs with same error, but he fix it, don t knox how |
15:43.29 | BabelO | kiozen : set it to touchscreen |
15:43.58 | kiozen | BabelO: do I have to recompile? |
15:44.23 | BabelO | kiozen : no it is just a settings |
15:45.00 | kiozen | ok i try.. |
15:45.14 | BabelO | kiozen : maybe TouchScreen is better ;) look at devices/ficgta01/etc |
15:46.32 | BabelO | MichouX there is an ifdef in this file that cause this error, sometimes it is due to a bas qplatform.h settins in your mkspecs directory |
15:46.33 | kiozen | BabelO: Touchscreen :) |
15:46.59 | BabelO | kiozen :works now? |
15:47.12 | kiozen | try too boot... |
15:47.44 | kiozen | hate that mmc bug... |
15:48.15 | BabelO | kiozen : ipc call are usefull to call contact or calendar application from somewhere in your code |
15:48.39 | kiozen | BabelO: ok |
15:50.44 | kiozen | BabelO: still no keyboard |
15:51.22 | kiozen | BabelO: is the keyboard a widget or a program? |
15:53.15 | BabelO | kiozen : widget i think, it is a class inherited |
15:54.01 | BabelO | kiozen : what theme did you use ? |
15:54.04 | kiozen | BabelO: I found the base class doc but never the real widget |
15:54.22 | kiozen | BabelO: the black one, I think you use it too |
15:55.00 | BabelO | kiozen : yes i use the same |
15:57.02 | kiozen | BabelO: I even looked for compile switches, no luck.. |
15:58.03 | BabelO | kiozen : on mine keyboard is shown each time i select a qlineedit or qtextedit |
15:58.52 | kiozen | BabelO: I get nothing, used htcphone as device... |
16:01.15 | BabelO | kiozen : did you remove /home/root/Settings for this test? once you set primaryinput? |
16:01.38 | kiozen | no, trying.. |
16:07.00 | kiozen | BabelO: now it works in qpe, but still not with QLandkarteM |
16:13.52 | BabelO | kiozen what kind of widget did you use? |
16:14.23 | kiozen | BabelO: qlinedit |
16:15.31 | BabelO | kiozen : but you can show it by hand with combo in top/right? |
16:15.57 | BabelO | maybe ut is saved somewhere else for apolication |
16:15.59 | *** join/#htc-linux AlGe (n=alge@chello080109231226.4.uni-klu.teleweb.at) |
16:16.15 | kiozen | BabelO: I use QLandkarte without qpe, just with -qws |
16:16.47 | BabelO | kiozen : ah that s why ;) |
16:17.12 | AlGe | bernt__: if your BA display is grey only, just give it another try (reboot) I also had one such messed up framebuffer situation, but usually it works. |
16:17.33 | kiozen | BabelO: but even if I start it in qpe I don't get the keyboard. |
16:17.33 | BabelO | kiozen : if you start qpe and qlandkartem without -qws, it should be ok |
16:20.15 | bernt__ | Alge: after a reboot its working again, but I killed the ipaq-sleep program ;-) |
16:21.07 | BabelO | kiozen : in qtopia even if you force it ? else it is your app size maybe :( |
16:22.41 | BabelO | i ve to go, bbl |
16:22.50 | kiozen | BabelO: thanks, bbl |
16:23.26 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
16:31.27 | *** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
16:41.23 | bernt__ | AlGe: Is there a possibility to convert a csv-file to something that will be read from Contacts? |
16:56.38 | AlGe | I have no idea, but some awk script will do it, I dont know the file format for contacts, probably vcard? |
16:58.10 | *** join/#htc-linux AlGe (n=alge@chello080109231226.4.uni-klu.teleweb.at) |
17:10.23 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
17:10.37 | AlGe | bernt__: what did you mean with "killed ipaq-sleep"? it works for me and makes a clean suspend after 10 minutes. |
17:10.37 | AlGe | (after resume: mixer "Output Mux" is again "Direct" !) |
17:23.52 | bernt__ | AlGe: Don't worry ;-) as long as I'm testing with my ba at the usb-cable it's better without ipaq-sleep. |
17:24.36 | bernt__ | When I take my ba with me through the streets than I will test ipaq-sleep ... ;-) |
17:26.51 | bernt__ | I have found the file format from contacts: its SQLite 2.x database .. so I will search a conversion tool ... |
17:28.13 | AlGe | Did you already test audio output? mpg123 is included (cause the gpe multimedia thing seems not to be working), and mpg123 works. btw, the volume-control in the panel doesnt change anything, only the last channel of the mixer application int the Media group works (but highly nonlinear). |
17:37.41 | bernt__ | AlGe: The warning with volume-control is very good -- very loud ;-) Its playing :-) |
17:49.28 | *** join/#htc-linux ovod (n=o2@wn1nat22.beelinegprs.ru) |
17:49.55 | ovod | hi |
17:50.05 | paulproteus | Howdy. |
17:51.21 | bernt__ | AlGe: I have installed xev and have now the keycodes from the most keys. -- There are 6 Keys that gave no keysym. Do you know how to change that? |
17:59.57 | bernt__ | What shell I do, for getting the /etc/keylaunchrc file to get interpreted? |
18:03.03 | *** join/#htc-linux jeanseb (n=jeanseb@gazypan.dyndns.org) |
18:16.52 | bernt__ | Ok, I've found the command ;-) |
18:17.42 | *** join/#htc-linux ovod (n=o2@wn1nat22.beelinegprs.ru) |
18:22.24 | bernt__ | A little bit slow, but I have now two keys to switch the backlight on and off :-) |
18:47.13 | bernt__ | And this file (/etc/X11/gpe-login.setup) is not executed :-( but after deleting the wrong entries from /etc/keylaunchrc this file is read by the matchbox wm :-) |
19:07.34 | *** join/#htc-linux BabelO (n=BabelO@jau19-1-88-168-5-124.fbx.proxad.net) |
19:09.44 | BabelO | bernt__ : you can change trigger, if you want automatic backlight for keyboard echo none > /sys/class/leds/blueangel\:green/trigger for example, if you copile the input-key trigger, then you can associate it to keyboard backlight with this method |
19:21.24 | bernt__ | ok I understand the echo commands to change the value of trigger, but how do I compile this input-key or get the vibra associated with an timer-trigger? |
19:24.08 | BabelO | bernt___ vibra is like a led you can associate it to timer and use the two timer state up / down to set delay time for period |
19:25.32 | BabelO | bernt___ input-key is a kernel module you can found it under input->keryboard or under leds->trigger, you just echo input-hey or something like it is called to the led associated to keypad backlight |
19:29.34 | bernt__ | AlGe: How do I get Information from Battery Monitor? It tells me: Device read error. |
19:29.48 | AlGe | I'm currently grepping throug the arch/arm/mach-pxa/htcblueangel source dir and found several triggers there but nothing in blueangel_kp.c, am I in the wrong place |
19:30.25 | AlGe | battery: if working, something like this: |
19:30.25 | AlGe | root@htcblueangel:~$ cat /proc/apm |
19:30.25 | AlGe | 1.13 1.2 0x02 0x01 0x01 0x01 43% 66 min |
19:31.01 | bernt__ | I get: 1.13 1.2 0x02 0xff 0xff 0xff -1% -1 ? |
19:31.33 | bernt__ | but I have the ba at the usb cable |
19:31.38 | AlGe | so it is not working, meaning that you have battery with an unknown rom_id |
19:32.02 | bernt__ | How do I get this id? |
19:32.49 | BabelO | Alge : you are at correct place for defaul triger setted by kernel |
19:33.28 | BabelO | AlGe : but this backlight trigger is part of a kernel module i think you can see it look under input or leds |
19:34.20 | AlGe | bernt__: if it works you see someting like this in your dmesg (immediately after booting): http://pastebin.com/f767a88b7 |
19:35.22 | AlGe | bernt__: battery id: I guess we need to add a printk line in ds1wm.c |
19:35.49 | AlGe | do you have more than one battery? if so try the other one. |
19:38.21 | bernt__ | Yes I have also the original battery ... |
19:39.03 | BabelO | bernt__ you can try playing with sys/bus/w1/master, there is scan command, and in slave you can see discovered id on the w1 bus |
19:40.01 | bernt__ | ok it is booting ... |
19:42.19 | bernt__ | The Original Battery gives: 1.13 1.2 0x02 0x01 0x03 0x03 98% -6 min |
19:43.02 | bernt__ | and the Monitor tells me that the battery is charging |
19:47.05 | bernt__ | But the other battery has 2400mAh ;-) |
19:48.12 | BabelO | bernt-- he he , 2400mAh with wifi should be good ;) look in drivers/w1/master/ds1wm.c , look for romid |
19:48.56 | BabelO | bernt-- else use the /sys/bus/w1 methd, i think it display the romid too |
19:49.33 | AlGe | would cat /sys/bus/w1/devices/w1_bus_master1/w1_master_slaves display it? |
19:52.55 | bernt__ | where shell i echo the scan command? |
19:53.32 | *** join/#htc-linux dcordes (n=dcordes_@unaffiliated/dcordes) |
19:53.48 | bernt__ | after booting w1_master_slave_count is 0 |
19:55.00 | BabelO | bernt__ then you have to patch kernel if you want support for this battery |
19:55.02 | BabelO | bbl |
19:56.25 | BabelO | bernt__ you have a drivers/w1/w1_family.h file, in this one you have BATTERY_FAMILY 0x30 try to set it to 0xFF , maybe it support your battery if it is same than ymerjs |
19:56.28 | BabelO | bbl |
20:10.49 | bernt__ | I dont find a line with BATTERY_FAMILY in this file ... where is it? |
20:11.15 | *** join/#htc-linux wireddd (n=wired@unaffiliated/wireddd) |
20:12.25 | AlGe | #define W1_FAMILY_DS2760 0x30 |
20:14.02 | bernt__ | OK, I will change this to FF ... |
21:18.53 | bernt__ | w1_master_slave_count has the same value as before: 0 |
21:19.48 | bernt__ | but now I can change the trigger value of kbdbackli to input-key |
21:20.32 | bernt__ | I also have the values backup-battery-charging-or-full backup-battery-full for trigger |
21:24.32 | bernt__ | And I have found the red and green LED: the power LED ;-) |
21:38.22 | AlGe | I only have |
21:38.23 | AlGe | root@htcblueangel:~$ cat /sys/class/leds/blueangel\:kbdbackli/trigger |
21:38.23 | AlGe | [none] blueangel-radio ac-online usb-online timer ds2760-battery.0-charging-or-full ds2760-battery.0-full |
21:39.00 | AlGe | what did you change to get input-key? |
21:39.40 | AlGe | or better: what kernel source do you use? |
21:41.04 | rakeem | <PROTECTED> |
21:42.57 | AlGe | I believe I was always pressing some keys at the same time before it get stuck, but I can be wrong |
21:45.52 | rakeem | I've tried blaming myself too, but it doesn't help... ;-) I tried to build a kernel last week which would leave htcbluangel_kp as a module, which it did, but when loaded the kbd a touchscreen are unresponsive... Any suggestions? |
21:49.58 | pH5 | argh. I just noticed that that it's not pxamci that doesn't work anymore since 2.6.22 on magician, but it's pxamci in combination with the kingston SD cards I was always using. |
21:52.23 | rakeem | Hello pH5... I've heard you're the "goto guy" re: BA... Who do I sue? ;-) |
21:54.23 | rakeem | What seems to best the best Kernel so far? Any practical workarounds for the sticky-keyboard issue? |
22:02.22 | pH5 | hi rakeem. I'm not yet advanced to those higher levels, I still can't get 2.6.23 to boot properly. |
22:05.54 | *** join/#htc-linux lieter_ (n=lieter@a62-251-100-248.adsl.xs4all.nl) |
22:06.31 | rakeem | I've got an image I'm *almost* happy with (stable wifi & bt, not so bothered about the phone) apart from the keyboard... Is anything else required beyond 'modprobe htcblueangel_kp' ? |
22:11.00 | AlGe | bernt__: I'll rebuild my kernel with CONFIG_INPUT_LED_TRIGGER, I'm still wondering why you have a backup-battery trigger and I not ... |
22:11.48 | pH5 | rakeem: to my knowledge that is all that should be needed. |
22:12.03 | bernt__ | AlGe: I think this is my unknown battery ;-) |
22:12.18 | AlGe | maybe ... |
22:12.40 | rakeem | Hmmm... The touchscreen too? No other magic? |
22:13.12 | bernt__ | AlGe: your battery is named ds2760-battery.0 |
22:13.22 | pH5 | backup battery and touchscreen should be supported by the tsc2200 driver |
22:13.38 | rakeem | Oh yeah, what's the status of resume from sleep? Still bright white? |
22:14.05 | AlGe | bernt: yes but backuo-battery is driven by ./kernel/drivers/power/pda_power.c which doesnt semm to be ds1wm related |
22:14.15 | AlGe | s/semm/seem/ |
22:14.38 | *** join/#htc-linux BabelO (n=pocketir@unaffiliated/babelo) |
22:14.51 | AlGe | resume works for me, only the pcmcia eject/insert issue |
22:14.54 | pH5 | hi BabelO |
22:14.59 | *** join/#htc-linux diogene31 (n=rj@mur31-2-82-243-122-54.fbx.proxad.net) |
22:15.20 | bernt__ | Ah, I made also CONFIG_ADC_BATTERY=y CONFIG_HTC_PASIC3=m CONFIG_LEDS_PASIC3=m CONFIG_LEDS_TRIGGER_BACKLIGHT=y |
22:16.01 | AlGe | ahh, thanks |
22:16.12 | rakeem | What kernel you on, and What's the pcmcia problem? |
22:16.25 | rakeem | Hey BabelO... |
22:16.34 | BabelO | hi all |
22:16.47 | AlGe | bernt:I was using the htcblueangel defconfig from oe |
22:16.51 | BabelO | speaking about ba |
22:16.53 | BabelO | ;) |
22:17.15 | bernt__ | my kernel is linux/kernel26 from :pserver:anoncvs@anoncvs.handhelds.org:/cvs |
22:17.30 | pH5 | BabelO: any new insights on the exception-in-interrupt issue when booting 2.6.23 with mmc built-in? |
22:17.42 | BabelO | ph5 any sucess with .23? |
22:17.47 | pH5 | :( |
22:17.58 | BabelO | ok:( |
22:18.10 | pH5 | I have now a kernel that builds for both BA and MA but works for neither ;) |
22:18.19 | rakeem | The BA seems to have to floor this evening, which in nice in light of recent Kaiser yuppie-talk... ;-) |
22:18.31 | AlGe | rakeem: acx only available after resume after a pcardcctl eject/insert cycle |
22:18.45 | BabelO | ph5 I m not at home |
22:19.17 | rakeem | AlGe: That I can definitely live with... What's the kernel? |
22:19.39 | pH5 | BabelO: no mobile linux hacking setup? :) |
22:19.51 | rakeem | ...and what should I know prior to compiling? |
22:20.12 | BabelO | AlGe i can fix resume . it is just the call in acx driver, but it will be fixed only for ba |
22:21.15 | BabelO | pH5 no laptop allowed during holiday, i just keep my artmis and found a wifi acces point ;) |
22:21.31 | AlGe | rakeem: linux-handhelds-2.6-2.6.21-hh20-r6, from oe |
22:21.51 | rakeem | BabelO: I've got another kernel on the boil now, having trouble getting the keybd and TS to work as modules. Have a minute to help? |
22:23.19 | rakeem | How do I get that, I only know how to do the CVS thing on the wiki (anoncvs@anoncvs.handhelds.org)...? |
22:23.19 | BabelO | pH5 it seem, it is specific to asic3_mmc, but only difference between .21 and .23 is include sd.h in place of protocol.h |
22:24.53 | BabelO | rakeem :that is normal for ts, tsc2200 can not be compiled as a module |
22:25.34 | pH5 | BabelO: I see. |
22:25.41 | AlGe | rakeem: I think it is the same, oe also does a cvs access with the latest cvs tag |
22:25.50 | rakeem | Lucky my build just failed huh..? ;-) |
22:26.46 | BabelO | Ph5 my la t attempt was to remove the sd card detection struct |
22:26.55 | rakeem | Can I be so coarse as to ask for a magic command like to one on the wiki? "cvs -d :pserver:anoncvs@anoncvs.handhelds.org:/cvs checkout linux/kernel26"... |
22:30.30 | rakeem | Also, do I want a pre-emptible kernel? |
22:30.40 | bernt__ | rakeem: take a look at http://www.handhelds.org/sources.html |
22:30.52 | rakeem | -x- |
22:31.47 | bernt__ | ... wrong item ... |
22:32.47 | *** join/#htc-linux BabelO (n=pocketir@unaffiliated/babelo) |
22:33.02 | AlGe | rakeem: I think your cvs command is ok, the oe scripts only add also the cvs tag, but K2-6-21-hh20 i currently the newest tag and so shoudnt matter |
22:35.04 | rakeem | So does that mean we're building the same code? |
22:35.27 | AlGe | you may also want to apply BabelOs ds1wm patch, I have it at http://www.algepop.net/users/alge/angstrom-ba/ |
22:35.47 | AlGe | yes i think, but probably with different .config |
22:36.36 | rakeem | What does that do, and sorry to ask again, how do I apply it? |
22:37.10 | AlGe | cd kernel26 |
22:37.10 | AlGe | patch -p1 < path-to-patch |
22:37.41 | bernt__ | if it is in the kernel26 dir ... ;-) |
22:37.52 | AlGe | whitout, w1 bus master doesnt see any slave |
22:38.22 | AlGe | that means no battery monitoring |
22:39.14 | bernt__ | and with a third party battery also not ;-) |
22:39.17 | BabelO | AlGe did you found the input-key module? |
22:40.26 | AlGe | yes, I forgot to enable something in my defconfig |
22:40.52 | AlGe | just rebuilt my kernel and image and now i'm starting over again ... |
22:41.18 | rakeem | Alge: Thanks man, should I use the .config that's there too? |
22:41.51 | AlGe | I just updated it, now you can |
22:42.10 | BabelO | AlGe ok :) tomorrow i look at how to use Kevin2 keyboard driver :) |
22:42.12 | rakeem | You're a star... |
22:42.40 | rakeem | Has Kevin2 done it?! |
22:43.06 | *** join/#htc-linux rob_w (n=bob@X11b2.x.pppool.de) |
22:43.08 | BabelO | rakeem yes for Hermes |
22:43.30 | AlGe | Babelo: this will be very nice, i looked at a diff betwenn hh.org and linuxtogo-git tree and couldnt find it, maybe it was too late yesterday |
22:43.35 | bernt__ | this means nothing for ba? ;-) |
22:44.18 | rakeem | I love Kevin2...! You too guys! |
22:47.56 | rakeem | I get: |
22:47.58 | rakeem | WARNING: "soc_pcmcia_disable_irqs" [arch/arm/mach-pxa/htcblueangel/blueangel_pcmcia.ko] undefined! |
22:48.02 | rakeem | make[1]: *** [__modpost] Error 1 |
22:48.05 | rakeem | make: *** [modules] Error 2 |
22:49.24 | bernt__ | I dont have this as module |
22:50.22 | bernt__ | CONFIG_MACH_BLUEANGEL_PCMCIA=y |
22:50.52 | rakeem | Thanks... |
22:52.51 | rob_w | hey guys .. i now have the htc touch dual .. aka htc nike ... aka xda star ;-) |
22:53.26 | rakeem | New toy! |
22:53.58 | rakeem | Old problem... Win CE... 8-( |
22:54.25 | rob_w | right |
22:55.42 | bernt__ | and micro sd .. are there 4GB available? |
22:55.46 | BabelO | Alge it is under drivers/input or mfd |
22:55.47 | rakeem | Cheers guys... Bedtime.... 6am here.... |
22:56.27 | bernt__ | here is 23:55 ;-) |
22:59.27 | rob_w | what is strange is that my joypad looks different then on any htc touch dual pic ? |
23:06.19 | BabelO | night all :) |
23:06.33 | *** join/#htc-linux TimRiker (n=timr@rikers.org) |
23:42.53 | AlGe | sometimes I get excessive |
23:42.53 | AlGe | <3>[ 221.830000] asic3_irq_demux: interrupt processing overrun |
23:44.14 | AlGe | this starts from boot and stops never, the device is completely unusable (slow) then, hardwarekb stops working, only new boot helps ... |
23:45.23 | AlGe | oh wrong: it stopped, but hw keybd doesnt come back |
23:56.26 | AlGe | well, my latest kernel doesnt work, touchscreen: mouse jumps around, I get lots of ext2 errors like this |
23:56.26 | AlGe | <4>[ 240.260000] asic3_mmc: Spurious data end IRQ |
23:56.26 | AlGe | <4>[ 240.260000] end_request: I/O error, dev mmcblk0, sector 976898 |
23:56.26 | AlGe | <2>[ 240.260000] EXT2-fs error (device mmcblk0p2): ext2_get_inode: unable to read inode block - inode=111335, block=450564 |
23:57.05 | AlGe | so dont download my images now, i have to revert some of my defconfig changes ... |