Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45788 - The current speedtouch ebuild 1.2 beta - is a beta. Can we move to the proper 1.2 release ?
Summary: The current speedtouch ebuild 1.2 beta - is a beta. Can we move to the prope...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 03:24 UTC by Andrew Hart
Modified: 2004-09-27 06:58 UTC (History)
1 user (show)

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


Attachments
speedtouch-1.3.ebuild (speedtouch-1.3.ebuild,2.71 KB, text/plain)
2004-07-03 16:31 UTC, stan
Details
files/speedtouch.rc7 (speedtouch.rc7,1.62 KB, text/plain)
2004-07-03 16:34 UTC, stan
Details
files/speedtch-hotplug (speedtch-hotplug,345 bytes, text/plain)
2004-07-03 16:38 UTC, stan
Details
files/speedtouch.confd (speedtouch.confd,705 bytes, text/plain)
2004-07-03 16:39 UTC, stan
Details
files/speedtch-hotplug (speedtch-hotplug,352 bytes, text/plain)
2004-07-03 16:57 UTC, stan
Details
files/speedtch-hotplug (speedtch-hotplug,396 bytes, text/plain)
2004-07-04 14:33 UTC, stan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Hart 2004-03-26 03:24:51 UTC
emerge -p speedtouch 

[ebuild N] net-dialup/speedtouch-1.2_beta2

#
http://speedtouch.sourceforge.net/index.php?/news.en.html
shows that 1.2 is out and supports the new silver modem.




Reproducible: Always
Steps to Reproduce:
1.emerge -p speedtouch 


Actual Results:  
[ebuild N] net-dialup/speedtouch-1.2_beta2


Expected Results:  
[ebuild N] net-dialup/speedtouch-1.2
Comment 1 Ahmed Farid 2004-03-31 03:28:59 UTC
i found a problem with the latest version of modem_run, after playing around for a while i found out that you need to add "-a /usr/share/speedtouch/boot.v123.bin" to MODEM_RUN_EXTRAOPTS.
off-topic, there's a new kernel driver @ http://cvs.sourceforge.net/viewcvs.py/linux-usb/speedtouch/

peace
Comment 2 Duarte Henriques 2004-06-23 02:21:30 UTC
there's also a new speedtouch version: 1.3, that supports hotplug and has new scripts: speedtouch-setup, speedtouch-start, speedtouch-stop.
it'd be great to have this on portage :)
Comment 3 stan 2004-07-03 16:31:29 UTC
Created attachment 34736 [details]
speedtouch-1.3.ebuild

tested on 2.6.7 with kernel mode driver and hotplug using ppp-2.4.2-r2 compiled
with USE="atm" (you may need to modprobe pppoatm manually with this version of
pppd)

if not using hotplug and modem_run returns with failure within a couple of
seconds it maybe a problem with a semaphore that isn't getting removed
properly, i used
 
#include <stdio.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
 
int main (void) {
 
	int id = 0xdeadbeef;
 
	int s = semget(id, 0, 0666);
 
	if (s != -1) {
		printf("removing %d\n", s);
		semctl(s, 0, IPC_RMID, 0);
	}
	return 0;
}


to clear it
Comment 4 stan 2004-07-03 16:34:15 UTC
Created attachment 34737 [details]
files/speedtouch.rc7

* cleaned up rc script
* -m is a noop so not using it anymore
Comment 5 stan 2004-07-03 16:38:26 UTC
Created attachment 34738 [details]
files/speedtch-hotplug

when using the original hotplug script it seemed to run the script for 3
subdevices, hence this weird looking line:
echo "${REMOVER}" | grep '0$'
(they ended in 0, 1 and 2)
Comment 6 stan 2004-07-03 16:39:47 UTC
Created attachment 34739 [details]
files/speedtouch.confd

added comments about -k and -a options to /etc/conf.d/speedtouch file
Comment 7 stan 2004-07-03 16:57:25 UTC
Created attachment 34742 [details]
files/speedtch-hotplug

small thinko in hotplug script

I also occassionally seem to get a kernel oops when unloading so check
/var/log/messages if things dont seem to unload properly, I assume this is a
2.6.7 issue because all this is usermode stuff
Comment 8 stan 2004-07-04 14:33:34 UTC
Created attachment 34797 [details]
files/speedtch-hotplug

fix to checking of whether speedtch module is loaded and added wait before
unloading module
Comment 9 Daniel Black (RETIRED) gentoo-dev 2004-09-27 06:58:25 UTC
version added. thanks