00:09.45 | *** join/#htc-linux husam (n=kvirc@217.206.111.105) |
00:10.51 | husam | does anyone knows if I can get the protection password for the extended rom from boot.nbf file |
00:24.06 | *** part/#htc-linux husam (n=kvirc@217.206.111.105) |
00:45.21 | *** part/#htc-linux davidchow (n=davidcho@cm203-168-216-8.hkcable.com.hk) |
05:38.23 | *** join/#htc-linux zeano` (n=zero@82-33-0-231.cable.ubr13.newt.blueyonder.co.uk) [NETSPLIT VICTIM] |
05:38.23 | *** join/#htc-linux df_______ (n=df@adsl.slarti.org.uk) [NETSPLIT VICTIM] |
05:38.23 | *** join/#htc-linux eldu (i=damajor@tuxmania.org) |
05:38.23 | *** join/#htc-linux eXi (i=exile@hot.einf.de) [NETSPLIT VICTIM] |
05:38.23 | *** join/#htc-linux AntiProxy (i=admin@antiproxy.com) |
05:38.23 | *** join/#htc-linux mickey|bbl (n=nnnLPA@gandalf.tm.informatik.uni-frankfurt.de) |
05:38.23 | *** join/#htc-linux Funklord (n=cow@213.114.213.203) [NETSPLIT VICTIM] |
05:38.24 | *** join/#htc-linux hlbot (n=adm@iclem.net) [NETSPLIT VICTIM] |
05:38.24 | *** join/#htc-linux parmaster (i=par@dipole.idlepattern.com) [NETSPLIT VICTIM] |
05:38.25 | *** join/#htc-linux _AntiProxy (n=Freenode@antiproxy.com) |
05:49.41 | *** join/#htc-linux goxboxlive (n=goxboxli@ti500710a080-7302.bb.online.no) |
06:00.31 | *** join/#htc-linux sylvain (n=sylvain@APuteaux-154-1-42-173.w83-199.abo.wanadoo.fr) |
07:10.05 | *** join/#htc-linux awelux (n=awelux__@dslb-084-058-163-150.pools.arcor-ip.net) |
07:53.50 | *** join/#htc-linux sylvain (n=sylvain@LNeuilly-152-22-87-106.w193-251.abo.wanadoo.fr) |
08:22.18 | *** join/#htc-linux rob_w (n=bob@p213.54.194.105.tisdip.tiscali.de) |
08:23.48 | rob_w | hi |
08:24.00 | *** join/#htc-linux lamikr|laptop (n=chatzill@dyn04-247.dsl.spy.dnainternet.fi) |
08:25.28 | rob_w | hey lamikr|laptop |
08:25.43 | lamikr|laptop | hi rob_w |
08:27.17 | lamikr|laptop | Do you know how htc devices have found the password used for protecting the flash? Those passwords for different devices are listed in http://wiki.xda-developers.com/index.php?pagename=DiskOnChip |
08:27.49 | rob_w | hmm |
08:27.52 | rob_w | no really |
08:31.02 | rob_w | lamikr|laptop, try to get in conctact with the wiki user "itsme" ,, he did make this wiki page with the passwords |
08:35.39 | rob_w | lamikr|laptop, i found a comment from itsme saying " I found the password to unlock the DiskOnChip device by looking at the bootloader. " |
08:39.10 | lamikr|laptop | rob_w: Thanks for the info! We have sofar found the code/method that is expecting to get the password in order to remove the write protection from the bootloader part of the flash, but we have not yet found the location where password is set. |
08:39.39 | lamikr|laptop | rob_w: Which htc device you are using? |
08:39.40 | rob_w | for the universal ? |
08:39.44 | rob_w | still ba |
08:40.01 | rob_w | i am moving code from .12 to .16 currently and i am stuck on touch .. |
08:40.15 | lamikr|laptop | rob_w: Are you using it daily as a Linux phone? |
08:41.02 | rob_w | no.. i was using it back in december from quite some time . .but then yet we dont have a proper charging method . so it runs out of battery without charging . |
08:41.38 | rob_w | i think with 2.6.16 we will have a good chance now to make this all and even move more htc devices into shared codes .. |
08:41.44 | rob_w | which htc do you have ? |
08:42.22 | lamikr|laptop | Oh, really :-( I did not know that code is also needed for the charging. Is the suspend/resume working well for the ba? |
08:42.24 | rob_w | i was too busy for long months with having a new job and building a house .. now all this is settled so i am back on my ba |
08:42.41 | rob_w | last time i tested it still worked ! |
08:43.02 | rob_w | and as i ve now a broken rip in my chest am home with lots of time ;-) |
08:43.05 | lamikr|laptop | rob_w: Own house, wov! |
08:43.35 | rob_w | yeah yeah , well that is a little house but yet i can handle it finacially |
08:45.28 | lamikr|laptop | House building is always a big job to do. I am living with my wife and daughter in a rent in the city, but in my summer holliday I have made some repairing for the house in the country side. And plannings for the bigger repair... |
08:46.53 | rob_w | sounds great |
08:48.12 | lamikr|laptop | rob_w: No, I have the iPAQ h6300. It is propably manufactured by the htc, but it is omap1510 based. I am trying to find out how to get this device to suspend/resume properly... Power management & power button itself is manaded differently than other buttons. (I can not get events from the power button). I believe that the power button is handled by the 8 bit ATMEGA8535 microcontroller. |
08:49.12 | rob_w | hmm why dont you use apm -s that has to work .. then wake up also has to work on the powerbutton without drivers i think |
08:49.36 | rob_w | need to go to the gas station , brb |
08:50.13 | cr2 | hi lamikr |
08:51.17 | lamikr|laptop | rob_w: Well, we can get the device to sleep with a minimum set of drivers by using "echo mem /sys/power/state" but the wakeup is hard because we have not find out how to get the proper irq from power button to wakeup. |
08:51.24 | lamikr|laptop | cr2: Hi cr2 |
08:52.21 | cr2 | there is haret for omap, afaik. you can try to dump the first 256K of RAM. |
08:52.50 | lamikr|laptop | cr2: To find out the password for the flash? |
08:53.07 | cr2 | to get to the bootloader code. |
08:55.57 | lamikr|laptop | cr2: Can you find out the exact location/code part where the password is in the Universal bootloader? I could try to find out the similar code from the the h6300 bootloader... |
08:57.19 | rob_w | hey cr2 |
08:58.02 | cr2 | universal does not have a bootloader password, afaik. i think it should be near to the DoC code. |
08:58.07 | cr2 | hi rob_w |
08:58.34 | cr2 | rob_w: got the touchscreen working ? |
08:59.27 | lamikr|laptop | cr2: Are you sure? http://wiki.xda-developers.com/index.php?pagename=DiskOnChip says that universal password is ?SiRevInu |
08:59.58 | rob_w | cr2, no .. i am debugging currently .. but it feels it stucks on talking to the tsc2200 or such .. need to add more printk`s |
09:00.22 | rob_w | but i managed it to move all code to the new input structures .. |
09:01.11 | lamikr|laptop | rob_w: The tsc2200 is the chip that actually manages the touschreen. How are you communicating for it? h6300 uses SPI. |
09:02.24 | cr2 | lamikr|laptop: first, it is not always true, second, it is for the "extended" rom, i.e. /dev/mtdblk0p3 :) |
09:02.42 | cr2 | i think all touchscreens use spi. |
09:04.17 | rob_w | well for the ba , we dont need to bother the spi inside the touch code .. as we only ask the tsc2200 which handles that ( hopefully |
09:04.38 | rob_w | hmm kp is still buggy and kills the kernel sometimes .. |
09:07.29 | rob_w | we need to fix the flickering also .. it doenst look healty that way |
09:07.40 | *** join/#htc-linux toi (n=pleemans@d5152D12D.access.telenet.be) |
09:07.48 | rob_w | welcome toi |
09:08.53 | lamikr|laptop | cr2: Oh. Husam has also been able write kernel to 20 mb empty partition area in the flash. After that, wince complains that the partition is missing but it can still be used for booting Linux :-) But the bootloader part of the flash needs similar commands described in your wiki to be able remove the write protection. |
09:11.05 | lamikr|laptop | cr2: Considering gnu omap... Before I went to holliday I got email, that omap850 boot can be started with the haret version mentioned in http://linux.omap.com/pipermail/linux-omap-open-source/2006-July/007511.html |
09:12.55 | lamikr|laptop | At least 2 weeks ago they had proplem for mounting the rootfs, but the boot itself started ok. Do you know has the the omap specific code from there integrated to gnu haret? |
09:13.04 | rob_w | registering the IRQ , it should then show up under /proc/interrupts , right ? |
09:16.23 | *** join/#htc-linux florian_kc (n=fuchs@dns.kernelconcepts.de) |
09:16.58 | florian_kc | good morning |
09:16.59 | cr2 | lamikr|laptop: yes, it is an omap version. but you need wince compiler to compile it. |
09:17.18 | cr2 | rob_w: yes. if it does not fail ;) |
09:17.26 | cr2 | hi florian_kc |
09:20.17 | rob_w | that feels to be the case |
09:21.02 | rob_w | i am still using pxa_gpio_mode() and request_irq() although i am not clear what i am doing there |
09:21.28 | rob_w | <PROTECTED> |
09:21.29 | rob_w | <PROTECTED> |
09:21.37 | rob_w | is on the universal , but : |
09:21.48 | rob_w | <PROTECTED> |
09:21.49 | rob_w | <PROTECTED> |
09:21.49 | rob_w | <PROTECTED> |
09:21.58 | rob_w | is what i currentyl do on blueangel |
09:24.13 | cr2 | where does this come from : HTC_TS_IRQ |
09:24.39 | rob_w | i declared it on top.. tobe more generic aftwards .. |
09:25.48 | cr2 | but is it the right number ? |
09:26.08 | lamikr|laptop | hi florian |
09:26.20 | cr2 | it it a pxa irq ? |
09:26.30 | goxboxlive | florian_kc : I thought about something. In the handhelds-pxa-2.6_cvs.bb file there are two IPAQ pathes that i have commented out. But actually, i dont think it will be a problem that they aplies. I have tried to compile the kernel with the patches and it compiles. |
09:26.57 | florian_kc | goxboxlive: ok |
09:28.57 | goxboxlive | So actually, in the handhelds-pxa-2.6_cvs.bb we only need to add the htcinuversal to the COMPATIBLE_MACHINE, and we make a subfolder named htcuniversal in the handhelds-pxa-2.6 folder with a defconfig in it. |
09:29.03 | rob_w | i think i am lost in this gpio hell |
09:29.39 | cr2 | goxboxlive: do you use stylus-detect ? |
09:29.46 | lamikr|laptop | cr2: Ok, so that code should be integrated to gnuharet... btw, Is the ts now working in the universal? |
09:30.16 | cr2 | rob_w: there are useful macros/functions for the irqs. |
09:31.04 | goxboxlive | cr2 yes i use detect stylus. |
09:31.07 | cr2 | lamikr|laptop: yes, it works. |
09:31.14 | florian_kc | goxboxlive: okay, sounds good to me |
09:31.49 | lamikr|laptop | cr2: Nice, then you already can use the most of the apps I quess :-) |
09:33.03 | cr2 | goxboxlive: i'm using a 128MB sd card and can always use some space for the maps :) we don't need bloat in the DoC too. |
09:35.53 | goxboxlive | cr2: The i think you should buy yourself a bigger one. I dont know the prices in Germany, but here in Norway a 1GB (150X) cost €30 :-) |
09:36.15 | goxboxlive | what's the price in Germany |
09:40.25 | rob_w | passing arg 1 of `dev_set_drvdata' from incompatible pointer type |
09:42.05 | cr2 | goxboxlive: didn't check recently. i don't want to use an SD card in the future (power consumption), and want to strip opie from the kiddie stuff anyway. and DoC is 128MB. |
09:42.45 | cr2 | rob_w: check the types. |
09:42.55 | florian_kc | goxboxlive: you should be able to get them for about 15 EUR |
09:43.05 | goxboxlive | i c |
09:46.36 | cr2 | that's my usage pattern: i keep phone numbers on the sim card, call seldom, mainly use gps and need space for the maps. |
09:49.06 | goxboxlive | i c. But much is detect-stylus increasing the image? |
09:50.06 | goxboxlive | cr2: I can try to build one for you, but you have to hardcode it yourself. |
09:53.24 | cr2 | 2MB, and what is really annoying, that it is completely unused under any circumstances. |
09:56.00 | goxboxlive | i am trying to build one now. |
10:02.04 | cr2 | goxboxlive: have you tried to use universal as usb storage ? instead of usbnet. |
10:03.00 | goxboxlive | cr2 no i havnt yet. I dont have any usb storage devices. The only thing i got is a usb cardreader. |
10:04.32 | cr2 | no. the universal as "usb stick" connected to the host computer. |
10:05.43 | cr2 | for usb cardreader you need a working "external" usb host on universal, where it is not clear if it is possible. |
10:07.58 | cr2 | compile and load the "g_file_storage" instead of "g_ether". |
10:12.27 | goxboxlive | Ok, so g_file_stirage shall be included as a module. I have removed it, thought it where some hx4700 pcmcia stuff :-/ |
10:14.24 | cr2 | you can also include g_serial, for those who prefer serial-over-usb. is there activesyncd in synce ? :) |
10:15.42 | goxboxlive | cr2 i tried to remove the detect-stylus form the htcuniversal.conf file, i cleaned it and other packeages, but it still get included in the opie-image. I guess i have to rebuild alot to to do it, and have bad experience with that. |
10:16.09 | cr2 | ok. don't waste your time. |
10:17.08 | goxboxlive | cr2 : I have the g__file_storage included in the images. I'll boot Opie now and try :-) |
10:17.29 | cr2 | tslib needs some corrections too, because it is not really a gpe package. |
10:17.32 | cr2 | ok. |
10:17.40 | rob_w | hmm i dont even get my first printk inside ts_probe() =? |
10:20.09 | goxboxlive | No it wasent included, have to enable it in the defconfig |
10:20.55 | rob_w | who calls ts_probe() ? |
10:22.42 | cr2 | rob_w: is it declared as a device .probe function ? |
10:24.53 | rob_w | so it should be called after init from the system , right ? |
10:26.10 | rob_w | oh i have waring on ts_probe() ,, didnt had that before |
10:27.01 | cr2 | it will be called on device_register. |
10:27.28 | cr2 | goxboxlive: we may run "wasic3gpio" against this program: http://www.vijay555.com/?Releases:VJBigPhone |
10:28.20 | goxboxlive | i c |
10:30.15 | cr2 | looks like the list of all wince toolbar icons. http://www.vijay555.com/vj/releases/vjtodaybutton/todaybutton.jpg |
10:30.57 | cr2 | otherwise we can do all what these tools can do :) |
10:31.39 | goxboxlive | good. But i think we should get the power/resume/charging part finished before the phone. Do u agree? |
10:32.19 | *** join/#htc-linux sylvain (n=sylvain@LNeuilly-152-22-87-106.w193-251.abo.wanadoo.fr) |
10:32.21 | cr2 | it is different on ba :) because it is more difficult. |
10:33.05 | goxboxlive | the g_file_storage failed when i loaded it |
10:33.15 | cr2 | i think i will add the basic phone stuff in the CVS today. |
10:33.23 | cr2 | why ? |
10:33.26 | florian_kc | cr2: weeee |
10:33.38 | goxboxlive | it says: g_file_storage gadget: no file given for LUN0 |
10:34.16 | cr2 | i need a full decoded ds2672 eeprom dump before we will move further with charging. |
10:34.25 | cr2 | do you have scsi support included ? |
10:34.44 | goxboxlive | no ide, hold on |
10:35.07 | cr2 | ide ? |
10:35.36 | cr2 | florian_kc: i have not said it will work as expected ;) |
10:35.43 | rob_w | ok i am now moving all ba stuff into the new naming scheme htcblueangel |
10:35.45 | goxboxlive | I have SCSI support, but nothinmg in the sub |
10:35.48 | goxboxlive | of scsi |
10:35.57 | florian_kc | cr2: :-) |
10:37.25 | cr2 | goxboxlive: compare the .config with hx4700 |
10:37.31 | goxboxlive | yes |
10:42.03 | Kevin2 | Hi |
10:42.31 | Kevin2 | I got Irda working on the apache the other night. |
10:42.44 | cr2 | hi Kevin2 |
10:42.59 | cr2 | sir or fir ? |
10:43.09 | Kevin2 | It's definitely SIR. |
10:43.37 | Kevin2 | It's using code very similar to axim5. You need to set some magical bits in the pxa before transmitting and receiving. |
10:43.39 | cr2 | ok. it seems you don't have fir. |
10:44.08 | Kevin2 | Yeah - I guess I can't change TV channels with my phone - other than that, no big loss. :-) |
10:44.27 | cr2 | do you use the pxaficp driver ? |
10:46.05 | Kevin2 | No. There appears to be a special infrared mode on the uart - it turns zeros and ones into short pulses. See STISR register (0x40700020). |
10:47.19 | cr2 | yes. it is supported by pxaficp kernel26/drivers/net/irda/pxaficp_ir.c |
10:48.10 | Kevin2 | I also did some further tracing during charge events. As near as I can tell, the apache stops charging based on the voltage reported by the ad7877 chip. I didn't find anything like a one wire bus or a dsXXX chip. |
10:48.29 | cr2 | ok. |
10:48.56 | cr2 | a cheaper model then. |
10:49.05 | cr2 | <PROTECTED> |
10:49.12 | cr2 | do you have ir_off ? |
10:50.02 | Kevin2 | Hrrmm. I've not looked at pxaficp_ir.c -- I just copied what was in axim/axim5.c -- let me upload the patch. |
10:51.56 | cr2 | universal does not stop based on the reported battery voltage. awelux told about constant voltage and constant current modes for li-ion batteries, and what he has said is consistent with my powermon data. |
10:53.26 | cr2 | you can also record the whole charging cycle and plot the reported voltage and current against time. |
10:54.57 | cr2 | i think a wrong charging strategy (or a bug in this code) is the worst thing we can actually do to the phone. |
10:56.04 | Kevin2 | I pushed my latest patch to kernel/000_hhcvs-20060718.patch |
10:56.36 | cr2 | goxboxlive has told me that with my current charging code the battery on universal becomes extremely hot. |
10:56.37 | cr2 | ok. |
10:57.10 | goxboxlive | its getting extremely hot without the cable plugged in to. |
10:58.07 | Kevin2 | cr2: I agree about charging. I'm very concerned about how we code that up. Unfortunately, I'm not seeing any special busses or anything. Once I plug in, I do see wm5 scan aux1/2/3 and batt1/2 sensors on ad7877. I'm not entirely sure what all those sensors do. I've been pretty careful to check all the known locations a bus could be (pxa gpio pins, irqs, egpio memory range, etc.) and I haven't seen anything. |
11:00.07 | cr2 | ok. |
11:01.17 | cr2 | Kevin2: how do you detect PWR vs. HIGHPWR ? |
11:01.39 | Kevin2 | BTW, I also traced all the reads/writes to the funky pseudo-i2c device attached to gpio pins 56/57. It looks like a pretty straight-forward device. I hope to have a driver by next weekend. |
11:01.54 | goxboxlive | the g_file_storage is still refuseing to load. I have made the ide-scsi and usb part as the hx4700 but still it complaines about LUN0 |
11:02.20 | Kevin2 | The chip has gpio pins for the 11 front keypad keys. It also controls the two front LEDs. It also seems to power up / down the backlight and the two front keypad LEDs. |
11:02.57 | Kevin2 | cr2: If I plug the phone into USB or AC outlet, I see different results. There is a bit in the egpio register that can sense which is which. |
11:03.12 | cr2 | ok. |
11:03.20 | Kevin2 | The apache egpio has input pins as well as output pins. |
11:04.13 | cr2 | Kevin2: there were such microcontrollers on older ipaqs and jornadas. |
11:07.42 | cr2 | patch applied and put into hh.org CVS. |
11:09.27 | rob_w | cr2, do you have any hint about the flicker screen ? |
11:11.34 | Kevin2 | cr2: Thanks. |
11:14.04 | cr2 | rob_w: did it flicker with .12 ? |
11:14.37 | cr2 | we need to check the register values we set in the driver. |
11:15.43 | rob_w | no |
11:16.00 | rob_w | and why the hell is ts_probe not called anymore ? |
11:16.44 | *** join/#htc-linux g3gg0 (n=g3gg0@ppp-88-217-0-96.dynamic.mnet-online.de) |
11:54.47 | goxboxlive | cr2 : I saw you had updated the sound driver. I cant get sound working, have you got it working yet? |
12:00.37 | goxboxlive | It still refuse to run alsamixer. I get the message: function load snd_mixer_load failed: Operation not permitted |
12:01.58 | goxboxlive | ahh i remember HX4700 had that problem, they added something to groups or something. Hmm let me chack that out |
12:04.14 | rob_w | hmm pastebin.com is not working |
12:06.49 | goxboxlive | cr2 it is still buggy: root@htcuniversal:~# modprobe -r snd_htcuniversal_audio |
12:06.49 | goxboxlive | Segmentation fault |
12:07.02 | goxboxlive | rob_w pastebin.ca is much faster |
12:08.51 | rob_w | ok cool |
12:09.11 | cr2 | goxboxlive: segfault with modprobe means an oops. type dmesg. |
12:09.44 | goxboxlive | hold on , i took a reboot . I have added user root to audio group now. Maybe that will help |
12:09.45 | cr2 | i don't have the sound working, but the crash is not in the sound part but in i2c. |
12:09.55 | goxboxlive | ok |
12:09.58 | rob_w | http://pastebin.ca/91248 ok can someone see why obviously ts_probe() is not called ? |
12:11.55 | goxboxlive | root@htcuniversal:~# alsamixer |
12:11.55 | goxboxlive | alsamixer: function snd_mixer_load failed: Operation not permitted |
12:12.09 | cr2 | rob_w: do you see "HTC Bleuangel Touch-Screen Driver" |
12:13.22 | rob_w | yyeah |
12:13.33 | rob_w | fixed that already ? |
12:13.36 | rob_w | ! |
12:14.00 | rob_w | right i also only see this line when modprobing the module |
12:14.19 | goxboxlive | cr2: here is the dmesg when trying to unload sound driver : http://pastebin.ca/91257 |
12:14.41 | cr2 | rob_w: what is that nssp_bus_type ? |
12:15.13 | goxboxlive | it seems like it is some modprobe / UDEV shit |
12:15.29 | rob_w | hmm that is the bustype the tsc2200 declares .. |
12:16.00 | *** join/#htc-linux BabelOued (n=moi@faim1.itesoft.com) |
12:16.01 | cr2 | goxboxlive: increase the buffer size. the real crash point is not visible. |
12:16.37 | goxboxlive | how? |
12:16.52 | cr2 | rob_w: this is something weird, we need to modify that to look like on the universal/hx4700. |
12:17.17 | cr2 | goxboxlive: i knew once, but now forgot. kernel config ? |
12:17.27 | goxboxlive | ah |
12:17.49 | BabelOued | hi |
12:18.20 | cr2 | crash in the kernel has nothing to do with the userspace tools like alsa*. it should not happen at all. |
12:18.26 | cr2 | hi BabelOued. |
12:18.51 | BabelOued | i m at work, but i read a message about flicker screen |
12:18.58 | Kevin2 | Hrmm. There is a possibility that apache can do FIR. I'll have to look at it further. |
12:20.10 | BabelOued | yesturday, i see a difference between driver blueangel_lcd, a line is missing for register init line is comment |
12:22.01 | rob_w | .crtc_ps1_active = 0x00000000, missing is the only difference on lcd.c .12 to lcd.c .16 |
12:22.22 | BabelOued | rob_w yes this one |
12:23.00 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
12:23.06 | rob_w | i will try having it in the 0x05 part |
12:23.34 | BabelOued | ok |
12:23.43 | BabelOued | good afternoon |
12:24.12 | *** part/#htc-linux BabelOued (n=moi@faim1.itesoft.com) |
12:27.22 | rob_w | ok still flickering even with the missing value |
12:47.01 | *** join/#htc-linux BoSJo (n=bosjo@130.80-203-23.nextgentel.com) |
12:56.39 | goxboxlive | cr2 i know it also happens without alsa installed |
13:13.51 | *** join/#htc-linux pH5 (n=ph5@p5486738F.dip.t-dialin.net) |
13:16.12 | rob_w | <PROTECTED> |
13:16.17 | rob_w | oh |
13:18.55 | mickey|bbl | heh. so much for your password :D |
13:19.08 | rob_w | hehe |
13:19.19 | rob_w | that was the old one ;-) |
13:21.29 | mickeyl | :D |
13:24.10 | goxboxlive | :-) |
13:29.49 | rob_w | hmm i wont get this ts ,, i guess |
15:09.01 | Tomoe | hy guys |
15:09.13 | florian_kc | hi Tomoe |
17:10.19 | *** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
17:30.41 | *** join/#htc-linux BabelOued (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
17:36.36 | *** join/#htc-linux BabelOued_ (n=Fabrice@lun34-2-82-238-28-28.fbx.proxad.net) |
18:11.12 | florian_kc | bbl |
18:45.39 | goxboxlive | cr2 : Now i got this message: FATAL: Error inserting g_file_storage (/lib/modules/2.6.16-hh5/kernel/drivers/usb/gadget/g_file_storage.ko): Invalid argumen |
18:45.53 | goxboxlive | It's not complaining about LUN anymore. |
18:53.06 | goxboxlive | is this OK? : HTC Universal i2Sound Module |
18:53.07 | goxboxlive | snd_htcuniversal_audio_set_codec_reset: 1 |
18:53.07 | goxboxlive | snd_htcuniversal_audio_set_codec_reset: 0 |
18:53.07 | goxboxlive | PXA2xx i2Sound: HTC Universal Audio activated |
19:08.24 | goxboxlive | Seems like some of the buttons are working in OPIE. The green telephone button on the screen hinge is opening the calender. And the red one and the light button is opening the contacts. |
19:16.27 | goxboxlive | I am also getting this with madplay: |
19:16.29 | goxboxlive | root@htcuniversal:~# madplay /media/mmcblk0p1/Cavatina\ Sample.mp3 |
19:16.29 | goxboxlive | MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al. |
19:16.29 | goxboxlive | output: write: Input/output error |
19:41.07 | *** join/#htc-linux husam (n=kvirc@217.206.111.105) |
19:42.39 | husam | cr2: hi, do you where I should be looking to get password to unlock write protection |
19:44.40 | cr2 | hi husam |
19:44.52 | husam | hi |
19:45.06 | cr2 | in the bootloader, near the DoC code. |
19:45.39 | cr2 | goxboxlive: does 'i2cdetect' work ? |
19:46.20 | goxboxlive | i dont know. |
19:46.32 | husam | OK ... I found 2 8 bytes strings ... but theu didn't work ... |
19:46.42 | goxboxlive | Is it in the image? Or is that the one we used from the debian package? |
19:58.44 | cr2 | i picked them from the lm_sensors ipk |
20:02.38 | *** join/#htc-linux florian (n=fuchs@p5083C4D4.dip0.t-ipconnect.de) |
20:06.22 | goxboxlive | yes i can build them |
20:11.20 | florian | re |
20:17.55 | *** join/#htc-linux rob_w (n=bob@p213.54.194.139.tisdip.tiscali.de) |
20:18.37 | goxboxlive | cr2 i have installed the i2cdetect now. What do you want me to test? |
20:19.01 | goxboxlive | It seems like i have to compile i2c-dev as a module. I havent got it in my kernel |
20:19.10 | cr2 | ok. |
20:19.47 | goxboxlive | what do you want me to test? |
20:20.10 | goxboxlive | cr2: What does this mean? |
20:20.13 | goxboxlive | Error: No I2C busses found! |
20:20.13 | goxboxlive | Be sure you have done 'modprobe i2c-dev' |
20:20.13 | goxboxlive | and also modprobed your i2c bus drivers |
20:21.31 | *** part/#htc-linux husam (n=kvirc@217.206.111.105) |
20:21.42 | goxboxlive | It seem like i have i2c-dev in my zImage |
20:22.42 | rob_w | re |
20:30.16 | cr2 | goxboxlive: that can be a problem. |
20:30.38 | cr2 | try to compile it as a module. |
20:31.23 | goxboxlive | ok |
20:31.42 | rob_w | cr2 should i prinkt driver_register() ? |
20:32.24 | goxboxlive | should i aply this one? It was unselected:; Intel PXA2XX I2C adapter (EXPERIMENTAL) (I2C_PXA) |
20:32.41 | cr2 | of course. |
20:33.13 | cr2 | but it was still unused here for some reason. |
20:33.54 | cr2 | rob_w: i'm a bit confused by all these platform_driver/driver differences. try to look at a working driver, how they do it. |
20:34.46 | rob_w | i do have htcuniversal_ts2 open all the time .. isnt that "a working one " |
20:37.50 | rob_w | it must be any stupid typo i made somewhere ,, i remmbereing seeing that printk from ts_probe |
20:42.29 | goxboxlive | root@htcuniversal:/lib/modules/2.6.16-hh5/kernel/drivers/i2c/busses# i2cdetect |
20:42.30 | goxboxlive | Error: No i2c-bus specified! |
20:42.30 | goxboxlive | Syntax: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST] |
20:42.30 | goxboxlive | <PROTECTED> |
20:42.30 | goxboxlive | <PROTECTED> |
20:42.32 | goxboxlive | <PROTECTED> |
20:42.34 | goxboxlive | <PROTECTED> |
20:42.36 | goxboxlive | <PROTECTED> |
20:42.38 | goxboxlive | <PROTECTED> |
20:42.40 | goxboxlive | <PROTECTED> |
20:42.42 | goxboxlive | <PROTECTED> |
20:42.44 | goxboxlive | <PROTECTED> |
20:42.46 | goxboxlive | <PROTECTED> |
20:43.13 | goxboxlive | cr2 now what? |
20:43.51 | goxboxlive | cr2 http://pastebin.ca/91708 |
20:44.38 | goxboxlive | and my modules http://pastebin.ca/91709 |
20:47.05 | cr2 | i2cdetect 0 |
20:47.36 | cr2 | i think i2c_stub is not needed |
20:48.08 | cr2 | i2cdetect -a 0 |
20:48.57 | goxboxlive | ok hold on |
20:49.23 | cr2 | rob_w: can you create a diff and pastebin it ? |
20:49.56 | *** join/#htc-linux awelux (n=awelux__@dslb-084-058-163-150.pools.arcor-ip.net) |
20:51.17 | goxboxlive | i2cdetect 0 made my uni freeze. Rebooting |
20:53.23 | rob_w | ok |
20:54.53 | rob_w | http://pastebin.ca/91719 |
20:55.41 | rob_w | also i was just on editing ts_driver () may they dont work .. before i didnt had # |
20:55.41 | rob_w | <PROTECTED> |
20:55.41 | rob_w | # |
20:55.41 | rob_w | + .bus_id = "ts_tsc2200", |
21:00.13 | rob_w | ah now i get it .. it device_register()`s the module depending on the bus , right ? |
21:01.30 | *** join/#htc-linux skodde (n=skodde@unaffiliated/skodde) |
21:02.39 | rob_w | so nssp_bus or not is the question |
21:06.15 | goxboxlive | <PROTECTED> |
21:06.15 | goxboxlive | WARNING! This program can confuse your I2C bus, cause data loss and worse! |
21:06.59 | cr2 | goxboxlive: it was working in .12 |
21:07.25 | cr2 | rob_w: yes. nssp_bus if your parent, and it should init your driver. i think if you have platform_driver it does not have a parent. |
21:07.43 | goxboxlive | ontinue? [Y/n] |
21:07.43 | goxboxlive | <PROTECTED> |
21:07.43 | goxboxlive | 00: XX 01 XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
21:08.18 | cr2 | goxboxlive: what is not XX ? |
21:08.35 | goxboxlive | ?? |
21:08.36 | cr2 | 01 ? strange. |
21:08.37 | rob_w | the old hima driver calles his setup() from the module init() it does not wait for a probe() to be called |
21:09.16 | goxboxlive | otherwise just XX |
21:09.32 | rob_w | also the universal makes parent structure to input_dev called touchscreen_data , where it installs timers and such |
21:09.35 | cr2 | rob_w: old drivers are dirty hacks. 2.6 is more more clean, but unfortunately not very well documented fot non-x86 targets. |
21:10.00 | goxboxlive | should i have sound modules loaded? |
21:10.19 | cr2 | goxboxlive: strange. you must see 12, because it is the sound chip. |
21:10.22 | cr2 | try it. |
21:10.39 | rob_w | so the universal makes a struct touchscreen_data *ts; works out all items on ts-> and then dev_set_drvdata(dev, ts); |
21:10.41 | goxboxlive | ok, then i abort |
21:11.03 | goxboxlive | <PROTECTED> |
21:11.03 | goxboxlive | 00: XX 01 XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
21:11.03 | goxboxlive | 10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
21:11.03 | goxboxlive | 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
21:11.03 | goxboxlive | 30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
21:12.22 | cr2 | goxboxlive: try to do the same on .12 (don't load sound) |
21:13.18 | goxboxlive | hmm allready done that |
21:13.51 | goxboxlive | this is with sound drivers loaded : |
21:13.53 | goxboxlive | <PROTECTED> |
21:13.53 | goxboxlive | 00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
21:14.12 | cr2 | if there is no 12, there will be no sound. |
21:14.48 | cr2 | i mean, don't load sound modules on .12 and run i2cdetect. |
21:18.32 | goxboxlive | i dont have .12 |
21:18.43 | goxboxlive | i am using .16 |
21:19.08 | cr2 | hmm. |
21:19.48 | goxboxlive | do you mean i should try .12 kernel? |
21:20.03 | cr2 | first i2c, then sound. |
21:20.20 | cr2 | try to probe addresses 0x12-0x12 in i2cdetect. |
21:21.11 | goxboxlive | i have rebooted, since it gave me nothing |
21:22.03 | goxboxlive | should i try the .12 kernel or shall i boot .16 without loading sound? |
21:31.55 | cr2 | ok, try .12 |
21:31.59 | cr2 | to be sure. |
21:41.34 | rob_w | ok so before at hima_ts3 it was declared as a struct device .. on uni it is declared as struct device_driver |
21:42.15 | rob_w | ok so before at hima_ts3 it was declared as a struct device .. on uni it is declared as struct device_driver |
21:42.19 | rob_w | soory |
21:44.03 | *** join/#htc-linux lamikr|laptop (n=chatzill@dyn04-247.dsl.spy.dnainternet.fi) |
21:55.20 | rob_w | ok i am back ontrack |
21:55.25 | rob_w | i now do get something |
21:56.07 | goxboxlive | cr2 in the .12 kernel there arent any i2c in the defcomfig |
21:56.47 | goxboxlive | i have no modules |
21:56.53 | cr2 | goxboxlive: add them. |
21:57.05 | goxboxlive | :-) |
21:57.12 | goxboxlive | reboot once again |
21:59.21 | rob_w | i am back to Please convert to input_allocate_device() although i did use that function |
22:00.38 | cr2 | you probably have a static structure declaration, and use its address. |
22:01.16 | cr2 | goxboxlive: if there is no i2c in .12 how does sound work ?? |
22:02.02 | goxboxlive | :-) my fault |
22:02.23 | goxboxlive | i'm running 12cdetect now |
22:02.44 | goxboxlive | I will probe file /dev/i2c-0. |
22:02.45 | goxboxlive | I will probe address range 0x00-0x7f. |
22:02.45 | goxboxlive | Continue? [Y/n] |
22:02.45 | goxboxlive | <PROTECTED> |
22:02.45 | goxboxlive | 00: XX 01 XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
22:02.45 | goxboxlive | <PROTECTED> |
22:02.51 | goxboxlive | the same as .16 |
22:03.43 | cr2 | then i don't understand it anymore. will go to bed :) |
22:05.03 | goxboxlive | 10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
22:05.03 | goxboxlive | 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX |
22:05.07 | goxboxlive | :-) |
22:05.31 | goxboxlive | ghow do i porbe 0x12-0x12 |
22:06.21 | cr2 | see the help for i2cdetect (run without the parameters) |
22:07.59 | cr2 | i2cdetect -a -r 0 0x12 0x12 |
22:08.58 | rob_w | the question is in device or device_driver ... |
22:09.07 | rob_w | i need sleep |
22:09.26 | goxboxlive | root@htcuniversal:/lib/modules/2.6.12-hh2-xda0-un0/kernel/drivers/i2c/busses# i2cdetect -a -r 0 0x12 0x12 |
22:09.27 | goxboxlive | WARNING! This program can confuse your I2C bus, cause data loss and worse! |
22:09.27 | goxboxlive | I will probe file /dev/i2c-0 using read byte commands. |
22:09.27 | goxboxlive | I will probe address range 0x12-0x12. |
22:09.27 | goxboxlive | Continue? [Y/n] |
22:09.28 | goxboxlive | <PROTECTED> |
22:09.30 | goxboxlive | 00: |
22:09.32 | goxboxlive | 10: XX |
22:09.34 | goxboxlive | 20: |
22:09.35 | goxboxlive | 30: |
22:09.38 | goxboxlive | 40: |
22:09.40 | goxboxlive | 50: |
22:09.42 | goxboxlive | 60: |
22:09.44 | goxboxlive | 70: |
22:10.33 | cr2 | strange. |
22:11.01 | cr2 | goxboxlive: i'm tired too. good night. |
22:11.02 | goxboxlive | ok, u know bether than me |
22:11.09 | goxboxlive | good night |
22:42.27 | *** part/#htc-linux BoSJo (n=bosjo@130.80-203-23.nextgentel.com) |
23:32.57 | *** join/#htc-linux apt_ (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
23:32.57 | *** topic/#htc-linux is HTC LINUX ! THIS IS THE FORWARD CHANNEL from #htc-blueangel ; check also -> http://www.handhelds.org/moin/moin.cgi/BlueAngel | http://wiki.xda-developers.com/index.php?pagename=BlueangelResearch | http://gnulinux.biz/files/blueangel/sd/linux/ LOGS: at http://ibot.rikers.org/%23htc-linux/ |
23:45.12 | *** join/#htc-linux apt (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
23:45.12 | *** topic/#htc-linux is HTC LINUX ! THIS IS THE FORWARD CHANNEL from #htc-blueangel ; check also -> http://www.handhelds.org/moin/moin.cgi/BlueAngel | http://wiki.xda-developers.com/index.php?pagename=BlueangelResearch | http://gnulinux.biz/files/blueangel/sd/linux/ LOGS: at http://ibot.rikers.org/%23htc-linux/ |