[haiku-bugs] Re: [Haiku] #11280: Intermittent no USB on boot

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Sun, 04 Oct 2015 09:23:22 -0000

#11280: Intermittent no USB on boot
---------------------------+---------------------------------
Reporter: vidrep | Owner: mmlr
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Drivers/USB | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking: 11234, 11432, 12355
Has a Patch: 0 | Platform: All
---------------------------+---------------------------------

Comment (by ttcoder):

Here's a tentative outline for others to flesh out if I missed something:

- [https://www.haiku-os.org/guides/building/get-source-git Get the source]
(if not already downloaded previously): create a folder and from within
it, run `git clone git://git.haiku-os.org/haiku` (if on the other hand
you already had the source, just run "git pull" to make sure it's up to
date).
- configure the build of the input_server component: locate the file
"haiku/build/jam/UserBuildConfig" and add this line inside: `SetConfigVar
DEBUG : HAIKU_TOP src servers input_server : 3 : global ;` , keeping it
exactly like this (don't forget the white spaces anywhere).

If that doesn't work for you (didn't for me), instead locate the file
"haiku/src/servers/input/Jamfile" and add the DEBUG variable as a line
around third position such that it looks like this:

{{{
SubDir HAIKU_TOP src servers input ;
SetSubDirSupportedPlatformsBeOSCompatible ;

DEBUG = 1 ;
}}}

- run `jam input_server` ; check that it produces its output in
"haiku/generated/objects/haiku/x86_gcc2/debug_1/...." and NOT in
"haiku/generated/objects/haiku/x86_gcc2/release/...".


Once you successfully have a debug build of input_server, we'll look into
having it executed in place of the normal one; shouldn't be trouble as
that one can be picked by signature, so we probably won't need to set you
up with an .hpkg file ..etc.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11280#comment:51>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: