hplip and dbus (segfault)
I am trying to use ASUS wl500gv2p as print server for HP C4480 (especially I need working scanner). I found that my printer is fully supported with hplip version at least 2.8.5.
I am using custom Oleg firmware from http://code.google.com/p/wl500g/ version WL500gpv2-1.9.2.7-d-r308.trx. This firmware uses packages from http://ipkg.nslu2-linux.org/feeds/op...g/cross/stable. There is hplip version 2.8.9-1, but it requires also dbus package.
When I am trying to scan with following commands I got:
Code:
[root@wl500 root]$ sane-find-scanner
found USB scanner (vendor=0x03f0 [HP], product=0x6c11 [Photosmart C4400 series]) at libusb:002:007
[root@wl500 root]$ scanimage -L
device `hpaio:/usb/Photosmart_C4400_series?serial=TH8B3H216T05BN' is a Hewlett-Packard Photosmart_C4400_series all-in-one
[root@wl500 root]$ scanimage -d 'hpaio:/usb/Photosmart_C4400_series?serial=TH8B3H216T05BN'
process 418: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3099.
This is normally a bug in some application using the D-Bus library.
D-Bus not compiled with backtrace support so unable to print a backtrace
Aborted
So there is a problem with dbus. When I try to start it manually I got:
Code:
[root@wl500 root]$ /opt/etc/init.d/S20dbus start
Starting system message bus: Segmentation fault
strace gives me not too much:
Code:
[root@wl500 root]$ strace /opt/bin/dbus-daemon
execve("/opt/bin/dbus-daemon", ["/opt/bin/dbus-daemon"], [/* 11 vars */]) = 0
svr4_syscall() = -1 ERRNO_4090 (Unknown error 4090)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
I have special user and group for dbus created (messagebus). I tried modifying /opt/etc/dbus-1/session.conf and system.conf but without luck.
I have tried also recompiling dbus package from resources on Ubuntu, but I got "error 2" from make. Native recompiling on router causes router to reboot. Other dbus packages from other feeds (openwrt, dd-wrt) don't work (I got undefined symbol errors).
Has anyone has got dbus running for wl500 (oleg) firmware ?
Or any idea what else I can do ? (is there possibility to run sane without dbus ? )
ps. I don't want to buy a new printer, and native drivers for windows don't work for me because printer needs winxp and I have got only win2000.
Bluez + Dbus Daemon Segment Fault
This is what i`m trying to do now:-
Bluez Drivers Seems Look like Okey : Bluez-Utils 3.36-3
dbus From Optware Oleg /Cross Stable: dbus-1.2.16-1
after install the dbus daemon and do a modprobe on bluez drivers && start the dbus-daemon using messagebus default users in conf ;
i got messages - Segmentation Faulted -
***
/opt/etc/init.d/S20dbus start
Starting system message bus: Segmentation fault
***
So After That I Do strace /opt/bin/dbus-daemon and got this:-
strace /opt/bin/dbus-daemon
*****************
execve("/opt/bin/dbus-daemon", ["/opt/bin/dbus-daemon"], [/* 13 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
*****************
This the screenshot look like:-
highlighted line in Red is the different.. after do some change in config file.
http://farm5.static.flickr.com/4054/...4f049e8bf3.jpg
Large View
1 Attachment(s)
S20dbus starting problem (Segmentation fault) - with stack trace
Hello all,
I bought a Asus wl500w router and I installed the 1.9.2.7-10 fimware because the standard firmwares provided by Asus were not good at all even for what Asus sustain that should work. I started to configure it step by step based on the discussions from this forum (I want to thank you all who posted here). Without your answers and custom firmware I would throw the router to trash :).
But, because I am posting here it means that even with all the answers still I am facing problems. My big problem is related with system dbus. I can't manage to start it. I attach also a file containg the output of the command strace ./S20dbus start. It gives me Segmentation Fault. In this thread there was a link to other dbus files but that link is now broken.
Can you please help me to configure dbus to work?
Another question is what means OPTWARE_TARGET. In the S20dbus file it is initialised with oleg. Is this the right value or should I change it.
Thank you for answers,
Daniel
S20dbus starting problem (Segmentation fault) - FIXED
Hi kulibin and lly,
thank you for your answers; indeed I can confirm that dbus_1.1.1-3_mipsel.ipk.gz could be installed and dbus was succesfully lunched :)
Daniel