Page 5 of 6
Re: Mount external dvd/bd-rom
Posted: Thu Jan 14, 2016 11:59 am
by sectroyer
did load cdrom.ko work or not ?

Re: Mount external dvd/bd-rom
Posted: Thu Jan 14, 2016 1:15 pm
by matrixabc
cdrom.ko - work

("insmod cdrom.ko" just ok load to TV)
but not work sr_mod.ko and sg.ko

Re: Mount external dvd/bd-rom
Posted: Thu Jan 14, 2016 1:22 pm
by juusso
I will translate sectroyer to english: he asked are you able to mount external dvd after you insmod this cdrom.ko.
Re: Mount external dvd/bd-rom
Posted: Thu Jan 14, 2016 4:46 pm
by matrixabc
When i "insmod cdrom.ko" and conected DVD to TV, "dmesg" return:
Code: Select all
usb 1-1.4: new high speed USB device number 4 using ehci-sdp
usb-storage 1-1.4:1.0: Quirks match for vid 152d pid 2329: 8020
scsi2 : usb-storage 1-1.4:1.0
scsi 2:0:0:0: CD-ROM PLDS DVDRWBD DS-6E2SH CD13 PQ: 0 ANSI: 0
so i can't see able to mount because there is no "sr0" or someting like that. How can i mount?
I must have to se "sr0" then i mounted DVD so compiled modules "sr_mod.ko" but is not load (see my earlier post)
Re: Mount external dvd/bd-rom
Posted: Thu Jan 14, 2016 7:47 pm
by matrixabc
YYYYYYEEEEEEEEEEEEE

it's work
now talk me how can i see file in TV?
I mount CD in /dtv/usb/sdj1
When i searching for the new device on TV i dont see new icon
Re: Mount external dvd/bd-rom
Posted: Thu Jan 14, 2016 8:16 pm
by zoelechat
You have to edit yourself /dtv/usb/usblog and add an entry for drive such as:
Code: Select all
[sdj]
Vendor : USB
Product : CDROM
Serial : BLAHBLAH1234
Devpath : 12
Lun : 0
ScsiDevicePath : /dev/sdj1
MountDir : /dtv/usb/sdj1
FileSystem : vfat
To be done of course on every reboot, and if ever you plug/unplug any (other) device.
Re: Mount external dvd/bd-rom
Posted: Thu Jan 14, 2016 9:42 pm
by sectroyer
juusso wrote:I will translate sectroyer to english: he asked are you able to mount external dvd after you insmod this cdrom.ko.
No actually he did provide EXACTLY the info I wanted

Anyway looks he finally figured it out
matrixabc wrote:YYYYYYEEEEEEEEEEEEE

it's work
now talk me how can i see file in TV?
I mount CD in /dtv/usb/sdj1
When i searching for the new device on TV i dont see new icon
Good it worked. Once it works please describe all steps you did

It will help others

Re: Mount external dvd/bd-rom
Posted: Fri Jan 15, 2016 8:41 am
by matrixabc
It works
Thank sectroyer for your patience

,
thanks juusso for translation sectroyer to english

and zoelechat for your last post
Now i must create wigeth whith mounted dvd automatically (someting like this
viewtopic.php?f=6&t=309&start=20) suggestions are wery nice for me
When i get a grip I write how I compiled the modules.
Aaaa one more thing. Sorry for my english.
Re: Mount external dvd/bd-rom
Posted: Fri Jan 15, 2016 3:57 pm
by sectroyer
Np. Write full Step-by-step:
How did you compile,
In which order do you load,
what configs did you modify to make it work. etc.
It will help others. Also thanks for contribution

Re: Mount external dvd/bd-rom
Posted: Thu Jan 21, 2016 10:16 pm
by matrixabc
I write skript sh ("cdmont.sh") and it work when i execute in telnet. How can i execute skript from the level of the tv. ???
I write is small widget in 2 button but i don't know how start execiute a skript (cdmont.sh) in widget (html/javascript). ???