FS#34409 - [brltty] give dbus error and after that does not work

Attached to Project: Arch Linux
Opened by Matteo (scuall8907) - Friday, 22 March 2013, 15:09 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 23 April 2013, 13:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tom Gundersen (tomegun)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

The package brltty 4.4-3 present in the extra repository starts generating the following error:

Can not get dbus session bus: org.freedesktop.DBus.Error.Spawn.ExecFailed / usr / bin / dbus-launch terminated abnormally with the following error: No protocol specified

After that connect the Braille display (Alva BC640) without being recognized and managed.

Instead of installing the same package generated using ABS PKGBUILD with the default configuration works properly.
This task depends upon

Closed by  Tom Gundersen (tomegun)
Tuesday, 23 April 2013, 13:09 GMT
Reason for closing:  Fixed
Comment by Tom Gundersen (tomegun) - Monday, 22 April 2013, 23:48 GMT
Sorry for missing this! Is this still a problem with the most recent package?
Comment by Matteo (scuall8907) - Tuesday, 23 April 2013, 11:18 GMT
The situation has not changed, but me and my blind friend we modified the PKGBUILD package by removing or correcting a few things:

- At-SPI2-core and atk are optional dependeencies now: and actually the spi driver has some problems
- Modified the configuration option - with-screen-driver = a2 in lx because the spi driver is deprecated and a couple of relase is no longer used

Note that when you specify --with-screen-driver=<something>, you actually specify what you would like to have built within the executable. The other screen drivers are built as a module.

PS as mentioned in email with stephane should edit the file that defines the service brltty so that the parameter is WantedBy sysinit.target instead of multi-user.target
Comment by Tom Gundersen (tomegun) - Tuesday, 23 April 2013, 12:33 GMT
@Matteo: thanks for the feedback. I already changed the .service file in testing, and now uploaded a new version with your proposed changes (I also added at-spi2-core to makedepends). Please, let me know if it now works ok for you.
Comment by Matteo (scuall8907) - Tuesday, 23 April 2013, 12:54 GMT
Now it works correctly! Thanks for your work!
Comment by Tom Gundersen (tomegun) - Tuesday, 23 April 2013, 13:09 GMT
Thanks for letting me know!

Loading...