<stano>
yes, swapping x and y and possibly inverting one or both
<stano>
you're asking if that's possible with some config entry in like, /sys ?
<parazyd>
Yeah or with the mounting matrix un udev
<stano>
playing around with other batteries might not be a great idea. one of my d4's stopped charging entirely, on leste or android, even with original EB41.
Pali has quit [Ping timeout: 268 seconds]
elastic_dog has quit [Ping timeout: 245 seconds]
elastic_dog has joined #maemo-leste
diejuse has joined #maemo-leste
_uvos_ has joined #maemo-leste
<_uvos_>
parazyd: the udev matrix is right
<_uvos_>
parazyd: your app must ask udev for the matrix and apply it itself, the kernel/ sysfs interface is not reposible for applying the matrix
<_uvos_>
udev gets the matrix from kernel or, optionally its config files
_uvos__ has joined #maemo-leste
<_uvos__>
stano: it is extreamly unlikely that simple using another battery breaks anything
<_uvos__>
eb41 is just a lipo directly connected to the contacts
_uvos_ has quit [Ping timeout: 255 seconds]
<_uvos__>
note however that the 2 other conections on d4 are a eeprom chip and a thermistor
<stano>
can the n900 receiving a 0xFFF u-boot*.bin be on a USB hub? (powered)
<_uvos__>
android, rightfully so as it needs to know if the the battery is of the hv type, refuses to charge a battery without a eeprom
<stano>
ah ty
<_uvos__>
and the mainline kernel as of recent patches refuses to charge a battery without a thermistor
<_uvos__>
but while adding that i added the option
<_uvos__>
ignore_temperature_probe=1 to cpcap_battery
<stano>
:) very nice :)
<_uvos__>
to reenable charging
<_uvos__>
ofc you accept the (small) risks inherent in charging a battery with no thermistor
<stano>
mine has the little battery protection board on it
<_uvos__>
i wound remove that
<_uvos__>
*would
<stano>
ah did you do that on the polarcell?
<_uvos__>
yes
<_uvos__>
or rather there was none on that one iirc
<stano>
did you have to spot-weld wires onto the tabs of the polarcell or could you solder?
<_uvos__>
spot weld
<_uvos__>
cpcap is real tocuhy about ir and dosent like being prevented from charging the bat charging
<_uvos__>
so never connect usb with something other than a battery connected
<_uvos__>
and the bms of some bat might get in the way with overzealus overcharging protection
<parazyd>
_uvos__: The first one here http://ix.io/3sWY isn't what mce expects for example
rafael2k has joined #maemo-leste
stano has quit [Ping timeout: 265 seconds]
pere has quit [Ping timeout: 255 seconds]
<_uvos__>
sure mce gets this from iio-sensor-proxy and iio-sensor proxy gets this by applying the udev matrix
<_uvos__>
its easy to do this
<_uvos__>
its just a normal transofrmation matrix.
<_uvos__>
0 -1 0
<_uvos__>
1 0 0
<_uvos__>
0 0 1
<_uvos__>
should be a 90 deg rotation
<_uvos__>
around z
<_uvos__>
check out leste-config for mapphones on the syntax required
<_uvos__>
you want to rotate left tho
<_uvos__>
so i gues its
<_uvos__>
0 1 0
<_uvos__>
-1 0 0
<_uvos__>
0 0 1
_uvos___ has joined #maemo-leste
_uvos__ has quit [Ping timeout: 255 seconds]
<parazyd>
_uvos__: ok, then I'm understanding it correctly, it's just that it's not being read in udev