<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Which groups in linux?</title>
		<link>http://forums.leaflabs.com/topic.php?id=1279</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:14:56 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1279" rel="self" type="application/rss+xml" />

		<item>
			<title>tormod on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-10997</link>
			<pubDate>Thu, 31 May 2012 07:10:44 +0000</pubDate>
			<dc:creator>tormod</dc:creator>
			<guid isPermaLink="false">10997@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Furthermore, to debug udev rules, first find the &#60;em&#62;device path&#60;/em&#62; (where it is under /sys) by running e.g:&#60;br /&#62;
&#60;code&#62;udevadm info --query=path --name=/dev/bus/usb/001/004&#60;/code&#62;&#60;br /&#62;
or&#60;br /&#62;
&#60;code&#62;udevadm info --query=path --name=/dev/ttyACM0&#60;/code&#62;&#60;br /&#62;
Then test the udev rules with:&#60;br /&#62;
&#60;code&#62;udevadm test device-path&#60;/code&#62;&#60;br /&#62;
(maybe you have to run the last command with &#60;em&#62;sudo&#60;/em&#62;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tormod on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-10996</link>
			<pubDate>Thu, 31 May 2012 06:32:51 +0000</pubDate>
			<dc:creator>tormod</dc:creator>
			<guid isPermaLink="false">10996@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Just to clear up one thing, dfu-util does not access your device via /dev/ttyACM0. AFAICS from&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/bootloader.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/bootloader.html&#60;/a&#62; the Maple is either in ACM mode (ID 1eaf:0004) or DFU bootloader mode (ID 1eaf:0003). The DFU bootloader device is somewhere under /dev/bus/usb/X/Y (lsusb gives you the bus X and device Y number). Maybe your udev rules do not fire correctly on the DFU bootloader device? Or that it does not stay, and flips back to ACM mode?&#60;/p&#62;
&#60;p&#62;See also this thread, there seem to be some issues with the Maple udev rules on some Linux distributions: &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=91&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=91&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Koenraad on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-10995</link>
			<pubDate>Thu, 31 May 2012 06:01:05 +0000</pubDate>
			<dc:creator>Koenraad</dc:creator>
			<guid isPermaLink="false">10995@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Just to say I experience the same problem, with opensuse 12.1 32 bit.&#60;br /&#62;
When I run as root, everything is fine. When running as normal user, I have to manually reset the device to program it.&#60;br /&#62;
I modified the udev-rule to see if it is executed and it is. I think the problem is that /dev/ttyACMx is always owned by group dialout, although the udev-rule says it should be plugdev. Maybe some rule is executed later an that overrules the 45-maple.rules ?&#60;/p&#62;
&#60;p&#62;Koenraad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leekimber on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-10983</link>
			<pubDate>Wed, 30 May 2012 14:17:35 +0000</pubDate>
			<dc:creator>leekimber</dc:creator>
			<guid isPermaLink="false">10983@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Interesting.&#60;/p&#62;
&#60;p&#62;I have the same issue, though I had already run the install udev rules script and running it now plus restarting udev and the IDE make no difference.&#60;/p&#62;
&#60;p&#62;Here's how my stuff looks.&#60;/p&#62;
&#60;p&#62;In the IDE on upload:&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 108000 byte maximum.&#60;br /&#62;
Loading via dfu-util&#60;br /&#62;
Resetting to bootloader via DTR pulse&#60;br /&#62;
Searching for DFU device [1EAF:0003]...&#60;br /&#62;
Found it!&#60;/p&#62;
&#60;p&#62;Opening USB Device 0x1eaf:0x0003...&#60;br /&#62;
Found Runtime: [0x1eaf:0x0003] devnum=0, cfg=0, intf=0, alt=1, name=&#34;UNDEFINED&#34;&#60;br /&#62;
Claiming USB DFU Interface...&#60;br /&#62;
Cannot claim interface: could not claim interface 0: Operation not permitted&#60;/p&#62;
&#60;p&#62;We see no further progress from this point.&#60;/p&#62;
&#60;p&#62;Sometimes it gets stuck like this:&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 108000 byte maximum.&#60;br /&#62;
Loading via dfu-util&#60;br /&#62;
Resetting to bootloader via DTR pulse&#60;br /&#62;
Searching for DFU device [1EAF:0003]...&#60;br /&#62;
Found it!&#60;/p&#62;
&#60;p&#62;Opening USB Device 0x1eaf:0x0003...&#60;br /&#62;
Found Runtime: [0x1eaf:0x0003] devnum=0, cfg=0, intf=0, alt=1, name=&#34;UNDEFINED&#34;&#60;br /&#62;
Claiming USB DFU Interface...&#60;/p&#62;
&#60;p&#62;Again, we see no further progress from this point.&#60;/p&#62;
&#60;p&#62;My group membership:&#60;br /&#62;
egrep lee /etc/group&#60;br /&#62;
adm:x:4:lee&#60;br /&#62;
dialout:x:20:lee&#60;br /&#62;
cdrom:x:24:lee&#60;br /&#62;
audio:x:29:pulse,lee&#60;br /&#62;
plugdev:x:46:lee&#60;br /&#62;
fuse:x:103:lee&#60;br /&#62;
lpadmin:x:104:lee&#60;br /&#62;
admin:x:115:lee&#60;br /&#62;
lee:x:1000:lee&#60;br /&#62;
sambashare:x:120:lee&#60;/p&#62;
&#60;p&#62;USB device ownership and permissions:&#60;br /&#62;
$ ls -lt /dev/ttyA*&#60;br /&#62;
crw-rw---- 1 root dialout 166, 0 2012-05-30 19:57 /dev/ttyACM0&#60;/p&#62;
&#60;p&#62;$ lsusb&#60;br /&#62;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&#60;br /&#62;
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&#60;br /&#62;
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 002 Device 002: ID 0db0:6877 Micro Star International RT2573&#60;br /&#62;
Bus 006 Device 019: ID 1eaf:0004&#60;/p&#62;
&#60;p&#62;I get the same results on the two Ubuntu systems I have tried this on:&#60;br /&#62;
cat /etc/issue&#60;br /&#62;
Ubuntu 9.10 \n \l&#60;/p&#62;
&#60;p&#62;$ cat /etc/issue&#60;br /&#62;
Linux Mint 12 Lisa \n \l&#60;/p&#62;
&#60;p&#62;Both 32-bit.&#60;/p&#62;
&#60;p&#62;Anyone overcome this?&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Lee
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-7730</link>
			<pubDate>Tue, 17 Jan 2012 16:37:31 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">7730@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hmmm. interesting. you might need to use sudo to restart udev?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fugalster on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-7683</link>
			<pubDate>Mon, 16 Jan 2012 13:26:48 +0000</pubDate>
			<dc:creator>fugalster</dc:creator>
			<guid isPermaLink="false">7683@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Right. I had run the script with no errors when I set up the IDE, and attempted to restart udev, but for whatever reason that didn't work. After a reboot everything works fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-7682</link>
			<pubDate>Mon, 16 Jan 2012 12:52:19 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7682@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This is solved by adding appropriate rules to udev. In the root of Maple IDE there is a script which does this - install-udev-rules.sh.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fugalster on "Which groups in linux?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1279#post-7681</link>
			<pubDate>Mon, 16 Jan 2012 12:23:49 +0000</pubDate>
			<dc:creator>fugalster</dc:creator>
			<guid isPermaLink="false">7681@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I'm running Ubuntu 11.10 32bit and having a bit of trouble with permissions. &#60;/p&#62;
&#60;p&#62;I am a member of root, sudoers, plugdev and dialout, but every time I try to upload the process gets stuck on the line:&#60;br /&#62;
Claiming USB DFU Interface...&#60;/p&#62;
&#60;p&#62;However, when I run the ide as root (sudo ./maple-ide), I have no such problems. Apparently there's another group I need to belong to, but I don't know what it is.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
