**** BEGIN LOGGING AT Mon Oct 06 03:00:00 2014 Oct 06 04:09:30 agmlego:Ok, I figured out how to reconfigure the BBB to mount the SDcard at "/media/microSD" using /etc/fstab. It works fine! (WhaHoo!) However, my original problem hasn't changed. I still can't grant Write permissions to my "Non-Root" login. When I open a terminal logging in as my normal user, I can't write to the directory. When I am logged in as "root" I can't "chmod Oct 06 04:09:30 +x " or "chmod 777 ". The WRITE permissions don't get assigned. What am I doing wrong? Oct 06 04:15:18 amlego: my fstab entry looks like this: "/dev/mmcblk0p1 /media/microSD auto defaults 0 0" Does that look correct? Oct 06 04:16:44 To anyone else wondering what this is all about… I am trying to mount my microSD card on my BBB automatically on boot so that I can access it for my normal user storage. Oct 06 04:18:01 The card mounts on boot just fine. However, I can't change the permission to allow the "Non-root" login to change anything. I can read the card, just can't add/change/delete any files. Any thoughts? Oct 06 04:21:18 I am running Angstrom (sorry, don't know the build) and have it booting from the emmc. The microSD card has a "uEnv.txt" file that allows the system to bypass the card and boot from the emmc. Oct 06 04:24:25 I have a directory called "webRecources" on the microSD card that I would like to be able to access as a normal user. (I am hoping to host a local web page to my macbook for experimental purposes) This is where I want to store the stuff my pictures, buttons, etc. for use by my "Cloud9" programming. Oct 06 04:35:40 I'm sorry, I have no idea what to Google search for this!!! Oct 06 04:36:54 globalwolf: I have noticed that you need a hub to connect most types of devices to the revc usb port Oct 06 04:37:29 globalwolf: I think this was even documented somewhere but can't recall where Oct 06 04:40:40 aand (s)he left already... Oct 06 04:41:41 PGBeagle: is the microSD filesystem FAT ? It doesn't support per file/directory permissions Oct 06 04:42:40 you need to specify the default permissions and group when mounting Oct 06 04:44:28 how do I do that? Change the entry in the fstab? Oct 06 04:44:57 the file system is FAT, yes! Oct 06 04:45:08 yes, google for "linux mount default_permissions" Oct 06 04:45:45 * mashiara needs to go now Oct 06 04:45:47 good luck Oct 06 04:45:55 thanks! Oct 06 06:08:58 hi Oct 06 06:09:57 hi this is venkat Oct 06 07:41:21 hi Oct 06 07:46:50 grüezi Oct 06 08:00:54 jo Oct 06 08:01:05 j0 w0gl1nd3 Oct 06 09:59:25 Hi All, I always used to control a gpio input state by reading its "value" inside a loop in a shell script, I noted this cause a high cpu load , expecially if multiple gpio are to be controlled Oct 06 10:00:15 Is there an alternative method to trace i.e. 10 or 20 inputs continuously at same time without kill the cpu ?? Oct 06 10:01:29 Freddy: either poll/select and have the gpios configured as interrupts, or look at roland stigges blockgpio patch series Oct 06 10:08:44 LetoThe2nd: Thanks Does it assume it must be done at kernel level rebuilding a new kernel ?? Oct 06 10:09:31 patch = kernel patch Oct 06 10:09:38 select/poll = user space stuff Oct 06 10:09:57 chocolate = yummi stuff Oct 06 10:16:25 Thanks ! Oct 06 13:10:00 Hi, I want ask if arduino shields can be used with beaglebone black ? Oct 06 13:11:25 Guest36901: yes they can Oct 06 13:12:22 directly, or I'll need some others mediums ? Oct 06 13:12:51 sorry, I'm beginner Oct 06 13:12:59 in electronics too, i suppose? Oct 06 13:13:06 yes Oct 06 13:13:33 hmm.. Oct 06 13:13:34 ok Oct 06 13:13:57 the "bus" used to interconnect arduino shields are the same for all uC/uP embedded platforms Oct 06 13:14:15 it's SPI, I2C or direct GPIO (google for the terms and their meaning) Oct 06 13:14:40 but the electrical connection layout (ie mechanical position of the contacts) differs Oct 06 13:14:51 also, the software support is different Oct 06 13:15:05 Hi! Oct 06 13:15:26 while on arduino you have no OS and write bare metal code (or some variation of that), on the BBB you run linux and have to work in this framework Oct 06 13:16:18 grüezi yegorich Oct 06 13:16:21 I'd like to use GPIO1_12 .. GPIO1_15 from u_boot 07.2014 (am335x) Oct 06 13:16:33 So far I'm reading only 0 Oct 06 13:16:43 have you configured them correctly? Oct 06 13:17:51 I've configured PINMUX, made request, set direction Oct 06 13:18:11 Then I've found this question: http://e2e.ti.com/support/arm/sitara_arm/f/791/t/248181.aspx Oct 06 13:19:11 have you read it? Oct 06 13:19:43 But as far as I can see from arch/arm/cpu/armv7/am33xx/clock_am33xx.c->enable_basic_clocks() all gpio clocks will be enabled. Perhaps I should really read corresponding registers to check it Oct 06 13:20:27 koth : I see .. and arduino and BBB are compatible in the electrical connection layout ? Oct 06 13:21:10 15:14 < KotH> but the electrical connection layout (ie mechanical position of the contacts) differs Oct 06 13:21:28 yegorich: also read the TRM Oct 06 13:22:23 Ok, I understund ^^ so I must read more about this subject .. have you in mind any good point to start ? Oct 06 13:23:25 zerro: is it for work or study? Oct 06 13:23:58 both Oct 06 13:24:16 if it's for work: find a coworker that knows that sstuff and can teach you Oct 06 13:24:58 if it's for hobby, there are no good books. all you can do is look at what have other people done and learn from that (but keep in mind that there is a lot of bad stuff around that is very popular) Oct 06 13:25:37 ok ... thank you very much Oct 06 13:53:56 KotH: I've checked clock registers CM_PER_L4LS_CLKSTCTRL (bit 8 L4LS_GCLK is set) and also CM_PER_GPIO1_CLKCTRL has value 2 - enabled. In Linux both registers have these bits set too. Oct 06 13:54:58 yegorich: check all power and clock settings Oct 06 13:55:14 yegorich: maybe somewhere in the clock/power path something is blocked Oct 06 13:56:38 O.K. I'll check Oct 06 14:13:59 PGBeagle: "defaults" mean you want the filesystem to be mounted with the default options. YOu probably want to look up the umask and possibly gmask options for that as well. "auto" means you want the system to automatically try to determine the filesystem on the device. If you know the filesystem, it is probably better to put that in instead. Oct 06 14:51:48 KotH: have tried to use the pin as output - no problem. I could toggle it via u-boot's command line: gpio toggle 44 Oct 06 14:52:05 Only reading has problems Oct 06 14:52:17 then i'd go and read the TRM again Oct 06 14:52:24 something very simple and stupid must be missing Oct 06 14:59:41 Hello SCoobidooo Oct 06 15:12:38 hi Oct 06 15:13:45 Hi , I have to write continuosly data in a pair of file located into /home directory but I realized that in effect I go to write into SDcard (it's a beaglebone white) Oct 06 15:15:17 Can I write them faster somewhere (even temporarily) into the beaglebone ?? Oct 06 15:16:02 into /tmp, for example Oct 06 15:17:11 I tried to run a simple js program as written in one of example program. But it did not work. Anybody knows what could be wrong ? Oct 06 15:17:54 Ok, so /tmp is a volatile directory outside sdcard , isn't it ? Oct 06 15:19:22 it should be, but you can easily check for yourself with mount Oct 06 15:22:44 no /tmp listed anywhere after mount command.... anyway a file written disappears at next reboot... what do you think ? Oct 06 15:25:59 It seems that BBB has 4 pins for ADC which runs @8MHz. I was wondering if that is correct. And if so, can I use it as 4 channel ADC to sample @1MHz. Thanx Oct 06 15:35:59 letothe2nd: is it better to use /sys (type sysfs) or /run (type tmpfs) ??? both work.. Oct 06 15:37:46 Freddy: sys is strongly discouraged, not guaranteed to always work and just not meant for that. Oct 06 15:37:49 writing new files to sysfs ? never thought to event try... Oct 06 15:38:06 Freddy: you might want to read up on what sysfs and procfs actually are. Oct 06 15:38:15 you could also make a completely new mount using tmpfs Oct 06 15:38:20 yeah i wasn't even aware you could write to sysfs Oct 06 15:38:29 other than obviously existing sysfs provided Oct 06 15:39:12 /tmp should be tmpfs by default as well Oct 06 15:52:21 Hi everyone!... someone know if there is a guide to connect a usb wifi dongle to the beagleboard-xm? Oct 06 15:52:36 guide? Oct 06 15:52:42 a tutorial Oct 06 15:52:46 use the usb port Oct 06 15:52:50 and connect the dongle Oct 06 15:53:02 than pray that either your driver is installed Oct 06 15:53:12 i follwo these http://www.howtogeek.com/167425/how-to-setup-wi-fi-on-your-raspberry-pi-via-the-command-line/ Oct 06 15:53:12 you may need to install wpa-supplicant package as well Oct 06 15:53:23 but i can't connect Oct 06 15:53:33 mashiara hi did not say something about that Oct 06 15:53:56 than he first should read how wifi works under linux Oct 06 15:54:00 thats not beagle specific Oct 06 15:54:06 the driver is installed and i already install wpasupplicant Oct 06 15:55:01 http://www.howtogeek.com/167425/how-to-setup-wi-fi-on-your-raspberry-pi-via-the-command-line/ Oct 06 15:55:12 IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready Oct 06 15:55:27 that is the ouyput of dmesg | grep usb0 Oct 06 15:56:04 mashiara: /tmp doesn't appear issuing a mount command, anyway writing on /tmp it writes into sdcard....for now I'll go for /run, ok also for a new mount using tmpfs... Oct 06 15:56:06 thank you Oct 06 15:57:31 elros88: usb0 is likely the mini-usb -port for debugging Oct 06 15:57:53 the wifi dongle should be wlan0 Oct 06 15:58:02 Elros88 use dmesg to see where it connects the dongle too Oct 06 15:58:30 of course you might lack the driver for the dongle, in which case we have a chicken&egg type of a problem Oct 06 15:58:36 Elros88 be also aware that the usb can not be reconnected Oct 06 15:58:39 Freddy, you want $XDG_RUNTIME_DIR ... (which most likely points to /run/user/$UID which in turn is guaranteed to be a tmpfs ) Oct 06 15:59:16 Elros88 and also be aware that the musb might be not stable and you will see kernel errors after two days uptime Oct 06 16:00:03 woglinde: in fact checking systemctl the dongle connects to wlan0 Oct 06 16:06:47 Configure the interfaces and the wpa_supplicant.conf with wlan0 and still have the same error IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Oct 06 16:07:03 the system recognize the dongle R8188EU: Firmware Version 11, SubVersion 1, Signature 0x88e1 Oct 06 16:07:25 that is the output of ifconfig wlan0 up Oct 06 17:49:47 Wondering how I find out about my RMA and when I'll be getting a new board/fixed board? Anyone know? Oct 06 17:50:13 I guess that depends on the distributor Oct 06 17:50:45 It was sent to the Beagle Hosipital Oct 06 17:53:48 ah, I assumed the distributor would take care of things like that but it seems beagleboard.org has RMA form Oct 06 17:54:22 interestingly enough it uses your email client to send the mail instead of doing it server-side. Oct 06 17:55:09 probably depends on the manfacturer Oct 06 17:55:09 I guess sending another mail to the same address inquiring after the first one could help Oct 06 17:55:42 not sure if BeagleBoard.org handles the element14 boards... kinda doubt it Oct 06 20:01:12 Hi Oct 06 20:01:37 I am using a rasbarry pi for media player with xbmc Oct 06 20:01:50 I am thinking to switch to BeagleBone Oct 06 20:02:19 Does it decoding blueray iso without any issue ? Oct 06 20:04:54 where did you get from that the bbb is a media player or cable of playing bluerays? Oct 06 20:07:01 xbmc support decoding bdiso and play unecrypt blueray disc Oct 06 20:07:18 yes and? Oct 06 20:07:48 my question does BeagleBone have the power to play bdiso ? Oct 06 20:07:58 I do not think so Oct 06 20:07:59 with xbmc Oct 06 20:08:06 ok Oct 06 20:08:10 besides from no real hw accel for gpu Oct 06 20:08:31 rasbarry pi have the power to play the iso only the video Oct 06 20:08:41 not the audio Oct 06 20:08:48 yes and? Oct 06 20:09:04 so it is same issue with BeagleBone then Oct 06 20:09:34 ? Oct 06 20:09:41 why it is an issue? Oct 06 20:09:59 the bbb was never concepted todo bluerays Oct 06 20:10:29 rasbarry pi can not play dts in the hardware decoding Oct 06 20:10:34 same is why your tv cannot make coffee Oct 06 20:10:43 yes and? Oct 06 20:11:11 so it need the cpu todo that, and rasbarry pi cpu is load over 100% and audio choop Oct 06 20:11:32 does BeagleBone have hardware decoing support for dts ? Oct 06 20:11:40 no Oct 06 20:11:46 *sigh* Oct 06 20:11:49 I give up Oct 06 20:11:52 he do not get it Oct 06 20:12:03 AFAIK beagles do not have much in the way of multimedia HW at all Oct 06 20:12:40 ok, That goes my idea, to cheep media player away for bdsio Oct 06 20:12:40 in fact the pretty good GPU is just about the only redeeming quality of raspberry pi Oct 06 20:13:05 MagnusO: try bananapi, or cubie Oct 06 20:13:59 Mail400 have the power :) Oct 06 20:14:19 mashiara good idea Oct 06 20:15:55 we need Wi-Fi and BLE. can Black board be used Oct 06 20:16:39 Al__ why not look up the board specs yourself? Oct 06 20:17:09 the answer is yes, but neither are on the board already Oct 06 20:17:21 Al There is no answer on my q in the spec Oct 06 20:17:22 best way to add them depends on a bazilliion little things Oct 06 20:17:48 Al__ hm? are you asking if the bbb has build in wifi and ble? Oct 06 20:17:54 than the answer is no Oct 06 20:18:43 with the progress of A.I, i think the future documentation will have a Qn A format. people can keep up their asking habit about specs Oct 06 20:19:26 Al__ if you question was, that you can connecte wifi usb dongles and ble dongles or connect them via spi i2c or gpio, than the answer is yes Oct 06 20:20:03 anyway, I have a good question: I have followed http://elinux.org/BeagleBone_Black_Enable_SPIDEV#SPI0 and for some reason I get /dev/spidev1.0 instead of 0.0 Oct 06 20:20:04 Al The only solution I know is BB-BONE-WIFI-01 or 04, but it is not for black and it is not in production yet Oct 06 20:20:24 I have verified this device actually does control SPI0 on the headers Oct 06 20:20:28 mashiara thanks for the tip. I think I will go for cubieboard Oct 06 20:20:37 for my player Oct 06 20:21:28 s/headers/expansion header/ Oct 06 20:21:56 any idea of 1. why 2. how to fix the device name Oct 06 20:22:28 Thanks, Woglinde Oct 06 20:23:23 MagnusO hm I fear you will be disapponted by the cubieboard too Oct 06 20:23:32 incase of blueray Oct 06 20:24:11 wogline, mail400 support dts in the hardware decoding Oct 06 20:24:22 if I rember correcly Oct 06 20:24:40 sure but you will only get drivers for android I guess Oct 06 20:24:52 if at all Oct 06 20:25:51 my seconf choice is to buy msi j1800i Oct 06 20:25:58 mainboard Oct 06 20:27:24 woglinde, in worst case I get a new toy I will play around with Oct 06 20:28:45 and write a drv for it Oct 06 20:29:06 uhm sorry Oct 06 20:29:22 I think that you will not succeed Oct 06 20:29:40 but in any case let me know how well it works with bluerays Oct 06 20:31:43 the have full drv for mail400 for linux and andorid Oct 06 20:33:10 I will order it somethime this month Oct 06 22:57:51 Can kernel drivers that don't provide "MODULE_DEVICE_TABLE(of, ...);" (emphasis on "of") be matched in dts (by "compatible = ...")? Oct 06 22:58:34 My specific case is sht15.c, which doesn't seem to have neither "of" nor proper example in Documentation/devicetree/bindings/hwmon/ **** ENDING LOGGING AT Tue Oct 07 03:00:00 2014