Commit Graph

218 Commits

Author SHA1 Message Date
Patrik Jakobsson
7d5e66fef7 fthd/v4l2: Fix queue setup because of API changes
We also remove the multiple plane support from queue setup. This will
need to be fixed up again to support planar formats.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-05-01 13:44:21 +02:00
Patrik Jakobsson
8cc44d67f3 Merge pull request #63 from ColinHarrington/cleanup-gitignore
Cleanup gitignore
2016-03-01 15:22:59 +01:00
Colin Harrington
2894ef6d13 ignore binary .deb and .tgz files 2016-02-18 09:15:52 -06:00
Colin Harrington
6c7f150083 ignore .tmp_versions & other items created when installing via checkinstall 2016-02-18 09:14:27 -06:00
Colin Harrington
6fa2b61339 ignore binary firmware files 2016-02-18 00:15:09 -06:00
Patrik Jakobsson
bb3c229956 Merge pull request #50 from mauritiusdadd/hotfix
Update firmware verions in the extraction script
2016-02-01 00:06:19 +01:00
Patrik Jakobsson
8c7e3cd510 Merge pull request #56 from askulysh/master
fix fw_args init.
2016-01-28 15:46:45 +01:00
Andriy Skulysh
5201e3f372 facetimehd: fix fw_args init.
Signed-off-by: Andriy Skulysh <askulysh@gmail.com>
2016-01-28 15:46:58 +02:00
Patrik Jakobsson
186e9f9101 Merge pull request #55 from askulysh/master
facetimehd: fix fthd_hw_ddr_rewrite_mode_regs()
2016-01-27 00:03:02 +01:00
Andriy Skulysh
0d9c17e4b9 facetimehd: fix fthd_hw_ddr_rewrite_mode_regs()
I've got correct values from
4e1d11e205e5c55d128efa0029b268fe firmware.
It resolves issue #35


Signed-off-by: Andriy Skulysh <askulysh@gmail.com>
2016-01-26 02:53:34 +02:00
Maurizio D'Addona
d1c2ba183c Update firmware verions in the extraction script 2016-01-24 07:58:56 +01:00
Patrik Jakobsson
4baf5e9354 Merge pull request #42 from mauritiusdadd/hotfix
Add dependecy checking for programs needed to download the driver
2016-01-17 14:16:41 +01:00
Maurizio D'Addona
ced15ba693 Update the help message of the extraction script 2016-01-17 12:32:10 +01:00
Maurizio D'Addona
9e502dada8 Update the extraction script 2016-01-17 12:20:53 +01:00
Maurizio D'Addona
b905ccdcae Add dependecy checking to the download script 2016-01-10 13:26:28 +01:00
Patrik Jakobsson
dc55cf3a18 facetimehd: Fail when too small buffers are requested
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-01-03 15:41:22 +01:00
Patrik Jakobsson
766030b5ea facetimehd: Fix include guards in fthd_drv.h
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-01-03 15:39:37 +01:00
Patrik Jakobsson
96de215c26 facetimehd: Lower max resolution to known good values
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-01-03 13:35:29 +01:00
Patrik Jakobsson
0f646b3660 facetimehd: Fix read io mode
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-01-03 13:17:34 +01:00
Patrik Jakobsson
7317a76771 Merge pull request #27 from mauritiusdadd/master
Add download and extraction script for the OS X firmware version 1.43
2015-12-31 14:55:33 +01:00
Patrik Jakobsson
b5e3e74daa facetimehd: Hack the suspend/resume handlers
This is a temporary fix for suspend/resume. It'll unload and reload the
entire driver on suspend/resume. This will obviously not work if the
device is not closed. Also, remove the PCI_VDEVICE macro.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-31 14:41:18 +01:00
Patrik Jakobsson
959ae39f9d facetimehd: Rework some of the IRQ handling
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-31 14:41:18 +01:00
Patrik Jakobsson
581c909a3f facetimehd: Rename firmware control registers
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-31 14:41:17 +01:00
Patrik Jakobsson
0617a86642 facetimehd: Name the known IRQ registers
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-31 14:41:17 +01:00
Maurizio D'Addona
a5567bff6c Add some improvements to the makefile 2015-12-29 17:20:34 +01:00
Maurizio D'Addona
41b3eca3a1 Add download and extraction scripts for OS X firmware 1.43 2015-12-29 12:33:16 +01:00
Patrik Jakobsson
c5ca5b6e20 Merge pull request #21 from hobarrera/readme-improvements
Minor README improvements
2015-12-25 20:54:44 +01:00
Hugo Osvaldo Barrera
2d04716156 Tidy up README and move info to the wiki
We'll be keeping the wiki up to date, so remove redundant (and partially
outdated) information from the README.
2015-12-25 12:36:17 -03:00
Maurizio D'Addona
4e69c7ba1b Add universal extraction script for both OS X and Windows drivers 2015-12-24 10:44:01 +01:00
Patrik Jakobsson
6a120799f1 facetimehd: Add new firmware extraction scripts
And remove the broken ones.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-06 15:23:05 +01:00
Patrik Jakobsson
2b45fb581a facetimehd: Add control for auto white balance
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-06 14:47:26 +01:00
Patrik Jakobsson
eb3e43505d facetimehd: Allow loading of set file to fail
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-06 14:45:38 +01:00
Sven Schnelle
abdb6cd603 facetimehd: add missing struct dentry for debugfs to struct fthd_privatew 2015-12-01 21:15:05 +01:00
Sven Schnelle
ab647bf462 facetimehd: add unique device name to debugfs dir 2015-12-01 09:40:47 +01:00
Sven Schnelle
edefad16ba facetimehd: remove unneeded header files in fthd_debugfs.h 2015-12-01 09:29:04 +01:00
Sven Schnelle
ea4e874e45 facetimehd: switch to debugfs 2015-12-01 09:26:46 +01:00
Patrik Jakobsson
4d67b02371 Merge branch 'my_fixes' of git://github.com/sschnelle/facetimehd 2015-11-30 21:57:44 +01:00
Patrik Jakobsson
5ad66dbd5e facetimehd: Add missing init of planes 2015-11-30 21:54:12 +01:00
Patrik Jakobsson
7532c491b7 facetimehd: Only allow framesizes for formats we support 2015-11-30 21:15:53 +01:00
Patrik Jakobsson
230e57ae45 facetimehd: Rework and fix _G_FMT/_S_FMT/_TRY_FMT 2015-11-30 21:13:26 +01:00
Patrik Jakobsson
3f5fa56ae3 facetimehd: Add basic event subscription 2015-11-30 21:13:26 +01:00
Sven Schnelle
a8c3278948 facetimehd: don't report that we can do tv standards 2015-11-30 20:26:31 +01:00
Sven Schnelle
4dd6f5459e facetimehd: remove V4L2_CAP_TIMEPERFRAME 2015-11-30 20:08:10 +01:00
Sven Schnelle
a0118922b6 Revert "facetimehd: remove explicit V4L2_CAPTURE capability"
This reverts commit b9cf9afb31.
2015-11-30 18:26:34 +01:00
Sven Schnelle
b9cf9afb31 facetimehd: remove explicit V4L2_CAPTURE capability 2015-11-30 18:23:44 +01:00
Sven Schnelle
ced9f7805e facetimehd: add support for dumping ringbuffer via sysfs 2015-11-30 14:42:30 +01:00
Sven Schnelle
6242aaa624 facetimehd: make get_entry_addr() public 2015-11-30 14:41:56 +01:00
Sven Schnelle
5608b8b00f facetimehd: add sysfs functions
Introduce a new debug sysfs file, which accepts the following commands:

ps - show task running in firmware
banner - show startup banner
get_root - get ROOT object
heap - show heap statistics
irq - show irq statistics
semaphore - show semaphore status
wiring - show wiring status
get_object_by_name %s - get address for object
get_fsm_by_name %s - get address for FSM
dump_object %p - show information about object
dump_objects - dump all objects (NOTE: will crash firmware)
show_objects - show graph about all objects known
get_debug_level - get debug level for object
set_debug_level - set debug level for object
set_debug_level_rec - set debug level recursive for all objects
get_fsm_count - get count of FSM's
get_fsm_by_index - get fsm address for index
get_fsm_debug_level - get debug level for fsm
set_fsm_debug_level - set debug level for fsm
2015-11-30 11:57:10 +01:00
Sven Schnelle
59c279a5f3 facetimehd: check command status in fthd_isp_cmd() 2015-11-30 11:50:26 +01:00
Sven Schnelle
cf1e7c2dfb facetimehd: add function to send debug commands to the firmware 2015-11-30 11:49:59 +01:00