View Single Post
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#36
Originally Posted by sulu View Post
RE: critical speaker frequency:
According to this [1] 480Hz is either the critical frequency or well on the safe side. (I'm no audio expert)
So muting everything below that frequency in alsamixer should make audio safe.
Who want's to play the guinea pig?
You could test it first with headphones plugged in (assuming the audio will automatically be redirected to the headphone jack, I've not tested this myself but I can confirm that the kernel does detect when headphones have been plugged in).

I'd personally prefer a solution that works at driver level if possible. That way it would cover all possible audio configurations.

Originally Posted by sulu View Post
On another note, I finally got around to install Debian on real hardware, installed LXDE and it works mostly fine.

I found some small issues:

1. After a reboot when I select Maemo (CSSU thumb kernel sitting on eMMC) the first attempt to boot will always fail at the 5 dots of dread, the second one will always be fine. No idea if it's a Debian, a u-boot or a CSSU thumb thing.
I experience this sometimes too. I think lifeguard timer is being triggered and is resetting the device. Try activating R&D mode to see if that makes a difference.

Originally Posted by sulu View Post
2. In LXDE tapping the screen will always trigger the right mouse button which makes it hard to control the desktop. I guess that's manageable via evdev. Reading man evdev also revealed that tap-hold for right click can be configured via evdev and therefore desktop-independent.
Originally Posted by sulu View Post
I played a bit:
How do I configure evdev in DebiaN900?
I need to figure out which is the correct device. Usualy it's done like this (output from my PC):
Code:
$ find /dev/input/by-id/ -name "*event-mouse"
/dev/input/by-id/usb-Logitech_USB_Mouse-event-mouse
But on the N900 the whole by-id directory isn't there:
Code:
$ ls /dev/input/
by-path  event0  event1  event2  event3  mice  mouse0
In short: I have no idea how to change the mouse button mapping now.
When did you grab the scripts? On 8th October I merged this pull request from Niko2040. Perhaps the EmulateThirdButtonTimeout value needs tweaking. evdev is normally configured in xorg.conf.

Originally Posted by sulu View Post
3. I noticed that the CLI and GUI keymaps differ (e.g. no Tab via Shift+Space in GUI). Where is the CLI keymap defined for comparison?
X11 uses a separate key map. Both key maps are taken from Arch Linux for the N900 as mentioned in the first post. The X11 key map has some problems that are yet to be fixed that have been inherited from the Arch patches. The console key map gets installed with this command and then ends up under /etc/console/boottime.kmap.gz

Originally Posted by sulu View Post
4. LXDE battery monitor may not work. I say "may" because I only tried with power cable connected.
Originally Posted by sulu View Post
No, it doesn't work. Afair the reason is that it only looks in /sys/class/power_supply/BAT* but it should look in /sys/class/power_supply/bq27200-0
I had a look at the code long ago and I believe this is easily changed. But on the other hand I could have sworn there is a way to configure this without recompilation, which doesn't seem to be true - so no idea how accurate my memory is here.
E17 has the same issue although I've not yet looked into it. If the problem is as you describe, I wonder if it could be worked around by creating symlinks.

Originally Posted by sulu View Post
Other than that I'm quite impressed.
btw. is there an easy way to overclock the CPU within Debian, probably the same way KP does it in Maemo?
I'm personally not interested in overclocking so I haven't looked into that at all. I would assume it would be similar to KP under Maemo but bare in mind that things may have changed in recent kernels.

Originally Posted by sulu View Post
I didn't try phone functions so far, but I'll try soon. Unfortunately the fso-deviced package isn't installable on i386/amd64 atm. Not sure if it's any better on armhf. I guess it's due to changes in connection with systemd introduction (but right now it doesn't work with sysvinit either).]
Originally Posted by sulu View Post
It doesn't install on armhf either, with the same error. I filed a bug report:
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=766114
Note that my scripts revert to good old System V init (at least for now). When Debian changed the default init system to systemd, it broke the N900 power button functionality. I'm loathed to troubleshoot problems with Lennartware so I installed System V init and within an instant all sanity was restored!

oFono is also available for Debian if you want to try an alternative to FSO.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer
 

The Following 5 Users Say Thank You to wicket For This Useful Post: