NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: OpenPGP Card (USB) in NetBSD 10.0
Hi all,
Doing some more (re)search, I came across this thread:
https://mail-index.netbsd.org/netbsd-users/2019/11/29/msg023645.html
which describes similar problems with a device from the same vendor.
With the generic kernel, my device is indeed attached as a HID device.
I implemented the changes suggested by Tobias on that message, namely
building a custom kernel with the following line added (<> acts as a
placeholder here):
ugen* at uhub? vendor 0x20a0 product <0x...> flags 1
That is indeed what is needed to get the gpg card functionality up and
running, though unfortunately, it killed the u2f functionality of the
device, which is present and working in the generic kernel.
Are these functionalities mutually exclusive for one single device on
NetBSD? I have no experience with the configuration of custom kernels,
so any hint on how can I get both functionalities working at the same
time with the same device is greatly appreciated.
BR.-
* Greg Troxel <gdt%lexort.com@localhost>:
> Abu Hussain Al Mukhtar <abuhussain%secure.mailbox.org@localhost> writes:
>
> > I was able to isolate this (at least in my very naive point of view)
> > as a driver problem: I have here lying around an older Gemalto USB
> > reader, which is indeed detected without trouble in pcsc_scan, but
> > the actual key I am trying to use - a Nitrokey 3 - isn't, even though,
> > according to pcsc-lite's driver playlist, it should be supported.
> >
> > I tried the same approach in both DragonFly and OpenBSD, which do detect
> > the card - so I am out of ideas :/
>
> Earlier I wrote:
>
> >> I would suggest
> >>
> >> - reading enough docs or maybe code to enable debug logs
> >>
> >> - using ktrace, and then kdump|egrep NAMI, to see what /dev special
> >> files it is trying to open
>
> and I stand by those suggestions.
>
> I would also all using usbdevs to see if the kernel sees the device, and
> looking at what appears in dmesg when you plug it in.
Home |
Main Index |
Thread Index |
Old Index