Date: Thu, 18 Aug 2016 09:48:59 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Lee D <embaudarm@gmail.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Can't compile ukbd into the kernel, or load it with kldload Message-ID: <29fc92d8-b177-591d-620f-1876a136709a@selasky.org> In-Reply-To: <CANC_bnMA6e5k58qSv9%2B0s0u10500dJRenn_rQ4fkJixBg2zdug@mail.gmail.com> References: <CANC_bnMA6e5k58qSv9%2B0s0u10500dJRenn_rQ4fkJixBg2zdug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/18/16 04:58, Lee D wrote: > Hi Everyone, > > I am trying to get a USB keyboard working on FreeBSD arm, for Zynq. > > My problem is that trying to "kldload ukbd" gives me this error: > > link_elf: symbol genkbd_get_fkeystr undefined > > When I try to compile ukbd into the kernel, using "device ukbd" in my > config file, I get an undefined reference error for that symbol and a bunch > of others. > > The functions I need seem to be defined in src/sys/dev/kbd/kbd.c. But I > can't seem to get that file to compile. "device kbd" in my kernel > configuration file gives me a "device "kbd" is unknown" error. > > Does anyone know how I can get src/sys/dev/kbd/kbd.c to compile as part of > my kernel? Hi, The following line in conf/files says that if you add "vt", "sc" or "ukbd" device options to the kernel config, kbd.c will be compiled. conf/files:dev/kbd/kbd.c optional atkbd | pckbd | sc | ukbd | vt --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29fc92d8-b177-591d-620f-1876a136709a>