Dbus doesnt works with HAL without X

Thiago Macieira thiago at kde.org
Tue Sep 13 05:42:10 PDT 2011


On Tuesday, 13 de September de 2011 14:22:00 Robert Jobbagy wrote:
> Hi Guys,
> 
> I would like to use DBUS signals without X.

D-Bus doesn't require X. So I guess you're set? :-)

> When I put cd/dvd in optical drive with X it works fine.
> But If I do that without X I give these errors:
> 
> Sep 12 11:51:08 localhost kernel: cdrom: This disc doesn't have any tracks I
> recognize!
> Sep 12 11:51:08 localhost kernel: sr 1:0:1:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> Sep 12 11:51:08 localhost kernel: sr 1:0:1:0: [sr0] Sense Key : Illegal
> Request [current]
> Sep 12 11:51:08 localhost kernel: sr 1:0:1:0: [sr0] Add. Sense: Logical
> block address out of range
> Sep 12 11:51:08 localhost kernel: sr 1:0:1:0: [sr0] CDB: Read(10): 28 00 00
> 00 00 00 00 00 01 00
> Sep 12 11:51:08 localhost kernel: end_request: I/O error, dev sr0, sector 0

That above has nothing to do with X or D-Bus. That's the kernel alone.

> and I see this with dbus-monitor with X and without X , I attached two
> files.
> 
> Do you have any idea what's wrong?
> 
> If I remove HAL packages then I dont give I/O error messages,but It doesnt
> recognize cd/dvd :(

That's also not a D-Bus thing. D-Bus has nothing to do with CD/DVD 
recognition.

Some daemons, like HAL and udisks, may perform some activities with the 
device. They may also report status changes via D-Bus. But again the 
activities are separate.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110913/a7e79cd4/attachment.pgp>


More information about the dbus mailing list