tjmnmk / gadget_cdrom Goto Github PK
View Code? Open in Web Editor NEWgadget_cdrom converts your Raspberry Pi to virtual usb cdrom
License: Other
gadget_cdrom converts your Raspberry Pi to virtual usb cdrom
License: Other
Basically it doesnt open UDF ISO files and basically spit out a text file like this
This disc contains a "UDF" file system and requires an operating system
that supports the ISO-13346 "UDF" file system specification.
CDFS formatted ISO works just fine though.
At first, it seems that these files able to mount the UDF files just fine, but after just a few reboots, it no longer works.
I was able to trigger this issue by just rebooting the PC, mount a Windows 10 ISO on my raspberry pi, boot from it and after that it will boot to windows setup and after clicking the install button, it will complain about missing drivers or something. Basically after it entered the Windows Setup, the CD Drive basically went kaput and only recognize CDFS ISO files.
The only way to fix it is basically mount 2-3 ISO files from file explorer (not from the pi itself) and unmount all of them, and all of the sudden, UDF ISOs starts to work again.
I can only speculate that CD Drive emulation is not going well with UDFS ISO files. It probably needs a proper DVD Drive emulation.
One use case where this appliance would shine would be DOS support.
Unfortunately I have not been able to make this work (https://www.bootdisk.com/usb.htm)
This would give retro gamers the possibility to switch game cd's without having a real optical drive.
Should this be working?
Another thing I would imagine which might be useful is Audio CD support (also for dos gaming); would it be possible to intercept the play track commands to the virtual USB CDROM, and play FLAC/MP3 based on trackxx.wav on the Raspberry PI; Thus I am thinking Pi-Zero -> HDMI -> HDMIAudio Extractor -> CD AUDIO
Hi, this is maybe not directly an issue with gadget_cdrom but maybe you put this information in your documentation. As i understand right you need an additional driver for installing Windows on this way. Windows needs USB CDROM Driver ( USB Gadget Driver ). Currently i didn't find a proper one. Maybe it depends on wich DEVICE_ID you Provide in CDROM Mode<- I don't know if it's possible to change.
I am having mounting issues for HDD, and for ISO. I can not mount the HDD even though HDD shows up on my oled.
I have created the /iso.img file using your utility. I want to help, I will even contribute documention if this is still an ongoing project.
This seams really useful to have especially if it works. What I will provide any infomation you need to get this working. Just point me to the log files you need.
I am using raspian buster lite, fully updated.
I read the how to server times, and Have restarted twice with out suckses.
Documentation
Edit documentation to show how to enable g_acm_ms, g_storage , this is the part I got hung up on with my first issue.
Show how to make RPI faster and boot in seconds, by stopping B.T., Wifi, DHCP, Keyboard and other unneeded services.
Software
An icon showing disk is currently being written to or read... Do not remove Icon in HDD mode and USB mode
Support for VHD, VMKD and virtual floppy
Create dialog in USB mode to create usb.img and maybe delete old one. (Button 1) with it asking size and file disk format.
Left D-Pad = Unmount/ Shutdown so SD card corruption does not happen, and Start up Left D-Pad is the only one on wire 3 for the oled hat. Wire 3 can control start up and shut down, no other pins can be used.
DPAD CLICK = Mount and unmount
Overall
Create a pre-compiled Image for people do download and just use.
I am happy to help with documentation if you want and I love this project.
One of the (minor) drawbacks is the speed at adding files to the device. Is it possible to have a partition be used in place of the iso.img file? That way you could put the sd card in a computer directly to transfer the files.
Is there a limit to the gadget module that prevents you from using a partition?
Not sure if this project is maintained anymore or if someone monitors it, but would be very appreciative if someone could help :)
Basically I installed the dietpi image in a Zero Pi 2 (W) but no matter what i try I can't make the device be seen by other computers, in any of the modes.
The hat works fine, I can select images, but for example, if I connect it in a windows or mac computer, they do not see the device at all (nothing in event viewer or logs).
Did someone make it work in a Pi zero 2 ?
Is it possible to have the provided gadget_cdrom image to expand the available storage on the SD card on the first boot?, also how can it be done it once I have flashed the image, I flashed it on a 64gb SDcard and only 6gb are available for isos. thanks.
As title says, maybe adding a way of control through a web interface. Making use that built-in WiFi and act as AP mode to connect lets say a smartphone to control what mode to set and what ISO file to mount.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.