No manage of external optical drive

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Desktop Ubuntu Khadas official image

Please describe your issue below:

Ubuntu can not mount optical drive when connected. Kodi is not able to (after install). This optical drive is mounted correctly on other system as Raspberry raspbian (i.e. no technical default on optical device).

Post a console log of your issue below:

Delete this line and post your log here.

Hello @fledren

Can you share the dmesg logs of your device ?

If your VIM is connected to network, you can run

$ dmesg | nc termbin.com 9999

What usb optical disk reader are you using ?

Hello. Thanks for your response.
Command dmesg was successfully executed over the network with optical drive linked on USB port. The device is an ASUSTeck drive.
Notice that device is electrically responsive : device is loading a disk when inserted. And disk can be ejected.
Notice that an USB mass storage device is loaded correctly.

@fledren please share the link returned by the provided command, we need it to view the log.

So issue is it being not able to mount and read the disk data ? have you tried to manually mount the disk, does it raise any error ?
what about the outputs of the commands:

$ lsblk # check for attached block devices

Yes, excuse me ;-). Here is adress logs : https://termbin.com/ip70

lsblk logs are the following :

khadas@Khadas:~$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0          7:0    0 158,2M  1 loop /snap/chromium/2696
loop1          7:1    0  68,5M  1 loop /snap/core22/867
loop2          7:2    0     4K  1 loop /snap/bare/5
loop3          7:3    0  64,8M  1 loop /snap/cups/981
loop4          7:4    0 228,2M  1 loop /snap/firefox/3357
loop5          7:5    0 475,1M  1 loop /snap/gnome-42-2204/143
loop6          7:6    0  91,7M  1 loop /snap/gtk-common-themes/1535
loop7          7:7    0  35,5M  1 loop /snap/snapd/20298
sda            8:0    1   7,5G  0 disk 
└─sda1         8:1    1   7,5G  0 part /media/khadas/le dren
mmcblk0      179:0    0  29,1G  0 disk 
├─mmcblk0p1  179:1    0   240M  0 part /boot
└─mmcblk0p2  179:2    0  28,6G  0 part /var/snap/firefox/common/host-hunspell
                                       /
mmcblk0boot0 179:32   0     4M  0 disk 
mmcblk0boot1 179:64   0     4M  0 disk 
zram0        253:0    0     0B  0 disk 
zram1        253:1    0   256M  0 disk [SWAP]
zram2        253:2    0   256M  0 disk [SWAP]
zram3        253:3    0   256M  0 disk [SWAP]
zram4        253:4    0   256M  0 disk [SWAP]
zram5        253:5    0     0B  0 disk 

When I try to mount a disk manually, I have this message :

DVDRead n'a pas pu ouvrir le disque « /dev/sr0 ».

Does /dev/sr0 exist ?
please provide the outputs of

$ ls /dev/

No. This directory does not exist. But I think it is a system drive mounted automatically on the fly. I created it manually anyway and set rights 755 and chown root:root. DVD drive is not better mounted.
I linked DVD drive on the second USB port with the same result.

It is curious khadas ubuntu image can not mount this drive. I have distributions based on ubuntu/debian on other machines and have not such a problem.

Hello @fledren

What’s the device node on other devices?

Can you try to upgrade the kernel and check again?

$ wget https://dl.khadas.com/.test/vim4/5.4/linux-dtb-amlogic-5.4_1.5.2_arm64.deb
$ wget https://dl.khadas.com/.test/vim4/5.4/linux-image-amlogic-5.4_1.5.2_arm64.deb
$ sudo dpkg -i linux-dtb-amlogic-5.4_1.5.2_arm64.deb linux-image-amlogic-5.4_1.5.2_arm64.deb
$ sync
$ sudo reboot

Hello,

Thanks a lot to the Khadas team ! :wink: All is running correctly after upgrade of the kernel.
Can you tell me me what was the problem exactly before I close the issue ?

1 Like

Some configs are missing, the new kernel added them.