2007-04-04 21:27:59 |
bleuvoss |
bug |
|
|
added bug |
2007-05-06 14:46:03 |
Izak Burger |
bug |
|
|
added attachment 'sl-modem.patch' (sl-modem.patch) |
2007-06-22 09:15:09 |
NoWhereMan (e.vacchi) |
sl-modem: status |
New |
Confirmed |
|
2007-06-22 09:15:09 |
NoWhereMan (e.vacchi) |
sl-modem: statusexplanation |
|
confirming. unfortunately suggested changes did not work |
|
2007-09-15 10:47:13 |
bleuvoss |
title |
[Feisty] sl-modem doesn't work |
[Feisty & Gutsy Tribe 5+] sl-modem module doesn't compile |
|
2007-09-15 10:57:01 |
bleuvoss |
title |
[Feisty & Gutsy Tribe 5+] sl-modem module doesn't compile |
[Feisty & Gutsy Tribe] sl-modem module doesn't compile |
|
2007-09-26 10:15:21 |
bleuvoss |
description |
Modem: SGS Thomson Microelectronics|56k SoftModem [Communications] (vendor:0483 device:7554)
When I plugin it, nothing happens: no /dev/slusb0 created, no /dev/ttySL0 created, nothing. On edgy I was able to run this modem using debian debs for sl-modem and editing
- /etc/default/sl-modem-daemon. Editing:
SLMODEMD_DEVICE=slusb0
SLMODEMD_COUNTRY=SPAIN
- /etc/modprobe.d/sl-modem-daemon.modutils. Adding:
install slusb modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slusb; test -e /dev/slusb0 || (/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0)
- /etc/udev/sl-modem-daemon.rules. Adding:
BUS=="usb", SYSFS{idVendor}=="0483", SYSFS{idProduct}=="7554", GROUP="dialout", ACTION=="add", RUN+="/etc/init.d/slmodem-usb restart"
- And, evidently, creating my own /etc/init.d/slmodem-usb (borrowed from Debian):
#!/bin/sh
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
test -x /usr/sbin/slmodemd || exit 0
start() {
/sbin/modprobe slusb
if ! [ -e /dev/slusb0 ]; then
mknod /dev/slusb0 c 243 0
fi
echo -n "Starting SmartLink Modem driver for: slusb0"
/sbin/start-stop-daemon --start --pidfile /var/run/slmodemd.pid
--exec /usr/sbin/slmodemd --make-pidfile --background --quiet -- -c SPAIN /dev/slusb0
RETVAL=$?
if [ "$RETVAL" = 0 ] ; then
echo "Creating /dev/modem symlink, pointing to: /dev/ttySL0."
ln -sf /dev/ttySL0 /dev/modem
fi
}
stop() {
echo -n "Shutting down SmartLink Modem driver normally"
RETVAL=0
if [ "`pidof slmodemd`" ] ; then
if /sbin/start-stop-daemon --stop --quiet --pidfile
/var/run/slmodemd.pid --exec /usr/sbin/slmodemd --retry 1 ; then
echo .
else
echo " probably failed."
echo "Trying it the hard way (send SIGKILL all slmodemd
processes): "
/usr/bin/killall -KILL slmodemd || RETVAL=1
fi
else
echo " ... no slmodemd daemon running."
fi
if [ "$RETVAL" = 0 ] ; then
rm -f "/var/run/slmodemd.pid"
rm -f /dev/modem
rm -f /dev/slusb0
echo -n "Unloading modem driver from kernel ... "
msg="none found."
if grep -l -q slusb /proc/modules ; then
/sbin/modprobe -r slusb 2>/dev/null && msg="slusb." || msg="failed."
fi
echo $msg
fi
}
status() {
echo -n "Status of SmartLink modem daemon: "
if [ ! -r "/var/run/slmodemd.pid" ]; then
echo "slmodemd is not running."
exit 3
fi
if read pid < "/var/run/slmodemd.pid" && ps -p "$pid" > /dev/null 2>&1; then
echo "slmodemd is running."
exit 0
else
echo "slmodemd is not running but /var/run/slmodemd.pid exists."
exit 1
fi
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
status
;;
*)
echo "Usage: /etc/init.d/slmodem-usb {start|stop|restart|status}"
exit 1
esac
===================================================
But with feisty nothing works.
If I try "sudo module-assistant auto-install sl-modem" (from https://help.ubuntu.com/community/DialupModemHowto/Smartlink) I get this error:
make[2]: se ingresa al directorio `/usr/src/modules/sl-modem/drivers'
gcc-4.1 -I/lib/modules/2.6.20-13-generic/build/include -o kernel-ver
kernel-ver.c
kernel-ver.c: En la función ‘main’:
kernel-ver.c:11: error: ‘UTS_RELEASE’ no se declaró aquí (primer uso en esta función)
kernel-ver.c:11: error: (Cada identificador no declarado solamente se reporta una vez
kernel-ver.c:11: error: ara cada funcion en la que aparece.)
make[2]: *** [kernel-ver] Error 1
make[2]: se sale del directorio `/usr/src/modules/sl-modem/drivers'
make[1]: *** [binary-modules] Error 2
make[1]: se sale del directorio `/usr/src/modules/sl-modem'
make: *** [kdist_build] Error 2
In Edgy I made module-assistant serveral times and I didn't get errors, so it's possible that sl-modem and kernel 2.6.20 aren't compatible?
Thanks and sorry my poor English |
sl-modem module doesn't compile (with module-assistant) on feisty and Gutsy. Package from debian sid compiles ok.
===================================================
Modem: SGS Thomson Microelectronics|56k SoftModem [Communications] (vendor:0483 device:7554)
When I plugin it, nothing happens: no /dev/slusb0 created, no /dev/ttySL0 created, nothing. On edgy I was able to run this modem using debian debs for sl-modem and editing
- /etc/default/sl-modem-daemon. Editing:
SLMODEMD_DEVICE=slusb0
SLMODEMD_COUNTRY=SPAIN
- /etc/modprobe.d/sl-modem-daemon.modutils. Adding:
install slusb modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slusb; test -e /dev/slusb0 || (/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0)
- /etc/udev/sl-modem-daemon.rules. Adding:
BUS=="usb", SYSFS{idVendor}=="0483", SYSFS{idProduct}=="7554", GROUP="dialout", ACTION=="add", RUN+="/etc/init.d/slmodem-usb restart"
- And, evidently, creating my own /etc/init.d/slmodem-usb (borrowed from Debian):
#!/bin/sh
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
test -x /usr/sbin/slmodemd || exit 0
start() {
/sbin/modprobe slusb
if ! [ -e /dev/slusb0 ]; then
mknod /dev/slusb0 c 243 0
fi
echo -n "Starting SmartLink Modem driver for: slusb0"
/sbin/start-stop-daemon --start --pidfile /var/run/slmodemd.pid
--exec /usr/sbin/slmodemd --make-pidfile --background --quiet -- -c SPAIN /dev/slusb0
RETVAL=$?
if [ "$RETVAL" = 0 ] ; then
echo "Creating /dev/modem symlink, pointing to: /dev/ttySL0."
ln -sf /dev/ttySL0 /dev/modem
fi
}
stop() {
echo -n "Shutting down SmartLink Modem driver normally"
RETVAL=0
if [ "`pidof slmodemd`" ] ; then
if /sbin/start-stop-daemon --stop --quiet --pidfile
/var/run/slmodemd.pid --exec /usr/sbin/slmodemd --retry 1 ; then
echo .
else
echo " probably failed."
echo "Trying it the hard way (send SIGKILL all slmodemd
processes): "
/usr/bin/killall -KILL slmodemd || RETVAL=1
fi
else
echo " ... no slmodemd daemon running."
fi
if [ "$RETVAL" = 0 ] ; then
rm -f "/var/run/slmodemd.pid"
rm -f /dev/modem
rm -f /dev/slusb0
echo -n "Unloading modem driver from kernel ... "
msg="none found."
if grep -l -q slusb /proc/modules ; then
/sbin/modprobe -r slusb 2>/dev/null && msg="slusb." || msg="failed."
fi
echo $msg
fi
}
status() {
echo -n "Status of SmartLink modem daemon: "
if [ ! -r "/var/run/slmodemd.pid" ]; then
echo "slmodemd is not running."
exit 3
fi
if read pid < "/var/run/slmodemd.pid" && ps -p "$pid" > /dev/null 2>&1; then
echo "slmodemd is running."
exit 0
else
echo "slmodemd is not running but /var/run/slmodemd.pid exists."
exit 1
fi
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
status
;;
*)
echo "Usage: /etc/init.d/slmodem-usb {start|stop|restart|status}"
exit 1
esac
===================================================
But with feisty nothing works.
If I try "sudo module-assistant auto-install sl-modem" (from https://help.ubuntu.com/community/DialupModemHowto/Smartlink) I get this error:
make[2]: se ingresa al directorio `/usr/src/modules/sl-modem/drivers'
gcc-4.1 -I/lib/modules/2.6.20-13-generic/build/include -o kernel-ver
kernel-ver.c
kernel-ver.c: En la función ‘main’:
kernel-ver.c:11: error: ‘UTS_RELEASE’ no se declaró aquí (primer uso en esta función)
kernel-ver.c:11: error: (Cada identificador no declarado solamente se reporta una vez
kernel-ver.c:11: error: ara cada funcion en la que aparece.)
make[2]: *** [kernel-ver] Error 1
make[2]: se sale del directorio `/usr/src/modules/sl-modem/drivers'
make[1]: *** [binary-modules] Error 2
make[1]: se sale del directorio `/usr/src/modules/sl-modem'
make: *** [kdist_build] Error 2
In Edgy I made module-assistant serveral times and I didn't get errors, so it's possible that sl-modem and kernel 2.6.20 aren't compatible?
Thanks and sorry my poor English |
|
2007-09-26 10:18:20 |
bleuvoss |
description |
sl-modem module doesn't compile (with module-assistant) on feisty and Gutsy. Package from debian sid compiles ok.
===================================================
Modem: SGS Thomson Microelectronics|56k SoftModem [Communications] (vendor:0483 device:7554)
When I plugin it, nothing happens: no /dev/slusb0 created, no /dev/ttySL0 created, nothing. On edgy I was able to run this modem using debian debs for sl-modem and editing
- /etc/default/sl-modem-daemon. Editing:
SLMODEMD_DEVICE=slusb0
SLMODEMD_COUNTRY=SPAIN
- /etc/modprobe.d/sl-modem-daemon.modutils. Adding:
install slusb modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slusb; test -e /dev/slusb0 || (/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0)
- /etc/udev/sl-modem-daemon.rules. Adding:
BUS=="usb", SYSFS{idVendor}=="0483", SYSFS{idProduct}=="7554", GROUP="dialout", ACTION=="add", RUN+="/etc/init.d/slmodem-usb restart"
- And, evidently, creating my own /etc/init.d/slmodem-usb (borrowed from Debian):
#!/bin/sh
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
test -x /usr/sbin/slmodemd || exit 0
start() {
/sbin/modprobe slusb
if ! [ -e /dev/slusb0 ]; then
mknod /dev/slusb0 c 243 0
fi
echo -n "Starting SmartLink Modem driver for: slusb0"
/sbin/start-stop-daemon --start --pidfile /var/run/slmodemd.pid
--exec /usr/sbin/slmodemd --make-pidfile --background --quiet -- -c SPAIN /dev/slusb0
RETVAL=$?
if [ "$RETVAL" = 0 ] ; then
echo "Creating /dev/modem symlink, pointing to: /dev/ttySL0."
ln -sf /dev/ttySL0 /dev/modem
fi
}
stop() {
echo -n "Shutting down SmartLink Modem driver normally"
RETVAL=0
if [ "`pidof slmodemd`" ] ; then
if /sbin/start-stop-daemon --stop --quiet --pidfile
/var/run/slmodemd.pid --exec /usr/sbin/slmodemd --retry 1 ; then
echo .
else
echo " probably failed."
echo "Trying it the hard way (send SIGKILL all slmodemd
processes): "
/usr/bin/killall -KILL slmodemd || RETVAL=1
fi
else
echo " ... no slmodemd daemon running."
fi
if [ "$RETVAL" = 0 ] ; then
rm -f "/var/run/slmodemd.pid"
rm -f /dev/modem
rm -f /dev/slusb0
echo -n "Unloading modem driver from kernel ... "
msg="none found."
if grep -l -q slusb /proc/modules ; then
/sbin/modprobe -r slusb 2>/dev/null && msg="slusb." || msg="failed."
fi
echo $msg
fi
}
status() {
echo -n "Status of SmartLink modem daemon: "
if [ ! -r "/var/run/slmodemd.pid" ]; then
echo "slmodemd is not running."
exit 3
fi
if read pid < "/var/run/slmodemd.pid" && ps -p "$pid" > /dev/null 2>&1; then
echo "slmodemd is running."
exit 0
else
echo "slmodemd is not running but /var/run/slmodemd.pid exists."
exit 1
fi
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
status
;;
*)
echo "Usage: /etc/init.d/slmodem-usb {start|stop|restart|status}"
exit 1
esac
===================================================
But with feisty nothing works.
If I try "sudo module-assistant auto-install sl-modem" (from https://help.ubuntu.com/community/DialupModemHowto/Smartlink) I get this error:
make[2]: se ingresa al directorio `/usr/src/modules/sl-modem/drivers'
gcc-4.1 -I/lib/modules/2.6.20-13-generic/build/include -o kernel-ver
kernel-ver.c
kernel-ver.c: En la función ‘main’:
kernel-ver.c:11: error: ‘UTS_RELEASE’ no se declaró aquí (primer uso en esta función)
kernel-ver.c:11: error: (Cada identificador no declarado solamente se reporta una vez
kernel-ver.c:11: error: ara cada funcion en la que aparece.)
make[2]: *** [kernel-ver] Error 1
make[2]: se sale del directorio `/usr/src/modules/sl-modem/drivers'
make[1]: *** [binary-modules] Error 2
make[1]: se sale del directorio `/usr/src/modules/sl-modem'
make: *** [kdist_build] Error 2
In Edgy I made module-assistant serveral times and I didn't get errors, so it's possible that sl-modem and kernel 2.6.20 aren't compatible?
Thanks and sorry my poor English |
sl-modem module doesn't compile (with module-assistant) on feisty and Gutsy. Package from debian sid compiles ok.
Other bugs reports with the same (I think) error : bug #92777, bug #103705
===================================================
Modem: SGS Thomson Microelectronics|56k SoftModem [Communications] (vendor:0483 device:7554)
When I plugin it, nothing happens: no /dev/slusb0 created, no /dev/ttySL0 created, nothing. On edgy I was able to run this modem using debian debs for sl-modem and editing
- /etc/default/sl-modem-daemon. Editing:
SLMODEMD_DEVICE=slusb0
SLMODEMD_COUNTRY=SPAIN
- /etc/modprobe.d/sl-modem-daemon.modutils. Adding:
install slusb modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slusb; test -e /dev/slusb0 || (/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0)
- /etc/udev/sl-modem-daemon.rules. Adding:
BUS=="usb", SYSFS{idVendor}=="0483", SYSFS{idProduct}=="7554", GROUP="dialout", ACTION=="add", RUN+="/etc/init.d/slmodem-usb restart"
- And, evidently, creating my own /etc/init.d/slmodem-usb (borrowed from Debian):
#!/bin/sh
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
test -x /usr/sbin/slmodemd || exit 0
start() {
/sbin/modprobe slusb
if ! [ -e /dev/slusb0 ]; then
mknod /dev/slusb0 c 243 0
fi
echo -n "Starting SmartLink Modem driver for: slusb0"
/sbin/start-stop-daemon --start --pidfile /var/run/slmodemd.pid
--exec /usr/sbin/slmodemd --make-pidfile --background --quiet -- -c SPAIN /dev/slusb0
RETVAL=$?
if [ "$RETVAL" = 0 ] ; then
echo "Creating /dev/modem symlink, pointing to: /dev/ttySL0."
ln -sf /dev/ttySL0 /dev/modem
fi
}
stop() {
echo -n "Shutting down SmartLink Modem driver normally"
RETVAL=0
if [ "`pidof slmodemd`" ] ; then
if /sbin/start-stop-daemon --stop --quiet --pidfile
/var/run/slmodemd.pid --exec /usr/sbin/slmodemd --retry 1 ; then
echo .
else
echo " probably failed."
echo "Trying it the hard way (send SIGKILL all slmodemd
processes): "
/usr/bin/killall -KILL slmodemd || RETVAL=1
fi
else
echo " ... no slmodemd daemon running."
fi
if [ "$RETVAL" = 0 ] ; then
rm -f "/var/run/slmodemd.pid"
rm -f /dev/modem
rm -f /dev/slusb0
echo -n "Unloading modem driver from kernel ... "
msg="none found."
if grep -l -q slusb /proc/modules ; then
/sbin/modprobe -r slusb 2>/dev/null && msg="slusb." || msg="failed."
fi
echo $msg
fi
}
status() {
echo -n "Status of SmartLink modem daemon: "
if [ ! -r "/var/run/slmodemd.pid" ]; then
echo "slmodemd is not running."
exit 3
fi
if read pid < "/var/run/slmodemd.pid" && ps -p "$pid" > /dev/null 2>&1; then
echo "slmodemd is running."
exit 0
else
echo "slmodemd is not running but /var/run/slmodemd.pid exists."
exit 1
fi
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
status)
status
;;
*)
echo "Usage: /etc/init.d/slmodem-usb {start|stop|restart|status}"
exit 1
esac
===================================================
But with feisty nothing works.
If I try "sudo module-assistant auto-install sl-modem" (from https://help.ubuntu.com/community/DialupModemHowto/Smartlink) I get this error:
make[2]: se ingresa al directorio `/usr/src/modules/sl-modem/drivers'
gcc-4.1 -I/lib/modules/2.6.20-13-generic/build/include -o kernel-ver
kernel-ver.c
kernel-ver.c: En la función ‘main’:
kernel-ver.c:11: error: ‘UTS_RELEASE’ no se declaró aquí (primer uso en esta función)
kernel-ver.c:11: error: (Cada identificador no declarado solamente se reporta una vez
kernel-ver.c:11: error: ara cada funcion en la que aparece.)
make[2]: *** [kernel-ver] Error 1
make[2]: se sale del directorio `/usr/src/modules/sl-modem/drivers'
make[1]: *** [binary-modules] Error 2
make[1]: se sale del directorio `/usr/src/modules/sl-modem'
make: *** [kdist_build] Error 2
In Edgy I made module-assistant serveral times and I didn't get errors, so it's possible that sl-modem and kernel 2.6.20 aren't compatible?
Thanks and sorry my poor English |
|
2007-12-01 17:01:15 |
Henrik Nilsen Omma |
sl-modem: importance |
Undecided |
Medium |
|
2007-12-04 18:17:46 |
Leonard Weydert |
bug |
|
|
assigned to sl-modem (Baltix) |
2009-05-09 14:06:53 |
Rolf Leggewie |
sl-modem (Ubuntu): status |
Confirmed |
Invalid |
|
2009-05-09 14:06:53 |
Rolf Leggewie |
sl-modem (Ubuntu): assignee |
|
Rolf Leggewie (r0lf) |
|
2009-05-09 16:24:13 |
NoWhereMan (e.vacchi) |
removed subscriber NoWhereMan (e.vacchi) |
|
|
|
2009-08-20 13:04:52 |
Mirsal Ennaime |
removed subscriber Mirsal ENNAIME |
|
|
|