заказал китай-Uno (не реферальная)
при подключении к миниюсб в dmsg
и теперь при подключении:
root # mkdir -p /usr/local/overlays/crossdev/{profiles,metadata}
root # echo "crossdev" > /usr/local/overlays/crossdev/profiles/repo_name
root # echo "masters = gentoo" > /usr/local/overlays/crossdev/metadata/layout.conf
root # echo "thin-manifests = true" >> /usr/local/overlays/crossdev/metadata/layout.conf
root # cat /etc/portage/repos.conf/crossdev.conf
[crossdev]
location = /usr/local/overlays/
crossdev
masters = gentoo
priority = 10
auto-sync = no
root # gpasswd -a YOUR_USERNAME tty uucp
root # USE="-openmp -sanitize" crossdev -t avr -s4 -S --without-headers
скрин после аплода:
https://wiki.gentoo.org/wiki/Overlay/Local_overlay
http://playground.arduino.cc/linux/gentoo
https://wiki.gentoo.org/wiki/Arduino
дошло очень быстро без трека:
- 2016.03.07 06:43 (GMT-7): Shipped by air
- 2016.03.04 21:12 (GMT-7): Departure from Warehouse
- 2016.03.04 20:13 (GMT-7): arrive export exchange
- 2016.03.04 14:55 (GMT-7): Arrival at Warehouse
- 2016.03.04 14:47 (GMT-7): Warehouses has signed
- 2016.03.04 06:43 (GMT-7): Export customs clearance complete
- 2016.03.04 05:12 (GMT-7): Successful departure from Warehouse
- 2016.03.03 22:55 (GMT-7): Warehouse processing complete
- 2016.03.03 22:47 (GMT-7): Successful package received by
при подключении к миниюсб в dmsg
[Mar23 23:51] usb 4-5: USB disconnect, device number 5
[ +2.570622] usb 4-5: new full-speed USB device number 6 using ohci-pci
нашел в ядре нечто похожее на CH340:
│ Symbol: USB_SERIAL_CH341 [=m] │
│ Type : tristate │
│ Prompt: USB Winchiphead CH341 Single Port Serial Driver │
│ Location: │
│ -> Device Drivers │
│ -> USB support (USB_SUPPORT [=y]) │
│ (3) -> USB Serial Converter support (USB_SERIAL [=y]) │
│ Defined at drivers/usb/serial/Kconfig:102 │
│ Depends on: USB_SUPPORT [=y] && USB [=y] && USB_SERIAL [=y]
[ +0.000011] ch341 4-5:1.0: ch341-uart converter detected
[ +0.023121] usb 4-5: ch341-uart converter now attached to ttyUSB0
установка crossdev в локальный оверлей без layman:
[ +0.023121] usb 4-5: ch341-uart converter now attached to ttyUSB0
установка crossdev в локальный оверлей без layman:
root # mkdir -p /usr/local/overlays/crossdev/{profiles,metadata}
root # echo "crossdev" > /usr/local/overlays/crossdev/profiles/repo_name
root # echo "masters = gentoo" > /usr/local/overlays/crossdev/metadata/layout.conf
root # echo "thin-manifests = true" >> /usr/local/overlays/crossdev/metadata/layout.conf
root # cat /etc/portage/repos.conf/crossdev.conf
[crossdev]
location = /usr/local/overlays/
crossdev
masters = gentoo
priority = 10
auto-sync = no
root # gpasswd -a YOUR_USERNAME tty uucp
root # USE="-openmp -sanitize" crossdev -t avr -s4 -S --without-headers
Может засраться первый после gentoo оверлей - есть смысл проследить за CROSSDEV_OVERLAY переменной, мне пришлось уменьшить приоритет - после этого установка пошла в "нужный"
* CROSSDEV_OVERLAY: /usr/local/overlays/arduino
* CROSSDEV_OVERLAY: /usr/local/overlays/arduino
root #
echo "dev-embedded/arduino examples" >> /etc/portage/package.use/packageroot #
emerge arduino -avtскрин после аплода:
https://wiki.gentoo.org/wiki/Overlay/Local_overlay
http://playground.arduino.cc/linux/gentoo
https://wiki.gentoo.org/wiki/Arduino