You are not logged in.

#1 2020-10-18 01:32:00

katoitalia
Member
Registered: 2020-10-18
Posts: 7

[WORKAROUND] 5.9.1 broke my webcam

5.9.1 broke my Apple FaceTime HD Camera webcam. It turns on but it doesn't seem to output anything. Any idea on how to fix it other than downgrading? (obviously) maybe it's a bug upstream? IDK.

Last edited by katoitalia (2020-10-18 12:25:14)

Offline

#2 2020-10-18 01:36:57

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [WORKAROUND] 5.9.1 broke my webcam

Somebody took a picture of me.

And then the camera broke.

If you just updated the kernel without restarting (the module wasn't already loaded from the previous kernel), then you'll have to restart and try it again.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2020-10-18 01:42:47

katoitalia
Member
Registered: 2020-10-18
Posts: 7

Re: [WORKAROUND] 5.9.1 broke my webcam

nomorewindows wrote:

If you just updated the kernel without restarting

still doesn't work I wouldn't start a thread without restarting first.

Offline

#4 2020-10-18 01:45:29

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [WORKAROUND] 5.9.1 broke my webcam

katoitalia wrote:

5.9.1 broke my Apple FaceTime HD Camera webcam. It turns on but it doesn't seem to output anything. Any idea on how to fix it other than downgrading? (obviously) maybe it's a bug upstream? IDK.

Nothing in dmesg?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2020-10-18 02:02:20

katoitalia
Member
Registered: 2020-10-18
Posts: 7

Re: [WORKAROUND] 5.9.1 broke my webcam

[katoitalia@kato ~]$ sudo dmesg | grep FaceTime
[   15.056316] usb 3-1.5: Product: FaceTime HD Camera (Display)
[   28.782759] usb 3-1.5: Product: FaceTime HD Camera (Display)
[   29.086018] uvcvideo: Found UVC 1.00 device FaceTime HD Camera (Display) (05ac:1112)
[   30.806291] input: FaceTime HD Camera (Display): F as /devices/pci0000:00/0000:00:01.1/0000:06:00.0/0000:07:04.0/0000:0a:00.0/0000:0b:00.0/0000:0c:00.0/0000:0d:03.0/0000:0e:00.2/usb3/3-1/3-1.5/3-1.5:1.0/input/input27
[   31.006713] uvcvideo: Found UVC 1.00 device FaceTime HD Camera (Display) (05ac:1112)
[   32.725991] input: FaceTime HD Camera (Display): F as /devices/pci0000:00/0000:00:01.1/0000:06:00.0/0000:07:04.0/0000:0a:00.0/0000:0b:00.0/0000:0c:00.0/0000:0d:03.0/0000:0e:00.2/usb3/3-1/3-1.5/3-1.5:1.0/input/input28 

this thunderbolt display turns on and works, the camera turns on and it's recognised in V4L2 Testbench but still no output. Now checking also if usb hub and network card work as they should. I will also check on linux58 if there are any evident differences

UPDATE
network card works
USB doesn't works but maybe slower than usual? IDK

also.....is it listed as USB3? it is not. maybe we getting somewhere. I will add below dmesg from linux58 as soon as I downgrade and reboot

UPDATE II

[katoitalia@kato ~]$ sudo dmesg | grep FaceTime
[    3.090736] usb 3-1.5: Product: FaceTime HD Camera (Display)
[    5.830889] usb 3-1.5: Product: FaceTime HD Camera (Display)
[    5.835273] uvcvideo: Found UVC 1.00 device FaceTime HD Camera (Display) (05ac:1112)
[    5.861623] input: FaceTime HD Camera (Display): F as /devices/pci0000:00/0000:00:01.1/0000:06:00.0/0000:07:04.0/0000:0a:00.0/0000:0b:00.0/0000:0c:00.0/0000:0d:03.0/0000:0e:00.2/usb3/3-1/3-1.5/3-1.5:1.0/input/input28
[    5.897790] uvcvideo: Found UVC 1.00 device FaceTime HD Camera (Display) (05ac:1112)
[    5.922214] input: FaceTime HD Camera (Display): F as /devices/pci0000:00/0000:00:01.1/0000:06:00.0/0000:07:04.0/0000:0a:00.0/0000:0b:00.0/0000:0c:00.0/0000:0d:03.0/0000:0e:00.2/usb3/3-1/3-1.5/3-1.5:1.0/input/input29 

I see no evident differences other that it seems to pick it up much earlier, also on linux59 I get a "IRQ18 (or 19?) disabled" message at boot I will upgrade again to linux59 and investigate further....any hint is very much appreciated.

UPDATE III

[katoitalia@kato ~]$ sudo dmesg --kernel | grep 'usb 3-1.5'
[   14.886492] usb 3-1.5: new high-speed USB device number 5 using ehci-pci
[   16.041918] usb 3-1.5: New USB device found, idVendor=05ac, idProduct=1112, bcdDevice=71.60
[   16.041926] usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   16.041930] usb 3-1.5: Product: FaceTime HD Camera (Display)
[   16.041934] usb 3-1.5: Manufacturer: Apple Inc.
[   16.041938] usb 3-1.5: SerialNumber: DELETED FOR PRIVACY REASONS
[   18.806805] usb 3-1.5: USB disconnect, device number 5
[   30.436530] usb 3-1.5: new high-speed USB device number 9 using ehci-pci
[   31.591726] usb 3-1.5: New USB device found, idVendor=05ac, idProduct=1112, bcdDevice=71.60
[   31.591736] usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   31.591741] usb 3-1.5: Product: FaceTime HD Camera (Display)
[   31.591746] usb 3-1.5: Manufacturer: Apple Inc.
[   31.591754] usb 3-1.5: SerialNumber: DELETED FOR PRIVACY REASONS
[katoitalia@kato ~]$ sudo dmesg --kernel | grep uvcvideo
[   20.664047] usbcore: registered new interface driver uvcvideo
[   31.895017] uvcvideo: Found UVC 1.00 device FaceTime HD Camera (Display) (05ac:1112)
[   33.611378] uvcvideo 3-1.5:1.0: Entity type for entity Processing 3 was not initialized!
[   33.611385] uvcvideo 3-1.5:1.0: Entity type for entity Camera 1 was not initialized!
[   33.813330] uvcvideo: Found UVC 1.00 device FaceTime HD Camera (Display) (05ac:1112)
[   35.530034] uvcvideo 3-1.5:1.0: Entity type for entity Processing 3 was not initialized!
[   35.530039] uvcvideo 3-1.5:1.0: Entity type for entity Camera 1 was not initialized!!
[katoitalia@kato ~]$ sudo dmesg | grep IRQ #18
[    0.264076] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.264164] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.264250] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.264335] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.264420] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.264504] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.264588] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.264672] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.264960] PCI: Using ACPI for IRQ routing
[    0.271470] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.572550] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    5.772390]  <IRQ>
[    5.772475]  </IRQ>
[    5.772640] Disabling IRQ #18
[    9.747381] Disabling IRQ #18

I know next to nothing about how IRQ works but it doesn't look right.


UPDATE IV

As I was checking my

journalctl -b

I stumbled upon this:

ott 18 04:26:56 archlinux kernel: irq 18: nobody cared (try booting with the "irqpoll" option)
ott 18 04:26:56 archlinux kernel: CPU: 3 PID: 130 Comm: kworker/u8:6 Not tainted 5.9.1-arch1-1 #1
ott 18 04:26:56 archlinux kernel: Hardware name: Apple Inc. Macmini5,1/Mac-8ED6AF5B48C039E1, BIOS MM51.88Z.0080.B00.1804091930 04/09/2018
ott 18 04:26:56 archlinux kernel: Workqueue: efi_rts_wq efi_call_rts
ott 18 04:26:56 archlinux kernel: Call Trace:
ott 18 04:26:56 archlinux kernel:  <IRQ>
ott 18 04:26:56 archlinux kernel:  dump_stack+0x6b/0x88
ott 18 04:26:56 archlinux kernel:  __report_bad_irq+0x35/0xaa
ott 18 04:26:56 archlinux kernel:  note_interrupt.cold+0xb/0x70
ott 18 04:26:56 archlinux kernel:  ? handle_level_irq+0x1a0/0x1a0
ott 18 04:26:56 archlinux kernel:  handle_irq_event+0xa9/0xb0
ott 18 04:26:56 archlinux kernel:  handle_fasteoi_irq+0xa2/0x210
ott 18 04:26:56 archlinux kernel:  common_interrupt+0xa6/0x1e0
ott 18 04:26:56 archlinux kernel:  asm_common_interrupt+0x1e/0x40
ott 18 04:26:56 archlinux kernel: RIP: 0010:__do_softirq+0x8b/0x344
ott 18 04:26:56 archlinux kernel: Code: 01 00 00 e8 17 30 2c ff c7 44 24 18 0a 00 00 00 48 c7 c7 6f 03 3f a8 e8 b3 fa c1 ff 65 66 c7 05 b9 ba 22 58 00 >
ott 18 04:26:56 archlinux kernel: RSP: 0018:ffffb2a5c0180fa0 EFLAGS: 00000292
ott 18 04:26:56 archlinux kernel: RAX: 0000000000000003 RBX: ffff9fcd19a20000 RCX: 000000000000001f
ott 18 04:26:56 archlinux kernel: RDX: 0000000000000000 RSI: ffffffffa83f036f RDI: ffffffffa8386bf6
ott 18 04:26:56 archlinux kernel: RBP: ffffb2a5c02d7ab8 R08: 0000000082527504 R09: 0000000082815dd9
ott 18 04:26:56 archlinux kernel: R10: 00000000824e8104 R11: 0000000000007fc0 R12: 0000000000000000
ott 18 04:26:56 archlinux kernel: R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200
ott 18 04:26:56 archlinux kernel:  asm_call_irq_on_stack+0x12/0x20
ott 18 04:26:56 archlinux kernel:  </IRQ>
ott 18 04:26:56 archlinux kernel:  do_softirq_own_stack+0x5d/0x80
ott 18 04:26:56 archlinux kernel:  irq_exit_rcu+0xd8/0x120
ott 18 04:26:56 archlinux kernel:  sysvec_apic_timer_interrupt+0x47/0xe0
ott 18 04:26:56 archlinux kernel:  asm_sysvec_apic_timer_interrupt+0x12/0x20
ott 18 04:26:56 archlinux kernel: RIP: 0010:0xfffffffefaee6c0c
ott 18 04:26:56 archlinux kernel: Code: 48 b8 03 00 00 00 00 00 00 80 74 0b 48 8b 45 30 48 89 44 24 20 ff d6 48 83 c4 28 5e 5d c3 56 57 31 c0 31 f6 8b >
ott 18 04:26:56 archlinux kernel: RSP: 0018:ffffb2a5c02d7bb8 EFLAGS: 00000293
ott 18 04:26:56 archlinux kernel: RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffff9fcd194a2400
ott 18 04:26:56 archlinux kernel: RDX: fffffffeffee1b9f RSI: 00000000fe375f72 RDI: 00000000c946470e
ott 18 04:26:56 archlinux kernel: RBP: ffffb2a5c02d7c80 R08: 000000000000002a R09: fffffffefae82a90
ott 18 04:26:56 archlinux kernel: R10: 0000000000000000 R11: 0000000000000018 R12: 0000000000000014
ott 18 04:26:56 archlinux kernel: R13: fffffffeffee1b8f R14: fffffffeffee0048 R15: fffffffeffef0000
ott 18 04:26:56 archlinux kernel:  ? sched_clock+0x5/0x10
ott 18 04:26:56 archlinux kernel:  ? sched_clock_cpu+0xe/0xd0
ott 18 04:26:56 archlinux kernel:  ? asm_common_interrupt+0x1e/0x40
ott 18 04:26:56 archlinux kernel:  ? cpufreq_this_cpu_can_update+0xe/0x50
ott 18 04:26:56 archlinux kernel:  ? asm_common_interrupt+0x1e/0x40
ott 18 04:26:56 archlinux kernel:  ? __efi_call+0x28/0x30
ott 18 04:26:56 archlinux kernel:  ? efi_call_rts+0x193/0x920
ott 18 04:26:56 archlinux kernel:  ? efi_call_rts+0x198/0x920
ott 18 04:26:56 archlinux kernel:  ? process_one_work+0x1da/0x3d0
ott 18 04:26:56 archlinux kernel:  ? worker_thread+0x4d/0x3d0
ott 18 04:26:56 archlinux kernel:  ? rescuer_thread+0x410/0x410
ott 18 04:26:56 archlinux kernel:  ? kthread+0x142/0x160
ott 18 04:26:56 archlinux kernel:  ? __kthread_bind_mask+0x60/0x60
ott 18 04:26:56 archlinux kernel:  ? ret_from_fork+0x22/0x30
ott 18 04:26:56 archlinux kernel: handlers:
ott 18 04:26:56 archlinux kernel: [<00000000fb9625ee>] pciehp_isr threaded [<00000000ebfdfd5f>] pciehp_ist
ott 18 04:26:56 archlinux kernel: [<00000000fb9625ee>] pciehp_isr threaded [<00000000ebfdfd5f>] pciehp_ist
ott 18 04:26:56 archlinux kernel: [<000000004abd4ca7>] irq_handler [firewire_ohci]
ott 18 04:26:56 archlinux kernel: Disabling IRQ #18

I will try to boot with irqpoll but yeah this seems like a firmware/driver bug upstream to me.

SOLUTION (kind of)

Is to add irqpoll as boot parameter but it may significantly impact system performance. I will file a bug report upstream.

ott 18 05:56:15 archlinux kernel: Misrouted IRQ fixup and polling support enabled
ott 18 05:56:15 archlinux kernel: This may significantly impact system performance

Last edited by katoitalia (2020-10-18 04:08:21)

Offline

#6 2020-10-18 04:42:41

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [WORKAROUND] 5.9.1 broke my webcam

Check your irqs with /proc/interrupts

Usually a device connected via usb is on a irq or irq sharing port.

Last edited by nomorewindows (2020-10-18 04:43:44)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#7 2020-10-18 05:17:04

katoitalia
Member
Registered: 2020-10-18
Posts: 7

Re: [WORKAROUND] 5.9.1 broke my webcam

nomorewindows wrote:

Check your irqs with /proc/interrupts

Usually a device connected via usb is on a irq or irq sharing port.

this is

cat /proc/interrupts

with irqpoll enabled:

           CPU0       CPU1       CPU2       CPU3       
  0:          9          0          0          0   IO-APIC   2-edge      timer
  8:          0          0          0          1   IO-APIC   8-edge      rtc0
  9:          0          0          0          0   IO-APIC   9-fasteoi   acpi
 16:          0          2          0          0   IO-APIC  16-fasteoi   pciehp
 17:          0          0          1          0   IO-APIC  17-fasteoi   pciehp, pciehp, mmc0
 18:          0          0          0     271817   IO-APIC  18-fasteoi   pciehp, pciehp, firewire_ohci, i801_smbus
 19:          0          0          0          0   IO-APIC  19-fasteoi   pciehp, uhci_hcd:usb6
 21:          0          0          0          0   IO-APIC  21-fasteoi   uhci_hcd:usb5
 22:          0          0      45685          0   IO-APIC  22-fasteoi   ehci_hcd:usb2
 23:          0       2103          0          0   IO-APIC  23-fasteoi   ehci_hcd:usb1
 36:          0          0      45733          0   PCI-MSI 512000-edge      ahci[0000:00:1f.2]
 37:          3          0          0          0   PCI-MSI 8388608-edge      firewire_ohci
 38:          0          0          0          0   PCI-MSI 7344128-edge      ehci_hcd:usb3
 39:          0          0          0          0   PCI-MSI 7340032-edge      ohci_hcd:usb4
 40:          0          0          0          0   PCI-MSI 7342080-edge      ohci_hcd:usb7
 41:          0          0          0       4421   PCI-MSI 4194304-edge      thunderbolt
 42:       4472          0          0          0   PCI-MSI 4194305-edge      thunderbolt
 57:          0         17          0          0   PCI-MSI 360448-edge      mei_me
 58:          0          0     439773          0   PCI-MSI 32768-edge      i915
 59:          0          0          0       2321   PCI-MSI 442368-edge      snd_hda_intel:card0
 60:      45970          0          0          0   PCI-MSI 1048576-edge      enp2s0f0-tx-0
 61:          0       2349          0          0   PCI-MSI 1048577-edge      enp2s0f0-rx-1
 62:          0          0      35322          0   PCI-MSI 1048578-edge      enp2s0f0-rx-2
 63:          0          0          0       3650   PCI-MSI 1048579-edge      enp2s0f0-rx-3
 64:      34855          0          0          0   PCI-MSI 1048580-edge      enp2s0f0-rx-4
 65:          0          1          0          0   PCI-MSI 7864320-edge      ens3-tx-0
 66:          0          0          1          0   PCI-MSI 7864321-edge      ens3-rx-1
 67:          0          0          0          1   PCI-MSI 7864322-edge      ens3-rx-2
 68:          1          0          0          0   PCI-MSI 7864323-edge      ens3-rx-3
 69:          0          1          0          0   PCI-MSI 7864324-edge      ens3-rx-4
NMI:         60         59         59         63   Non-maskable interrupts
LOC:     553556     504546     604468     623611   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:         60         59         59         63   Performance monitoring interrupts
IWI:          4          1      31124        258   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:     136848     111235     107118     123117   Rescheduling interrupts
CAL:      49613      46134      40654      36864   Function call interrupts
TLB:      28604      26331      27807      27881   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:         13         14         14         14   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt notification event
NPI:          0          0          0          0   Nested posted-interrupt event
PIW:          0          0          0          0   Posted-interrupt wakeup event

and this is without irqpoll

           CPU0       CPU1       CPU2       CPU3
  0:          9          0          0          0   IO-APIC   2-edge      timer
  8:          0          0          0          1   IO-APIC   8-edge      rtc0
  9:          0          0          0          0   IO-APIC   9-fasteoi   acpi
 16:          0       1061          0          0   IO-APIC  16-fasteoi   pciehp
 17:          0          0      92850          0   IO-APIC  17-fasteoi   pciehp, pciehp, mmc0
 18:          0          0          0     201243   IO-APIC  18-fasteoi   pciehp, pciehp, firewire_ohci, i801_smbus
 19:          0          0          0          0   IO-APIC  19-fasteoi   pciehp, uhci_hcd:usb6
 21:          0          0          0          0   IO-APIC  21-fasteoi   uhci_hcd:usb5
 22:          0          0       5264          0   IO-APIC  22-fasteoi   ehci_hcd:usb2
 23:          0        656          0          0   IO-APIC  23-fasteoi   ehci_hcd:usb1
 36:          0          0      13598          0   PCI-MSI 512000-edge      ahci[0000:00:1f.2]
 37:          3          0          0          0   PCI-MSI 8388608-edge      firewire_ohci
 38:          0          0          0          0   PCI-MSI 7344128-edge      ehci_hcd:usb3
 39:          0          0          0          0   PCI-MSI 7340032-edge      ohci_hcd:usb4
 40:          0          0          0          0   PCI-MSI 7342080-edge      ohci_hcd:usb7
 41:          0          0          0       4442   PCI-MSI 4194304-edge      thunderbolt
 42:       4472          0          0          0   PCI-MSI 4194305-edge      thunderbolt
 57:          0         17          0          0   PCI-MSI 360448-edge      mei_me
 58:          0          0       4623          0   PCI-MSI 32768-edge      i915
 59:          0          0          0       1636   PCI-MSI 442368-edge      snd_hda_intel:card0
 60:         57          0          0          0   PCI-MSI 1048576-edge      enp2s0f0-tx-0
 61:          0         19          0          0   PCI-MSI 1048577-edge      enp2s0f0-rx-1
 62:          0          0         15          0   PCI-MSI 1048578-edge      enp2s0f0-rx-2
 63:          0          0          0         13   PCI-MSI 1048579-edge      enp2s0f0-rx-3
 64:          4          0          0          0   PCI-MSI 1048580-edge      enp2s0f0-rx-4
 65:          0          1          0          0   PCI-MSI 7864320-edge      ens3-tx-0
 66:          0          0          1          0   PCI-MSI 7864321-edge      ens3-rx-1
 67:          0          0          0          1   PCI-MSI 7864322-edge      ens3-rx-2
 68:          1          0          0          0   PCI-MSI 7864323-edge      ens3-rx-3
 69:          0          1          0          0   PCI-MSI 7864324-edge      ens3-rx-4
NMI:          1          1          1          1   Non-maskable interrupts
LOC:      11081       9786      10726      10386   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:          1          1          1          1   Performance monitoring interrupts
IWI:          1          1        249          2   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:       3863       3882       5364       2944   Rescheduling interrupts
CAL:       3513       3307       2903       3070   Function call interrupts
TLB:       1847       1077        717       2044   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          1          2          2          2   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt notification event
NPI:          0          0          0          0   Nested posted-interrupt event
PIW:          0          0          0          0   Posted-interrupt wakeup event

As I said before I know next to nothing about IRQ so I have no idea about what to do with it I mean: I see several thousands more interrupts doing maintenence things with irqpool but other than that I don't know how to fix this.

Offline

#8 2020-10-18 05:24:28

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [WORKAROUND] 5.9.1 broke my webcam

The very right shows which kernel module is on which irq.

Since the camera is a usb device, it'll most likely show up as just being under a usb irq.

To find out which usb hub the camera is on, you'd simply do lsusb and if you want to match any possible modules (which don't appear to be there), lsusb -vv.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#9 2020-10-18 05:45:06

katoitalia
Member
Registered: 2020-10-18
Posts: 7

Re: [WORKAROUND] 5.9.1 broke my webcam

Here it is, what's next?

Bus 003 Device 009: ID 05ac:1112 Apple, Inc. FaceTime HD Camera (Display)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x05ac Apple, Inc.
  idProduct          0x1112 FaceTime HD Camera (Display)
  bcdDevice           71.60
  iManufacturer           1 Apple Inc.
  iProduct                2 FaceTime HD Camera (Display)
  iSerial                 3 DELETED FOR PRIVACY REASONS
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x02ba
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0
      iFunction               2 FaceTime HD Camera (Display)
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0
      iInterface              2 FaceTime HD Camera (Display)
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength       0x0033
        dwClockFrequency        4.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x0000010a
          Auto-Exposure Mode
          Exposure Time (Absolute)
          Iris (Relative)
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               3
        iTerminal               0
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 3
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000157f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0
        bmVideoStandards     0x00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      VideoStreaming Interface Descriptor:
        bLength                            15
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         2
        wTotalLength                   0x01df
        bEndPointAddress                  130
        bmInfo                              0
        bTerminalLink                       2
        bStillCaptureMethod                 2
        bTriggerSupport                     0
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                     0
        bmaControls( 1)                     0
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                6
        guidFormat                            {32595559-0000-0010-8000-00aa00389b71}
        bBitsPerPixel                      16
        bDefaultFrameIndex                  5
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         6
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize     1843200
        dwDefaultFrameInterval        1000000
        bFrameIntervalType                  1
        dwFrameInterval( 0)           1000000
      VideoStreaming Interface Descriptor:
        bLength                            30
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               6
        wWidth( 0)                        160
        wHeight( 0)                       120
        wWidth( 1)                        176
        wHeight( 1)                       144
        wWidth( 2)                        320
        wHeight( 2)                       240
        wWidth( 3)                        352
        wHeight( 3)                       288
        wWidth( 4)                        640
        wHeight( 4)                       480
        wWidth( 5)                       1280
        wHeight( 5)                       720
        bNumCompressionPatterns             0
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 1 (BT.709)
      VideoStreaming Interface Descriptor:
        bLength                            11
        bDescriptorType                    36
        bDescriptorSubtype                  6 (FORMAT_MJPEG)
        bFormatIndex                        2
        bNumFrameDescriptors                3
        bFlags                              0
          Fixed-size samples: No
        bDefaultFrameIndex                  2
        bAspectRatioX                       0
        bAspectRatioY                       0
        bmInterlaceFlags                 0x00
          Interlaced stream or variable: No
          Fields per frame: 1 fields
          Field 1 first: No
          Field pattern: Field 1 only
        bCopyProtect                        0
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            960
        wHeight                           540
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize     1036800
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1024
        wHeight                           576
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize     1179648
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            42
        bDescriptorType                    36
        bDescriptorSubtype                  7 (FRAME_MJPEG)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                           1280
        wHeight                           720
        dwMinBitRate                 24576000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize     1843200
        dwDefaultFrameInterval         333667
        bFrameIntervalType                  4
        dwFrameInterval( 0)            333667
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            416667
        dwFrameInterval( 3)            666667
      VideoStreaming Interface Descriptor:
        bLength                            18
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               3
        wWidth( 0)                        960
        wHeight( 0)                       540
        wWidth( 1)                       1024
        wHeight( 1)                       576
        wWidth( 2)                       1280
        wHeight( 2)                       720
        bNumCompressionPatterns             0
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 1 (BT.709)
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b00  2x 768 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0c00  2x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1380  3x 896 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       7
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

Offline

#10 2020-10-18 06:17:34

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [WORKAROUND] 5.9.1 broke my webcam

It's plugged into bus 3 which would be irq 38...that's not the irq 18 that it's complaining about disabling.

It looks like it is just using the usb uvc driver (no nothing special). 

Probably won't be any different between kernels. 

Unless there was a problem with the usb driver (host or uvc).

Could possibly put debug options on the kernel modules, but may not tell anything either.

lsmod would show what modules are tied together with their dependencies.

Not sure if any of the v4l2 utilites would give any useful information.

Last edited by nomorewindows (2020-10-18 06:20:24)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#11 2020-10-19 02:52:14

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [WORKAROUND] 5.9.1 broke my webcam

It looks like irq 18 is your firewire port.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#12 2020-10-19 05:31:14

katoitalia
Member
Registered: 2020-10-18
Posts: 7

Re: [WORKAROUND] 5.9.1 broke my webcam

nomorewindows wrote:

It looks like irq 18 is your firewire port.

Yeah I know, I don't see many solutions: downgrade (thank you, but no, thank you) or use irqpoll and wait and test new versions as they come along and this is what I am planning to do. 5.9 works weird with all kind of hardware but it will be much better in a couple of months.

Offline

Board footer

Powered by FluxBB