[KLUG Members] usb modems and hylafax

Bert members@kalamazoolinux.org
Tue, 27 Jan 2004 10:56:04 +0100


This is a multi-part message in MIME format.
--------------060802040600050903000106
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Peter Buxton wrote:

>On Mon, Jan 26, 2004 at 05:23:20PM +0100, Bert was only escaped
>   alone to tell thee:
>
>  
>
>>Just installed a new faxserver for use on isdn lines. We had two isdn
>>4 lines installed sometime ago to send faxes bypassing the pbx. When
>>plugging the modem onto the usb port the kernel messages shows that
>>the modem has been seen and has been giving an address.
>>    
>>
>
>If you run the mount(8) command with no options, does it print out a
>line like this?
>
>none on /proc/bus/usb type usbfs (rw)
>
>
>>From 2.4 Documentation/devices.txt:
>
>166 char        ACM USB modems                                                                  
>                  0 = /dev/ttyACM0      First ACM modem                                         
>                  1 = /dev/ttyACM1      Second ACM modem                                        
>                    ...                                                                         
>                                                                                                
>167 char        ACM USB modems - alternate devices                                              
>                  0 = /dev/cuacm0       Callout device for ttyACM0                              
>                  1 = /dev/cuacm1       Callout device for ttyACM1                              
>                    ...                                                                         
>180 char        USB devices                                                                     
>                  0 = /dev/usb/lp0      First USB printer                                       
>                    ...                                                                         
>                 15 = /dev/usb/lp15     16th USB printer                                        
>                 16 = /dev/usb/mouse0   First USB mouse                                         
>                    ...                                                                         
>                 31 = /dev/usb/mouse15  16th USB mouse                                          
>                 32 = /dev/usb/ez0      First USB firmware loader                               
>                    ...                                                                         
>                 47 = /dev/usb/ez15     16th USB firmware loader                                
>                 48 = /dev/usb/scanner0 First USB scanner                                       
>                    ...                                                                         
>                 63 = /dev/usb/scanner15 16th USB scanner                                       
>                 64 = /dev/usb/rio500   Diamond Rio 500 
>
>188 char        USB serial converters                                                           
>                  0 = /dev/ttyUSB0      First USB serial converter                              
>                  1 = /dev/ttyUSB1      Second USB serial converter    
>		    ...
>189 char        USB serial converters - alternate devices                                       
>                  0 = /dev/cuusb0       Callout device for ttyUSB0                              
>                  1 = /dev/cuusb1       Callout device for ttyUSB1                              
>                    ...                                  
>
>  
>
yes it does,

faxserver:~ # mount
/dev/hda2 on / type xfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
tmpfs on /dev/shm type tmpfs (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)


but /dev/ttyACM0 is not being recognized as a modem.

I did: ln -s /dev/ttyACM0 /dev/modem
minicom
minicom: cannot open /dev/modem : No such device

also tried linking without the -s, but no difference.

I also added with mknod some devices with minor numbers as the address 
the device is mounted on. No success either. I suppose that that is how 
it works, the address is the minor device number? right?


Bert.





--------------060802040600050903000106
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Peter Buxton wrote:
<blockquote cite="mid20040126210305.GA3403@killdevil.org" type="cite">
  <pre wrap="">On Mon, Jan 26, 2004 at 05:23:20PM +0100, Bert was only escaped
   alone to tell thee:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Just installed a new faxserver for use on isdn lines. We had two isdn
4 lines installed sometime ago to send faxes bypassing the pbx. When
plugging the modem onto the usb port the kernel messages shows that
the modem has been seen and has been giving an address.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
If you run the mount(8) command with no options, does it print out a
line like this?

none on /proc/bus/usb type usbfs (rw)


&gt;From 2.4 Documentation/devices.txt:

166 char        ACM USB modems                                                                  
                  0 = /dev/ttyACM0      First ACM modem                                         
                  1 = /dev/ttyACM1      Second ACM modem                                        
                    ...                                                                         
                                                                                                
167 char        ACM USB modems - alternate devices                                              
                  0 = /dev/cuacm0       Callout device for ttyACM0                              
                  1 = /dev/cuacm1       Callout device for ttyACM1                              
                    ...                                                                         
180 char        USB devices                                                                     
                  0 = /dev/usb/lp0      First USB printer                                       
                    ...                                                                         
                 15 = /dev/usb/lp15     16th USB printer                                        
                 16 = /dev/usb/mouse0   First USB mouse                                         
                    ...                                                                         
                 31 = /dev/usb/mouse15  16th USB mouse                                          
                 32 = /dev/usb/ez0      First USB firmware loader                               
                    ...                                                                         
                 47 = /dev/usb/ez15     16th USB firmware loader                                
                 48 = /dev/usb/scanner0 First USB scanner                                       
                    ...                                                                         
                 63 = /dev/usb/scanner15 16th USB scanner                                       
                 64 = /dev/usb/rio500   Diamond Rio 500 

188 char        USB serial converters                                                           
                  0 = /dev/ttyUSB0      First USB serial converter                              
                  1 = /dev/ttyUSB1      Second USB serial converter    
		    ...
189 char        USB serial converters - alternate devices                                       
                  0 = /dev/cuusb0       Callout device for ttyUSB0                              
                  1 = /dev/cuusb1       Callout device for ttyUSB1                              
                    ...                                  

  </pre>
</blockquote>
yes it does,<br>
<br>
<font size="-1">f</font><font size="-1"
 face="Courier New, Courier, monospace">axserver:~ # mount<br>
/dev/hda2 &nbsp;&nbsp; on &nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type xfs (rw)<br>
proc &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; on&nbsp;&nbsp; /proc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type proc (rw)<br>
devpts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on&nbsp;&nbsp; /dev/pts&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type devpts (rw,mode=0620,gid=5)<br>
tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on&nbsp;&nbsp; /dev/shm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type tmpfs (rw)<br>
usbdevfs&nbsp;&nbsp;&nbsp;&nbsp; on&nbsp;&nbsp; /proc/bus/usb&nbsp;&nbsp; type usbdevfs (rw)<br>
<br>
<br>
but </font>/dev/ttyACM0 is not being recognized as a modem.<br>
<br>
I did:&nbsp; ln -s /dev/ttyACM0 /dev/modem<br>
minicom<br>
&nbsp;&nbsp;&nbsp; minicom: cannot open /dev/modem : No such device<br>
<br>
also tried linking without the -s, but no difference.<br>
<br>
I also added with mknod some devices with minor numbers as the address
the device is mounted on. No success either. I suppose that that is how
it works, the address is the minor device number? right?<br>
<br>
<br>
<font size="-1" face="Courier New, Courier, monospace">Bert.<br>
</font><br>
<br>
<br>
<br>
</body>
</html>

--------------060802040600050903000106--