khorben
c31b1e76e3
Using a sysmon taskqueue to report events; fixes crashes when booting
...
multi-user while calling sysmon_pswitch_event().
Imported from the khorben-n900 branch
2013-06-03 01:47:58 +00:00
khorben
d5e81cb201
Added two drivers for the Nokia N900 smartphone, n900_audjck(4) and
...
n900_prxmty(4), to detect the insertion of audio jacks and obstruction of
the front light sensor, respectively.
Tested on my own device.
2013-05-06 22:56:54 +00:00
khorben
df80140090
Imported the n900cambtn(4), n900camcvr(4) and n900kbdsld(4) drivers for the
...
Nokia N900, all attaching to the GPIO bus, respectively handling:
- the camera button (focus and capture)
- the camera cover slide;
- the keypad slide.
2013-04-20 03:37:55 +00:00
khorben
c06740deca
Fixed the arguments order when calling intr_establish(): the interrupt
...
type and level were erroneously swapped.
2013-04-18 02:08:11 +00:00
khorben
883d7b65e0
Improved n900acad(4) with:
...
- more readable dmesg output;
- unmapping the GPIO pin upon failure to establish an interrupt;
- some additional cosmetics.
2013-04-17 01:10:28 +00:00
khorben
c6f00f69ca
Imported n900lckbtn(4), a driver for the lock button on the Nokia N900
...
smartphone. Currently reporting events via a hotkey, named after the driver
instance.
Tasted and approved.
2013-04-17 01:06:13 +00:00
khorben
184c45145a
Corrected the dmesg output upon successful attachment
2013-04-14 20:18:17 +00:00
khorben
d21fbac9bf
Imported n900acad(4), a driver for the Nokia N900 reporting the charging
...
status through sysmon_envsys(9).
XXX need a better way to locate the interrupt (documented)
2013-04-14 19:17:06 +00:00