Commit Graph

7434 Commits

Author SHA1 Message Date
Rudolf Cornelissen
1c750281d6 verified that load detection doesn't work on dac2 on G71: so disabled this there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 08:22:09 +00:00
Oliver Ruiz Dorantes
a58b3b3235 Implement a bit further the sockets interface
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 19:07:24 +00:00
Philippe Houdoin
5daa1139f6 No wonder acpi_thermal didn't load: _TZ_ (thermalzone), along _PR_ (processor),
_SB_ (System Busses) and _SI_ (System Info) root nodes wasn't published 
as device manager nodes, only their subnodes, if any.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 00:42:45 +00:00
Philippe Houdoin
2226913b43 Fix header guard name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 23:44:16 +00:00
Stephan Aßmus
8ac8a808e4 Patch by idefix:
* Use the correct interface index for the control transfer that sets a Wacom
  tablet into tablet mode.
* Check if the mode is indeed setup correctly.
* Retry switching the mode up to five times, as done in the Linux driver.

Thanks a bunch! As Michael has proposed in ticket #3744, the whole Wacom
driver should be merged into the existing HID driver framework (eventually).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 10:33:18 +00:00
Philippe Houdoin
6411e0d21f Removed duplicate kernel_cpp.h, now using the one in headers/private/kernel/util.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 08:14:22 +00:00
Michael Lotz
38a1d67039 Fix copy&paste typos. Thanks Urias for spotting!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 00:18:17 +00:00
Michael Lotz
04aa141beb Adding a VMWare mouse input server filter add-on. It supports the same io port
based protocol as the X vmmouse driver does. It yields proper absolute pointer
positions under both the normal VMWare console and using the builtin VNC server.
Therefore "fixes" the issue seen in #4630.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 00:09:13 +00:00
Philippe Houdoin
d0f3c92bb2 Fix usb_asix build under gcc4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 17:03:14 +00:00
David McPaul
4966c05232 register another xvid fourcc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 09:26:00 +00:00
Philippe Houdoin
c82b73bd02 Forgot to fix those, too. Maybe because they're useless, to say the
least.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 03:14:38 +00:00
Philippe Houdoin
62f9de87b0 Moved Mesa libs (mesa, glu & glut) under src/libs/mesa, where it should have
been since long already.
This should help aljen reintegrate his gallium branch sooner than later, 
which after the speed improvment on softpipe made last days will 
be welcomed, I'll bet ;-)

Maybe it's possible to even have both current Mesa Software Renderer add-on 
*and* Gallium-based SoftPipe one. Will need to actually support renderer 
selection (in OpenGL preference panel or via a missing OpenGL Kit API), 
as today the first add-on found is the only one ever selected...



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 01:50:30 +00:00
Philippe Houdoin
46b4cc5651 Unbreak acpi_thermal driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 23:47:10 +00:00
Jérôme Duval
b964c116d7 * handles correctly failures during setup
* style fixes
* fixed warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:41:12 +00:00
Jérôme Duval
430889581a * handles correctly failures during setup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:40:33 +00:00
Jérôme Duval
b5929aa12e * handles correctly failures during setup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:39:59 +00:00
Jérôme Duval
65c7c7c383 * handles correctly failures during setup
* style fixes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:39:38 +00:00
Jérôme Duval
b5d916002b * handles correctly failures during setup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:38:11 +00:00
Philippe Houdoin
a9e916dc25 Install default address space handlers too during startup.
Without them, embedded controler may have issue accessing some addresses before 
installing his own handlers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:45:44 +00:00
Philippe Houdoin
32b3986c09 Added a very nice Icons screensaver, by Vincent Duvert.
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:03:51 +00:00
Philippe Houdoin
f2f265930d * Made DPC an ACPI module dependency
* Moved DPC queue creation / deletion before/after ACPI subsystem 
  init/shutdown repectively, as AcpiInitializeObjects() would 
  eventually trigger some AcpiOsExecute() call, which need DPC to be ready.
* Still missing:  a DPC queue that run each call in its own thread, not sequentially...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 17:36:49 +00:00
Michael Lotz
eea7b7309f When writing a fresh MBR on initialization, also write boot code to it. It uses
the combined PMBR/MBR bootloader from FreeBSD done by André Braga. It will
chainload either a Haiku GUID partition or fallback to the partition marked
active in the MBR.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 15:24:46 +00:00
David McPaul
cf78cd8986 improve workaround
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 11:43:41 +00:00
David McPaul
d88759d47a Add workaround for some broken avi files with 0 length chunks. See issue 4620
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 10:13:20 +00:00
Rudolf Cornelissen
51e7cfd2bb modified head selection code for most NV40 architecture cards since their BIOSes behave differently. This should fix black or disabled screens if the secondary connector has a VGA screen while the first one is disconnected. verified on NV43, NV44, G71 and G72 over here. Bumped version to 1.05.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 19:17:35 +00:00
Michael Lotz
c7980f8d06 Add a pseudo condvar implementation and two more functions, just enough to get
all the USB drivers working with this single compat header. Usefulness might
be questionable, but since I did the work anyway, why not check it in as well...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 05:39:03 +00:00
Michael Lotz
e65227c272 * Error out on the num events ioctl in case the device was removed, otherwise
the original BeOS input_server will fail to detect the error and never close
  the device.
* Remove the empty kernel_cpp header and use the one from kernel util instead.
* Add some missing headers for completeness.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 05:30:04 +00:00
Michael Lotz
ecd60dec1a Removing unused BeOS compatibility header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 02:26:54 +00:00
Michael Lotz
8b6349fd32 * Add a missing result assign that would cause the synchronize ioctl to always
return an error.
* Properly use the name length instead of a hardcoded buffer size when composing
  the name of the raw device and ensure proper termination.
* Case new ioctls for Haiku as the target platform. Indeed this driver works
  fine on BeOS even though it was written natively for Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 02:16:47 +00:00
Michael Lotz
1393394ba6 We need to guarantee that when cancel returns that the callback won't be called
anymore. It could happen that the transfer was already in the process of being
finished, so wasn't in the list of pending transfers anymore. Cancel would then
return even though the callback wasn't called yet. This could lead to a callback
being called after a driver was already unloaded (even after it cleaned up the
pipes it used).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 01:59:05 +00:00
Michael Lotz
be71ca4f57 Some minor updates just in case someone really tries to build on BeOS (with an external build system, as natively building is not supported anymore).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 22:02:57 +00:00
Jérôme Duval
53ef0850a7 patch from Fredrik Holmqvist:
* oshaiku.c is based on a different original from a stub, therefore it
looks like a lot of comment changes.
* achaiku.h is redone completely.
* dpc is added as boot module.
* acpi_busman.c now does all mandatory steps to init.
* style fixes
* added another acpi kernel settings to avoid full init for debugging.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 21:10:18 +00:00
Artur Wyszynski
bf2de2050d * Added double-buffering
* Resolved a vsync TODO


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 01:02:15 +00:00
Rene Gollent
bd61cb15e6 Needed for module to actually be loadable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 00:04:03 +00:00
Oliver Tappe
9e3d9284f8 * fix build of udf with gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 20:47:18 +00:00
Rene Gollent
e4823008da Accidental edit left in place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 04:20:33 +00:00
Rene Gollent
20d8499530 Various changes to get this mostly compiling, with the exception of a template issue I don't yet completely understand.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 03:38:46 +00:00
Rudolf Cornelissen
7629e48591 fixed default driversettings to be correct when an empty nvidia.settings file is provided. error reported by tigerdog in bug #2948.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 13:31:43 +00:00
David McPaul
c3d1699fcd removed use of MMX registers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 11:15:13 +00:00
David McPaul
507cac021c C comments do not mix with assembly comments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 02:11:34 +00:00
David McPaul
6bfbea62cd Added SSE2 yuv to rgb conversion code. This code needs to move into the media kit though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 23:34:23 +00:00
Oliver Tappe
75f1522155 * reintegrated gsoc-locale-kit branch into trunk - there's more
work to do, but it's about time to give this code more exposure.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 22:23:34 +00:00
Gerasim Troeglazov
1720217701 Change interface name from atl1 to attansic_l1. Add driver to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-17 23:52:49 +00:00
Gerasim Troeglazov
7d3b9fd6c3 Update to actual AGE driver version. (Tested on real hardware - work fine)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-17 05:38:11 +00:00
Gerasim Troeglazov
68710d6a76 Attanstic/Atheros L1 Gigabit Ethernet [1969:1048] driver for Haiku. Port of FreeBSD driver from: http://people.freebsd.org/~yongari/age.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-16 12:47:30 +00:00
Rudolf Cornelissen
19e5e222ee improved modeline scaling for digitally connected screens. This fixes shifted output on screen mostly happening on 640x480 resolution, due to missing CRTC SYNC pulses (ticket #4442). Bumped version to 1.04.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-16 08:24:30 +00:00
Michael Lotz
9142bf3404 * Just use memset instead of a custom loop to clear the code area.
* Also rename it from pad1 to code_area as that's what it is.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-15 16:45:26 +00:00
Jérôme Duval
80377d9af5 merging acpica-20090903 into trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 22:18:58 +00:00
Philippe Houdoin
1c7f3645ac Fixed typo, spotted by korli.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 19:57:14 +00:00
Jérôme Duval
9b06eddbe8 missing newline
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 17:40:07 +00:00