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
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
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 :)
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
Created attachment 34737 [details] files/speedtouch.rc7 * cleaned up rc script * -m is a noop so not using it anymore
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)
Created attachment 34739 [details] files/speedtouch.confd added comments about -k and -a options to /etc/conf.d/speedtouch file
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
Created attachment 34797 [details] files/speedtch-hotplug fix to checking of whether speedtch module is loaded and added wait before unloading module
version added. thanks