I was hoping someone might be able to assist me with a couple of issue's I've been having trying to get NetBSD configured.
I've been running a dual boot FreeBSD / NetBSD workstation as my "daily driver" work-from-home desktop system for the past year, but its been mostly a FreeBSD system as I haven't been able to get a few things I need for my job running on NetBSD. I recently upgraded to NetBSD 9.1 and took another stab at getting everything set up and am down to two "showstoppers". I'm hoping someone could point me in the right direction on these, so I can start spending more time in NetBSD.
Issue 1: Microphone
First, I need a working headset. On FreeBSD I use a Plantonics USB device, but on NetBSD I don't get any audio out of it, and dmesg shows:
[ 6.351342] uaudio1 at uhub1 port 5 configuration 1 interface 0
[ 6.351342] uaudio1: Plantronics (0x47f) Plantronics .Audio 655 DSP (0xc008), rev 2.00/1.34, addr 4
[ 6.351342] uaudio1: autoconfiguration error: ignored audio interface with 2 endpoints
[ 6.351342] uaudio1: audio rev 1.00
I wasn't able to find a workaround for that issue, so I tried a different approach and connected an analog headset directly to the headphone and microphone ports on the internal sound using an adapter that takes the three ring mic+headphone audio 1/8" connector and changes it to two plugs, one for mic and one for headphones. I tested the hardware on a Windows Laptop and verified that the adapter works.
I was able to get audio output working with it on NetBSD, but I have not been able to get any signal into the microphone. I've tried recording with audacity, and tried a couple of "Mic Test" websites in firefox, and while everything "sees" the microphone and lets me select it, I only ever get silence off of the Mic port. I tried cat'ing /dev/audio to a file, and I see its all 0xFF bytes.
mixerctl -a shows me:
and audioctl -a shows me:
I'm hoping to get either the USB Headset, or this analog solution working for both audio in and out. Either one would be fine.
Issue 2: SmartCard Reader
In order to access my webmail for work, I need to use a USB SmartCard reader. This works fine in FreeBSD, I just installed the opensc and ccid packages and if I run pcscd -df it shows a bunch of output, and then when I insert my card in the reader, I see some output about the Card powering up, and it reads some values off the card, then powers down.
I did the same thing in NetBSD, installed opensc, and ccid packages and ran pcscd -df, and I get:
00000000 pcscdaemon.c:348:main() pcscd set to foreground with debug send to stdout
00000097 configfile.l:293:DBGetReaderListDir() Parsing conf directory: /usr/pkg/etc/reader.conf.d
00000008 configfile.l:330:DBGetReaderListDir() Skipping non regular file: .
00000002 configfile.l:330:DBGetReaderListDir() Skipping non regular file: ..
00000004 pcscdaemon.c:663:main() pcsc-lite 1.9.0 daemon ready.
00002086 hotplug_libusb.c:442:HPEstablishUSBNotifications() Driver ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
00000003 hotplug_libusb.c:451:HPEstablishUSBNotifications() Polling forced every 1 second(s)
Then nothing else, unlike in FreeBSD, inserting or removing my SmartCard doesn't output anything else. Also, in FreeBSD I don't get that line about using active polling, instead at this point I see a Hotplug event for my USB Card reader and it detects it. I'm not sure how to make it work with the active polling method.
Sorry if this is a bit long, and I appreciate any ideas anyone might have for me. I've been lurking on this forum for a while now, and it seemed like someone might be able to clue me in on a direction here. I have a few other issues to work out, but they are all things I can live with. My goal is to be able to stay booted into NetBSD for as long as I want and not need to boot back into FreeBSD everyday for work. I'm not unhappy with FreeBSD, and its working fine for me, but something about NetBSD is appealing and I'd like to spend more time with it.