public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] modem configuration
@ 2012-09-13 18:08 Kraus Philipp
  2012-09-14  0:32 ` Walter Dnes
  0 siblings, 1 reply; 4+ messages in thread
From: Kraus Philipp @ 2012-09-13 18:08 UTC (permalink / raw
  To: gentoo-user

Hello,

I have got a modem US Robotics 5637 and I would like to use it with Hylafax+. Hylafax works fine, all clients can create jobs, but now I would like to configure / test the modem. Can anybody explain me how I can test / configure my modem. I have installed minicom and the modem is setup under /dev/modem with this udev rules

SUBSYSTEM=="usb", SYSFS{idProduct}=="0303", SYSFS{idVendor}=="0baf", RUN+="/sbin/modprobe usbserial vendor=0x0baf product=0x0303"                                                  
SUBSYSTEM=="usb", SYSFS{idProduct}=="0303", SYSFS{idVendor}=="0baf", RUN+="/sbin/modprobe ppp_generic" SYMLINK="modem"

I think I must setup pulse dial and I would like to test first the modem, if it dials under the correct number because it is conected to a telefon facility. I have tried minicom, but minicom shows under /dev/modem in the right corner "offline". How I can install my modem in the correct way?

Thanks

Phil

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] modem configuration
  2012-09-13 18:08 [gentoo-user] modem configuration Kraus Philipp
@ 2012-09-14  0:32 ` Walter Dnes
  2012-09-15 11:24   ` [gentoo-user] " Philipp Kraus
  0 siblings, 1 reply; 4+ messages in thread
From: Walter Dnes @ 2012-09-14  0:32 UTC (permalink / raw
  To: gentoo-user

On Thu, Sep 13, 2012 at 08:08:10PM +0200, Kraus Philipp wrote
> Hello,
> 
> I have got a modem US Robotics 5637 and I would like to use it with
> Hylafax+. Hylafax works fine, all clients can create jobs, but now
> I would like to configure / test the modem. Can anybody explain me
> how I can test / configure my modem. I have installed minicom and
> the modem is setup under /dev/modem with this udev rules

  I have the same type of USB dialup modem running under Gentoo.  I use
it for emergency backup, if my ADSL connection goes down.  First
question... is your kernel properly configured?  You need to select the
USB Modem (CDC ACM) support kernel option.  In "make menuconfig" the
path is...
Device Drivers  --->
   [*] USB support  --->
       <*>   USB Modem (CDC ACM) support

  You also need to enable serial modem support.  On my system...
Device Drivers  --->
    Character devices  --->
        Serial drivers  --->
           <*> 8250/16550 and compatible serial support
           (6) Maximum number of 8250/16550 serial ports
           (5) Number of 8250/16550 serial ports to register at runtime

  Once you set up and rebuild your kernel, you have to reboot for these
changes to take effect.  After rebooting, the next step is to create 1
or more device nodes.  As root...

mkdir -p /dev/usb
mknod /dev/usb/ttyACM0 c 166 0

if you have multiple modems, you can add additional nodes like so...
mknod /dev/usb/ttyACM1 c 166 1
mknod /dev/usb/ttyACM2 c 166 2
mknod /dev/usb/ttyACM3 c 166 3

  I don't bother with udev rules.  In pppconfig I select /dev/usb/ttyACM0
as the device to connect to.  Note, the character after "ACM" is the
number zero, not the letter "O".

> I think I must setup pulse dial and I would like to test first the
> modem, if it dials under the correct number because it is conected
> to a telefon facility.

  When you make an ordinary phone call on that line...
* if you hear a bunch of "clicks", it's a pulse line
* if you hear a few beeps, it's a tone line

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: modem configuration
  2012-09-14  0:32 ` Walter Dnes
@ 2012-09-15 11:24   ` Philipp Kraus
  2012-09-15 22:19     ` Mick
  0 siblings, 1 reply; 4+ messages in thread
From: Philipp Kraus @ 2012-09-15 11:24 UTC (permalink / raw
  To: gentoo-user

On 2012-09-14 02:32:37 +0200, Walter Dnes said:

> On Thu, Sep 13, 2012 at 08:08:10PM +0200, Kraus Philipp wrote
>> Hello,
>> 
>> I have got a modem US Robotics 5637 and I would like to use it with
>> Hylafax+. Hylafax works fine, all clients can create jobs, but now
>> I would like to configure / test the modem. Can anybody explain me
>> how I can test / configure my modem. I have installed minicom and
>> the modem is setup under /dev/modem with this udev rules
> 
>   I have the same type of USB dialup modem running under Gentoo.  I use
> it for emergency backup, if my ADSL connection goes down.  First
> question... is your kernel properly configured?  You need to select the
> USB Modem (CDC ACM) support kernel option.  In "make menuconfig" the
> path is...
> Device Drivers  --->
>    [*] USB support  --->
>        <*>   USB Modem (CDC ACM) support

Thanks, I have forgot the CDC ACM module within the kernel. Rebuild my 
kernel, everything works fine except
minicom, it shows always that my modem is offline, but if I send AT 
command the modem response

Phil




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: modem configuration
  2012-09-15 11:24   ` [gentoo-user] " Philipp Kraus
@ 2012-09-15 22:19     ` Mick
  0 siblings, 0 replies; 4+ messages in thread
From: Mick @ 2012-09-15 22:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2115 bytes --]

On Saturday 15 Sep 2012 12:24:37 Philipp Kraus wrote:
> On 2012-09-14 02:32:37 +0200, Walter Dnes said:
> > On Thu, Sep 13, 2012 at 08:08:10PM +0200, Kraus Philipp wrote
> > 
> >> Hello,
> >> 
> >> I have got a modem US Robotics 5637 and I would like to use it with
> >> Hylafax+. Hylafax works fine, all clients can create jobs, but now
> >> I would like to configure / test the modem. Can anybody explain me
> >> how I can test / configure my modem. I have installed minicom and
> >> the modem is setup under /dev/modem with this udev rules
> >> 
> >   I have the same type of USB dialup modem running under Gentoo.  I use
> > 
> > it for emergency backup, if my ADSL connection goes down.  First
> > question... is your kernel properly configured?  You need to select the
> > USB Modem (CDC ACM) support kernel option.  In "make menuconfig" the
> > path is...
> > Device Drivers  --->
> > 
> >    [*] USB support  --->
> >    
> >        <*>   USB Modem (CDC ACM) support
> 
> Thanks, I have forgot the CDC ACM module within the kernel. Rebuild my
> kernel, everything works fine except
> minicom, it shows always that my modem is offline, but if I send AT
> command the modem response

Hi Phil,

I'm going from memory, so I may not have this 100% correct and I have no modem 
to hand to try it any more, plus what I'm going to say used to be the case 
with a serial connection to a modem.  I never had a USB modem to know if it 
would be the same.

If you have a DCD line between the modem and the PC, you should get the status 
of the DCD signal in lower case "online/offline".

If the cable between the modem and the PC has no control wire, then minicom 
would use an internal simulation of the DCD status and show the status in 
capital letters "ONLINE/OFFLINE".  In that case you will only get "ONLINE" if 
minicom can detect that you have enabled the modem, perhaps because data are 
flowing back & forth.

You may want to tweak your flow-control options and see if the on/offline 
signal works when a fax is being sent/received.

HTH.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-15 22:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-13 18:08 [gentoo-user] modem configuration Kraus Philipp
2012-09-14  0:32 ` Walter Dnes
2012-09-15 11:24   ` [gentoo-user] " Philipp Kraus
2012-09-15 22:19     ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox