You are not logged in.
So i recently installed arch and quite like it.
But yesterday i noticed that some integrated usb-devices (webcam and bluetooth) are no longer recognized by the applications i use to control them (guvcview and blueman).
However when i try lsusb, they are listed.
In powertop the autosuspend for some usb-stuff seems to be enabled (even when my laptop is attached to the power cabel).
I don't know what is causing this, but it might be tlp, which i installed a few days ago.
Turning off tlp did not help and even after going through its config-file, i was not able to get bluetooth and the webcam working again.
This is quite annoying since i use my webcam for skype and i just recently got my bluetooth working in the first place.
I have never experienced an issue with usb-devices on linux, so i have no idea what infos one would need to fix this.
But maybe it will help to know what special things i did on my system after installation:
- blacklisting nouveau kernel modules, because they caused errors while booting and did not work
- adding "After=dbus.service" to the wpa_supplicant.service.d/override.conf, because it did not always stop on shutdown
While this issue is just an annoyance and not a huge problem,
i would be quite happy if anyone would attempt to help me!
Last edited by Dok_L (2017-08-13 14:27:21)
Offline
lsusb -t
Do you have /dev/video0 and can you
mpv tv:// --tv-driver=v4l2 --tv-device=/dev/video0
?
Offline
Thank you for your reply!
lsusb -t gives me:
leon@artemis:~$ lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
|__ Port 6: Dev 2, If 0, Class=Video, Driver=, 480M
|__ Port 6: Dev 2, If 1, Class=Video, Driver=, 480M
|__ Port 7: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 8: Dev 4, If 0, Class=Wireless, Driver=, 12M
|__ Port 8: Dev 4, If 1, Class=Wireless, Driver=, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/dev/video0 does not exist, the mpv command exits with:
leon@artemis:~$ mpv tv:// --tv-driver=v4l2 --tv-device=/dev/video0
Error parsing option tv-driver (option not found)
Setting commandline option --tv-driver=v4l2 failed.
Exiting... (Fatal error)
Am i missing a mpv plugin for this command to work?
Offline
There're no drivers loaded for those devices (thus no video interface in case of the camera - and no file for mpv to play)
What's the output of lsusb (w/o the "-t" switch)?
Offline
lsusb without modifier gives me:
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0cf3:3004 Qualcomm Atheros Communications AR3012 Bluetooth 4.0
Bus 002 Device 003: ID 187c:0527 Alienware Corporation
Bus 002 Device 002: ID 1bcf:28b6 Sunplus Innovation Technology Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The sixth device is the webcam.
Offline
lsmod | grep uvcvideo
If it's loaded, check dmesg for errors. If not, modprobe it and see what happens.
Bluetooth is btusb instead of uvcvideo.
Offline
This works for the video drivers... (but why are they not loaded by default like they were a few days ago?)
For the Bluetooth it did not work.
leon@artemis:~$ lsmod | grep btusb
btusb 40960 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 475136 12 btrtl,btintel,bnep,btbcm,ath3k,btusb
usbcore 208896 8 uvcvideo,usbhid,ehci_hcd,xhci_pci,ath3k,btusb,xhci_hcd,ehci_pci
leon@artemis:~$ dmesg | grep -i error
[ 0.541660] ACPI Error: [\_SB_.PCI0.PEG0.PEGP.TDGC] Namespace lookup failure, AE_NOT_FOUND (20170303/psargs-364)
[ 0.541683] ACPI Error: Method parse/execution failed [\_SB.PCI0.PEG0.PG00._ON] (Node ffff95e4e6968550), AE_NOT_FOUND (20170303/psparse-543)
[ 1.979327] RAS: Correctable Errors collector initialized.
[ 3.136323] ACPI Error: [\_SB_.PCI0.GFX0.DD02._BCL] Namespace lookup failure, AE_NOT_FOUND (20170303/psargs-364)
[ 3.136329] ACPI Error: Method parse/execution failed [\_SB.PCI0.RP05.PEGP.DD02._BCL] (Node ffff95e4e6978b18), AE_NOT_FOUND (20170303/psparse-543)
[ 3.267509] usb 2-8: Direct firmware load for ar3k/AthrBT_0x00000200.dfu failed with error -2
[ 3.267519] ath3k: probe of 2-8:1.0 failed with error -2
I got the bluetooth working using a package from the AUR, since i have a combined Wifi/BT-Card, that acts weird in linux, maybe thats broken too by coincidence...
And what are those ACPI errors... i have never encountered them on ubuntu...they seem nasty...
EDIT: I did some research and it seems like the acpi errors just appear because a recent kernel-update (which was not present on ubuntu when i last used it) changed the default loglevel from 3 to 4, nothing to worry about
Last edited by Dok_L (2017-08-13 00:18:32)
Offline
Well, OK,
today i checked my kernel blacklist...
seems like i blacklisted the uvcvideo module while following a guide to blacklist nouveau...
So this is just a pebcak, i admit it!
The Problem with the bluetooth still remains though.
Last edited by Dok_L (2017-08-13 12:40:55)
Offline
The ACPI "errors" are there on ubuntu just as much, but a "recent" (some 4.9 version) kernel update exposed them into the messages. Means your BIOS has a broken ACPI implementation, but don't worry - all have.
Did you update the btusb-qca-0x3004 package after updating (the kernel)?
If so, it's time to see whether you can access BT via bluetoothctl
Offline
Yeah, i did some research about the acpi errors and found that the default loglevel was set from 3 to 4 in a "recent" update...
The btusb-qca-0x3004 package is up-to-date (there was no update to it since i installed it).
bluetoothctl was not able to detect the device:
leon@artemis:~$ bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]#
Offline
It's a kernel module - you (more or less) *have* to rebuild it every tiem you update the kernel - regardless of whether the module itself saw an update.
Offline
So the AUR-Package just has not been updated to the recent kernel?
Well then i will look into building the module myself...
Thank you for helping me with a pebcak, a not-really-an-issue and to understand kernel-modules!
I will mark this as solved.
Offline
You're responsible to keep AUR packages up-to-date. There's no external management. But a dkms packge would rebuild implicitly.
Offline
I know that i have to update the packages myself,
but i did not know that I have to rebuild the package for a new kernel upgrade even if the package itself has not been updated...
Thank you very much!
Offline
I am the package maintainer for btusb-qca-0x3004. Apologies for the broken package - it should be fixed now. Unfortunately the laptop I built and tested it on is dual-booted with Windows 10; an automatic Windows Update broke my partition table and for a while I was unable to boot Arch on that machine.
So you could say it was a dependency issue, with an obvious solution...
Offline
No problem katy!
The problem(s) i was facing were not related to the package but rather caused by me beeing a bit unexperienced with arch linux (at the time simply rebuilding the package fixed it).
Thank you for your work maintaining it!
Offline