$ lsusb Bus 005 Device 002: ID 04f2:b021 Chicony Electronics Co., Ltd $ dmesg [20093.973828] usb 5-8: new high speed USB device using ehci_hcd and address 2 [20094.211937] usb 5-8: configuration #1 chosen from 1 choice [20094.318310] Linux video capture interface: v2.00 [20094.341023] uvcvideo: Found UVC 1.00 device ViewSonic 1.3M, USB2.0 Webcam (04f2:b021) [20094.344865] usbcore: registered new interface driver uvcvideo [20094.345151] USB Video Class driver (v0.1.0)That reveals that this Webcam is supported by the uvcvideo kernel module, and if I need to do a Web search for more information I have the Super Secret Webcam Name and Number. Take that, Viewsonic! Remember that dmesg updates as you plugin or remove peripherals, so its most recent output always shows the latest activity. If dmesg doesn't see a device, then the kernel does not see it, and you're probably out of luck.
Come back next week and we'll get cracking on some fun stuff, such as spying on people and displaying ourselves on the Internet. Please visit Resources for all manner of helpful links.
This article was first published on LinuxPlanet.com.