Author Topic: "DigiUSB Monitor"/Ubuntu 12.04  (Read 4576 times)

RC Navy

  • Jr. Member
  • **
  • Posts: 54
  • When you like, even too much, it is not enough!
"DigiUSB Monitor"/Ubuntu 12.04
« on: March 02, 2013, 02:56:06 am »
Hi all,

I'm trying to use "DigiUSB Monitor" under Ubuntu 12.04. I got the following error:

phil@Phil-XPS16:~/arduino-1.03/Digispark - Example Programs/DigiUSB/linux$ sudo "./DigiUSB Monitor"
[sudo] password for phil:

(python:4813): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
phil@Phil-XPS16:~/arduino-1.03/Digispark - Example Programs/DigiUSB/linux$

I'm not a Python expert,

Any idea?


RC Navy


  • Newbie
  • *
  • Posts: 1
Re: "DigiUSB Monitor"/Ubuntu 12.04
« Reply #1 on: March 09, 2013, 02:06:20 pm »
you have to write a udev rules file for the digispark to set the rights for all users to write and read to/from it.

Try the following:
1. Start a terminal
2. Go to /etc/udev/rules.d
3. Create a file as sudo called 50-digispark.rules:
Code: [Select]

# UDEV Rules for Micronucleus boards including the Digispark.
# This file must be placed at:
# /etc/udev/rules.d/49-micronucleus.rules    (preferred location)
#   or
# /lib/udev/rules.d/49-micronucleus.rules    (req'd on some broken systems)
# After this file is copied, physically unplug and reconnect the board.

# For usage as usb device (5s after connect to usb bus)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
# GROUP:="somegroupname" and mange access using standard unix groups.

4. Save file and restart udev service with sudo service udev restart
5. Plug in digispark
6. Start DigiUSB Monitor as normal user (NOT with sudo)

Have fun

P.S.: Don't know why this post looks so ugly
« Last Edit: March 10, 2013, 01:26:34 am by arohde »

RC Navy

  • Jr. Member
  • **
  • Posts: 54
  • When you like, even too much, it is not enough!
Re: "DigiUSB Monitor"/Ubuntu 12.04
« Reply #2 on: March 10, 2013, 03:23:39 am »
Hi arohde,

initially you recommended to put the 2 rules in the same file, but only the last rule was taking into account.
By splitting the 2 rules into 2 different rule files, as you propose now, it does the trick!

Now, I'm able to use (in simple user) the "Digi Monitor" delivered with the Digistump version of arduino IDE and the "digiterm" monitor provided from Bluebie!

Many thanks for your contributions,

RC Navy.