You are not logged in.

#1 2015-05-30 09:41:57

vda
Member
From: Italy
Registered: 2015-04-10
Posts: 19

[Solved] CD drive recognized only at system startup

Hi all,

I've an old external CD drive that I'd like to use on an ultrabook.

The problem is that the CD drive is recognized by Arch Linux only if it is plugged in at boot time. Also, it is possibile to read a CD only if this is inserted in the CD drive at boot.

Excluding Udev problems, I can just imagine that the kernel modules for the CD drive are loaded only at system startup and only if this is plugged in. So, just for a test, which are the kernel modules I should load manually (modprobe) to make the CD drive working also at run time?

Thanks in advance.

Last edited by vda (2015-06-01 12:37:44)


I'm sorry for my english: I'm still learning...

Offline

#2 2015-05-30 11:35:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,170

Re: [Solved] CD drive recognized only at system startup

For the moment I'm leaning more towards hardware issues then udev / module .

What connection does the external CD use ?
Does it have it's own power cord ?

If USB, what version does it support ?
Which usb versions / ports are present on the ultrabook ?

Do you have the HW specs of the external CD drive / ultrabook ?
if not, post brand & model and someone may be able to find them online.

Edit

Does the xternal drive work on other systems / OSes ?

Some (especially early) models of external cd-drives presented themselves as fixed harddrives to the system.
That would also explain the behaviour you see.

Last edited by Lone_Wolf (2015-05-30 11:38:57)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-05-30 13:03:45

vda
Member
From: Italy
Registered: 2015-04-10
Posts: 19

Re: [Solved] CD drive recognized only at system startup

Thanks for your reply.

You are right: I was too short in my explanation.

The device is an old Mustek on Usb 2.0 that can just burn CD ROM; It has his own power cord. I don't know much more about it.

My PC is a Lenovo M30-70 (i5, 4GB Ram, 500 GB HD, 2 Usb 2.0 ports and 1 USB 3.0, MBR partition scheme).

I'm using the 4.0.4 kernel and Xfce4 as DE.

I noticed that, with CD driver plugged in at startup, the system loads cdrom and isofs kernel modules. Is not the same if I connect the CD driver at run time.

Last edited by vda (2015-05-30 13:04:53)


I'm sorry for my english: I'm still learning...

Offline

#4 2015-05-31 14:54:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,170

Re: [Solved] CD drive recognized only at system startup

You may be right linux doesn't detect the correct module, but i expect cdrom & isofs are not the critical ones.

please post the output of lsusb and lsusb -t and lsmod in 3 cases :
A. start with CD drive plugged in
B. start with CD drive NOT plugged.
B1. plugin the cd drive, run the 3 commands again.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2015-05-31 20:51:21

vda
Member
From: Italy
Registered: 2015-04-10
Posts: 19

Re: [Solved] CD drive recognized only at system startup

Thank you again for your interest.

I have to correct myself: waiting few minutes after connecting the CD drive at run time, I can see the cdrom and isofs kernel modules. I can also mount and read the CD, but only by command line. This would already be a good solution, but if the CD drive is connected at system boot, I can see and manage the CD-ROM directly by Thunar.

These the scenarios you asked for:

A. Starting with CD drive plugged in

$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0bda:b728 Realtek Semiconductor Corp. 
Bus 002 Device 003: ID 04f2:b420 Chicony Electronics Co., Ltd 
Bus 002 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 005: ID 0402:5621 ALi Corp. M5621 High-Speed IDE Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



$ lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 1: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 6: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M



$ lsmod
Module                  Size  Used by
sr_mod                 24576  0 
cdrom                  53248  1 sr_mod
uas                    24576  0 
usb_storage            61440  1 uas
fuse                   90112  3 
ctr                    16384  2 
ccm                    20480  2 
bnep                   20480  2 
rtsx_usb_ms            20480  0 
memstick               16384  1 rtsx_usb_ms
rtsx_usb_sdmmc         28672  0 
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
joydev                 20480  0 
mousedev               20480  0 
btusb                  40960  0 
bluetooth             442368  21 bnep,btusb
uvcvideo               86016  0 
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         40960  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
videodev              135168  3 uvcvideo,v4l2_common,videobuf2_core
media                  20480  2 uvcvideo,videodev
iTCO_wdt               16384  0 
iTCO_vendor_support    16384  1 iTCO_wdt
intel_rapl             20480  0 
iosf_mbi               16384  1 intel_rapl
x86_pkg_temp_thermal    16384  0 
intel_powerclamp       20480  0 
coretemp               16384  0 
kvm_intel             155648  0 
kvm                   446464  1 kvm_intel
r8169                  81920  0 
crct10dif_pclmul       16384  0 
crc32_pclmul           16384  0 
crc32c_intel           24576  0 
ghash_clmulni_intel    16384  0 
aesni_intel           172032  4 
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
arc4                   16384  2 
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ideapad_laptop         20480  0 
ablk_helper            16384  1 aesni_intel
mii                    16384  1 r8169
sparse_keymap          16384  1 ideapad_laptop
snd_soc_rt5640         86016  0 
rtl8723be              90112  0 
btcoexist              53248  1 rtl8723be
rtl8723_common         20480  1 rtl8723be
rtl_pci                32768  1 rtl8723be
rtlwifi                65536  2 rtl_pci,rtl8723be
evdev                  24576  12 
mac_hid                16384  0 
mac80211              655360  3 rtl_pci,rtlwifi,rtl8723be
psmouse               110592  0 
cryptd                 20480  3 ghash_clmulni_intel,aesni_intel,ablk_helper
cfg80211              483328  2 mac80211,rtlwifi
snd_hda_codec_hdmi     53248  1 
snd_hda_codec_realtek    65536  1 
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
serio_raw              16384  0 
rfkill                 24576  5 cfg80211,ideapad_laptop,bluetooth
pcspkr                 16384  0 
snd_soc_rl6231         16384  1 snd_soc_rt5640
snd_soc_core          159744  1 snd_soc_rt5640
thermal                20480  0 
snd_hda_intel          28672  6 
snd_hda_controller     28672  1 snd_hda_intel
i915                 1024000  6 
snd_compress           20480  1 snd_soc_core
battery                20480  0 
drm_kms_helper        102400  1 i915
snd_hda_codec         114688  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
ac                     16384  0 
drm                   282624  7 i915,drm_kms_helper
intel_gtt              20480  1 i915
i2c_algo_bit           16384  1 i915
dw_dmac                16384  0 
i2c_hid                20480  0 
dw_dmac_core           24576  1 dw_dmac
snd_pcm_dmaengine      16384  1 snd_soc_core
regmap_i2c             16384  1 snd_soc_rt5640
hid                   110592  1 i2c_hid
mei_me                 20480  0 
snd_hwdep              16384  1 snd_hda_codec
video                  24576  1 i915
i2c_designware_platform    16384  0 
i2c_i801               20480  0 
i2c_designware_core    20480  1 i2c_designware_platform
snd_soc_sst_acpi       16384  0 
i2c_core               53248  11 drm,i915,i2c_i801,snd_soc_rt5640,i2c_hid,i2c_designware_platform,regmap_i2c,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
mei                    77824  1 mei_me
button                 16384  1 i915
gpio_lynxpoint         16384  0 
shpchp                 36864  0 
spi_pxa2xx_platform    24576  0 
snd_pcm                90112  7 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller,snd_pcm_dmaengine
8250_dw                16384  0 
lpc_ich                24576  0 
snd_timer              28672  1 snd_pcm
snd                    69632  22 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_compress
soundcore              16384  2 snd,snd_hda_codec
fan                    16384  0 
processor              28672  0 
sch_fq_codel           20480  6 
pci_stub               16384  1 
vboxpci                24576  0 
vboxnetflt             28672  0 
vboxnetadp             28672  0 
vboxdrv               356352  3 vboxnetadp,vboxnetflt,vboxpci
ext4                  512000  1 
crc16                  16384  2 ext4,bluetooth
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
sd_mod                 36864  3 
atkbd                  24576  0 
libps2                 16384  2 atkbd,psmouse
ahci                   36864  2 
libahci                28672  1 ahci
xhci_pci               16384  0 
libata                184320  2 ahci,libahci
ehci_pci               16384  0 
xhci_hcd              155648  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
scsi_mod              147456  5 uas,usb_storage,libata,sd_mod,sr_mod
usbcore               200704  9 uas,btusb,uvcvideo,rtsx_usb,usb_storage,ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
i8042                  20480  2 libps2,ideapad_laptop
serio                  20480  6 serio_raw,atkbd,i8042,psmouse
sdhci_acpi             16384  0 
sdhci                  40960  1 sdhci_acpi
led_class              16384  2 sdhci,rtsx_usb_sdmmc
mmc_core              110592  3 sdhci,sdhci_acpi,rtsx_usb_sdmmc

B. Starting with the CD drive NOT plugged in.

$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0bda:b728 Realtek Semiconductor Corp. 
Bus 002 Device 003: ID 04f2:b420 Chicony Electronics Co., Ltd 
Bus 002 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



$ lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 6: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M



$ lsmod
Module                  Size  Used by
fuse                   90112  3 
ctr                    16384  2 
ccm                    20480  2 
bnep                   20480  2 
rtsx_usb_ms            20480  0 
memstick               16384  1 rtsx_usb_ms
rtsx_usb_sdmmc         28672  0 
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
joydev                 20480  0 
mousedev               20480  0 
btusb                  40960  0 
bluetooth             442368  21 bnep,btusb
uvcvideo               86016  0 
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         40960  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
videodev              135168  3 uvcvideo,v4l2_common,videobuf2_core
media                  20480  2 uvcvideo,videodev
iTCO_wdt               16384  0 
iTCO_vendor_support    16384  1 iTCO_wdt
intel_rapl             20480  0 
iosf_mbi               16384  1 intel_rapl
x86_pkg_temp_thermal    16384  0 
intel_powerclamp       20480  0 
coretemp               16384  0 
kvm_intel             155648  0 
kvm                   446464  1 kvm_intel
r8169                  81920  0 
crct10dif_pclmul       16384  0 
crc32_pclmul           16384  0 
crc32c_intel           24576  0 
ghash_clmulni_intel    16384  0 
aesni_intel           172032  4 
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
arc4                   16384  2 
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ideapad_laptop         20480  0 
ablk_helper            16384  1 aesni_intel
mii                    16384  1 r8169
sparse_keymap          16384  1 ideapad_laptop
snd_soc_rt5640         86016  0 
rtl8723be              90112  0 
btcoexist              53248  1 rtl8723be
rtl8723_common         20480  1 rtl8723be
rtl_pci                32768  1 rtl8723be
rtlwifi                65536  2 rtl_pci,rtl8723be
evdev                  24576  12 
mac_hid                16384  0 
mac80211              655360  3 rtl_pci,rtlwifi,rtl8723be
psmouse               110592  0 
cryptd                 20480  3 ghash_clmulni_intel,aesni_intel,ablk_helper
cfg80211              483328  2 mac80211,rtlwifi
snd_hda_codec_hdmi     53248  1 
snd_hda_codec_realtek    65536  1 
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
serio_raw              16384  0 
rfkill                 24576  5 cfg80211,ideapad_laptop,bluetooth
pcspkr                 16384  0 
snd_soc_rl6231         16384  1 snd_soc_rt5640
snd_soc_core          159744  1 snd_soc_rt5640
thermal                20480  0 
snd_hda_intel          28672  6 
snd_hda_controller     28672  1 snd_hda_intel
i915                 1024000  6 
snd_compress           20480  1 snd_soc_core
battery                20480  0 
drm_kms_helper        102400  1 i915
snd_hda_codec         114688  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
ac                     16384  0 
drm                   282624  7 i915,drm_kms_helper
intel_gtt              20480  1 i915
i2c_algo_bit           16384  1 i915
dw_dmac                16384  0 
i2c_hid                20480  0 
dw_dmac_core           24576  1 dw_dmac
snd_pcm_dmaengine      16384  1 snd_soc_core
regmap_i2c             16384  1 snd_soc_rt5640
hid                   110592  1 i2c_hid
mei_me                 20480  0 
snd_hwdep              16384  1 snd_hda_codec
video                  24576  1 i915
i2c_designware_platform    16384  0 
i2c_i801               20480  0 
i2c_designware_core    20480  1 i2c_designware_platform
snd_soc_sst_acpi       16384  0 
i2c_core               53248  11 drm,i915,i2c_i801,snd_soc_rt5640,i2c_hid,i2c_designware_platform,regmap_i2c,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
mei                    77824  1 mei_me
button                 16384  1 i915
gpio_lynxpoint         16384  0 
shpchp                 36864  0 
spi_pxa2xx_platform    24576  0 
snd_pcm                90112  7 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller,snd_pcm_dmaengine
8250_dw                16384  0 
lpc_ich                24576  0 
snd_timer              28672  1 snd_pcm
snd                    69632  22 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_compress
soundcore              16384  2 snd,snd_hda_codec
fan                    16384  0 
processor              28672  0 
sch_fq_codel           20480  6 
pci_stub               16384  1 
vboxpci                24576  0 
vboxnetflt             28672  0 
vboxnetadp             28672  0 
vboxdrv               356352  3 vboxnetadp,vboxnetflt,vboxpci
ext4                  512000  1 
crc16                  16384  2 ext4,bluetooth
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
sd_mod                 36864  3 
atkbd                  24576  0 
libps2                 16384  2 atkbd,psmouse
ahci                   36864  2 
libahci                28672  1 ahci
xhci_pci               16384  0 
libata                184320  2 ahci,libahci
ehci_pci               16384  0 
xhci_hcd              155648  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
scsi_mod              147456  2 libata,sd_mod
usbcore               200704  7 btusb,uvcvideo,rtsx_usb,ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
i8042                  20480  2 libps2,ideapad_laptop
serio                  20480  6 serio_raw,atkbd,i8042,psmouse
sdhci_acpi             16384  0 
sdhci                  40960  1 sdhci_acpi
led_class              16384  2 sdhci,rtsx_usb_sdmmc
mmc_core              110592  3 sdhci,sdhci_acpi,rtsx_usb_sdmmc


B1. Plugging the cd drive in at run time.

$ lsusb
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 0bda:b728 Realtek Semiconductor Corp. 
Bus 002 Device 003: ID 04f2:b420 Chicony Electronics Co., Ltd 
Bus 002 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 005: ID 0402:5621 ALi Corp. M5621 High-Speed IDE Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



$ lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 1: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 4: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtsx_usb, 480M
    |__ Port 6: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 6: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 7: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M



$ lsmod
Module                  Size  Used by
sr_mod                 24576  0 
cdrom                  53248  1 sr_mod
uas                    24576  0 
usb_storage            61440  1 uas
fuse                   90112  3 
ctr                    16384  2 
ccm                    20480  2 
bnep                   20480  2 
rtsx_usb_ms            20480  0 
memstick               16384  1 rtsx_usb_ms
rtsx_usb_sdmmc         28672  0 
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
joydev                 20480  0 
mousedev               20480  0 
btusb                  40960  0 
bluetooth             442368  21 bnep,btusb
uvcvideo               86016  0 
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         40960  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
videodev              135168  3 uvcvideo,v4l2_common,videobuf2_core
media                  20480  2 uvcvideo,videodev
iTCO_wdt               16384  0 
iTCO_vendor_support    16384  1 iTCO_wdt
intel_rapl             20480  0 
iosf_mbi               16384  1 intel_rapl
x86_pkg_temp_thermal    16384  0 
intel_powerclamp       20480  0 
coretemp               16384  0 
kvm_intel             155648  0 
kvm                   446464  1 kvm_intel
r8169                  81920  0 
crct10dif_pclmul       16384  0 
crc32_pclmul           16384  0 
crc32c_intel           24576  0 
ghash_clmulni_intel    16384  0 
aesni_intel           172032  4 
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
arc4                   16384  2 
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ideapad_laptop         20480  0 
ablk_helper            16384  1 aesni_intel
mii                    16384  1 r8169
sparse_keymap          16384  1 ideapad_laptop
snd_soc_rt5640         86016  0 
rtl8723be              90112  0 
btcoexist              53248  1 rtl8723be
rtl8723_common         20480  1 rtl8723be
rtl_pci                32768  1 rtl8723be
rtlwifi                65536  2 rtl_pci,rtl8723be
evdev                  24576  12 
mac_hid                16384  0 
mac80211              655360  3 rtl_pci,rtlwifi,rtl8723be
psmouse               110592  0 
cryptd                 20480  3 ghash_clmulni_intel,aesni_intel,ablk_helper
cfg80211              483328  2 mac80211,rtlwifi
snd_hda_codec_hdmi     53248  1 
snd_hda_codec_realtek    65536  1 
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
serio_raw              16384  0 
rfkill                 24576  5 cfg80211,ideapad_laptop,bluetooth
pcspkr                 16384  0 
snd_soc_rl6231         16384  1 snd_soc_rt5640
snd_soc_core          159744  1 snd_soc_rt5640
thermal                20480  0 
snd_hda_intel          28672  6 
snd_hda_controller     28672  1 snd_hda_intel
i915                 1024000  6 
snd_compress           20480  1 snd_soc_core
battery                20480  0 
drm_kms_helper        102400  1 i915
snd_hda_codec         114688  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
ac                     16384  0 
drm                   282624  7 i915,drm_kms_helper
intel_gtt              20480  1 i915
i2c_algo_bit           16384  1 i915
dw_dmac                16384  0 
i2c_hid                20480  0 
dw_dmac_core           24576  1 dw_dmac
snd_pcm_dmaengine      16384  1 snd_soc_core
regmap_i2c             16384  1 snd_soc_rt5640
hid                   110592  1 i2c_hid
mei_me                 20480  0 
snd_hwdep              16384  1 snd_hda_codec
video                  24576  1 i915
i2c_designware_platform    16384  0 
i2c_i801               20480  0 
i2c_designware_core    20480  1 i2c_designware_platform
snd_soc_sst_acpi       16384  0 
i2c_core               53248  11 drm,i915,i2c_i801,snd_soc_rt5640,i2c_hid,i2c_designware_platform,regmap_i2c,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
mei                    77824  1 mei_me
button                 16384  1 i915
gpio_lynxpoint         16384  0 
shpchp                 36864  0 
spi_pxa2xx_platform    24576  0 
snd_pcm                90112  7 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller,snd_pcm_dmaengine
8250_dw                16384  0 
lpc_ich                24576  0 
snd_timer              28672  1 snd_pcm
snd                    69632  22 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_compress
soundcore              16384  2 snd,snd_hda_codec
fan                    16384  0 
processor              28672  0 
sch_fq_codel           20480  6 
pci_stub               16384  1 
vboxpci                24576  0 
vboxnetflt             28672  0 
vboxnetadp             28672  0 
vboxdrv               356352  3 vboxnetadp,vboxnetflt,vboxpci
ext4                  512000  1 
crc16                  16384  2 ext4,bluetooth
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
sd_mod                 36864  3 
atkbd                  24576  0 
libps2                 16384  2 atkbd,psmouse
ahci                   36864  2 
libahci                28672  1 ahci
xhci_pci               16384  0 
libata                184320  2 ahci,libahci
ehci_pci               16384  0 
xhci_hcd              155648  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
scsi_mod              147456  5 uas,usb_storage,libata,sd_mod,sr_mod
usbcore               200704  9 uas,btusb,uvcvideo,rtsx_usb,usb_storage,ehci_hcd,ehci_pci,xhci_hcd,xhci_pci
usb_common             16384  1 usbcore
i8042                  20480  2 libps2,ideapad_laptop
serio                  20480  6 serio_raw,atkbd,i8042,psmouse
sdhci_acpi             16384  0 
sdhci                  40960  1 sdhci_acpi
led_class              16384  2 sdhci,rtsx_usb_sdmmc
mmc_core              110592  3 sdhci,sdhci_acpi,rtsx_usb_sdmmc

Last edited by vda (2015-06-01 07:06:06)


I'm sorry for my english: I'm still learning...

Offline

#6 2015-06-01 11:35:34

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,170

Re: [Solved] CD drive recognized only at system startup

Bus 002 Device 005: ID 0402:5621 ALi Corp. M5621 High-Speed IDE Controller

    |__ Port 1: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M

As i expected, the external drive is an IDE device and uses an IDE-over-USB converter .

sr_mod                 24576  0 
cdrom                  53248  1 sr_mod
uas                    24576  0 
usb_storage            61440  1 uas

scsi_mod              147456  5 uas,usb_storage,libata,sd_mod,sr_mod
usbcore               200704  9 uas,btusb,uvcvideo,rtsx_usb,usb_storage,ehci_hcd,ehci_pci,xhci_hcd,xhci_pci

without CD drive plugged in

scsi_mod              147456  2 libata,sd_mod
usbcore               200704  7 btusb,uvcvideo,rtsx_usb,ehci_hcd,ehci_pci,xhci_hcd,xhci_pci

It appears the kernel does detect the needed modules correct, as lsmod & lsusb output for first and 3rd case are identical.

It's good to hear mounting / reading from commandline also works.

To get thunar to see the drive, it needs to rescan the devices just as it does on startup.
I know very little about thunar, no idea if they support that.

EDIT :
incase your wondering what causes the problems, it's because your external drive is really an IDE device and IDE expects all devices to be present permanently.

Last edited by Lone_Wolf (2015-06-01 11:38:31)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2015-06-01 12:37:10

vda
Member
From: Italy
Registered: 2015-04-10
Posts: 19

Re: [Solved] CD drive recognized only at system startup

Good news: recently the new version of dvd+rw-tools was released.

/var/log/pacman.log
----------
...
[2015-06-01 12:59] [ALPM] upgraded dvd+rw-tools (7.1-5 -> 7.1-6)
...

I don't know if it is simply a coincidence, but this solve the problem and now the CD drive is shown also in Thunar.

Thanks for all.

Bye

Last edited by vda (2015-06-01 12:40:28)


I'm sorry for my english: I'm still learning...

Offline

Board footer

Powered by FluxBB