Re: Debugging USB device issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim,


On 2021-10-27 19:01, Tim via users wrote:
On Wed, 2021-10-27 at 04:10 +1100, Philip Rhoades via users wrote:
I am getting nothing recorded in /var/log/messages when I plug in
the GoPro and push its power button (plugging in any other USB device
is working of course) so maybe it is the USB port on the camera that
is the problem? - is there any way to debug that from the Fedora
workstation?

Before you plug it in, open a command line and run:  dmesg

Open another command line window, plug it in, and run dmesg in the
second window.

Now you can compare the messages at the end of each dump against each
other.


It is simpler to just:  tail -f /var/log/messages



If it recognised the hardware, you should get some information about
it.  If not, a simple first test is to try another USB lead.  You can
have broken data lines, and still have functioning power lines, within
the cable, allowing it to charge.


Right - see next reply to Samuel's post . .

Thanks,

Phil.


By way of example, when I plug in a webcam, it shows all this gubbins:

[3887829.895943] usb 1-12: new high-speed USB device number 51 using xhci_hcd
[3887830.123901] usb 1-12: New USB device found, idVendor=0c45,
idProduct=6366, bcdDevice= 1.00
[3887830.123928] usb 1-12: New USB device strings: Mfr=2, Product=1,
SerialNumber=3
[3887830.123936] usb 1-12: Product: CM200
[3887830.123943] usb 1-12: Manufacturer: Sonix Technology Co., Ltd.
[3887830.123949] usb 1-12: SerialNumber: SN0001
[3887830.174819] usb 1-12: 3:1: cannot get freq at ep 0x84
[3887830.395965] Linux video capture interface: v2.00
[3887830.437188] uvcvideo: Found UVC 1.00 device CM200 (0c45:6366)
[3887830.462969] input: CM200 as
/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input51
[3887830.463068] usbcore: registered new interface driver uvcvideo
[3887830.463070] USB Video Class driver (1.1.1)
[3887830.921714] usb 1-12: 3:1: cannot get freq at ep 0x84
[3887830.993514] usb 1-12: 3:1: cannot get freq at ep 0x84
[3892705.253593] snd_hda_intel 0000:00:1f.3: Unstable LPIB (352800 >=
176400); disabling LPIB delay counting

--

uname -rsvp
Linux 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64

Boilerplate: All unexpected mail to my mailbox is automatically deleted. I will only get to see the messages that are posted to the mailing list.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure

--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  phil@xxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux