Re: USR 5605 External USB modem not 'recognized'

From: Rick Moen (rick_at_linuxmafia.com)
Date: 04/13/04


Date: Tue, 13 Apr 2004 05:47:26 -0000

E. Bruce Lynn, II <eblynn2@mindspring.com> wrote:
>
> Thank you for the very detailed response. I followed you instructions,
> with the exception of "mkdir usb" as this directory already existed.
> Also FWIW I have a subdirectory of /dev/usb which is acm.
[...]

Hoo boy.

Bruce, I have a problem with some of your processing of Internet mail.

In addition to seeing the above as a newsgroup follow-up to my long help
post, I also received a _separate_ e-mail copy (which I saw first).
That e-mail was _not_ in any way indicated as a mail duplicate of a
newsgroup followup: To all appearances, you had simply decided to move
from the newsgroup to private e-mail.

With me so far? Lesson 1: If you insist on sending redundant e-mail
copies of your newsgroup posts, you should make _sure_ the recipient
understands that the mail is in _addition_ to your on-forum reply, and
you haven't simply decided unilaterally that you prefer to switch to
private communication.

Since you didn't do that, I sent you a response crafted for private
e-mail -- among other things, suggesting that you not depart to e-mail
from newsgroup threads, without at least an explanation of why. And in
response, I received... guess what?

   From: automated-response@earthlink.net
   Date: Tue, 13 Apr 2004 01:28:46 -0400 (EDT)
   Reply-to: nobody@earthlink.net
   Subject: Re: Re: USR 5605 External USB modem not 'recognized'

   This is an automatic reply to your email message to eblynn2@mindspring.com

   This email address is protected by EarthLink spamBlocker. Your
   email message has been redirected to a "suspect email" folder for
   eblynn2@mindspring.com. In order for your message to be
   moved to this recipient's Inbox, he or she must add your email
   address to a list of allowed senders.

   Click the link below to request that eblynn2@mindspring.com add you to
   this list.
   https://webmail.atl.earthlink.net/wam/addme?a=eblynn2@mindspring.com&id=1bdgtwa83Nl3pM0

I received, in short, your goddamned "Jump over this hoop to me that I
should read your mail" notice.

The hell you say. I do not jump "challenge-response" hoops, ever. And
I am now fed up.

All mail from the EarthLink "spamBlocker" annoybot has now been
prospectively redirected to /dev/null , so I'm sure I will not be
bothered in the future by (among other people) your annoybot messages --
which, I might point out, pretty much qualify as spam in themselves.

Moreover, I'm sufficiently annoyed that you're going to have to seek
Usenet assistance from someone else. Sorry, you've ticked me off.

(I am posting this rather than mailing it for obvious reasons -- and you
are one short step from being killfiled in my newsreader, too. I
strongly suggest you re-think your challenge-response "fighting spam
with more spam" strategy, before you run entirely out of friends.

-- 
Cheers,               No trees were destroyed in the sending of this message. 
Rick Moen             We do concede, though, that a large number of electrons 
rick@linuxmafia.com   were terribly inconvenienced.
> Here is where I think my problem lies.  Xandros only sees the winmodem, 
> but does not see or find my "usb" modem.  I don't know if this means 
> anything, but my modem is attached to a Belkin USB 2.0 7 port hub; 
> however, so are my external keyboard, mouse, and some other devices. 
> The mouse and keyboard are recognized.  I am not sure about the others.
> 
> The only thing that occurs to me is to see if I can disable the 
> 'onboard' winmodem in the BIOS, and keep looking for a way to get 
> Xandros Linux to 'see' and utilize my USB external modem.
> 
> Do you have any other ideas, as to what I might do, or where I might 
> find a straightforward explanation like you gave me?
> 
> Thank you again.
> 
> --
> Bruce
> 
> Rick Moen wrote:
>> E. Bruce Lynn, II <eblynn2@mindspring.com> wrote:
>> 
>> 
>>>I just bought a 3Com USR model 5605 external USB modem on eBay to use 
>>>with my laptop which has an onboard winmodem. This modem was listed at 
>>>http://start.at/modem as being compatible with linux. My laptop, a 
>>>Toshiba P15-S479, does not have a serial port so the modem is connected 
>>>via a USB connection. Windows XP indicates that this modem is on Com 4.
>>>
>>>Could someone please tell me how to get Xandros 2.x (based on Debian) to 
>>>'recognize' this modem? I already tried the Internet Connection wizard I 
>>>believe it is called, but it would only recognize the on board winmodem 
>>>which it could install.
>>>
>>>I don't mind reading the manual, but in this case I can't find 'manual' 
>>>that addresses this issue in particular.
>> 
>> 
>> Hi there.
>> 
>> I've never actually solved that particular problem, so following is
>> strictly an attempt to solve this problem on the fly, working mostly
>> from http://www.linux-usb.org/USB-guide/ and a rudimentary understanding
>> of Linux USB support.  Here goes:
>> 
>> http://www.linux-usb.org/USB-guide/x332.html makes clear that you're
>> going to need a kernel driver called "acm" (filename acm.o), so named
>> because it supports the USB standard's Abstract Control Model class,
>> which includes modems.
>> 
>> (Please don't panic at that bit of technogeekery:  Just file the
>> information, as we'll use it later on.)
>> 
>> Now:  I have considerable respect for Xandros's hardware recognition,
>> though I don't run it.  Odds are that it has already set up basic USB
>> support for you already.  Our next step is to verify that.  Open a
>> terminal window, and run "lspci -v | more".  You'll see a whole lot of
>> output about the half-dozen or so PCI devices known to your
>> motherboard's PCI controller chip, including the USB chipset, with a
>> blank line separating the paragraph about each.  Here's the USB
>> paragraph from my old laptop:
>> 
>> 00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
>> (prog-if 00 [UHCI])
>>         Flags: bus master, medium devsel, latency 64, IRQ 11
>>         I/O ports at fce0 [size=32]
>> 
>> 
>> It happens that there are two types of USB controller chips, UHCI-class
>> (Intel's standard) or OHCI-class (Compaq and some others).   Those
>> require respectively the usb-uhci or usb-ohci kernel driver.  Both of
>> those automatically also cause a driver called "usbcore" to load.
>> 
>> The pair of drivers for your particular hardware setup are a modular 
>> (plug-in) software rig into which higher-level drivers for sundry USB
>> functions can plug in.  Such as, for example, the acm driver.  Your
>> modem talk to the acm driver, which talks to the usbcore driver for
>> generic USB functionality, which talks to either the usb-uhci or
>> usb-ohci low-level driver (depending), which knows how to talk directly
>> to your motherboard's USB chip.  With me so far?
>> 
>> OK, so, I'll bet that when you type at a terminal prompt "lsmod" to list
>> (to screen) the currently loaded kernel modules, you'll see something
>> like this:
>> 
>> $ lsmod
>> Module                  Size  Used by    Not tainted
>> apm                     9116   2 (autoclean)
>> usb-uhci               20676   0 (unused)
>> parport_pc             25672   1 (autoclean)
>> lp                      6880   0 (autoclean)
>> parport                21696   1 (autoclean) [parport_pc lp]
>> usbcore                48000   1 [usb-uhci]
>> 
>> 
>> Notice that module "acm" isn't listed.  (The above is, again, from my
>> laptop.)  But you can add it.  As the root user, type "modprobe acm".
>> Now, type "lsmod" again, and notice that it's now loaded.
>> 
>> Since Xandros is Debian-like, I imagine that (as with Debian), adding
>> the name of a module to /etc/modules will cause it to be loaded at boot
>> time.  So (again, as root), add "acm" as a new line to that file, and
>> save your changes and exit your editor.
>> 
>> Now, you're almost done.  The aforementioned Web page
>> (http://www.linux-usb.org/USB-guide/) says you should have some USB
>> modem "device" files in directory /dev/usb/ , which directory probably
>> doesn't yet exist on your system.  So, create it.  As root, at a
>> terminal prompt, type
>> 
>> # cd /dev
>> # mkdir usb
>> 
>> Then...
>> 
>> # mknod /dev/usb/ttyACM0 c 166 0
>> # mknod /dev/usb/ttyACM1 c 166 1
>> # mknod /dev/usb/ttyACM2 c 166 2
>> # mknod /dev/usb/ttyACM3 c 166 3
>> 
>> (As with the "$" previously, the "#" stands for your shell prompt, and
>> is not part of what you type.)
>> 
>> For your convenience, you should create a /dev/modem symbolic link that
>> points to whichever of the above newly-created device files corresponds
>> to your modem's USB device, almost certainly ttyACM0 (the first USB
>> ACM-class device).  Like this:
>> 
>> # cd /dev
>> # ln -sf /dev/usb/ttyACM0 modem
>> 
>> The "/dev/modem" symlink is a sort of convention, a shortcut, indirect
>> way of addressing your modem's actual device.  (It's similar in that
>> respect to /dev/mouse and /dev/cdrom .)
>> 
>> You should now be able to test-address your modem.  The usual tool for
>> doing so is the terminal program "minicom", which happens to be set to
>> address /dev/modem by default.  Fire up minicom.  When you get to its
>> terminal window, type "ATE1", which is a standard modem command telling
>> the modem to turn on display of responses to any commands it receives.
>> The modem should reply "OK", which is then duly shown in the minicom
>> window.  
>> 
>> If not, then something has gone wrong in the above chain of reasoning,
>> and probably means I've screwed up in some way.  But give it a shot.
>> ;->
>> 


Relevant Pages

  • RE: USB device not claimed by any active driver
    ... > You need to select the USB Modem support ... > use up to 32 modems with this driver. ... > Linux and USB. ... KPPP and friends can all refer to the ...
    (RedHat)
  • USB - basic Qs (dialup modem) (newb)
    ... do all USB items need a driver to be installed? ... is a USB dialup modem likely to be very easy to install, ...
    (alt.os.linux.suse)
  • Re: OT: Oh woe is me:-(
    ... Broadband modem USB drivers are notoriously unreliable. ... I've just checked the version number on the CD which came from Virgin and it says "Version 4.1" but I see on Virgin's website that they say the latest driver for XP is 3.01 and for Vista it is 4.1. ... I've just read this on Wikipedia: "the Speedtouch USB to work. ... The last time I was told this, loath to lose my connection with Umra for a few weeks, I hunted around on the net and found there was an update for the driver, which I downloaded and installed. ...
    (uk.media.radio.archers)
  • Re: USR 5605 External USB modem not recognized
    ... This modem was listed at ... > via a USB connection. ... require respectively the usb-uhci or usb-ohci kernel driver. ... Such as, for example, the acm driver. ...
    (comp.os.linux.hardware)
  • Re: Apple USB modem causes iMac core duo kernel panic.
    ... Modem is good - they both were - tested on other machines. ... an ordinary app which loads on startup, does something which the USB modem software doesn't like. ... When I got Apple USB modems for the office, I expected that there might be trouble if I attached then by a hub, so I tried that first thing. ... Apple tech bumped me up to the 2nd level when I called in after 2 kernel panics and system freezes everytime i tried to dialup using the apple usb external modem. ...
    (comp.sys.mac.comm)