<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Dave,</p>
    <p><br>
    </p>
    <p>I generated all required logs, both serial and USB connection
      related.</p>
    <p>Only the real serial port hardvare related test is successfull,
      with 57600 baud rate, the old machine /dev/ttyS0 real motherboard
      hardvare device.</p>
    <p>Short test results:</p>
    <p>Minicom related tests both 9600 baud, and 57600 baud: works the
      ttyACM0 device, minicom right welcomed, and dmesg showed the
      actual Usb serial dongle device identifier with /dev/ttyACM0 the
      sudo dmesgwgrep ttyACM command.<br>
      Used logging command before patching the focus driver:<br>
      LANG=C brltty -ldebug,usb,serial,inpkts,outpkts -b fs -d
      /dev/ttyACM0 -L brltty_usb_serialdongle_log.log<br>
      The first command set serial port automatically with 57600 baud
      rate, the display driver doesn't start.<br>
      /dev/ttyACM0 device is right.<br>
    </p>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">used command after all patched packages
      reinstall, and full system restart, reinstall command is following
      after exited cd .. command from the source code directory:</div>
    <div class="moz-cite-prefix">dpkg -i
      brltty_6.7-1~bpo12+1.1_amd64.deb 
      brltty-x11_6.7-1~bpo12+1.1_amd64.deb
      libbrlapi0.8_6.7-1~bpo12+1.1_amd64.deb
      libbrlapi-dev_6.7-1~bpo12+1.1_amd64.deb
      python3-brlapi_6.7-1~bpo12+1.1_amd64.deb 
      xbrlapi_6.7-1~bpo12+1.1_amd64.deb<br>
      <br>
      Used test command, still the /dev/ttyACM0 usb serial dongle, but
      9600 baud rate:</div>
    <div class="moz-cite-prefix">LANG=C brltty
      -ldebug,usb,serial,inpkts,outpkts -b fs -d /dev/ttyACM0 -L
      brltty_usb_serialdongle_9600_baud.log<br>
      Result is same unfortunatelly, except the baud rate is correct set
      the 9600 baud.<br>
      <br>
      Real serial port test, with real motherboard ttyS0 serial port,
      still the patched package version:<br>
      Used command:<br>
      LANG=C brltty -ldebug,usb,serial,inpkts,outpkts -b fs -d
      /dev/ttyS0 -L brltty_real_serial_port_9600_baud.log<br>
      Result:<br>
      Brltty not detect the display, /dev/ttyS0 device is correct, this
      is my old machine real serial port device name.<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">After this, I reverted the 9600 baud
      related patch, recompile and reinstall all BRLTTY related
      packages, do a full system restart, and repeat the real serial
      cable test.<br>
      Reinstall command, after I again recompile the BRLTTY 6.7 related
      packages and doed a cd .. command from the source tree:<br>
    </div>
    <div class="moz-cite-prefix">dpkg -i
      brltty_6.7-1~bpo12+1.1_amd64.deb 
      brltty-x11_6.7-1~bpo12+1.1_amd64.deb
      libbrlapi0.8_6.7-1~bpo12+1.1_amd64.deb
      libbrlapi-dev_6.7-1~bpo12+1.1_amd64.deb
      python3-brlapi_6.7-1~bpo12+1.1_amd64.deb 
      xbrlapi_6.7-1~bpo12+1.1_amd64.deb<br>
      <br>
      Test command with real serial port, of course I finetune with
      /etc/brltty.conf file the real serial device because serial
      devices is not autodetecting with BRLTTY I think, baud rate is
      57600 baud rate:</div>
    <div class="moz-cite-prefix">LANG=C brltty
      -ldebug,usb,serial,inpkts,outpkts -b fs -d /dev/ttyS0 -L
      brltty_real_serial_port_original_57600_baud.log<br>
      Result:<br>
      The display is wonderful correct detected, fs braille driver is
      start when the display is plugged the real serial port (with named
      my Linux box the /dev/ttyS0 device).<br>
      So, perhaps me not have luck the USB serial dongle. :-(:-(<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I doed the normal USB cable test,
      without lucky successfull result.</div>
    <div class="moz-cite-prefix">Short lsusb command result, detailed
      lsusb -v result I added the zip file:<br>
      Bus 001 Device 005: ID 0f4e:0100 Freedom Scientific <br>
    </div>
    <div class="moz-cite-prefix">This device ID is correct with Freedom
      Scientific driver c file related, or the driver not knowing this
      very old USB modell device identifier and not detecting the
      display automatically in USB mode?</div>
    <div class="moz-cite-prefix">used test command to test USB auto
      detection:<br>
      LANG=C brltty -ldebug,usb,serial,inpkts,outpkts -b fs -L
      brltty_usb_cable_result_log.log<br>
      Result: not present any braille output.<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Each log file name means following test
      the zip file:</div>
    <div class="moz-cite-prefix">brltty_real_serial_port_9600_baud.log:
      /dev/TTYS0 test, patched 9600 baud FS driver, test not
      successfull.</div>
    <div class="moz-cite-prefix">brltty_real_serial_port_original_57600_baud.log:
      not patched FS driver, /dev/ttyS0 port, the Focus1 70 braille
      display works wonderfull this environment mode with real serial
      port hardvare.</div>
    <div class="moz-cite-prefix">brltty_usb_cable_result_log.log: USB
      cable test, the display is identifying Linux kernel (lsusb see the
      device), but BRLTTY unable to autodetect the display and not shown
      any braille output both console and Orca.</div>
    <div class="moz-cite-prefix">brltty_usb_serialdongle_9600_baud.log:
      USB serial dongle cable test, patched Freedom Scientific driver
      with 9600 baud, device name is /dev/ttyACM0 when made the test,
      minicom utility see the test, but BRLTTY not starting braille
      driver and not produce any Braille output.</div>
    <div class="moz-cite-prefix">brltty_usb_serialdongle_original_driver_log.log:
      /dev/ttyACM0 serial dongle device test, unpatched Freedom
      Scientific driver, baud rate is 57600, minicom see 57600 baud rate
      the /dev/ttyACM0 device, but BRLTTY not starting Braille driver
      and not produce any braille output.</div>
    <div class="moz-cite-prefix">lsusb_freedom.txt: detailed lsusb -v
      result, when the display is attached a native USB  Braille display
      cable, this cable previous I successfull use my defected Alva
      Satellite 570 display.</div>
    <div class="moz-cite-prefix">Sunday short time I successfull tested
      the Alva display, so the USB detection part worked this other
      display, but safe purpose I removed alva device to not broke until
      the legacy machine.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">For debugging purposes, I was able to
      do these tests for now, I hope this information helps you.<br>
      Happy holidays to everyone, fortunately we have already found a
      backup solution, using a real serial port with a real 9-pin serial
      cable on my older machine.<br>
      Test environment:<br>
      Debian 12, BRLTTY version 6.7 from the stable-backports branch,
      latest Orca version, which is available from the stable-backports
      branch.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Kind regards,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Attila<br>
    </div>
    <div class="moz-cite-prefix">2024. 12. 23. 12:53 keltezéssel, Hammer
      Attila írta:<br>
    </div>
    <blockquote type="cite"
      cite="mid:bd709d72-6173-454e-8342-b95f22791543@pickup.hu">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hi Dave,</p>
      <p><br>
      </p>
      <p>Thanks your answer.</p>
      <p>I begin testing now and generating required log files.</p>
      <p>First I will be testing in Debian 12, because this version
        available the 6.7 series version (perhaps we better concentrate
        this version because this version and the actual master branch
        version are maintaining, 6.5 series is very old possible this
        situation).</p>
      <p><br>
      </p>
      <p>Building is not problem for me.</p>
      <p>With safe testing environment the building related, I am use
        now the Debian 12 awailable 6.7 version sources when changing
        the you wrote baud related line into the driver file (temporary
        I will doing my local machine a quilt patch for BRLTTY package
        the baud change related and recompile and reinstall the
        packages).</p>
      <p>This line change affects only with Focus 1 series models, other
        Freedom Scientific displays is unaffected this change related if
        need final applying this change the official code base?</p>
      <p><br>
      </p>
      <p>When I generating all log file scenarios (serial communication
        the USB serial dongle related and normal usb cable autodetection
        related), I will sending the results and we will be seeing
        possible what the problem this old Focus1 display, why not
        autodetecting in usb mode for example the display with BRLTTY.</p>
      <p>So, a thing is absolute sure: general serial connection mode
        with general serial port and general 9 pin serial cable is
        working, so the display is usable, only need determining what
        happening when anybody trying use this display with a usb to
        serial adapter, or a factory usb cable the display usb port.</p>
      <p>Perhaps in time we will also figure out why these two types of
        cases do not work with this display, and why only the
        traditional real physical serial port connection works on older
        hardware that has a real serial port connector on the
        motherboard.</p>
      <p>If it happens that you don't have time to respond during the
        holidays, no problem, I wish everyone who celebrates Christmas a
        happy holiday.<br>
        Rest as much as possible, the solution to this problem is not
        that urgent, I just need to work with this display somehow from
        January 10th of next year in connection with the Hungarian
        Braille developments.<br>
        We have already found at least one solution for an emergency
        scenario, connecting the traditional serial port to a
        traditional motherboard serial port connector.<br>
        If my English is not completely good, don't be angry with me.
        :-):-)</p>
      <p><br>
      </p>
      <p>Attila<br>
      </p>
      <div class="moz-cite-prefix">2024. 12. 22. 22:41 keltezéssel, Dave
        Mielke írta:<br>
      </div>
      <blockquote type="cite"
        cite="mid:Z2iHp9s9Y9aKUTHi@beta.private.mielke.cc">
        <pre class="moz-quote-pre" wrap="">[quoted lines by Hammer Attila on 2024/12/22 at 21:33 +0100]

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">Tomorrow I will generate you a full english language log file with you
suggested with serial communication related (when I use the usb to serial
adapter).
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">Thanks.

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">I tested the serial port with minicom utility, the cable is working
fortunatelly, perhaps need tweaking BRLTTY related settings this scenario
related.

I used the sudo minicom -b 9600 -D /dev/ttyACM0 command to test the cable.
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">Did you also try -b 57600? The baud could well be the issue, but that's what the fs driver is specifying.

Are you okay with building your own brltty for testing? If so, you might try changing line 651 of Drivers/Braille/FreedomScientific/braille.c:

from: .baud = 57600
to:   .baud = 9600

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">I would like finding in Focus1 model why not working the automatic USB
detection, because interesting this issue too.
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">Yes, I agree, and am also curious.

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">When I generating for you an USB connection related log file a second thread
(for example focus 1 70: usb autodetection problem addressed thread), what -l
option use with debug purpose?

The -ldebug,usb,inpkts,outpkts option is good?
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">Yes, exactly. You could also add serial (so both usb and serial), actually, in order to capture the configuration of the internal USB to serial adapter.

</pre>
      </blockquote>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: <a class="moz-txt-link-abbreviated" href="mailto:BRLTTY@brltty.app">BRLTTY@brltty.app</a>
For general information, go to: <a class="moz-txt-link-freetext" href="http://brltty.app/mailman/listinfo/brltty">http://brltty.app/mailman/listinfo/brltty</a>
</pre>
    </blockquote>
  </body>
</html>