# Ubuntu/Linux Environment

**URL:** <https://forum.amebaiot.com/t/ubuntu-linux-environment/2259>\
**Category:** Arduino\
**Created:** [September 20, 2023, 6:04am UTC](https://forum.amebaiot.com/t/ubuntu-linux-environment/2259 "2023-09-20T06:04:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [September 20, 2023, 6:04am UTC](https://forum.amebaiot.com/t/ubuntu-linux-environment/2259/1 "2023-09-20T06:04:27Z")

</div>

# Questions for Linux Environment

# Content

- [Software](https://forum.amebaiot.com/t/questions-for-linux-environment/2259#software-2)
- [Hardware](https://forum.amebaiot.com/t/questions-for-linux-environment/2259#hardware-3)

* * *

## Software

[details = What if Arduino IDE on Ubuntu is unable to locate or detect the com port on AMB82 Mini development board?]  
A:  
To check if the port is detected, plug in your board and key in `ls /dev/tty*`.  
You may refer to [Bug #1970408 “brltty package disconnecting ttyUSB0 used for Ardu...” : Bugs : brltty package : Ubuntu](https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/1970408).  
OR

1. Run `sudo lsusb` in the terminal.
2. Look for ID in the log. Take the ID for Linux Foundation 2.0 root hub.
3. Edit file /etc/brltty.conf. To open brltty.conf file, you may use this command `open /etc/brltty.conf`.
4. Look for “braille-device usb:0000:0000 #Specific USB device by serial number.”
5. Replace “usb:0000:0000” with the ID shown on your Terminal. For eg: “braille-device usb: **1d6b:0002** #Specific USB device by serial number.” and save the file.
6. To check if the port is detected, plug in your board and key in `ls /dev/tty*`.  
[/details]

* * *

## [details = I am unable to compile on Ubuntu, what should I do for AMB82 Mini development board?]

A: For AmebaPro2, you need to have Ubuntu version 22 and above (Linux). For Ubuntu versions below version 22, Arduino is unable to support some libraries used for AmebaPro2.  
[/details]

## [details = What if I get the following error: ~/.arduino15/packages/realtek/tools/ameba\_pro2\_tools/1.2.9.1/ino\_validation\_linux: permission denied?]

A: For Ameba Pro2 users on Ubuntu OS, cd (change directory) to /1.2.9.1/ tool folder first, followed by a `chmod 777 -R ./1.2.9.1/` command for granting permission.  
[/details]

## Hardware

> **What is the cause of encountering a blue screen when I connect the board to my computer?**
>
> A: If your board uses FTDI driver, it’s possible that you’ve installed an incorrect version of the FT232 driver.
> 
> ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/c/c494681da4d309bd258b72c525ac5a048b82a206.jpeg)
> 
> The blue screen error indicated an issue with “ftser2k.sys,” which is associated with FTDI’s FT232 driver. Upon searching online, it can be found that the error was related to the driver released by FTDI (FT232).
> 
> To resolve the issue, you may visit the official FTDI website and download the latest driver installation wizard. This wizard would update both the Bus/D2XX and VCP drivers. After updating these drivers, the issue will be resolved.
> 
> You can find more information and download the drivers from this link: [Drivers - FTDI](https://ftdichip.com/drivers/)

* * *

---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [September 20, 2023, 6:05am UTC](https://forum.amebaiot.com/t/ubuntu-linux-environment/2259/2 "2023-09-20T06:05:39Z")

</div>



---

<div class="post-metadata">

**Author:** ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)\
**Post date:** [September 20, 2023, 6:08am UTC](https://forum.amebaiot.com/t/ubuntu-linux-environment/2259/3 "2023-09-20T06:08:33Z")

</div>


