Scratch Sensor Board needs access to TTYUSB*

pgf at laptop.org pgf at laptop.org
Thu Sep 11 17:58:11 EDT 2008


thanks -- filed as trac #8434.  this is an issue for any USB serial
adapter, not just the Scratch sensor board.

paul

john wrote:
 > Hi, Jim.
 > 
 > Claudia Urrea would like to get the Scratch Sensor Board working on  
 > the XO. There was a minor bug in the Scratch serial port support,  
 > which I've now fixed. The fix will be in the next Scratch activity  
 > bundle. But the other problem is that the USB port is not readable and  
 > writable by default. I've posted some instructions at 
 > http://wiki.laptop.org/go/Scratch#Scratch_Sensor_Board 
 >   (also attached below).
 > 
 > It would much better if XO users did not need to do this Unix black  
 > magic. Could we get this rule (or equivalent) into the standard build?
 > 
 > Thanks!
 > 
 > 	-- John
 > 
 > 
 > ----------------------------------------------
 > NOTE: There is a bug in Scratch v7 and earlier that keeps the sensor  
 > board from working. I've fixed the bug and am working on updating the  
 > Scratch activity. But once the new activity is ready, the following  
 > should get the sensor board working.
 > 
 > To use the Scratch Sensor Board or Pico Sensor Board 
 > (http://scratch.wik.is/Support/Sensor_Boards 
 > ), you must add a file to the folder:
 > 
 > /etc/udev/rules.d
 > 
 > This file should contain the single line:
 > 
 > KERNEL=="ttyUSB*", MODE="0666"
 > 
 > Adding this file allows Scratch to read and write data to the sensor  
 > board. You will need to make yourself root using the "su" command in  
 > order to add a file to that folder.
 > ----------------------------------------------
 > 
 > _______________________________________________
 > Devel mailing list
 > Devel at lists.laptop.org
 > http://lists.laptop.org/listinfo/devel

=---------------------
 paul fox, pgf at laptop.org



More information about the Devel mailing list