USB not mounted on 2018 Stretch and select usb Files
USB not mounted on 2018 Stretch and select usb Files
Hi alls,
I have installed rpidatv on new Stretch OS. (thank you Dave for this new dev)
No problem software run very well.
But when I use Putty , and selected Filet option, I cannot see TS files in usb media directory.
I have USB4, USB01 to USB07, but directory are empty.
I think my USB key is not mounted, or I forgotten something.......
Thx for support.
Best 73 Franck
I have installed rpidatv on new Stretch OS. (thank you Dave for this new dev)
No problem software run very well.
But when I use Putty , and selected Filet option, I cannot see TS files in usb media directory.
I have USB4, USB01 to USB07, but directory are empty.
I think my USB key is not mounted, or I forgotten something.......
Thx for support.
Best 73 Franck
Last edited by F1SSF on Sat Jun 09, 2018 12:55 pm, edited 1 time in total.
Re: USB not mounted on 2018 Stretch
Hi Franck
Thanks for the report; I'm unable to check this at the moment. I'll look at it when I get back from Friedrichshafen.
Dave
Thanks for the report; I'm unable to check this at the moment. I'll look at it when I get back from Friedrichshafen.
Dave
Re: USB not mounted on 2018 Stretch
No problem Dave, good radio show...
73 Franck
73 Franck
Re: USB not mounted on 2018 Stretch
Hi Franck
Thanks for pointing this out. The automount feature was disabled in Stretch. I will try to set it to work in the next update. Before that, you can edit the file yourself:
then change the line that says MountFlags=slave to MountFlags=shared. Then ctrl-x, y, enter to get out of nano, and reboot.
USB drives should mount correctly after that.
Dave
Thanks for pointing this out. The automount feature was disabled in Stretch. I will try to set it to work in the next update. Before that, you can edit the file yourself:
Code: Select all
sudo nano /lib/systemd/system/systemd-udevd.service
USB drives should mount correctly after that.
Dave
Re: USB not mounted on 2018 Stretch
Hi Dave
it's ok now, thank you for support.
So I have one question, is it possible in future update to select directly a TS file , or picture on USB key with the screen display?
At this time I can have only one path selected via putty.
Many thank's
Franck
it's ok now, thank you for support.
So I have one question, is it possible in future update to select directly a TS file , or picture on USB key with the screen display?
At this time I can have only one path selected via putty.
Many thank's
Franck
Re: USB not mounted on 2018 Stretch
Hi Franck
It's quite difficult to select a specific file on a touchscreen. I suppose that I could bring up the keyboard and ask you to type a filename. Would that be OK?
Dave
It's quite difficult to select a specific file on a touchscreen. I suppose that I could bring up the keyboard and ask you to type a filename. Would that be OK?
Dave
Re: USB not mounted on 2018 Stretch
Hi Dave,
Is it possible to add a button to go in USB media key, and add a scrolling tape on right side, to choose a file, and clic with your figer directly on file name...
I don'yt kwon if it is possible....
Many thank's for your invest.
Super 73 Franck
I think this soluce is not easy to use, if you don't remember the file name..I could bring up the keyboard and ask you to type a filename.
Is it possible to add a button to go in USB media key, and add a scrolling tape on right side, to choose a file, and clic with your figer directly on file name...
I don'yt kwon if it is possible....
Many thank's for your invest.
Super 73 Franck
Re: USB not mounted on 2018 Stretch
Hi Franck
The scrolling file display would be possible, but would take at least a couple of weeks of programming, so I'm not prepared to do it. There are other things that I want to get working first, such as better support for LeanDVB and the transmission of DVB-S2.
I hope that you understand
Dave
The scrolling file display would be possible, but would take at least a couple of weeks of programming, so I'm not prepared to do it. There are other things that I want to get working first, such as better support for LeanDVB and the transmission of DVB-S2.
I hope that you understand
Dave
Re: USB not mounted on 2018 Stretch
Hi Dave,
No problem, I understand, it's only for comfort, it is not application.
you're right, the bottom first and the shape after
Good luck and thank you again for your job.
Franck 73
No problem, I understand, it's only for comfort, it is not application.
you're right, the bottom first and the shape after
Good luck and thank you again for your job.
Franck 73
Re: USB not mounted on 2018 Stretch
Hi Franck
Perhaps you could do this by renaming the files in your USB stick to a standard format, e.g. 0001.ts, 0002.ts etc and then create symbolic links to those on the SD card in a fixed place with a fixed format. Then Dave could select via a button and just a number. This would be easier than trying to parse a directory (not that this is all that difficult !).
To get all the files named sequentially in say a /videos directory on the root of the USB stick you could run something like [note this renames your files, it assumes they are all TS files, and I am assuming this is not a problem!]
cd /media/usb0/videos/ | ls -v | gawk 'BEGIN{ a=1 }{ printf "mv %s %04d.ts\n", $0, a++ }' | bash
Assume the links to these video files are to be held in a directory /home/pi/videos
$ ln -s /media/usb0/videos/ /home/pi/
That puts in the symbolic links. These could also be real files on the SD card if you prefer and there is space.
Mike
Perhaps you could do this by renaming the files in your USB stick to a standard format, e.g. 0001.ts, 0002.ts etc and then create symbolic links to those on the SD card in a fixed place with a fixed format. Then Dave could select via a button and just a number. This would be easier than trying to parse a directory (not that this is all that difficult !).
To get all the files named sequentially in say a /videos directory on the root of the USB stick you could run something like [note this renames your files, it assumes they are all TS files, and I am assuming this is not a problem!]
cd /media/usb0/videos/ | ls -v | gawk 'BEGIN{ a=1 }{ printf "mv %s %04d.ts\n", $0, a++ }' | bash
Assume the links to these video files are to be held in a directory /home/pi/videos
$ ln -s /media/usb0/videos/ /home/pi/
That puts in the symbolic links. These could also be real files on the SD card if you prefer and there is space.
Mike