ohanar has quit [Quit: Hosted by rdlBNC (Server 1 - America)]
ohanar has joined #teamhacksung
CerebroJD has joined #teamhacksung
<koud>
squadzone: morning :P
lidroid has joined #teamhacksung
devatwork has quit [Remote host closed the connection]
noobnl has joined #teamhacksung
lidroid has quit [Quit: Leaving.]
jt1134 has joined #teamhacksung
thelockz has joined #teamhacksung
jt1134 has quit [Quit: Leaving]
techmik has quit [Ping timeout: 245 seconds]
CerebroJD has quit [Quit: Leaving]
cdesai has joined #teamhacksung
cdesai has quit [Remote host closed the connection]
thelockz has quit [Quit: ZzZzZz]
thelockz has joined #teamhacksung
xplodwild_work has joined #teamhacksung
lidroid has joined #teamhacksung
lidroid has quit [Remote host closed the connection]
thelockz has quit []
rtfpessoa has joined #teamhacksung
KhasMek has quit [Ping timeout: 240 seconds]
KhasMek has joined #teamhacksung
rtfpessoa has quit [Read error: Connection reset by peer]
repnzscasb has joined #teamhacksung
noobnl_ has joined #teamhacksung
noobnl has quit [Ping timeout: 252 seconds]
noobnl_ is now known as noobnl
squadzone has quit [Read error: Connection reset by peer]
Dragooon has joined #teamhacksung
xZain has joined #teamhacksung
<xZain>
uh any fix for libaudio soon,devs ???
xZain has quit [Changing host]
xZain has joined #teamhacksung
squadzone has joined #teamhacksung
squadzone has quit [Read error: Connection reset by peer]
datagutt has joined #teamhacksung
cdesai has joined #teamhacksung
lolwat has joined #teamhacksung
cdesai has quit [Remote host closed the connection]
a90342 has quit [Remote host closed the connection]
a90342 has joined #teamhacksung
peterperfect has joined #teamhacksung
lolwat has quit [Read error: Connection reset by peer]
peterperfect has quit [Quit: Friends help you move. Real friends help you move bodies.]
lolwat has joined #teamhacksung
sbrissen_gone is now known as sbrissen
autoprime has quit [Read error: Connection reset by peer]
autoprim_ has joined #teamhacksung
autoprim_ has quit [Read error: Connection reset by peer]
autoprime has joined #teamhacksung
autoprim_ has joined #teamhacksung
autoprime has quit [Read error: Connection reset by peer]
cdesai has joined #teamhacksung
lolwat has quit [Read error: Connection reset by peer]
techmik has joined #teamhacksung
lolwat has joined #teamhacksung
Dragooon has quit [Ping timeout: 240 seconds]
toastcfh_ has quit [Read error: Operation timed out]
xplodwild_work_ has joined #teamhacksung
cdesai has quit [Read error: Connection reset by peer]
cdesai_ has joined #teamhacksung
cdesai_ has quit [Client Quit]
cdesai has joined #teamhacksung
xplodwild_work has quit [Ping timeout: 245 seconds]
xplodwild_work_ is now known as xplodwild_work
toastcfh_ has joined #teamhacksung
xZain has quit [Ping timeout: 252 seconds]
lidroid has joined #teamhacksung
cdesai has quit [Ping timeout: 260 seconds]
Dragooon has joined #teamhacksung
Tom^ has quit [Quit: FBI is raiding the house bye]
Tom^ has joined #teamhacksung
xplodwild_work has quit [Quit: Page closed]
lolwat has quit [Read error: Connection reset by peer]
lidroid has quit [Quit: Leaving.]
finghin has quit [Ping timeout: 240 seconds]
codeworkx has quit [Ping timeout: 252 seconds]
Dragooon has quit []
Rebellos has joined #teamhacksung
rtfpessoa has joined #teamhacksung
paulk-desktop has joined #teamhacksung
Dragooon has joined #teamhacksung
rodries has joined #teamhacksung
repnzscasb has quit [Quit: Leaving...]
KillKount has quit [Read error: Connection reset by peer]
KillKount has joined #teamhacksung
KillKount has quit [Read error: Connection reset by peer]
KillKount has joined #teamhacksung
rodries has quit []
dhiru1602 has joined #teamhacksung
<dhiru1602>
How do you find the correct gpios for a device?
<Rebellos>
dhiru1602, if it's device with already opensourced system there already existing maps in GPLed sources.
<Rebellos>
dhiru1602, but during port to device with closed system there's need of reverse engineering these binaries and analysing documentation like service manuals
<dhiru1602>
hmm.. the gpios and irq for wifi
<Rebellos>
What do you mean exactly?
<Rebellos>
You have to be more specific, what gpios, what irq, for what device...?
<dhiru1602>
Galaxy SL.. I wanted to manually power up the WL1271 wifi chip.. but the dmesg says wl127x_wifi_init: can't reserve GPIO: 160
<Rebellos>
That, in most cases, means GPIO mutex is already taken by some other driver.
<Rebellos>
Or your driver is trying to reserve same GPIO twice.
<Rebellos>
If you want to power up different way as it's done by default - have a look at procedure called by default, turn it off and implement/modify and call it in your own way.
<dhiru1602>
actually the current driver is not compiled directly off the kernel
<dhiru1602>
i am trying to port compat wireless.. the modules are bulding but the wifi device doesn't probe
<dhiru1602>
even when the modules are loaded properly, the wlan interface doesnt come up
codeworkx has joined #teamhacksung
codeworkx has quit [Read error: Connection reset by peer]
codeworkx has joined #teamhacksung
<dhiru1602>
so as per my observation, the there is some issue with powering on the device
<Rebellos>
Yeah, for sure there's something wrong. can you drop your codes to github?
<Rebellos>
also, is that function "wl127x_wifi_init" in some module, dynamically linked to kernel or is it built into kernel?
<Rebellos>
#define WL127X_WIFI_PMENA_GPIO 160 - look for another aliases for that GPIO and search in whole code for every name of that gpio and for numeric constant, it must be used by something else aswell
<dhiru1602>
tried to grep.. found nothing useful
<Rebellos>
Well, it has to be there on in some dynamically loaded thing
<Rebellos>
Not sure if userspace app can do it, but dynamically linked modules might request GPIOs.
<Rebellos>
There's always big mess in such things, you might also grep for gpio_request(160 and some other aliases of this thing...
<Rebellos>
grep for 160 first and grep for all possible aliases of it
dhiru1602 has quit [Ping timeout: 248 seconds]
dhiru1602 has joined #teamhacksung
<dhiru1602>
sorry had a network issue
<dhiru1602>
i tried to use gpio_free and gpio_request
<codeworkx>
dhiru1602: whats your problem?
<Rebellos>
With what result?
<dhiru1602>
hmm actually the issue is that the wl12xx_probe isn't called
<Rebellos>
Actually I don't see such method there, "init" is marked as driver entrypoint there -
<Rebellos>
device_initcall(wl127x_wifi_init);
<Rebellos>
Also, can you print also error type?
<Rebellos>
just add in there pr_error("%s error string: %s\n", __func__, strerr(ret));
<Rebellos>
And I don't know how not calling probe would be related to error in requesting gpio.
<dhiru1602>
let me check the error
tumasgiu has joined #teamhacksung
<dhiru1602>
http://bit.ly/MH3vrn -> this is the probe function that doesnt get called
<dhiru1602>
codeworkx: I am using compat wireless to build drivers for wl12xx. The modules are building properly, however the device doesn't get probed. Even with the modules loaded the interface doesn't come up
tumasgiu has quit [Quit: Quitte]
datagutt has quit [Quit: Computer has gone to sleep.]
<Rebellos>
dhiru1602, is it compiled into kernel? notice it's other driver than wl12xx, and it's initialized/probed separaterly
<Rebellos>
The easiest way to check if it's being compiled is look for wl1271_sdio.o after build
<dhiru1602>
its not builtin.. since I am using compat wireless, i will have to compile it as a module
squid267 has quit [Remote host closed the connection]
AdamG- has quit [Remote host closed the connection]
squid267 has joined #teamhacksung
xZain has joined #teamhacksung
xZain has quit [Ping timeout: 248 seconds]
AdamG- has joined #teamhacksung
paulk-desktop has quit [Quit: Ex-Chat]
Rebell_ has joined #teamhacksung
Rebellos has quit [Ping timeout: 244 seconds]
<codeworkx>
dhiru1602: look for init_module method in the driver
Rebell_ is now known as Rebellos
<dhiru1602>
codeworkx: I have added a debug flag in the init.. and its being called
<dhiru1602>
but the device is not being probed
<d3tul3>
maybe check the vendor and device id
<Rebellos>
dhiru1602, did you get rid of GPIO request error?
sbrissen is now known as sbrissen_gone
<d3tul3>
it will probe if it matches the id_table against sdio_funcs with correct attributes....these attributes are read off the chip or you can use something like embedded_sdio structs to pass the cis/cccr data forcefully (in your board files)
Charkey has joined #teamhacksung
luminoso has quit [Read error: Connection reset by peer]
squadzone has joined #teamhacksung
addi is now known as Pele_Parted
Pele_Parted is now known as addi
Rebellos has quit [Read error: Connection reset by peer]
<methril>
hi
<methril>
sorry, bad channel
autoprim_ has quit [Quit: Leaving...]
autoprime has joined #teamhacksung
<methril>
dhiru1602 ping
<dhiru1602>
yes?
<methril>
did you read my PM on xda?
<methril>
i ask you about USART on i9003, do you know something?
<methril>
i asked hillbreast also, and i've a clue
<dhiru1602>
methril: ask codeworkx
<methril>
oh, ok
<methril>
codeworkx: ping
<codeworkx>
pong
<methril>
do you know something about using the UART in i9003?
<methril>
i heard that is similar to Galaxy 3
<codeworkx>
yes that it doesn't output much
sixstringsg is now known as afkstringsg
<methril>
i know, but for kernel dev it outputs a looooott
<codeworkx>
i didn't get anything
<methril>
did you tried something like using USART (in samsung sources is on ttyUSB0) IRP
<methril>
but no signal at all?
<codeworkx>
i9000 uart works fine, i9100 works fine
<codeworkx>
i9100 not, i9003 not
<methril>
oh, ok
<codeworkx>
dunno why
<codeworkx>
didn't look much
<dhiru1602>
maybe it has to do something with omap?
<codeworkx>
just tested on one evening
<methril>
ok, i was going to ask you if it was due to hardware misconfig
<dhiru1602>
is it possible to get the mmc working atleast so that we could have the adb working?
<methril>
but if you didn't test i will try myself
<methril>
well, it depends also how the hw is wired.... i have no clue yet, just asking
<methril>
hilbreast told me that the USB tranceiver is similar to Galaxy 3, and he was going to test
<methril>
i'm finishing a port in a clean omap tree (2.6.35) and i would like to test the basic stuff before going for 3.0/3.4 branch
<methril>
anyway thank you for your help
<methril>
:)
<methril>
dhiru1602 other question, i saw that you did kstorx functions, why? are not vsprintf ones enough?
<dhiru1602>
its actually required for the new usb gadget