diff options
Diffstat (limited to 'net-dialup/slmodem/files')
4 files changed, 59 insertions, 0 deletions
diff --git a/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20070505 b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20070505 new file mode 100644 index 000000000000..18cce0d9d83c --- /dev/null +++ b/net-dialup/slmodem/files/digest-slmodem-2.9.11_pre20070505 @@ -0,0 +1,6 @@ +MD5 150c089024501e93e640c898aba2debf slmodem-2.9.11-20070505.tar.gz 840019 +RMD160 9b052bd749a96771060a63f2f27289287bf06f38 slmodem-2.9.11-20070505.tar.gz 840019 +SHA256 616a5d8cefb2fadec085c19a17a8e38a8c51d836fe4c813e874636f915249adc slmodem-2.9.11-20070505.tar.gz 840019 +MD5 748bfc7387006293f9eddde119fa9d6f ungrab-winmodem-20070505.tar.gz 2254 +RMD160 51b71b203688004718826f23dc2485223d8b4a17 ungrab-winmodem-20070505.tar.gz 2254 +SHA256 9fd9287638f89c17733bb4a6c981b00446f0be18589a71f10f69fca5006a7781 ungrab-winmodem-20070505.tar.gz 2254 diff --git a/net-dialup/slmodem/files/slmodem-modules b/net-dialup/slmodem/files/slmodem-modules index 3a49fedcaee6..c751b6ccb47a 100644 --- a/net-dialup/slmodem/files/slmodem-modules +++ b/net-dialup/slmodem/files/slmodem-modules @@ -2,3 +2,12 @@ alias char-major-242 slamr alias char-major-243 slusb + +# If you see message like this in dmesg output: +# device 10b9:5457 is grabbed by driver serial +# then try uncommenting the two lines at the bottom, run update-modules and reboot. +# After reboot, check dmesg output again, you should see a message like this instead: +# device 10b9:5457 is grabbed by driver serial: try to release + +# install slamr modprobe --ignore-install ungrab-winmodem ; sleep 5 ; modprobe --ignore-install slamr +# install slusb modprobe --ignore-install ungrab-winmodem ; sleep 5 ; modprobe --ignore-install slusb diff --git a/net-dialup/slmodem/files/slmodem-ungrab-winmodem-hp500.patch b/net-dialup/slmodem/files/slmodem-ungrab-winmodem-hp500.patch new file mode 100644 index 000000000000..3d4461a69539 --- /dev/null +++ b/net-dialup/slmodem/files/slmodem-ungrab-winmodem-hp500.patch @@ -0,0 +1,27 @@ +--- ungrab-winmodem-20070505/ungrab-winmodem.c 2007-05-11 13:15:25.000000000 +0200 ++++ ungrab-winmodem-20070505/ungrab-winmodem.c 2007-05-11 13:14:40.000000000 +0200 +@@ -20,6 +20,7 @@ + #include <linux/pci.h> + #include <linux/kernel.h> + ++#define PCI_DEVICE_ID_HP5457 0x266d + #define PCI_DEVICE_ID_ALI5457 0x5457 + #define PCI_DEVICE_ID_ALI5459 0x5459 + #define PCI_DEVICE_ID_ALI545A 0x545A +@@ -28,6 +29,7 @@ + #define PCI_VENDOR_ID_SMARTLINK_1 0x163c + #define PCI_VENDOR_ID_SMARTLINK_2 0x10a5 + #define PCI_VENDOR_ID_SMARTLINK_3 0x2003 ++#define PCI_VENDOR_ID_SMARTLINK_4 0x8086 + #define PCI_DEVICE_ID_SL2800 0x2800 + #define PCI_DEVICE_ID_SL1900 0x3052 + #define PCI_DEVICE_ID_ND92XPA 0x8800 /* ND92XPA */ +@@ -48,6 +50,8 @@ + {PCI_VENDOR_ID_SMARTLINK, PCI_DEVICE_ID_SL2800, PCI_ANY_ID, PCI_ANY_ID }, + /* 2003:8800 */ + {PCI_VENDOR_ID_SMARTLINK_3, PCI_DEVICE_ID_ND92XPA, PCI_ANY_ID, PCI_ANY_ID }, ++ /* 266d:8086 */ ++ {PCI_VENDOR_ID_SMARTLINK_4, PCI_DEVICE_ID_HP5457, PCI_ANY_ID, PCI_ANY_ID }, + /* pctel HSP1688 */ + { 0x134d, 0x2189, PCI_ANY_ID, PCI_ANY_ID }, + {0,} diff --git a/net-dialup/slmodem/files/slusb-udev.script b/net-dialup/slmodem/files/slusb-udev.script new file mode 100644 index 000000000000..240dab2c9876 --- /dev/null +++ b/net-dialup/slmodem/files/slusb-udev.script @@ -0,0 +1,17 @@ +#!/bin/sh + +script /etc/init.d/slmodem +source /etc/conf.d/slmodem + +if [ -z "${USBMOD}" ] ; then + MODULE="slusb" +else + MODULE=${USBMOD} +fi + +if $script --quiet status; then + $script stop +elif + ! $script --quiet status; then + $script start +fi |