How to access a digital camera on WSL2
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
When I connect the digital camera to the PC, Explorer in Win 11 displays it as `Canon PowerShot SX70 HS` **without** drive letter.
On GNU/Linux Mint 22.1 more or less the same thing happens and I see an icon on the Desktop with the same name **BUT** from command line I can access it
```
ls -lrt /run/user/1000/gvfs/'gphoto...canon...BLA BLA'
```
So in WSL2 I installed the gphotofs and friend packages as on Mint machine **BUT** I do not find the DC on WSL2...
What should I do?
Is it possible do the same on WSL2?
For the sake of completeness, usually I mount a pendrive with, for example:
```
sudo mount -t drvfs e: /mnt/wsl -o uid=$(id -u $USER),gid=$(id -g $USER),metadata
```
but in this case there is not drive letter...
Contributor guide
Research direction
Start by comparing the working GNU/Linux Mint setup using gphotofs and /run/user/1000/gvfs with the WSL2 environment. Check how the camera is exposed when it has no Windows drive letter and whether the listed drvfs mount approach applies; done means establishing and documenting a supported way to access the camera, or confirming that WSL2 cannot do so.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100