FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-13-2012, 06:08 PM
Kraus Philipp
 
Default modem configuration

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
 
Old 09-14-2012, 12:32 AM
"Walter Dnes"
 
Default modem configuration

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
 
Old 09-15-2012, 11:24 AM
Philipp Kraus
 
Default modem configuration

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
 
Old 09-15-2012, 10:19 PM
Mick
 
Default modem configuration

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
 

Thread Tools




All times are GMT. The time now is 09:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org