IRC #olimex 2014-04-01

[00:35:56] <labrador> Elrond: i also noticed that the charging time has increased
[09:13:07] **************** Logging Started ****************
[16:54:29] <diegomos> How use GPIO in Android without SD-Card
[17:05:56] <labrador> diegomos: whats your problem ?
[17:07:24] <diegomos> I have A13 with Android in NAND flash
[17:07:48] <diegomos> and I want play with GPIO,
[17:08:03] <diegomos> on green led present in PG9
[17:08:08] <diegomos> for example
[17:08:46] <labrador> if i remember right i helped you before
[17:08:49] <labrador> right ?
[17:09:07] <angs> has anyone had any issue that when a usb device is plugged, I get millions of such output "new full-speed USB device number XX using ci_hdrc"
[17:09:17] <angs> like a while(1) loop
[17:09:34] <diegomos> I not remeber
[17:09:41] <labrador> anyway.. you dont know how to turn on or of the LED ?
[17:09:50] <labrador> angs: what soc ?
[17:09:57] <angs> imx233
[17:10:02] <angs> imx233 nano
[17:10:09] <angs> I use debian 7.3 and 3.13.1 kernel
[17:10:25] <diegomos> yes
[17:10:54] <labrador> angs: try disable that ci_hdrc
[17:11:01] <labrador> angs: build a new kernel
[17:11:02] <diegomos> I read that to turn on or off its necesary type
[17:11:20] <diegomos> echo 1 > sys/class/...
[17:11:21] <angs> labrador, I have just built the kernel. what option do I need to disable?
[17:11:45] <diegomos> but gpio folder not present
[17:11:51] <labrador> angs: can you pastebin your config ?
[17:12:29] <labrador> diegomos: ls -R /sys/class/gpio/
[17:12:33] <labrador> pastebin
[17:13:17] <diegomos> labrador: How do this command
[17:13:44] <labrador> open a terminal or connect via adb shell
[17:14:33] <angs> labrador, here is the .config file http://paste.ubuntu.com/7189848/
[17:14:57] <diegomos> after I connect ADB shell
[17:16:18] <labrador> yes
[17:16:26] <labrador> angs: do you use a usb hub ?
[17:17:23] <angs> labrador, no I don't. And, I use usb wifi dongle and usb 3g dongle
[17:19:52] <labrador> angs: try disabling CONFIG_USB_CHIPIDEA
[17:20:02] <labrador> angs: not sure if it works but give it a try..
[17:20:17] <labrador> diegomos: how its going ?
[17:20:44] <angs> labrador, thanks I will try
[17:21:19] <labrador> angs: you are using the OTG port or the standard usb ?
[17:21:44] <angs> standard USB
[17:21:50] <labrador> hmm..
[17:21:57] <angs> I have recently build the kernel, it was working fine before it
[17:22:06] <angs> I guess I enabled something wrong
[17:22:06] <diegomos> I refresh android
[17:22:35] <labrador> just give a try to disable the chopidea or at least use it as module to be able to test with/out it
[17:24:47] <labrador> diegomos: if will leave in a while so if you want further support you have to be a little faster :P
[17:25:03] <diegomos> I type the command
[17:25:10] <diegomos> and obtained:
[17:26:00] <diegomos> labrador: I obtained no such file or directory
[17:27:10] <labrador> diegomos: ls -R /sys/class/
[17:28:08] <diegomos> ok
[17:28:17] <diegomos> I obtained a list
[17:29:24] <diegomos> now ?
[17:29:41] <labrador> go to http://www.pastebin.com
[17:29:48] <labrador> and paste the result there
[17:30:22] <labrador> use submit and the copy paste here the link for the paste
[17:31:04] <diegomos> how copy result from adb shell?
[17:32:27] <diegomos> http://pastebin.com/qMFpW1sb
[17:32:39] <diegomos> ok?
[17:36:13] <labrador> diegomos: find /lib/modules/ -iname *gpio*
[17:38:32] <diegomos> find /lib/modules/ -iname *gpio*
[17:38:38] <diegomos> result is:
[17:40:07] <diegomos> not fund
[17:40:18] <diegomos> system/bin/sh
[17:40:24] <diegomos> find: not found
[17:42:13] <labrador> modprobe sun4i_gpio
[17:43:55] <diegomos> 127|root@android:/ # modprobe sun4i_gpio modprobe sun4i_gpio /system/bin/sh: modprobe: not found 127|root@android:/ #
[17:44:16] <labrador> also do : ls -R /sys/devices/virtual/misc/
[17:45:01] <labrador> lets go private to be able to paste there and not flooding the main
[18:20:39] <diegomos> labrador you see my link?
[20:25:56] <isthatme> so I just got my LIME board, and I'm having issues with setting it up with an hdmi tv, the tv either reports 'Format not supported' or doesn't do anything at all when I boot it up
[20:26:17] <isthatme> *with the default script.bin it reports 'Format not supported'
[20:27:01] <isthatme> *if I change the script_a10_hdmi_whatever.fex 's boot_disp section
[20:28:21] <isthatme> if I change thoug output type on there (so far to 10 and 11, 1080p60 and PAL, respectively) it does nothing
[20:56:43] <isthatme> if there's a disp_init section in the fex file
[20:56:50] <isthatme> and a boot_disp section
[20:56:59] <isthatme> what's the boot_disp section for?
[22:40:36] <diegomos> HOW add GPIO in Android flash nand image ?