The Following 10 Users Say Thank You to biketool For This Useful Post: | ||
|
2014-07-23
, 10:26
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#2
|
The Following 4 Users Say Thank You to biketool For This Useful Post: | ||
|
2014-07-25
, 15:16
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#3
|
The Following 3 Users Say Thank You to biketool For This Useful Post: | ||
|
2014-08-10
, 14:25
|
Posts: 7 |
Thanked: 10 times |
Joined on Aug 2014
|
#4
|
I just finished my wife's N900, I did much nicer job since I knew exactly what to do without experimentation. I decided to add shorting pins even though there is the BME command to bypass this. I didn't need to resolder the power pins as I had ordered the correct adapter this time...
|
2014-08-10
, 16:46
|
Posts: 2,290 |
Thanked: 4,134 times |
Joined on Apr 2010
@ UK
|
#5
|
|
2014-08-10
, 17:26
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#6
|
Has anyone found a Qi receiver with the data pins shorted yet?
While biketool has done a great job explaining his hack, I think we need to find source of a compatible receiver for N900.
It is a standard to have the data pins shorted, so seems silly that no one produces them.
stop bme modprobe bq2415x_charger
The Following User Says Thank You to biketool For This Useful Post: | ||
|
2014-08-10
, 19:08
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#7
|
The Following 2 Users Say Thank You to biketool For This Useful Post: | ||
|
2014-08-13
, 11:16
|
Posts: 7 |
Thanked: 10 times |
Joined on Aug 2014
|
#8
|
sudo gainroot stop bme modprobe bq2415x_charger
The Following User Says Thank You to aramburuyy For This Useful Post: | ||
|
2014-08-13
, 11:59
|
Posts: 7 |
Thanked: 10 times |
Joined on Aug 2014
|
#9
|
Has anyone found a Qi receiver with the data pins shorted yet?
While biketool has done a great job explaining his hack, I think we need to find source of a compatible receiver for N900.
It is a standard to have the data pins shorted, so seems silly that no one produces them.
The Following User Says Thank You to aramburuyy For This Useful Post: | ||
|
2014-08-13
, 16:51
|
Posts: 1,424 |
Thanked: 2,623 times |
Joined on Jan 2011
@ Touring
|
#10
|
#!/bin/sh sudo gainroot stop bme modprobe bq2415x_charger # edit dumb mode charge mode time below in seconds wait 21600 rmmod bq2415x_charger start bme exit
sudo chmod +x qi_charge
[Desktop Entry] Encoding=UTF-8 Type=Application Name=qi_charge Comment=charge for a set time at full speed from an unshorted data pins dumb USB charger like the universal Qi ones and then reload BME to get battery meter back Exec=/bin/sh /home/user/MyDocs/qi_charge Icon=make a PNG and put the path here
The Following 2 Users Say Thank You to biketool For This Useful Post: | ||
Tags |
nokia n900, qi charging |
|
A description of how to modify an inexpensive Qi universal microUSB type B plug equipped wireless inductive charge receiver's data pins to interface with N900 charging circuitry(and also how to install Pali's new BME to avoid the hardware mod, additionally a pair of script based module driver swap and return to normal as a software work around the need for shorted pins or the need to install KernelPower or CSSU) and installation of the receiver into or onto a Mugen cover/double-Scud battery equipped N900, this should also work with stock N900 battery cover.
This is a comprehensive way to safely charge without worrying that you phone will fall and snap off the fragile N900 USB port.
Read warning at bottom and whole post before proceeding, this could destroy your phone, Qi charger, or burn down your house, may contain peanuts and gluten.
see also:
http://talk.maemo.org/showthread.php?t=72753
http://talk.maemo.org/showthread.php?p=1253353
http://talk.maemo.org/showthread.php?t=93289
I ordered one of the very inexpensive ($6US) universal Qi chargers from ebay, they are also available from most of the Asian import web stores. This is an example with several fits available the correct one seems to be "Middle/Narrow Interface Up" with a micro-B-USB or microUSB type B plug http://www.amazon.com/Universal-Wire.../dp/B00I1D4DWO
When the charger arrived the USB plug was the wrong direction, upside down, this could have been my error in ordering the first time. It was actually not important to me because I ended up rebuilding the plug, it will be very important to you if use the no-solder methods, non-BME charging module, or the BME replacement upgrade.
Best solution: 100% compatible USB data pin-short mod and external install!
The main problem with all of the Qi add on adapters we have reviewed so far, is that they lack the shorted data pins required for the stock N900 to start the charging cycle, in this charger though there are empty spaces which we can use to add the missing data pins. I had to find some compatible pins and short them in the space available. In my opinion finding a source for a Qi charger with shorted pins or doing the add-pins mod is the best solution as it communicates the presence of a high draw charger to the system that is ready to deliver over standard 500mA vs say having a data cable inserted.
I bent the tiny metal tabs on the ribbon side to remove the metal back cap from the USB plug and carefully removed the two power pins from slots number one(+5v) and five(ground) by the microUSB pinout. I desoldered both of the existing pins from the ribbon cable as they were upside down for use with the N900. Next I went into my parts box where I had some DIY microUSB plugs, removing the metal outside I was able to remove the internal pins out the back of the port by grasping the solder tabs with a small forceps. To make the shorted pins I measured the length of the two power pins and the gap between. I bent one of the pins to the right the .5mm distance between the pin spaces and then straight again. I used a locking forceps with smooth jaws to clamp another pin I had removed to the pre-bent one; I then made a sloder joint at the point where the two pins came together at the bends I had made. Once cool I clipped the extra leaving about .5mm of joint and inserted them into slots two and three of the microUSB pinout.
I reattached the power pins to the ribbon cable turned for the correct direction, I tested the ribbon cable connection which soldered to the number one pin to be sure it was not shorted to the data pins. To be sure assembly was correct I inserted the plug into a small bluetooth keyboard, fit was good.
I had seperated the plastic charger cover which is covered on the inside with 'sticky' adhesive and removed the coil and PCB to work on them. I had desoldered the ribbon cable from the charging pad PCB so I put the receiver pad onto the transmitter pad until the blue charging light on the transmitter pad came on, I tested the power output solder pads and soldered down the ribbon cable to the appropriate pads.
The Qi charger has a black pad which blocks the signal and makes the receiver only work from one direction, this is required as assembly without somehow made my receiver pad not work when installed internally against the battery, some reports also have it heating the N900 to rather high temperatures through inductive heating.
As a final test I put the reassembled Mugen battery door onto the charge sender pad, then I connected to the microUSB port on the BT keyboard, red charge light and no smoke. I added a bit of tape on the inside of the metal back side USB plug cap, then replaced the cap and bent down the tabs, tested again on the BT keyboard with good charging, the plug also inserted cleanly and flush into my N900 for the first time offering a charging solution that protected the vulnerable USB port. I had already cut away the unneeded plastic charger cover tabs meant to protect the ribbon cable(the extra plastic tabs block the camera opening) and re-folded the ribbon cable so it makes a 90 degree turn to correctly pass the camera window and then on to the phone's USB port without slack.
I used several parallel strips of good electrical tape terminating under the battery cover, another trimmed strip looping through the Mugen battery cover camera window to secure the ribbon cable, the tape doesn't snag on my pocket or phone pouch. Some people have successfully installed under the battery cover with a stock N900 battery cover and standard single battery. Since I broke one of the tiny metal tabs on my USB plug cap I potted my Qi chargers USB plug with (boiling water softening) Polymorph plastic, including for about 3mm around the ribbon cable as a stress relief to the solder joints. http://www.amazon.com/InstaMorph-Mol...dp/B004MFLU4Y/
Finally we have industry standard integrated N900 Qi wireless inductive charging that works correctly with Maemo and internal charging circuitry, though Pali's BME replacement make all of this hardware work mostly unnecessary. It is too bad they couldn't add shorted data pins at the factory where it would be easy, post if you find a universal Qi that has the shorted pins. Ribbon cable and plug are flush with just enough slack to remove when I need the port for host mode. I much prefer this system with a ribbon cable and flush fit protective USB plug to my previous Touchstone wireless charger which required bypassing the internal charging circuitry and stuffing a Li-ion charge regulator to directly charge the battery which confused the Maemo charge monitoring circuitry and software. Read below for a hacked way to charge without installing data pins.
No solder software hack, BME stays active!
Warning, might result in an unbootable system or worse, though most likely problem is you could be stuck with a non-working BME and charge meter. I recommend using backup manager app to have a restore ready if you mess up. Failure to switch back to normal charge mode might cause permanent damage to a computer or other USB port if you plug in your N900 in Qi no-short charge mode. If you use this method and leave the Qi charger in as a semi-permanent protection for your USB port comment out the sleep and return to normal mode lines, then you only need to click the Qi charge button once after reboot, using USB host mode or the required switching back to 'auto' or normal for using USB mass storage require switching back to Qi or 'dedicated' BME mode to Qi charge again.
The downside is that you must callibrate your battery using a full discharge cycle, this could take a few long and tricky tries.
These scripted buttons can also be used by people wishing to hard wire install an charger to their USB 5V+ pad and ground for either an inductive charger which leaves the USB port free and open or for cases where the USB port has been destroyed and the data pin pads can't be repaired.
1-install(or have) up to date Kernel Power and CSSU testing
2-add Pali's BME replacement repo
web address - http://maemo.merlin1991.at/cssu/bme-replacement/
distribution - fremantle
Components - free
3-apt-get update and upgrade(this will install the new upgraded BME)
4.run this command in command line
5. Reboot
6. charge to green light
7. let run until battery dies(battery is now calibrated, dont rush or you will end up having to redo, last few hundred mA should be spent with backlight , CPU, and things like WiFi off)
8. enter command to BME for unshorted charging
Make a file named qi_charge and keep it in /usr/local/bin
create /usr/share/applications/hildon/qi_charge.desktop
Easy no calibration - no solder software hack.
Not as seamless an integration into Maemo as the shorted data pins but is allows the common unshorted Qi charge adapter and N900 to be used 'out of the box'
This keeps the old BME which requires no long and sometimes repeated battery calibration steps, this is perfect for the average user who charges overnight.
Tested and enters desired mode from these toggle scripts. This is less invasive and more stable than Pali's new BME replacement above but lacks a fully functional battery manager.
make a file in /usr/local/bin called qi_charge
create /usr/share/applications/hildon/qi_charge.desktop
On a non-CSSU system you will need to edit as sudo or root /etc/sudoers.d/qicharger1.sudoers with these files so the scripts will work.
Always remove data and power pins from the plug for soldering so you do not melt the plastic plug housing. Once you have everything assembled use a cheap USB charged device to give a final test of your work, you do not want to fry your N900's USB port. Test polarity constantly and refer back to the microUSB pinout so you are 100% sure you have installed everything correctly and in the right direction and power polarity, also be sure to check for shorting.
Last edited by biketool; 2016-12-19 at 09:48.