sacre
21-06-2009, 11:13
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/optware/oleg/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:
[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:
[root@wl500 root]$ /opt/etc/init.d/S20dbus start
Starting system message bus: Segmentation fault
strace gives me not too much:
[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.
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/optware/oleg/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:
[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:
[root@wl500 root]$ /opt/etc/init.d/S20dbus start
Starting system message bus: Segmentation fault
strace gives me not too much:
[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.