Robin Mallinson
|
d6e1b2efe5
|
Add skeleton of allocation code for kmalloc and kfree. Currently allocates a dummy storage area.
|
2012-11-18 14:36:05 +00:00 |
|
Robin Mallinson
|
4b87d814df
|
Add crude 'written_data' array so dev_read simply echos verbatim what was written to dev_write without probing the actual DMA control block data. This gives no clue as to whether the DMA control bloack has been programmed but does mean that Richard's control code - which has a special case for delay=0 - does not require changing. Next steps are to have an array per-process.
|
2012-11-18 14:09:45 +00:00 |
|
Robin Mallinson
|
94c2aab61b
|
Revert to original code re: setting delay, so we again have a delay of 1
for a pulse of zero. Will frig the display issues by using an array that
stores written cnt rather than deriving it from actual register data.
|
2012-11-18 13:47:30 +00:00 |
|
Robin Mallinson
|
210487e868
|
Update README to reflect new behaviour
|
2012-11-13 00:07:02 +00:00 |
|
Robin Mallinson
|
62f326001c
|
Refactor to amke the only difference between the code paths a little more obvious.
|
2012-11-13 00:02:11 +00:00 |
|
Robin Mallinson
|
e3230cb8d2
|
Make servoblaster write pulse high length even when cnt=0. Also change default tick high from 1 to zero.
|
2012-11-12 23:49:39 +00:00 |
|
Robin Mallinson
|
3125b76135
|
Fix typo and use rather than '.'
|
2012-11-11 21:50:33 +00:00 |
|
Robin Mallinson
|
58cf5da5b8
|
Remove comments that don't apply to this branch, and add comments that do.
|
2012-11-11 21:10:24 +00:00 |
|
Robin Mallinson
|
b4463ce836
|
Update readme to show output format of /dev/servoblaster.
Note that they show a value of 1 rather than the expected 0 initially.
|
2012-11-11 21:02:26 +00:00 |
|
Robin Mallinson
|
1e13f39908
|
Update readme to show output format of /dev/servoblaster.
Note that they show a value of 1 rather than the expected 0 initially.
|
2012-11-11 20:57:52 +00:00 |
|
Robin Mallinson
|
683e4b4d2b
|
Fix case.
|
2012-11-11 20:48:24 +00:00 |
|
Robin Mallinson
|
8002904e4e
|
Enable dev_read code, plus fix a couple of syntax errors (the code hadn't been compiled).
It appears to work at a cursory level:
pi@raspberrypi ~/src/PiBits/ServoBlaster $ sudo insmod ./servoblaster.ko
pi@raspberrypi ~/src/PiBits/ServoBlaster $ ls -l /dev/servoblaster
crw-rw-rw- 1 root root 251, 0 Nov 11 19:22 /dev/servoblaster
pi@raspberrypi ~/src/PiBits/ServoBlaster $ cat /dev/servoblaster
0 1
1 1
2 1
3 1
4 1
5 1
6 1
7 1
pi@raspberrypi ~/src/PiBits/ServoBlaster $
|
2012-11-11 19:23:41 +00:00 |
|
Robin Mallinson
|
dd49a2f394
|
split install into base install and install_autostart
|
2012-11-11 19:10:22 +00:00 |
|
Robin Mallinson
|
38d0ea5a44
|
Fix /etc/modules editing logic
|
2012-11-11 14:08:40 +00:00 |
|
Robin Mallinson
|
ebf40e4cee
|
Enable make install to edit /etc/modules
|
2012-11-11 14:00:43 +00:00 |
|
Robin Mallinson
|
9e94f8bfd0
|
Remove init.d scripts which are inappropriate for a kernel driver and replace with a depmod command
|
2012-11-11 13:17:30 +00:00 |
|
Robin Mallinson
|
110e478061
|
Use insserv instead of update-rc.d.
|
2012-11-11 13:01:25 +00:00 |
|
Robin Mallinson
|
ce50c64065
|
Enabled install clause.
|
2012-11-11 11:07:01 +00:00 |
|
Robin Mallinson
|
f1ff531a94
|
**UNTESTED** on the pi itself.
Start off a dummy install script, which just echoes the commands.
|
2012-11-11 02:03:47 +00:00 |
|
Robin Mallinson
|
fd2d771d1e
|
Add dev_read() function to driver to allow it to report current settings
for each of the 8 PWMs via /dev/servoblaster.
|
2012-11-05 22:23:45 +00:00 |
|
Richard Hirst
|
da669a303d
|
Updated for kernel Linux raspberrypi 3.2.27+ #151 PREEMPT Fri Sep 14 17:00:51 BST 2012 armv6l GNU/Linux
|
2012-09-15 21:40:27 +01:00 |
|
Richard Hirst
|
25b3c962a8
|
Rebuilt for Linux version 3.2.27+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #90 PREEMPT Wed Aug 29 22:58:42 BST 2012
|
2012-08-31 09:05:23 +01:00 |
|
Richard Hirst
|
2b9f76dd88
|
Updates to allow tweaking timing via module parameters
|
2012-08-30 21:58:53 +01:00 |
|
Richard Hirst
|
7a3345778e
|
Panalyzer showing 4 servo outputs
|
2012-08-19 17:38:49 +01:00 |
|
Richard Hirst
|
aa1d3ece80
|
Typo
|
2012-08-19 17:18:04 +01:00 |
|
Richard Hirst
|
d8df9b7625
|
Added ServoBlaster
|
2012-08-19 17:11:33 +01:00 |
|
richardghirst
|
257ab3065a
|
Initial commit
|
2012-08-19 07:55:47 -07:00 |
|