WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: K3b not detecting any burner  (Read 4303 times)

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
K3b not detecting any burner
« on: April 04, 2013, 11:36:41 AM »
I get:
Quote
No optical drive found.
K3b did not find any optical device in your system.
Solution: Make sure HAL daemon is running, it is used by K3b for finding devices.
But HAL daemon IS running. Tried two different drives that used to work fine with k3b.

Offline stagediver

  • Newbie
  • *
  • Posts: 3
Re: K3b not detecting any burner
« Reply #1 on: January 31, 2014, 10:23:02 AM »
I can't believe it. 800+ views and not one reply !?

I have exactly the same problem here, running a older Tiny Core 4.X version on a Medion P6624 Laptop with DVD-Writer.
It is recognized by the system i think because

Code: (bash) [Select]
dmesg | grep sr0 shows me:

sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0

etc/fstab also has device sr0 in it:

Code: (bash) [Select]
/dev/sr0        /mnt/sr0        auto     noauto,users,exec    0 0 # Added by TC
As you can see, TC itself created the entry !

Hal daemon is running too:

Code: (bash) [Select]
top | grep hald
11342         1 tc         S    15404  0.4   2  0.0 hald --daemon=yes --verbose=no
11343 11342 root     S    12792  0.3   0  0.0 hald-runner
11377 11343 root     S     4656  0.1   0  0.0 {hald-addon-stor} hald-addon-stora
11349 11343 root     S     4656  0.1   2  0.0 {hald-addon-inpu} hald-addon-input
11367 11343 root     S     4656  0.1   1  0.0 {hald-addon-stor} hald-addon-stora
11351 11343 root     S     4652  0.1   3  0.0 /usr/local/libexec/hald-addon-gene
11352 11343 root     S     4652  0.1   3  0.0 /usr/local/libexec/hald-addon-gene
11359 11343 root     S     4652  0.1   0  0.0 /usr/local/libexec/hald-addon-rfki


I had the same problems trying brasero burning program before, so i think the problem is not the burning software someone uses but a little missing thing in the systems configuration, probably HAL daemon stuff. I will try to read and learn some stuff about hal daemon, probably that helps  :(

I have to admit i never used a CDROM or DVD ever while using Tiny Core. I inserted a usual CDRW with some data on it after all the problems (see above), i CAN mount this CDRW and access the stuff on it. While it was mounted, i started K3b, but no luck, K3b does not detect it !  >:(

Can somebody please shed some light on this ? :'(
« Last Edit: January 31, 2014, 12:04:03 PM by stagediver »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: K3b not detecting any burner
« Reply #2 on: January 31, 2014, 12:26:22 PM »
Do you get any error messages if you start k3b from a terminal window?

Offline stagediver

  • Newbie
  • *
  • Posts: 3
Re: K3b not detecting any burner
« Reply #3 on: January 31, 2014, 01:01:45 PM »
Do you get any error messages if you start k3b from a terminal window?

Hi Juanito !

The following appears in the terminal window (i only started K3b, nothing more):

Code: (bash) [Select]
tc@box:~$ /usr/local/bin/k3b
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
tc@box:~$ QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"
k3b(16277)/kdeui (kdelibs): Attempt to use QAction "view_projects" with KXMLGUIFactory!
k3b(16277)/kdeui (kdelibs): Attempt to use QAction "view_dir_tree" with KXMLGUIFactory!
k3b(16277)/kdeui (kdelibs): Attempt to use QAction "view_contents" with KXMLGUIFactory!
k3b(16277)/kdeui (kdelibs): Attempt to use QAction "location_bar" with KXMLGUIFactory!
k3b(16277) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!

I wonder what
Code: (bash) [Select]
QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal()  error:  "org.freedesktop.DBus.Error.ServiceUnknown" means, this is probably a hint ?!

In the meantime, i tried to discover what is inside the hal.tcz package, i tried the hal-device command in a terminal, which buries me with a lot of stuff in its output, here is the section about the dvdwriter i have inside this laptop:

Code: (bash) [Select]
17: udi = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GT32N'
  info.vendor = 'HL-DT-ST'  (string)
  info.interfaces = { 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage.Removable' } (string list)
  linux.hotplug_type = 3  (0x3)  (int)
  block.device = '/dev/sr0'  (string)
  block.major = 11  (0xb)  (int)
  block.minor = 0  (0x0)  (int)
  block.is_volume = false  (bool)
  storage.bus = 'pci'  (string)
  storage.no_partitions_hint = true  (bool)
  storage.media_check_enabled = true  (bool)
  storage.automount_enabled_hint = true  (bool)
  storage.drive_type = 'cdrom'  (string)
  storage.model = 'DVDRAM GT32N'  (string)
  storage.vendor = 'HL-DT-ST'  (string)
  storage.lun = 0  (0x0)  (int)
  storage.originating_device = '/org/freedesktop/Hal/devices/computer'  (string)
  storage.removable.media_available = false  (bool)
  storage.removable = true  (bool)
  storage.size = 0  (0x0)  (uint64)
  storage.removable.support_async_notification = false  (bool)
  storage.hotpluggable = false  (bool)
  storage.requires_eject = true  (bool)
  storage.removable.media_size = 27428864  (0x1a28800)  (uint64)
  storage.partitioning_scheme = ''  (string)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GT32N'  (string)
  info.category = 'storage'  (string)
  info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list)
  storage.cdrom.cdr = true  (bool)
  storage.cdrom.cdrw = true  (bool)
  storage.cdrom.dvd = true  (bool)
  storage.cdrom.dvdr = true  (bool)
  storage.cdrom.dvdrw = true  (bool)
  info.udi = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GT32N'  (string)
  storage.cdrom.dvdram = true  (bool)
  storage.cdrom.dvdplusr = true  (bool)
  storage.cdrom.dvdplusrw = true  (bool)
  storage.cdrom.dvdplusrwdl = false  (bool)
  storage.cdrom.dvdplusrdl = true  (bool)
  storage.cdrom.bd = false  (bool)
  storage.cdrom.bdr = false  (bool)
  storage.cdrom.bdre = false  (bool)
  info.product = 'DVDRAM GT32N'  (string)
  storage.cdrom.dvdrdl = true  (bool)
  storage.cdrom.hddvdr = false  (bool)
  storage.cdrom.hddvdrw = false  (bool)
  storage.cdrom.mo = false  (bool)
  storage.cdrom.mrw_w = true  (bool)
  storage.cdrom.hddvd = false  (bool)
  storage.cdrom.mrw = true  (bool)
  storage.cdrom.support_multisession = true  (bool)
  storage.cdrom.write_speed = 4234  (0x108a)  (int)
  storage.cdrom.write_speeds = { '4234', '2822', '1764' } (string list)
  storage.cdrom.read_speed = 4234  (0x108a)  (int)
  org.freedesktop.Hal.Device.Storage.method_signatures = { 'as', 'as' } (string list)
  org.freedesktop.Hal.Device.Storage.method_argnames = { 'extra_options', 'extra_options' } (string list)
  org.freedesktop.Hal.Device.Storage.method_execpaths = { 'hal-storage-eject', 'hal-storage-closetray' } (string list)
  info.addons = { 'hald-addon-storage' } (string list)
  storage.cdrom.support_media_changed = true  (bool)
  org.freedesktop.Hal.Device.Storage.method_names = { 'Eject', 'CloseTray' } (string list)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_3b29_scsi_host_0_scsi_device_lun0'  (string)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: K3b not detecting any burner
« Reply #4 on: February 01, 2014, 12:37:41 AM »
I wonder what
Code: (bash) [Select]
QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal()  error:  "org.freedesktop.DBus.Error.ServiceUnknown" means, this is probably a hint ?!
I don't use kde, but I believe it uses qt - this would seem to indicate that the dbus daemon is not running or the qt-4.x-dbus extension is not present or similar.

Quote
In the meantime, i tried to discover what is inside the hal.tcz package
I believe hal is basically obsolete and depreciated, but perhaps is used in kde?

I've tried a couple of external dvd drives recently in tc-5.x with gtk3/brasero and everything works fine - maybe you could give that a try.

Note that since /dev/sr0 is created you could as a minimum burn dvd from the cli...

Offline stagediver

  • Newbie
  • *
  • Posts: 3
Re: K3b not detecting any burner (SOLVED)
« Reply #5 on: February 01, 2014, 05:54:58 AM »
I found the "missing link" !  8)

No, it wasn't the qt-stuff. All qt-stuff was installed.

--> udisks.tcz <-- is needed to make K3b detect the drive ! You can find this one in the "Regular Applications" App.

It wasn't installed before. I know, i am using an older TC 4.X version, but isn't it possible to describe or include this dependency in the k3b.tcz for this older versions ? I don't know if the problem is gone in newer TC 5.X versions, but i think a lot of people still use TC 4.X versions, so this would be very helpful for the average user who finds himself in the "dependency / searching for the problem hell" after installing K3B in these TC 4.X versions. udisk.tcz installed a lot of dependencys which it needs by itself, so it is not udisks alone which is probably needed !

Depending on you system, udisk.tcz installs some more packages, i saw eject, ntfs-3g, polkitd and some more stuff beeing installed by this package, so it might be a good idea to check before if you have enough space if you use a simple USB-stick which is already filled up with lots of other stuff (like mine).


But thanks to the udisks.tcz the user does not need to do more than installing this package  :)

K3B needs some 30 seconds until it is usable / the main screen appears. Before installing udisks.tcz it was much faster, but couldn't detect the drive, so i think it needs some extra time for detecting the writers hardware. No problem with that for me.

The error message when starting K3B in a terminal which appeared before (without having udisks.tcz installed):

Code: (bash) [Select]
QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal()  error:  "org.freedesktop.DBus.Error.ServiceUnknown"
is completely gone now.

The output of hal-device now also looks a bit different. I have include this here for the technical interested people, for myself this is a bit too much and too techy information:

Code: (bash) [Select]
27: udi = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GT32N'
  storage.cdrom.dvd = true  (bool)
  storage.cdrom.dvdr = true  (bool)
  storage.cdrom.dvdrw = true  (bool)
  info.capabilities = { 'storage', 'block', 'storage.cdrom' } (string list)
  storage.cdrom.dvdrdl = true  (bool)
  info.vendor = 'HL-DT-ST'  (string)
  storage.cdrom.dvdplusr = true  (bool)
  storage.cdrom.dvdram = true  (bool)
  linux.hotplug_type = 3  (0x3)  (int)
  storage.cdrom.dvdplusrw = true  (bool)
  storage.cdrom.dvdplusrwdl = false  (bool)
  storage.cdrom.dvdplusrdl = true  (bool)
  info.category = 'storage'  (string)
  storage.cdrom.bdr = false  (bool)
  storage.cdrom.bdre = false  (bool)
  block.device = '/dev/sr0'  (string)
  block.major = 11  (0xb)  (int)
  block.minor = 0  (0x0)  (int)
  block.is_volume = false  (bool)
  storage.bus = 'pci'  (string)
  storage.no_partitions_hint = true  (bool)
  storage.media_check_enabled = true  (bool)
  storage.automount_enabled_hint = true  (bool)
  storage.drive_type = 'cdrom'  (string)
  storage.model = 'DVDRAM GT32N'  (string)
  storage.vendor = 'HL-DT-ST'  (string)
  storage.lun = 0  (0x0)  (int)
  storage.originating_device = '/org/freedesktop/Hal/devices/computer'  (string)
  storage.removable.media_available = false  (bool)
  storage.removable = true  (bool)
  storage.size = 0  (0x0)  (uint64)
  storage.removable.support_async_notification = false  (bool)
  storage.hotpluggable = false  (bool)
  storage.requires_eject = true  (bool)
  storage.cdrom.hddvdr = false  (bool)
  storage.cdrom.hddvdrw = false  (bool)
  storage.cdrom.mo = false  (bool)
  info.product = 'DVDRAM GT32N'  (string)
  storage.cdrom.mrw_w = true  (bool)
  storage.cdrom.support_media_changed = true  (bool)
  storage.cdrom.hddvd = false  (bool)
  storage.cdrom.read_speed = 4234  (0x108a)  (int)
  storage.cdrom.write_speed = 4234  (0x108a)  (int)
  storage.cdrom.write_speeds = { '4234', '2822', '1764' } (string list)
  storage.cdrom.mrw = true  (bool)
  storage.cdrom.bd = false  (bool)
  info.interfaces = { 'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.S                                                                                                              ring list)
ring list)
  storage.cdrom.support_multisession = true  (bool)
  org.freedesktop.Hal.Device.Storage.method_signatures = { 'as', 'as' } (string list)
  org.freedesktop.Hal.Device.Storage.method_argnames = { 'extra_options', 'extra_options'
  block.storage_device = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GT32N'  (stri
  info.udi = '/org/freedesktop/Hal/devices/storage_model_DVDRAM_GT32N'  (string)
  info.addons = { 'hald-addon-storage' } (string list)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/bloc
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_3b29_scsi_host_0_scsi_device_lun0'
  org.freedesktop.Hal.Device.Storage.method_names = { 'Eject', 'CloseTray' } (string list
  org.freedesktop.Hal.Device.Storage.method_execpaths = { 'hal-storage-eject', 'hal-stora
  storage.cdrom.cdr = true  (bool)
  storage.cdrom.cdrw = true  (bool)
  storage.partitioning_scheme = ''  (string)

« Last Edit: February 01, 2014, 06:19:31 AM by stagediver »