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
Last revision Both sides next revision
linux-drivers [2017/01/25 16:15]
arthur
linux-drivers [2017/01/25 18:55]
arthur
Line 5: Line 5:
 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 32: Line 32:
 ==== Fedora, Ubuntu, Debian and derivatives ==== Fedora, Ubuntu, Debian and derivatives
  
-If you want to be able to talk to the /​dev/​smoothie0 with your regular non-superuser login then you need to add your user to the {{dialout}} group.  +If you want to be able to talk to the /​dev/​smoothie0 with your regular non-superuser login then you need to add your user to the <kbd>dialout</​kbd> ​group.  
-To be able to flash via DFU as a regular user then add the user to the {{plugdev}} group too+To be able to flash via DFU as a regular user then add the user to the <kbd>plugdev</​kbd> ​group too
 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 51: Line 51:
 ==== Arch ==== Arch
  
-To be able to talk to the smoothie on Arch linux you need to be in the {{uucp}} 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
  
-To be able to upload firmware using {{make upload}} without the need of using {{sudo}}, you need the udev rule shown above. +To be able to upload firmware using <kbd>make upload</​kbd> ​without the need of using <kbd>sudo</​kbd>​, you need the udev rule shown above. 
-It sets the permissions for all users to {{rw}} (0666).+It sets the permissions for all users to <kbd>rw</​kbd> ​(0666).
  
 === PID problems === PID problems
  
-If your PID and VIDs are {{0000}}, take a look at[[http://​smoothieware.org/​forum/​t-1047411?​from=email#​post-2184547|this forum post]].+If your PID and VIDs are <kbd>0000</​kbd>​, take a look at [[http://​smoothieware.org/​forum/​t-1047411?​from=email#​post-2184547|this forum post]].