We might want to use and old phone as a separate video source from a different angle than a webcam. We might want to use a USB mic (not recommended w/out preamp), we migh have an extra USB cam lying about
- /etc/udev/rules.d: as with all things USB, you'll have to identify the device and reload udev. Once you have this done, it will recognize he device when plugged in.
- specialized software as with other linux projects, you'll probably need some software specific to that funciton
Turbo 2 - Android 7
Specs on this 4G 2015 phone include a 21MP camera- decent for video. It has about 21Gb free on the phone, but we can add up to a 64Gb microSDXC. Use at least a class 6 speed SDXC for 1080P. My original was stolen (probably at the T-Mobile outlet). A replacement was $8 (2022) for 32Gb Class 10 SanDisk.
What still works without the SIM? With a WiFi connection nearly everything but voice and text apps. Everything Google is a "go": Google Play Store, Voice etc., over Wi-Fi.
Most often, we'll just start and stop recording from the phone and download the file after. But what if we want to use it as a webcam, live via USB? Plugging in, we may get any number USB VID's based on what's chosen from the 5 phone options.
$ lsusb
Bus 001 Device 031: ID 22b8:2ea5 Motorola PCS XT1585
- 2ea5 - "Charge this device", "Transfer files". If file transfer is selected, one can use...
$ jmtpfs ~/mnt
...to move video and audio files off/on the device for further editing.
$ fusermount -u ~/mnt - 2ea7 - "Transfer photos (PTP)". Don't know what PTP photo transfer is.
- 18d1:4ee9 - "Use device as MIDI"
$ lsusb
Not sure what a MIDI device is or how to use one.
18d1:4ee9 Google Inc. Nexus/Pixel Device (MIDI + debug) - 2e61 - "Software installation". ADB-type actions - root kits, side mounts, etc.
- 2e25 - usb-tethered hotspot. This phone's decomissioned for hotpspotting phone data (SIM removed) but the switch is in Settings -> Wireless & networks -> More -> Mobile Hotspot & Tethering.
I could not find an option that did not require some software. I started with iVCam Webcam, which had some good instructions and might work for others. Ultimately, I found that, for Arch linux, I could yay. And of course you need to allow USB de-bugging.
This is possibly beneficial if seems to need a rule. Also may need to
# pacman -S v4l2loopback-dkms
installing v4l2loopback-dkms
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod v4l2loopback/0.12.5 -k 5.19.12-arch1-1
Deprecated feature: REMAKE_INITRD
==> depmod 5.19.12-arch1-1
# pacman -S v4l2loopback-utils
No comments:
Post a Comment