RE: ukbd.c: error: use of undeclared identifier 'key_map'

2016-03-10 Thread Brendan Sechter



> Subject: Re: ukbd.c: error: use of undeclared identifier 'key_map'
> To: sg...@hotmail.com; freebsd-current@freebsd.org; ema...@freebsd.org
> From: h...@selasky.org
> Date: Thu, 10 Mar 2016 08:00:02 +0100
>
> On 03/09/16 23:04, Brendan Sechter wrote:
>> Hello-
>>
>> My kernel fails to build when I specify a default keymap. The problem 
>> appears to
>> exist in both atkbd(4) and ukbd(4). My last build appears to have succeeded 
>> in
>> September of last year. That may have been when I added the option.
>>
>> My kernel config and the failing build output for ukbd are below. The 
>> VIRTUALBOX
>> kernel config below built without issue.
>>
>> Regards,
>> -Brendan
>>
>
> Hi,
>
> Given the heavy rework in the console area in 11-current I'm not sure if
> this feature works any more or if it needs to be updated. Maybe Ed Maste
> knows?
>
> --HPS

I tried a couple more builds and the *KBD_DFLT_KEYMAP options do appear
to be the problem.  This works.

# AT Keyboard
device          atkbdc
device          atkbd
#options         ATKBD_DFLT_KEYMAP
#makeoptions     ATKBD_DFLT_KEYMAP=jp.106

# USB Keyboard
device          ukbd
#options         UKBD_DFLT_KEYMAP
#makeoptions     UKBD_DFLT_KEYMAP=jp.106

This does not.

# AT Keyboard
device          atkbdc
device          atkbd
options         ATKBD_DFLT_KEYMAP
#makeoptions     ATKBD_DFLT_KEYMAP=jp.106

# USB Keyboard
device          ukbd
options         UKBD_DFLT_KEYMAP
#makeoptions     UKBD_DFLT_KEYMAP=jp.106

Regards,
-Brendan  
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ukbd.c: error: use of undeclared identifier 'key_map'

2016-03-09 Thread Hans Petter Selasky

On 03/09/16 23:04, Brendan Sechter wrote:

Hello-

My kernel fails to build when I specify a default keymap.  The problem appears 
to
exist in both atkbd(4) and ukbd(4).  My last build appears to have succeeded in
September of last year.  That may have been when I added the option.

My kernel config and the failing build output for ukbd are below.  The 
VIRTUALBOX
kernel config below built without issue.

Regards,
-Brendan



Hi,

Given the heavy rework in the console area in 11-current I'm not sure if 
this feature works any more or if it needs to be updated. Maybe Ed Maste 
knows?


--HPS

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


ukbd.c: error: use of undeclared identifier 'key_map'

2016-03-09 Thread Brendan Sechter
Hello-

My kernel fails to build when I specify a default keymap.  The problem appears 
to
exist in both atkbd(4) and ukbd(4).  My last build appears to have succeeded in
September of last year.  That may have been when I added the option.

My kernel config and the failing build output for ukbd are below.  The 
VIRTUALBOX
kernel config below built without issue.

Regards,
-Brendan

root@mirage:/usr/src # cat sys/amd64/conf/MIRAGE_KERNEL 
#include GENERIC
include VIRTUALBOX
ident MIRAGE

# AT Keyboard
device          atkbdc
device          atkbd
options         ATKBD_DFLT_KEYMAP
makeoptions     ATKBD_DFLT_KEYMAP=jp.106

# USB Keyboard
device          ukbd
options         UKBD_DFLT_KEYMAP
makeoptions     UKBD_DFLT_KEYMAP=jp.106

# ALTQ for pf
options         ALTQ
options         ALTQ_PRIQ               # Priority Queuing (PRIQ)

# cat sys/amd64/conf/VIRTUALBOX 
cpu             HAMMER
ident           VIRTUALBOX

options         SCHED_ULE               # ULE scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         IPSEC                   # IP (v4/v6) security
options         TCP_OFFLOAD             # TCP offload
options         SCTP                    # Stream Control Transmission Protocol
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
options         QUOTA                   # Enable disk quotas for UFS
options         NFSCL                   # Network Filesystem Client
options         NFSD                    # Network Filesystem Server
options         NFSLOCKD                # Network Lock Manager
options         NFS_ROOT                # NFS usable as /, requires NFSCL
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization
options         COMPAT_FREEBSD32        # Compatible with i386 binaries
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options         PRINTF_BUFR_SIZE=128    # Prevent printf output being 
interspersed.
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         HWPMC_HOOKS             # Necessary kernel hooks for hwpmc(4)
options         AUDIT                   # Security event auditing
options         CAPABILITY_MODE         # Capsicum capability mode
options         CAPABILITIES            # Capsicum capabilities
options         MAC                     # TrustedBSD MAC Framework
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
options         RACCT                   # Resource accounting framework
options         RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
options         RCTL                    # Resource limits

# Make an SMP-capable kernel by default
options         SMP                     # Symmetric MultiProcessor Kernel

# CPU frequency control
device          cpufreq

# Bus support.
device          acpi
options         ACPI_DMAR
device          pci
options         PCI_IOV                 # PCI SR-IOV support

# ATA controllers
device          ahci                    # AHCI-compatible SATA controllers
device          ata                     # Legacy ATA/SATA controllers
options         ATA_STATIC_ID           # Static device numbering

# ATA/SCSI peripherals
device          scbus                   # SCSI bus (required for ATA/SCSI)
device          da                      # Direct Access (disks)
device          cd                      # CD
device          pass                    # Passthrough device (direct ATA/SCSI 
access)
device          ses                     # Enclosure Services (SES and SAF-TE)
#device         ctl                     # CAM Target Layer

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc                  # AT keyboard controller
device          atkbd                   # AT keyboard
device          psm                     # PS/2 mouse

device          kbdmux                  # keyboard multiplexer

device          vga                     # VGA video card driver
options         VESA                    # Add support for VESA BIOS Extensions 
(VBE)

device