**** BEGIN LOGGING AT Thu Feb 09 02:59:57 2012 Feb 09 11:32:54 /msg NickServ identify 552266 Feb 09 19:50:21 Hi Feb 09 19:50:46 Can someone tell me how to load gta01_battery module? Feb 09 19:51:24 With modprobe gta01_battery it says modprobe: not found Feb 09 20:14:44 roskoant, I think that gta01 uses platform battery Feb 09 20:16:33 i'am using GTA02 hardware Feb 09 20:17:28 here are the commands Feb 09 20:17:51 http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers#Using_compatible_batteries_with_gta02 Feb 09 20:19:57 that page is for older kernels Feb 09 20:20:23 can you give me the page for new kernels if you know it Feb 09 20:20:31 what kernel are you using Feb 09 20:20:41 Since kernel 2.6.29 Feb 09 20:20:42 & distro Feb 09 20:20:46 kernel** Feb 09 20:20:56 kernel 2.6.29 Feb 09 20:21:08 amd distro Antroid Cupcake Feb 09 20:22:01 omg.. Feb 09 20:22:07 and** not amd Feb 09 20:23:29 sorry I don't know the android kernels they have the bq2700 as a module? Feb 09 20:23:53 yes i think Feb 09 20:24:22 how to load a module in android Feb 09 20:24:46 the command modprobe didn't work on my prohe Feb 09 20:24:46 roskoant: platform_battery is the new module name Feb 09 20:24:57 yes.. Feb 09 20:25:09 but nothing happen Feb 09 20:25:35 roskoant: are you sure, have you checked /sys/class/power_supply ? Feb 09 20:25:43 i'm typing in console modprobe platform_battery Feb 09 20:26:35 wait i'll check /sys/class/power_supply Feb 09 20:27:54 it says invalid lenght Feb 09 20:28:13 checked cat /sys/class/power_supply/battery/uevent Feb 09 20:28:16 checked cat /sys/class/power_supply/battery/uevent Feb 09 20:28:46 and its seems to use bq27000 driver :S Feb 09 20:30:05 have you unbind the bq27 batery first? Feb 09 20:30:15 yes I do Feb 09 20:30:28 echo bq27000-battery.0 > /sys/bus/platform/drivers/bq27000-battery/unbind Feb 09 20:30:35 and then Feb 09 20:30:46 modprobe gta01_battery Feb 09 20:31:05 but it says that mdprobe isn't found Feb 09 20:31:17 modprobe( Feb 09 20:33:27 roskoant: modprobe itself is not found? What system is that? :) Feb 09 20:33:56 roskoant: also i've just told you in all modern kernels the driver is called platform_battery, not gta01_battery. Feb 09 20:34:15 i know Feb 09 20:34:25 but Feb 09 20:34:46 modprobe itself not found on Android 1.5 Cupcake | kernel 1.6.29 Feb 09 20:35:31 roskoant: use insmod then Feb 09 20:35:49 OK Feb 09 20:35:58 but where the module is located itself Feb 09 20:35:59 ? Feb 09 20:36:06 And ask your android fellows about where the hell they lost the modprobe utility. Feb 09 20:36:19 :D Feb 09 20:36:31 roskoant: /lib/modules/`uname -r`/kernel/drivers/power/platform_battery.ko i guess Feb 09 20:36:52 Did they also dispense the find utility? Feb 09 20:38:06 s/the/with the/ Feb 09 20:38:06 PaulFertser meant: Did with they also dispense the find utility? Feb 09 20:38:12 Damn Feb 09 20:38:18 can`t open it Feb 09 20:38:27 * PaulFertser should use ``ed'' more Feb 09 20:39:38 in console: insmod /kernel/drivers/power/platform_battery.ko Feb 09 20:39:53 ant it says insmod: can't open ..... Feb 09 20:40:00 roskoant: what about the uname -r part? Feb 09 20:40:30 everything? Feb 09 20:40:37 like you wrote it Feb 09 20:40:55 2.6.29? probably it had an older version called gta01_battery Feb 09 20:41:10 roskoant: i did write that driver in fact Feb 09 20:41:14 yes - 2.6.29 Feb 09 20:41:24 you are guro ;) Feb 09 20:41:43 it's normal :D Feb 09 20:42:11 damn, you should try googling for "guro", that's not what you think it is... Feb 09 20:42:57 fu** cant open again Feb 09 20:43:12 roskoant: use the find utility, search for files having ``battery'' in it Feb 09 20:43:35 # find Feb 09 20:43:35 find: not found Feb 09 20:43:48 in fact, the found utility is gone also (rofl) Feb 09 20:43:50 Android is so sick! Feb 09 20:44:42 i have the FS Feb 09 20:44:53 if search in it? Feb 09 20:44:58 would work Feb 09 20:46:05 low battery.ogg - music... Feb 09 20:46:27 and nothing again Feb 09 20:47:05 this distro is so sick, it's true Feb 09 20:50:16 what to do now? Feb 09 20:55:16 roskoant: check your kernel config then, probably it lacks the needed module. Feb 09 20:55:52 i have the kernel configured and compiled, how to check its config? Feb 09 20:56:25 from command prompt? Feb 09 21:01:10 roskoant, have you tried asking on #android-on-freerunner Feb 09 21:01:48 tried but for other things Feb 09 21:02:35 on android channel, there are noone, or maybe 15-20 users in the room Feb 09 21:03:55 That's because nobody needs android ;) Feb 09 21:04:20 aahahahha Feb 09 21:04:21 roskoant: just less .config in the kernel sources and see for yourself Feb 09 21:04:21 :D Feb 09 21:04:32 ok Feb 09 21:04:41 i plan to up Debian Feb 09 21:05:03 because the only good working android is 1.5 which is veery old Feb 09 21:05:30 so what is package repository for Debian? big/small Feb 09 21:05:48 Really? Were those AoF folks doing nothing all these years? Feb 09 21:06:08 Basically same as for other architectures. Feb 09 21:07:07 hmm.. android Froyo is very slow on my GTA02 so I uploaded 1.5 which is OK but old Feb 09 21:07:16 and Feb 09 21:07:40 as you see, there's no driver gta01_battery :S Feb 09 21:08:11 roskoant: come on, there's Feb 09 21:08:15 roskoant: check your kernel config Feb 09 21:08:42 also no "uname" and "find" etc.. Feb 09 21:08:54 ok I'll check it if I find it.. Feb 09 21:17:09 no luck... can't find it **** ENDING LOGGING AT Fri Feb 10 02:59:57 2012