Cannot open aardvark even reboot my Ubuntu
I'm having the problem opening aardvark with the function call pyaardvark.open() on my Ubuntu 22.04.
It was working fine until today. After debugging, I found every time I plug in the usb to my Ubuntu and call the command aardvark scan, it would show the device is in use: Device #0: 2239-457664 [IN USE]. I tried to reboot the PC, but it's always showing that message. This is the output from the sudo dmesg:
[ 13.442915] audit: type=1400 audit(1738965983.562:166): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/23545/usr/lib/snapd/snap-confine" pid=1745 comm="snap-confine" capability=12 capname="net_admin" [ 13.442930] audit: type=1400 audit(1738965983.562:167): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/23545/usr/lib/snapd/snap-confine" pid=1745 comm="snap-confine" capability=38 capname="perfmon" [ 13.444798] audit: type=1400 audit(1738965983.564:168): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/23545/usr/lib/snapd/snap-confine" pid=1745 comm="snap-confine" capability=4 capname="fsetid" [ 15.270913] rfkill: input handler disabled [ 230.080752] systemd-journald[416]: /var/log/journal/cfdcc936129d4158bb05512190c03e31/user-1000.journal: Journal file uses a different sequence number ID, rotating. [ 230.384315] audit: type=1400 audit(1738966200.245:169): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/23545/usr/lib/snapd/snap-confine" pid=2490 comm="snap-confine" capability=12 capname="net_admin" [ 230.384332] audit: type=1400 audit(1738966200.245:170): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/23545/usr/lib/snapd/snap-confine" pid=2490 comm="snap-confine" capability=38 capname="perfmon" [ 244.780345] usb 3-7: new full-speed USB device number 17 using xhci_hcd [ 244.913106] usb 3-7: New USB device found, idVendor=0403, idProduct=e0d0, bcdDevice= 4.00 [ 244.913116] usb 3-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 244.913121] usb 3-7: Product: Aardvark I2C/SPI Host Adapter [ 244.913124] usb 3-7: Manufacturer: Total Phase [ 244.913127] usb 3-7: SerialNumber: TPCFe2mA