Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux-drivers [2017/01/25 18:35]
arthur
linux-drivers [2017/01/26 00:37]
arthur
Line 1: Line 1:
 += Linux + Smoothie == <3
 +
 This is optional, but makes things more convenient... This is optional, but makes things more convenient...
  
Line 5: Line 7:
 create a file /​etc/​udev/​rules.d/​90-smoothie.rules and add the following to it... create a file /​etc/​udev/​rules.d/​90-smoothie.rules and add the following to it...
  
-[[code]]+<code>
 SUBSYSTEM=="​usb",​ ATTRS{idVendor}=="​1d50",​ ATTRS{idProduct}=="​6015",​ MODE="​0666"​ SUBSYSTEM=="​usb",​ ATTRS{idVendor}=="​1d50",​ ATTRS{idProduct}=="​6015",​ MODE="​0666"​
 SUBSYSTEM=="​tty",​ ATTRS{idVendor}=="​1d50",​ ATTRS{idProduct}=="​6015",​ SYMLINK+="​smoothie%n"​ SUBSYSTEM=="​tty",​ ATTRS{idVendor}=="​1d50",​ ATTRS{idProduct}=="​6015",​ SYMLINK+="​smoothie%n"​
-[[/code]]+</code>
  
 when you've done that, you need to reload the udev rules in order to get them working. when you've done that, you need to reload the udev rules in order to get them working.
  
-[[code]]+<code>
 udevadm control --reload-rules udevadm control --reload-rules
 or or
 sudo service ​ udev restart # ubuntu sudo service ​ udev restart # ubuntu
-[[/code]]+</code>
  
 Under fedora, smoothieboard is handled by the modem manager (as an openmoko). Under fedora, smoothieboard is handled by the modem manager (as an openmoko).
 To avoid this , add in the udev rule : To avoid this , add in the udev rule :
  
-[[code]]+<code>
 ENV{ID_MM_DEVICE_IGNORE}="​1"​ ENV{ID_MM_DEVICE_IGNORE}="​1"​
-[[/code]]+</code>
  
 Then plug in Smoothie, and it should appear as /​dev/​smoothie0 Then plug in Smoothie, and it should appear as /​dev/​smoothie0
Line 36: Line 38:
 This can be done either with. This can be done either with.
  
-[[code]]+<code>
 sudo adduser <​username>​ dialout sudo adduser <​username>​ dialout
 sudo adduser <​username>​ plugdev sudo adduser <​username>​ plugdev
-[[/code]]+</code>
  
 or or
  
-[[code]]+<code>
 sudo vigr sudo vigr
-[[/code]]+</code>
  
 and add the username to the end of the line for dialout and plugdev and add the username to the end of the line for dialout and plugdev
Line 53: Line 55:
 To be able to talk to the smoothie on Arch linux you need to be in the <​kbd>​uucp</​kbd>​ group. To be able to talk to the smoothie on Arch linux you need to be in the <​kbd>​uucp</​kbd>​ group.
  
-[[code]]+<code>
 usermod -a -G uucp <​username>​ usermod -a -G uucp <​username>​
-[[/code]]+</code>
  
 where <​username>​ is the name of your user where <​username>​ is the name of your user