Fw: [SWLUG] dsl modem

Peter Bradley apvx95 at dsl.pipex.com
Wed Sep 17 20:48:12 UTC 2003


Sorry, forgot to copy to the list (in case it help someone else)

Peter

----- Original Message -----
From: "Peter Bradley" <apvx95 at dsl.pipex.com>
To: "Dave Cridland [Home]" <dave at cridland.net>
Sent: Tuesday, September 16, 2003 6:47 PM
Subject: Re: [SWLUG] dsl modem


> Dave,
>
> I'm extremely grateful for this.
>
> Believe me you do not, nor are you likely to insult my intelligence.  It's
> been insulted by some of the best around!
>
> I'll have a go at your suggestions.  The only thing is, what do I look for
> to see if lsusb sees the modem (or will it be very obvious)?  Not sure I
> understand point 6) either, but I guess if I've got that far I should be
> well on the way.  Actually, I am sure.  I don't understand it.
>
> Looks like a job for the weekend.  I'll keep you posted.
>
> Thanks again
>
> Peter
>
> ----- Original Message -----
> From: "Dave Cridland [Home]" <dave at cridland.net>
> To: "Peter Bradley" <apvx95 at dsl.pipex.com>
> Cc: "SWLUG" <discuss at swlug.org.uk>
> Sent: Wednesday, September 17, 2003 10:51 AM
> Subject: Re: [SWLUG] dsl modem
>
>
> > On Mon, 2003-09-15 at 22:00, Peter Bradley wrote:
> > > Hi guys,
> > >
> > > I've been having a lot of difficulty getting my SpeedTouch 330 modem
to
> work
> > > under SuSE 8.2.  The friendly crowd at the SWLUG tonight suggest I
post
> > > here.
> >
> > Yes, even if I couldn't remember the list address. And nor could Justin.
> >
> > > Please bear in mind with any answers that I'm just a journeyman code
> hacker
> > > and I don't understand any of this stuff at all.  So if I need to do
> > > anything harder than painting by numbers, I'll need to be spoken to as
> to a
> > > child ...
> >
> > I'll do my very best to try to avoid insulting your intelligence while
> > also trying to guess your knowledge level.
> >
> > > Anyway ...
> > >
> > > I got the user space drivers (Benoit), compiled and  then installed
them
> > > following the mini
> > > Howto at:
> > >
> > > www.xs4all.nl/~pschram/english.html
> > >
> > > However when I give the start-adsl command, I get the following error:
> > >
> > > <start-adsloutput>
> > >
> > > I'm sorry, I didn't find your ADSL modem!
> > > Tips: check that you are running this program as root and your device
is
> > > seen by your OS
> > >       Linux users : check /proc/bus/usb/devices
> > >       BSD   users : check your ugen and usb entries in /dev
> >
> > This bit is suggesting that usbdevfs might not be mounted.
> >
> > What does the output of "mount" look like?
> >
> > > using channel 2
> > > Using interface ppp0
> > > Connect: ppp0 <--> /dev/pts/2
> > > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4853f90>]
> > > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4853f90>]
> > > SIOCADDRT: No such device
> >
> > This bit is a load of junk output caused by trying to start PPP running
> > across a device which doesn't exist.
> >
> > > </start-adsloutput>
> > >
> > > So I checked /proc/bus/usb/devices as it says, and I find:
> > >
> > > <catoutput>
> > >
> > > T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> > > B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> > > D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> > > P:  Vendor=0000 ProdID=0000 Rev= 0.00
> > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> > > I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> > > E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
> >
> > A hub. Possibly internal.
> >
> > > T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> > > B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> > > D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> > > P:  Vendor=0000 ProdID=0000 Rev= 0.00
> > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> > > I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> > > E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
> >
> > Likewise.
> >
> > > T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> > > B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> > > D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> > > P:  Vendor=0000 ProdID=0000 Rev= 0.00
> > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> > > I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> > > E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
> >
> > And likewise.
> >
> > > T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
> > > B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
> > > D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
> > > P:  Vendor=0000 ProdID=0000 Rev= 2.04
> > > S:  Manufacturer=Linux 2.4.20-4GB ehci-hcd
> > > S:  Product=PCI device 1039:7002 (Silicon Integrated Systems [SiS])
> > > S:  SerialNumber=00:03.3
> > > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> > > I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> > > E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
> >
> > And yet another hub, apparently.
> >
> > You seem to have four busses, each with a hub and nothing else. This
> > suggests to me that the device isn't plugged in, or else Linux has
> > somehow got confused about what is and isn't plugged in.
> >
> > To be fair, this output is somewhat beyond me, and I may be
> > misinterpreting it totally.
> >
> > > </catoutput>
> > >
> > > I also tried lsusb and lsmod to try to get some info in a friendlier
> format:
> > >
> > > <lsusboutput>
> > >
> > > Bus 004 Device 001: ID 0000:0000
> > > Bus 003 Device 001: ID 0000:0000
> > > Bus 002 Device 001: ID 0000:0000
> > > Bus 001 Device 001: ID 0000:0000
> >
> > Likewise, this tells me that you have four USB buses, with no devices
> > attached.
> >
> > > </lsusboutput>
> > >
> > > <lsmodoutput>
> > >
> > > Module                  Size  Used by    Not tainted
> > > snd-pcm-oss            45888   0  (autoclean)
> > Old style Pulse Code Modulation driver.
> > > snd-mixer-oss          13560   1  (autoclean) [snd-pcm-oss]
> > Old style mixer driver.
> > > videodev                5600   0  (autoclean)
> > Video4linux. TV cards, that kind of thing. Might be wrong, though.
> > > isa-pnp                29672   0  (unused)
> > ISA Plug 'n' Pray support.
> > > usbserial              18460   0  (autoclean) (unused)
> > USB serial device support.
> > > parport_pc             25800   1  (autoclean)
> > Parallel port driver for PC hardware.
> > > lp                      6240   0  (autoclean)
> > "Line printer" support.
> > > parport                22440   1  (autoclean) [parport_pc lp]
> > Generic parallel port driver.
> > > ipv6                  134388  -1  (autoclean)
> > IPv6.
> > > snd-intel8x0           19204   1
> > > snd-pcm                62912   0  [snd-pcm-oss snd-intel8x0]
> > > snd-timer              11904   0  [snd-pcm]
> > > snd-ac97-codec         31152   0  [snd-intel8x0]
> > > snd-mpu401-uart         3360   0  [snd-intel8x0]
> > > snd-rawmidi            13824   0  [snd-mpu401-uart]
> > > snd-seq-device          4000   0  [snd-rawmidi]
> > > snd                    35940   0  [snd-pcm-oss snd-mixer-oss
> snd-intel8x0
> > > snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi
> > > snd-seq-device]
> > > soundcore               3396   0  [snd]
> > A bunch of soundcard drivers.
> > > ipt_TOS                  984   9  (autoclean)
> > > ipt_LOG                 3288   1  (autoclean)
> > > ipt_state                568  10  (autoclean)
> > iptables (firewall) extensions.
> > > st                     27956   0  (autoclean) (unused)
> > > sr_mod                 12600   0  (autoclean)
> > > sg                     25852   0  (autoclean)
> > SCSI tape, CDROM, and "generic" (raw) drivers.
> > > mousedev                4148   0  (unused)
> > > joydev                  5632   0  (unused)
> > > evdev                   4032   0  (unused)
> > > input                   3104   0  [mousedev joydev evdev]
> > Mouse, Joystick, and generic USB input device support.
> > > usb-ohci               18760   0  (unused)
> > USB driver for OHCI
> > > ehci-hcd               16012   0  (unused)
> > USB driver for EHCI
> > > usbcore                57836   1  [usbserial usb-ohci ehci-hcd]
> > Generic USB access.
> > > raw1394                14516   0  (unused)
> > Firewire support.
> > > pppoatm                 2408   0  (unused)
> > Not sure you need this, it's PPPoATM. Last I looked, Benoit's driver
> > uses pppoa3 in userspace to handle the PPPoATM.
> > > ppp_generic            16476   0  (autoclean) [pppoatm]
> > > slhc                    4624   0  (autoclean) [ppp_generic]
> > PPP Generic support.
> > > ohci1394               16180   0  (unused)
> > > ieee1394               32880   0  [raw1394 ohci1394]
> > More firewire support.
> > > af_packet              12392   1  (autoclean)
> > Packet filtering and sniffing support.
> > > sis900                 12588   1
> > Pass - probably framebuffer support for SiS 900?
> > > ipt_REJECT              2904   3  (autoclean)
> > > iptable_mangle          2072   1  (autoclean)
> > > iptable_filter          1644   1  (autoclean)
> > > ip_nat_ftp              2736   0  (unused)
> > > iptable_nat            15470   1  [ip_nat_ftp]
> > > ip_conntrack_ftp        3664   1
> > > ip_conntrack           16380   3  [ipt_state ip_nat_ftp iptable_nat
> > > ip_conntrack_ftp]
> > > ip_tables              11040   9  [ipt_TOS ipt_LOG ipt_state
ipt_REJECT
> > > iptable_mangle iptable_filter iptable_nat]
> > More IP tables support. (Including NA[P]T support, which is a horrible
> > aberration, but works just enough to convince people it's worth using.)
> > > ide-scsi                9296   0
> > Oh. IDE to SCSI translation. (Or is it the other way around?) I've never
> > had a need for this.
> > > ide-cd                 29404   0
> > > cdrom                  28192   0  [sr_mod ide-cd]
> > CDROM support.
> > > nls_iso8859-1           2812   1  (autoclean)
> > > ntfs                   75244   1  (autoclean)
> > Legacy filesystem support.
> > > reiserfs              200532   1
> > Support for one of the only filesystems that's lost me almost more data
> > than I stored.
> > >
> > > </lsmodoutput>
> > >
> > > I confess that none of the above means anything at all to me!
> > >
> > > I've nothing plugged in to any of the other USB ports, but I did once
> try to
> > > use YAST to set up the modem.  Perhaps there's something in a
> configuration
> > > file somewhere I didn't get rid of?  Don't understand enough about
these
> > > things to be able to say.
> >
> > I suspect YAST has tried to load in a bunch of the original Alcatel
> > drivers, including PPPoATM support in the kernel. In addition, you
> > haven't got the HDLC driver loaded, which I'd expect to see. (It's
> > called n_hdlc). Nor the ppp_synctty support I'd expect, either.
> >
> > > Here's the output of lspci -v:
> > >
> > > <lspci_output>
> >    /---Bus number. 0 for PCI, 1 for AGP.
> >    |  /---Slot number. (Device number if you prefer.)
> >    |  | /---Function number - many devices have multiple functions,
> >    |  | |   many don't.
> > > 00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
> 0648
> > > (rev 02)
> > >  Subsystem: Silicon Integrated Systems [SiS]: Unknown device 0648
> > >  Flags: bus master, medium devsel, latency 32
> > >  Memory at d0000000 (32-bit, non-prefetchable) [size=128M]
> > >  Capabilities: [c0] AGP version 2.0
> >
> > This is the "Host Bridge". It has trolls hiding underneath, which
> > multitask between charging money in exchange for not eating the data,
> > and threatening goats who try to eat the lush green PCI cards.
> >
> > Um. Okay, I vaguely think it's something to do with linking the CPU to
> > the PCI bus, or something similar, but I don't really know. Every PC has
> > one, that much I know.
> >
> > > 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual
> > > PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
> > >  Flags: bus master, fast devsel, latency 64
> > >  Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
> > >  Memory behind bridge: e0000000-e1ffffff
> > >  Prefetchable memory behind bridge: d8000000-dfffffff
> >
> > AGP interface. I suspect this is only used by PCI cards which transfer
> > data directly to the video card, but I'm not sure.
> >
> > > 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev
> 04)
> > >  Flags: bus master, medium devsel, latency 0
> >
> > ISA bus.
> >
> > > 00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS]
FireWire
> > > Controller (prog-if 10 [OHCI])
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 701d
> > >  Flags: bus master, medium devsel, latency 32, IRQ 9
> > >  Memory at e2425000 (32-bit, non-prefetchable) [size=4K]
> > >  Expansion ROM at <unassigned> [disabled] [size=128K]
> > >  Capabilities: [64] Power Management version 2
> >
> > Firewire, which explains all the 1394 drivers above.
> >
> > > 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
> (prog-if
> > > 80 [Master])
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 7010
> > >  Flags: bus master, medium devsel, latency 128, IRQ 11
> > >  I/O ports at 4000 [size=16]
> > >  Capabilities: [58] Power Management version 2
> >
> > IDE, which we think, looking at your driver listing, has a CDROM on it.
> > Most likely it has your hard disk on too, but that driver isn't visible.
> >
> > > 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
> > > SiS7012 PCI Audio Accelerator (rev a0)
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 7010
> > >  Flags: bus master, medium devsel, latency 32, IRQ 3
> > >  I/O ports at e400 [size=256]
> > >  I/O ports at e800 [size=128]
> > >  Capabilities: [48] Power Management version 2
> >
> > Sound card.
> >
> > > 00:03.0 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
> > > Controller (rev 0f) (prog-if 10 [OHCI])
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 7010
> > >  Flags: bus master, medium devsel, latency 32, IRQ 9
> > >  Memory at e2420000 (32-bit, non-prefetchable) [size=4K]
> > >
> > > 00:03.1 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
> > > Controller (rev 0f) (prog-if 10 [OHCI])
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 7010
> > >  Flags: bus master, medium devsel, latency 32, IRQ 3
> > >  Memory at e2421000 (32-bit, non-prefetchable) [size=4K]
> > >
> > > 00:03.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
> > > Controller (rev 0f) (prog-if 10 [OHCI])
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 7010
> > >  Flags: bus master, medium devsel, latency 32, IRQ 13
> > >  Memory at e2422000 (32-bit, non-prefetchable) [size=4K]
> > >
> > > 00:03.3 USB Controller: Silicon Integrated Systems [SiS] SiS7002 USB
2.0
> > > (prog-if 20 [EHCI])
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 7010
> > >  Flags: bus master, medium devsel, latency 32, IRQ 11
> > >  Memory at e2423000 (32-bit, non-prefetchable) [size=4K]
> > >  Capabilities: [50] Power Management version 2
> >
> > And there we go - four USB controllers, which ties in with the above.
> > What's weird is that the fourth is EHCI. You might want to consider
> > moving the Speedtouch to a different USB slot, since they might be
> > interfering somehow.
> >
> > Martin [SlayerXP], my infamous colleague, comments on IRC:
> >
> > <dwd> SlayerXP: What I find odd is that his motherboard has three OHCI
> > controllers and one EHCI.
> > <SlayerXP> dwd: that's not impossible
> > <SlayerXP> the OHCI controllers may really be "legacy" devices
> > <SlayerXP> tell his to check his BIOS config
> > <SlayerXP> him
> >
> > > 00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
> 10/100
> > > Ethernet (rev 91)
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 0900
> > >  Flags: bus master, medium devsel, latency 32, IRQ 5
> > >  I/O ports at ec00 [size=256]
> > >  Memory at e2424000 (32-bit, non-prefetchable) [size=4K]
> > >  Expansion ROM at <unassigned> [disabled] [size=128K]
> > >  Capabilities: [40] Power Management version 2
> >
> > Network card.
> >
> > > 00:08.0 Communication controller: Intel Corp. 536EP Data Fax Modem
> > >  Subsystem: Creatix Polymedia GmbH V.9X DSP Data Fax Modem
> > >  Flags: bus master, medium devsel, latency 32, IRQ 5
> > >  Memory at e2000000 (32-bit, non-prefetchable) [size=4M]
> > >  Capabilities: [e0] Power Management version 2
> >
> > Winmodem. (DSP based internal modem).
> >
> > > 01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4
MX
> 420]
> > > (rev a3) (prog-if 00 [VGA])
> > >  Subsystem: Micro-Star International Co., Ltd.: Unknown device 8730
> > >  Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 11
> > >  Memory at e0000000 (32-bit, non-prefetchable) [size=16M]
> > >  Memory at d8000000 (32-bit, prefetchable) [size=64M]
> > >  Memory at dc000000 (32-bit, prefetchable) [size=512K]
> > >  Expansion ROM at <unassigned> [disabled] [size=128K]
> > >  Capabilities: [60] Power Management version 2
> > >  Capabilities: [44] AGP version 2.0
> >
> > Your GeForce4.
> >
> > > </lspci_output>
> > >
> > > Anyone got any ideas what I might try next?  Sorry to have to rely so
> > > completely on you all, but I just have no idea about these things and
> SuSE
> > > support say they can't help.
> > >
> > > In (fading) hope :(
> >
> > My strategy would be:
> >
> > 1) Tell Yast to uninstall anything to do with the Speedtouch. I'm pretty
> > sure you've got two distinct drivers running.
> > 2) Check BIOS settings regarding the possible legacy USB devices.
> > Changing the setting might confuse Windows a little. See if lsusb sees
> > the modem.
> > 3) If not, move the SpeedTouch from slot to slot. See if lsusb sees it.
> > 4) If you still can't see the modem with lsusb, then take the hardware
> > to the next LUG meet, hand it to Alan to fix, and utter the magical
> > incantation, "Of course, if it's too difficult for you to fix..." ;-)
> > Seriously, I've no idea at this point.
> > 5) If you can see the modem, now, then see if usbdevfs is mounted by
> > looking for it in the output of "mount".
> > 6) Run "modprobe n_hdlc ; modprobe ppp_synctty", to manually and nastily
> > pull in the right drivers. (This can be done automatically later)
> > 7) Try the modem start script.
> > 8) If all else fails, start stocking up on rats, candles, and obsideon
> > knives.
> >
> > Hope this gives you somewhere to start.
> >
> > Dave.
> >
> >
> > _______________________________________________
> > SWLUG Discussion List - Discuss at swlug.org.uk
> > http://list.swlug.org.uk/mailman/listinfo/discuss
> >
>






More information about the Swlug mailing list