Menu

How to delete a modem

Sunny Deol
2023-08-18
2023-08-18
  • Sunny Deol

    Sunny Deol - 2023-08-18

    I have added the below modem but for some reason it keeps saying "Waiting for modem to come ready" Any ideas?

    [3607305.170391] usb 1-1.1.2: USB disconnect, device number 11
    [3607308.792963] usb 1-1.1.2: new high-speed USB device number 12 using xhci_hcd
    [3607308.923831] usb 1-1.1.2: New USB device found, idVendor=0baf, idProduct=0303, bcdDevice= 2.00
    [3607308.923851] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=10
    [3607308.923868] usb 1-1.1.2: Product: USB Modem
    [3607308.923884] usb 1-1.1.2: Manufacturer: U.S.Robotics
    [3607308.923900] usb 1-1.1.2: SerialNumber: 000000225
    [3607308.929444] cdc_acm 1-1.1.2:2.0: ttyACM1: USB ACM device

    Also I have similar modem ttyACM0 that is working fine no issues but for some reason the second one I add ttyACM1 doesn't seem to work.

     

    Last edit: Sunny Deol 2023-08-18
    • Lee Howard

      Lee Howard - 2023-08-18

      To delete a modem you have to undo whatever changes you made when you created the modem and tried to run the modem. So this may likely involve:

      rm /var/spool/hylafax/etc/config.ttyACM1
      rm /var/spool/hylafax/FIFO.ttyACM1
      rm /var/spool/hylafax/status/ttyACM1

      You'll need to stop running faxgetty or faxmodem on the modem, too... however you did that.

       
  • Sunny Deol

    Sunny Deol - 2023-08-18

    Thank you Lee so much for help!

    I delete the modem and readded it again but having no luck. ttyACM0 seems to be working well. Anything else I can check to make sure all is good?

    Modem ttyACM1 (+1.XXX.XXX.XXX): Waiting for modem to come ready
    Modem ttyACM0 (+1.XXX.XXX.XXXX): Running and idle

     
    • Lee Howard

      Lee Howard - 2023-08-18

      You'll need to set ServerTracing to 0xFFF in config.ttyACM1, restart its faxgetty, and then look at the FaxGetty logs in your syslog.

       
      • Sunny Deol

        Sunny Deol - 2023-08-18

        Sorry I am new to this...how do I restart it's faxgetty? I have made the change in the config.ttyACM1 file.

         
  • Lee Howard

    Lee Howard - 2023-08-18

    I don't know how you are running faxgetty or faxmodem. How are you starting these?

     
    • Sunny Deol

      Sunny Deol - 2023-08-18

      Let me get those details for you. Unfortuntely I did not setup this server up.

      Appricate all the help Lee!

       
      • Sunny Deol

        Sunny Deol - 2023-08-18

        Looks like it's running under systemtcl

        I can do the following commands

        systemctl start hylafax
        systemctl stop hylafax

        Adding all the systemctl services in the attachment.

         

        Last edit: Sunny Deol 2023-08-18

Log in to post a comment.