Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-27-2021, 03:51 PM
|
#1
|
LQ Newbie
Registered: Sep 2020
Location: EU
Distribution: Manjaro KDE Plasma, Mint Mate
Posts: 4
Rep: 
|
I can use only audio or only video with my webcam, but not simultaneously
I have a quite old Logitech QuickCam Communicate STX Webcam with my Linux Mint (linux54) and I need to use the older version of V4L in order to make nowadays application to work with it. Therefore for Zoom, Chromium and other applications I use special scripts in the following format:
Code:
#!/bin/bash
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/bin/APP_NAME
However, when I try Cheese, I could take any photo normally, but as soon as I press record for recording a video, the application freezes instantly.
Another weird situation is when I try to use Zoom, I see the app's settings indicate all functions of my camera normally: the microphone works out of box, the camera works fine as well, but only in Settings! As soon as I start any meeting, only one works at the same time: Audio OR Video.
When I see my camera working, the other party can't hear my voice regardless of the Audio settings or toggling state of my microphone. Same goes in the opposite direction: when I close zoom and start an Audio meeting, I can't enable my video and the video toggle button is always set to ON, but it doesn't emit any video data to the other party.
How could I debug this issue and what particular data should I provide here?
Last edited by m4dj0e; 04-27-2021 at 06:27 PM.
|
|
|
04-27-2021, 04:58 PM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Generally, with any hardware related support request it pays off to provide as much information about it as possible, lsusb output is minimum, like this:
Code:
Bus 001 Device 002: ID 046d:0826 Logitech, Inc. HD Webcam C525
There is the ID 046d:0826, by this ID kernel loads the driver and by this ID we can search for correct driver.
|
|
|
04-27-2021, 06:16 PM
|
#3
|
LQ Newbie
Registered: Sep 2020
Location: EU
Distribution: Manjaro KDE Plasma, Mint Mate
Posts: 4
Original Poster
Rep: 
|
Got it. Here's a little bit more details.
Code:
$ lsusb
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 046d:08f5 Logitech, Inc. QuickCam Messenger Communicate
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ ls /dev/video*
/dev/video0
$ sudo cat /sys/kernel/debug/usb/devices | grep -E "^([TSPD]:.*|)$"
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.04
S: Manufacturer=Linux 5.4.0-72-generic ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:1a.0
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=8087 ProdID=0024 Rev= 0.00
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=08f5 Rev= 1.00
S: Product=Camera
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.04
S: Manufacturer=Linux 5.4.0-72-generic ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:1d.0
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 6
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=8087 ProdID=0024 Rev= 0.00
T: Bus=02 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=058f ProdID=6362 Rev= 1.29
S: Manufacturer=Generic
S: Product=Mass Storage Device
S: SerialNumber=058F312D81B
$ lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
bDeviceClass 0
bDeviceProtocol 0
iProduct 2
(Bus Powered)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
bDeviceClass 9 Hub
bDeviceProtocol 1 Single TT
iProduct 0
Couldn't open device, some information will be missing
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bDeviceClass 9 Hub
bDeviceProtocol 0 Full speed (or root) hub
iProduct 2
Bus 001 Device 003: ID 046d:08f5 Logitech, Inc. QuickCam Messenger Communicate
bDeviceClass 255 Vendor Specific Class
bDeviceProtocol 255 Vendor Specific Protocol
iProduct 1
(Bus Powered)
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
bDeviceClass 9 Hub
bDeviceProtocol 1 Single TT
iProduct 0
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
bDeviceClass 9 Hub
bDeviceProtocol 0 Full speed (or root) hub
iProduct 2
$ hwinfo --usb
01: SCSI 400.3: 10600 Disk
[Created at block.256]
Unique ID: JPTW.U_Jt4BKDVLA
SysFS ID: /class/block/sdf
SysFS BusID: 4:0:0:3
SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/host4/target4:0:0/4:0:0:3
Hardware Class: disk
Model: "Generic USB MS Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB MS Reader"
Revision: "1.03"
Serial ID: "058F312D81B"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdf (/dev/sg6)
Device Files: /dev/sdf, /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.3:1.0-scsi-0:0:0:3, /dev/disk/by-id/usb-Generic_USB_MS_Reader_058F312D81B-0:3
Device Number: block 8:80-8:95 (char 21:6)
Speed: 480 Mbps
Module Alias: "usb:v058Fp6362d0129dc00dsc00dp00ic08isc06ip50in00"
Driver Info #0:
Driver Status: uas is active
Driver Activation Cmd: "modprobe uas"
Driver Info #1:
Driver Status: usb_storage is active
Driver Activation Cmd: "modprobe usb_storage"
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
02: SCSI 400.1: 10600 Disk
[Created at block.256]
Unique ID: ofUZ.ESrhO6fmky3
SysFS ID: /class/block/sdd
SysFS BusID: 4:0:0:1
SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/host4/target4:0:0/4:0:0:1
Hardware Class: disk
Model: "Generic USB CF Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB CF Reader"
Revision: "1.01"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdd (/dev/sg4)
Device Files: /dev/sdd, /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.3:1.0-scsi-0:0:0:1, /dev/disk/by-id/usb-Generic_USB_CF_Reader_058F312D81B-0:1
Device Number: block 8:48-8:63 (char 21:4)
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
05: SCSI 400.2: 10600 Disk
[Created at block.256]
Unique ID: Frkd.ESrhO6fmky3
SysFS ID: /class/block/sde
SysFS BusID: 4:0:0:2
SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/host4/target4:0:0/4:0:0:2
Hardware Class: disk
Model: "Generic USB SM Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB SM Reader"
Revision: "1.02"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sde (/dev/sg5)
Device Files: /dev/sde, /dev/disk/by-id/usb-Generic_USB_SM_Reader_058F312D81B-0:2, /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.3:1.0-scsi-0:0:0:2
Device Number: block 8:64-8:79 (char 21:5)
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
06: SCSI 400.0: 10600 Disk
[Created at block.256]
Unique ID: LUEV.ESrhO6fmky3
SysFS ID: /class/block/sdc
SysFS BusID: 4:0:0:0
SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/host4/target4:0:0/4:0:0:0
Hardware Class: disk
Model: "Generic USB SD Reader"
Vendor: usb 0x058f "Generic"
Device: usb 0x6362 "USB SD Reader"
Revision: "1.00"
Driver: "usb-storage", "sd"
Driver Modules: "usb_storage"
Device File: /dev/sdc (/dev/sg3)
Device Files: /dev/sdc, /dev/disk/by-id/usb-Generic_USB_SD_Reader_058F312D81B-0:0, /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.3:1.0-scsi-0:0:0:0
Device Number: block 8:32-8:47 (char 21:3)
Drive status: no medium
Config Status: cfg=new, avail=yes, need=no, active=unknown
08: USB 00.0: 10a00 Hub
[Created at usb.122]
Unique ID: FKGF.4Nx_qoDfSd7
Parent ID: pBe4.oLWCeziExdF
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
SysFS BusID: 2-1:1.0
Hardware Class: hub
Model: "Intel Integrated Rate Matching Hub"
Hotplug: USB
Vendor: usb 0x8087 "Intel Corp."
Device: usb 0x0024 "Integrated Rate Matching Hub"
Driver: "hub"
Driver Modules: "usbcore"
Speed: 480 Mbps
Module Alias: "usb:v8087p0024d0000dc09dsc00dp01ic09isc00ip00in00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #15 (Hub)
09: USB 00.1: 11200 TV Card
[Created at usb.122]
Unique ID: 46Ud.FAyqNrWrw_5
Parent ID: ADDn.4Nx_qoDfSd7
SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.1
SysFS BusID: 1-1.3:1.1
Hardware Class: tv card
Model: "Logitech QuickCam Messenger Communicate"
Hotplug: USB
Vendor: usb 0x046d "Logitech, Inc."
Device: usb 0x08f5 "QuickCam Messenger Communicate"
Revision: "1.00"
Driver: "snd-usb-audio"
Driver Modules: "snd_usb_audio"
Speed: 12 Mbps
Module Alias: "usb:v046Dp08F5d0100dcFFdscFFdpFFic01isc01ip00in01"
Driver Info #0:
Driver Status: gspca_stv06xx is active
Driver Activation Cmd: "modprobe gspca_stv06xx"
Driver Info #1:
Driver Status: snd_usb_audio is active
Driver Activation Cmd: "modprobe snd_usb_audio"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #14 (Hub)
11: USB 00.0: 10a00 Hub
[Created at usb.122]
Unique ID: k4bc.FHd55n4xKo7
SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0
SysFS BusID: 1-0:1.0
Hardware Class: hub
Model: "Linux Foundation 2.0 root hub"
Hotplug: USB
Vendor: usb 0x1d6b "Linux Foundation"
Device: usb 0x0002 "2.0 root hub"
Revision: "5.04"
Serial ID: "0000:00:1a.0"
Driver: "hub"
Driver Modules: "usbcore"
Speed: 480 Mbps
Module Alias: "usb:v1D6Bp0002d0504dc09dsc00dp00ic09isc00ip00in00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
14: USB 00.0: 10a00 Hub
[Created at usb.122]
Unique ID: ADDn.4Nx_qoDfSd7
Parent ID: k4bc.FHd55n4xKo7
SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0
SysFS BusID: 1-1:1.0
Hardware Class: hub
Model: "Intel Integrated Rate Matching Hub"
Hotplug: USB
Vendor: usb 0x8087 "Intel Corp."
Device: usb 0x0024 "Integrated Rate Matching Hub"
Driver: "hub"
Driver Modules: "usbcore"
Speed: 480 Mbps
Module Alias: "usb:v8087p0024d0000dc09dsc00dp01ic09isc00ip00in00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #11 (Hub)
15: USB 00.0: 10a00 Hub
[Created at usb.122]
Unique ID: pBe4.oLWCeziExdF
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0
SysFS BusID: 2-0:1.0
Hardware Class: hub
Model: "Linux Foundation 2.0 root hub"
Hotplug: USB
Vendor: usb 0x1d6b "Linux Foundation"
Device: usb 0x0002 "2.0 root hub"
Revision: "5.04"
Serial ID: "0000:00:1d.0"
Driver: "hub"
Driver Modules: "usbcore"
Speed: 480 Mbps
Module Alias: "usb:v1D6Bp0002d0504dc09dsc00dp00ic09isc00ip00in00"
Config Status: cfg=new, avail=yes, need=no, active=unknown
$ sudo dmesg | grep video
[ 5.431555] videodev: Linux video capture interface: v2.00
$ tail -1 /etc/profile
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
Last edited by m4dj0e; 04-27-2021 at 06:22 PM.
|
|
|
04-27-2021, 08:32 PM
|
#4
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Well, what do you know, this one is tricky indeed. Search gave a few interesting links, until Ubuntu Wiki declared bluntly:
Quote:
Works with Skype 2.2.0.25 if you install the package libv4l-0:i386 and change the launcher to: env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype. Requires an external microphone as audio and video do not work simultanouesly.
|
Never seen anything like this before ...
|
|
1 members found this post helpful.
|
04-28-2021, 05:47 AM
|
#5
|
LQ Newbie
Registered: Sep 2020
Location: EU
Distribution: Manjaro KDE Plasma, Mint Mate
Posts: 4
Original Poster
Rep: 
|
So, basically: not a bug, buying extra hardware is a feature, works as designed.
To sum this up: I have all the hardware required, it worked just fine on my previous versions of Mint, but now the kernel has changed so much it doesn't support outdated hardware anymore. Lovely jubbly!
|
|
|
04-28-2021, 07:04 AM
|
#6
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
To be fair it is not the kernel to blame. I don't think this driver ever was in kernel. All articles I saw talk about using a third-party driver, which apparently hasn't been kept updated.
|
|
|
All times are GMT -5. The time now is 05:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|