Re: evdev broken

2017-12-31 Thread owner-freebsd-current

Shawn Webb writes:

>  > > > It looks like evdev support in the kernel is broken.
>  > > > sys/dev/kbdmux/kbdmux.c contains various unresolved symbols to
>  > > > different evdev-related symbols.
>  > > > 
>  > > > I have the following options in my kernel config:
>  > > > 
>  > > > options EVDEV_SUPPORT
>  > > > options EVDEV_DEBUG
>  > > > options UINPUT_DEBUG
>  > > 
>  > > Did you add "device evdev"?
>  > 
>  > Good catch! I did not. Adding now and I'll report back when
>  > buildkernel finishes.
>  
>  That did the trick. Thanks!
>  
>  Seems like evdev doesn't have a manpage, which is why I didn't
>  know to include it in my kernel config.

On a system running:

FreeBSD 12.0-CURRENT #0 r326723: Sat Dec  9 12:30:04 EST 2017  amd64

there is a man page, in section 4x.
That's the good news.
The bad news is I see no mention of needing to add anything to
the kernel; it's presented as a Xorg input device.
Reported as
"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224793;.



Respectfully,


Robert Huff

___
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: evdev broken

2017-12-29 Thread Shawn Webb
On Fri, Dec 29, 2017 at 02:36:34PM -0500, Shawn Webb wrote:
> On Fri, Dec 29, 2017 at 08:33:15PM +0100, Michael Gmelin wrote:
> > 
> > 
> > > On 29. Dec 2017, at 20:15, Shawn Webb  wrote:
> > > 
> > > Hey All,
> > > 
> > > It looks like evdev support in the kernel is broken.
> > > sys/dev/kbdmux/kbdmux.c contains various unresolved symbols to
> > > different evdev-related symbols.
> > > 
> > > I have the following options in my kernel config:
> > > 
> > > options EVDEV_SUPPORT
> > > options EVDEV_DEBUG
> > > options UINPUT_DEBUG
> > 
> > Did you add "device evdev"?
> 
> Good catch! I did not. Adding now and I'll report back when
> buildkernel finishes.

That did the trick. Thanks!

Seems like evdev doesn't have a manpage, which is why I didn't know to
include it in my kernel config.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


Re: evdev broken

2017-12-29 Thread Michael Gmelin


> On 29. Dec 2017, at 20:15, Shawn Webb  wrote:
> 
> Hey All,
> 
> It looks like evdev support in the kernel is broken.
> sys/dev/kbdmux/kbdmux.c contains various unresolved symbols to
> different evdev-related symbols.
> 
> I have the following options in my kernel config:
> 
> options EVDEV_SUPPORT
> options EVDEV_DEBUG
> options UINPUT_DEBUG

Did you add "device evdev"?

-m


> 
> Here's the build failure log:
> 
> linking kernel.full   
>   
>
> ld: error: undefined symbol: evdev_rcpt_mask  
>   
>
 referenced by kbdmux.c:1190 (/usr/src/sys/dev/kbdmux/kbdmux.c:1190)

  
  kbdmux.o:(kbdmux_init)

 
> 
> ld: error: undefined symbol: evdev_push_leds  
>   
>
 referenced by kbdmux.c:1191 (/usr/src/sys/dev/kbdmux/kbdmux.c:1191)
  kbdmux.o:(kbdmux_init)

 
> 
> ld: error: undefined symbol: evdev_alloc  
>   
>
 referenced by kbdmux.c:492 (/usr/src/sys/dev/kbdmux/kbdmux.c:492)
  kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_set_name 
 referenced by kbdmux.c:493 (/usr/src/sys/dev/kbdmux/kbdmux.c:493)
  kbdmux.o:(kbdmux_init) 
> 
> ld: error: undefined symbol: evdev_set_phys
 referenced by kbdmux.c:495 (/usr/src/sys/dev/kbdmux/kbdmux.c:495)
  kbdmux.o:(kbdmux_init) 
> 
> ld: error: undefined symbol: evdev_set_id 
>  
 referenced by kbdmux.c:496 (/usr/src/sys/dev/kbdmux/kbdmux.c:496)
  kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_set_methods   
 referenced by kbdmux.c:497 (/usr/src/sys/dev/kbdmux/kbdmux.c:497)
  kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
 referenced by kbdmux.c:498 (/usr/src/sys/dev/kbdmux/kbdmux.c:498)
  kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
 referenced by kbdmux.c:499 (/usr/src/sys/dev/kbdmux/kbdmux.c:499)
  kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
 referenced by kbdmux.c:500 (/usr/src/sys/dev/kbdmux/kbdmux.c:500)
  kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_event
 referenced by kbdmux.c:501 (/usr/src/sys/dev/kbdmux/kbdmux.c:501)
  kbdmux.o:(kbdmux_init)


> 
> ld: error: undefined symbol: evdev_support_all_known_keys
 referenced by kbdmux.c:502 (/usr/src/sys/dev/kbdmux/kbdmux.c:502)
  kbdmux.o:(kbdmux_init) 
> 
> ld: error: undefined symbol: evdev_support_led
 referenced by kbdmux.c:503 (/usr/src/sys/dev/kbdmux/kbdmux.c:503)
  kbdmux.o:(kbdmux_init)
> 
> ld: error: undefined symbol: evdev_support_led
 referenced by kbdmux.c:504 (/usr/src/sys/dev/kbdmux/kbdmux.c:504)
  kbdmux.o:(kbdmux_init)

 
> 
> ld: error: undefined symbol: evdev_support_led
 referenced by kbdmux.c:505 (/usr/src/sys/dev/kbdmux/kbdmux.c:505)
  kbdmux.o:(kbdmux_init)  
> 
> ld: error: undefined symbol: evdev_register   
 referenced by kbdmux.c:507 (/usr/src/sys/dev/kbdmux/kbdmux.c:507)
  kbdmux.o:(kbdmux_init)  
> 
> ld: error: undefined symbol: evdev_free   
>   
>
 referenced by kbdmux.c:508 (/usr/src/sys/dev/kbdmux/kbdmux.c:508)
  kbdmux.o:(kbdmux_init) 
> 

Re: evdev broken

2017-12-29 Thread Shawn Webb
On Fri, Dec 29, 2017 at 08:33:15PM +0100, Michael Gmelin wrote:
> 
> 
> > On 29. Dec 2017, at 20:15, Shawn Webb  wrote:
> > 
> > Hey All,
> > 
> > It looks like evdev support in the kernel is broken.
> > sys/dev/kbdmux/kbdmux.c contains various unresolved symbols to
> > different evdev-related symbols.
> > 
> > I have the following options in my kernel config:
> > 
> > options EVDEV_SUPPORT
> > options EVDEV_DEBUG
> > options UINPUT_DEBUG
> 
> Did you add "device evdev"?

Good catch! I did not. Adding now and I'll report back when
buildkernel finishes.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


evdev broken

2017-12-29 Thread Shawn Webb
Hey All,

It looks like evdev support in the kernel is broken.
sys/dev/kbdmux/kbdmux.c contains various unresolved symbols to
different evdev-related symbols.

I have the following options in my kernel config:

options EVDEV_SUPPORT
options EVDEV_DEBUG
options UINPUT_DEBUG

Here's the build failure log:

linking kernel.full 

   
ld: error: undefined symbol: evdev_rcpt_mask

   
>>> referenced by kbdmux.c:1190 (/usr/src/sys/dev/kbdmux/kbdmux.c:1190) 
>>> 
>>>
>>>   kbdmux.o:(kbdmux_init)
>>> 
>>>


   
ld: error: undefined symbol: evdev_push_leds

   
>>> referenced by kbdmux.c:1191 (/usr/src/sys/dev/kbdmux/kbdmux.c:1191) 
>>> 
>>>
>>>   kbdmux.o:(kbdmux_init)
>>> 
>>>


   
ld: error: undefined symbol: evdev_alloc

   
>>> referenced by kbdmux.c:492 (/usr/src/sys/dev/kbdmux/kbdmux.c:492)   
>>> 
>>>
>>>   kbdmux.o:(kbdmux_init)

ld: error: undefined symbol: evdev_set_name 
>>> referenced by kbdmux.c:493 (/usr/src/sys/dev/kbdmux/kbdmux.c:493)
>>>   kbdmux.o:(kbdmux_init) 

ld: error: undefined symbol: evdev_set_phys
>>> referenced by kbdmux.c:495 (/usr/src/sys/dev/kbdmux/kbdmux.c:495)
>>>   kbdmux.o:(kbdmux_init) 

ld: error: undefined symbol: evdev_set_id   
   
>>> referenced by kbdmux.c:496 (/usr/src/sys/dev/kbdmux/kbdmux.c:496)
>>>   kbdmux.o:(kbdmux_init)

ld: error: undefined symbol: evdev_set_methods   
>>> referenced by kbdmux.c:497 (/usr/src/sys/dev/kbdmux/kbdmux.c:497)
>>>   kbdmux.o:(kbdmux_init)
 
ld: error: undefined symbol: evdev_support_event
>>> referenced by kbdmux.c:498 (/usr/src/sys/dev/kbdmux/kbdmux.c:498)
>>>   kbdmux.o:(kbdmux_init)

ld: error: undefined symbol: evdev_support_event
>>> referenced by kbdmux.c:499 (/usr/src/sys/dev/kbdmux/kbdmux.c:499)
>>>   kbdmux.o:(kbdmux_init)
   
ld: error: undefined symbol: evdev_support_event
>>> referenced by kbdmux.c:500 (/usr/src/sys/dev/kbdmux/kbdmux.c:500)
>>>   kbdmux.o:(kbdmux_init)
   
ld: error: undefined symbol: evdev_support_event
>>> referenced by kbdmux.c:501 (/usr/src/sys/dev/kbdmux/kbdmux.c:501)
>>>   kbdmux.o:(kbdmux_init)
>>> 
>>>   


ld: error: undefined symbol: evdev_support_all_known_keys
>>> referenced by kbdmux.c:502 (/usr/src/sys/dev/kbdmux/kbdmux.c:502)
>>>   kbdmux.o:(kbdmux_init) 
  
ld: error: undefined symbol: evdev_support_led
>>> referenced by kbdmux.c:503 (/usr/src/sys/dev/kbdmux/kbdmux.c:503)
>>>   kbdmux.o:(kbdmux_init)
  
ld: error: undefined symbol: evdev_support_led
>>> referenced by kbdmux.c:504 (/usr/src/sys/dev/kbdmux/kbdmux.c:504)
>>>   kbdmux.o:(kbdmux_init)
>>>