Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245828 - [ebuild request] hsolinkcontrol-0.4 & hsoconnect-1.1.83
Summary: [ebuild request] hsolinkcontrol-0.4 & hsoconnect-1.1.83
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.pharscape.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 14:51 UTC by Michael Gaber
Modified: 2009-08-24 07:53 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hsolink ebuild (hsolink-1.0.118.ebuild,653 bytes, text/plain)
2009-01-05 17:16 UTC, Vladimir Rusinov
Details
my hsolink ebuild (hsolink-1.0.118.ebuild,486 bytes, text/plain)
2009-02-04 15:37 UTC, Konstantin Münning
Details
hsoconnect ebuild (hsoconnect-1.1.128-r2.ebuild,1.04 KB, text/plain)
2009-02-04 15:49 UTC, Konstantin Münning
Details
udev rule for usb_modeswitch and hso card (91-usb_modeswitch.rules,272 bytes, text/plain)
2009-02-04 15:51 UTC, Konstantin Münning
Details
updated udev rule for usb_modeswitch and hso card (91-usb_modeswitch.rules,562 bytes, text/plain)
2009-03-04 08:53 UTC, Konstantin Münning
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gaber 2008-11-06 14:51:01 UTC
Plase add these two packages to portage so they can be installed cleanly
they work without problems on ~amd64 here.
these two packages are needed to get certain option umts products working e.g. the T-mobile web'n'walk stick from germany. The driver needed moved to mainline kernels with 2.6.27.

Thanks in advance Michael

Reproducible: Always
Comment 2 Vladimir Rusinov 2009-01-05 17:16:09 UTC
Created attachment 177484 [details]
hsolink ebuild
Comment 3 Konstantin Münning 2009-02-04 15:37:50 UTC
Created attachment 180915 [details]
my hsolink ebuild

Here another hsolink ebuild which I am using myself.
Comment 4 Konstantin Münning 2009-02-04 15:49:18 UTC
Created attachment 180919 [details]
hsoconnect ebuild

And here the hsoconnect ebuild I am using. It has the dependencies to net-dialup/hsolink and sys-apps/usb_modeswitch and adds a udev rule for usb_modeswitch (next file).
Comment 5 Konstantin Münning 2009-02-04 15:51:54 UTC
Created attachment 180921 [details]
udev rule for usb_modeswitch and hso card

Here is the udev rule file which should be placed in the files directory of the ebuild.
Comment 6 Konstantin Münning 2009-03-04 08:53:07 UTC
Created attachment 183852 [details]
updated udev rule for usb_modeswitch and hso card

Added rule for HSO-card with usb ID 0af0:7301
Comment 7 Alexander Zimmerling 2009-06-12 17:09:13 UTC
Hi guys,

very nice work. I've noticed some typos in 
http://bugs.gentoo.org/attachment.cgi?id=177484

I've tried to emerge hsoconnect. This works fine, but
hsoconnect fails to start with this error:

Ur hsolink # /usr/bin/python2.5 -m hsoc
False
Traceback (most recent call last):
  File "/usr/lib/python2.5/runpy.py", line 95, in run_module
    filename, loader, alter_sys)
  File "/usr/lib/python2.5/runpy.py", line 52, in _run_module_code
    mod_name, mod_fname, mod_loader)
  File "/usr/lib/python2.5/runpy.py", line 32, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.5/site-packages/hsoc/__init__.py", line 13, in <module>
    import hsoc.HSOconnect
  File "/usr/lib/python2.5/site-packages/hsoc/__init__.py", line 15, in <module>
    hsoc.HSOconnect.run()
  File "/usr/lib/python2.5/site-packages/hsoc/HSOconnect.py", line 35, in run
    import hsoc.bin.HSOconsole as HSOconsole
  File "/usr/lib/python2.5/site-packages/hsoc/bin/HSOconsole.py", line 33, in <module>
    import userinterface
  File "/usr/lib/python2.5/site-packages/hsoc/bin/userinterface.py", line 82, in <module>
    import dbus
ImportError: No module named dbus

I've used an older version of hsoconnect befor (w/o an ebuild) :(


kind regards

Alex
Comment 8 Konstantin Münning 2009-06-13 11:45:39 UTC
(In reply to comment #7)
Hi Alex!

I think the problem is shown at the very end of the python traceback:


>     import dbus
> ImportError: No module named dbus

Current version apparently is using dbus. You either have it not installed or it is not running. If you are running HAL dbus should have been installed and running. Please try this and give some feedback.

If this was the problem, the ebuild should be fixed to include dbus in RDEPEND.

Konstantin
Comment 9 Michael Gaber 2009-06-13 14:05:27 UTC
i think it might rather be dev-python/dbus-python which is either missing or should be reinstalled (don't know why python sometimes doesn't find it's modules, but reinstalling them helps)
Comment 10 Alexander Zimmerling 2009-06-13 20:36:17 UTC
hi guys,

sorry for the delay. I've emerged dbus-python, which is needed I guess.

Here's the next error:

Ur alex # python -m hsoc
False
Path to hsolinkcontrol: /usr/bin/hsolinkcontrol
36333
Mode 36333
Traceback (most recent call last):
  File "/usr/lib/python2.5/runpy.py", line 95, in run_module
    filename, loader, alter_sys)
  File "/usr/lib/python2.5/runpy.py", line 52, in _run_module_code
    mod_name, mod_fname, mod_loader)
  File "/usr/lib/python2.5/runpy.py", line 32, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.5/site-packages/hsoc/__init__.py", line 13, in <module>
    import hsoc.HSOconnect
  File "/usr/lib/python2.5/site-packages/hsoc/__init__.py", line 15, in <module>
    hsoc.HSOconnect.run()
  File "/usr/lib/python2.5/site-packages/hsoc/HSOconnect.py", line 52, in run
    HSOconsole.run()
  File "/usr/lib/python2.5/site-packages/hsoc/bin/HSOconsole.py", line 843, in run
    ans = hsc.run()
  File "/usr/lib/python2.5/site-packages/hsoc/bin/HSOconsole.py", line 257, in run
    self.gui = self.initGUI(confdir, imgdir, self.str, self.prog, langdir)
  File "/usr/lib/python2.5/site-packages/hsoc/bin/HSOconsole.py", line 326, in initGUI
    gui = userinterface.init()
  File "/usr/lib/python2.5/site-packages/hsoc/bin/userinterface.py", line 1151, in init
    session_bus = dbus.SessionBus()
  File "//usr/lib/python2.5/site-packages/dbus/_dbus.py", line 217, in __new__
    mainloop=mainloop)
  File "//usr/lib/python2.5/site-packages/dbus/_dbus.py", line 106, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "//usr/lib/python2.5/site-packages/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I know this is not hsoconnect related ... 

dbus & hal are running.

any ideas?

kind regards

Alex
Comment 11 Enrico 2009-08-24 07:53:47 UTC
(In reply to comment #10)

I get the same error message - any news/findings in this case ?