@surjack: 1-6dipende dalla tua mappatura delle porte. Se digiti lsusb -t, lo otterrai e lo confronterai con l'output di lsusb. Per me ottengo i seguenti output:
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 5986:0525 Acer, Inc
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 012: ID 413c:2107 Dell Computer Corp.
e
lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
|__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 3: Dev 9, If 0, Class=Vendor Specific Class, Driver=hdm_usb, 480M
|__ Port 4: Dev 10, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 11, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 12, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 3: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 3: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
Ora trova il bus giusto che è 04nel mio caso perché Acer, Incè la videocamera. La mappatura delle porte mostra la posizione della telecamera Bus 04.Port 1. Questo significa che invece di usare 1-6devo usare 4-1. Non sono un esperto di Linux / Ubuntu ma questo mi dà l'impressione che devi usare Bus-Porte semplicemente usare i numeri. Se vuoi essere sicuro al 100% usa il catcomando come descritto:
cat /sys/bus/usb/devices/<Bus>-<Port>/id{Vendor,Product}
e confrontalo con lsusb.
Nel mio caso:
cat /sys/bus/usb/devices/4-1/id{Vendor,Product}
5986
0525
che è identico all'uscita lsusb: 5986:0525.
Ora hai trovato la tua webcam interna.
Ma purtroppo la lisdexia ha ragione e il comando echo non funziona perché Permission denied.
C'è un'altra soluzione disponibile?