**** BEGIN LOGGING AT Thu Jun 11 02:59:59 2015 Jun 11 06:25:35 i would like to develop the sdcard driver in linux with SPI interface from scratch, could some once guide me on this Jun 11 06:28:25 maybe start with an existing 12c driver and replace the reads reads/writes? Jun 11 06:29:07 any particular reason you want to do it from scratch? Jun 11 06:33:13 hi thurgood thanks for reply, it is for learning only. Jun 11 06:36:11 when i get the kernel source from kernel.org, does it contains all drivers code for beagleboard ? Jun 11 06:41:55 hi can some one answer Jun 11 06:43:24 jeevan: clone http://github.com/beagleboard/linux Jun 11 06:44:54 :Abhishek, thats right but my question is when i get the kernel source from www.kernel.org, does it contain all peripherals drivers source ? Jun 11 06:45:09 for beagleboard Jun 11 07:00:14 jeevan: You should be able to boot up the system, but some things may not work as expected. Jun 11 07:04:52 there are probably some patches that have not made it into mainline yet... I don't follow it that closely these days Jun 11 07:09:37 thurgood_: for 4.0 the patchset was very small last time I checked Jun 11 07:26:48 yup, a day will not be far when they will run off stock kernels without having to maintain vendor trees Jun 11 10:17:10 hello Jun 11 10:18:12 can beagle board support parallel camera interface.? Jun 11 11:24:54 is there anything inspiring someone used the PRU for? Jun 11 11:26:16 Define inspiring. Jun 11 11:26:28 There is a limited linuxcnc port for it - which is quite cool Jun 11 11:28:13 and many led blink projects Jun 11 11:31:33 and banging bits real fast Jun 11 11:34:25 Or even doing parallel camera interfaces Jun 11 11:38:43 cnc I know about, it is cool. parallel camera? where? Jun 11 11:39:27 I am interested in any RF DSP , but also VOIP is interesting Jun 11 11:40:09 well, PRU can even compress decompress voice... Jun 11 11:46:55 PRU aint a DSP Jun 11 11:47:47 av500, sure Jun 11 11:48:04 but 200MHz is plenty for basic narrowband codec work Jun 11 11:48:04 hoi panto Jun 11 11:48:06 hi woglinde Jun 11 11:48:20 as long as the code fit :) Jun 11 11:49:08 true Jun 11 11:49:21 it also helps to not wear out the main CPU Jun 11 11:49:27 keep the gates fresh Jun 11 11:50:03 citylight2: I was meaning in principle Jun 11 11:50:29 panto: Did you know that voice narrowband coding was first done in WWII? Jun 11 11:50:35 Using many tons of hardware. Jun 11 11:51:06 http://en.wikipedia.org/wiki/SIGSALY Jun 11 11:51:12 people shooting at you tends to focus the mind Jun 11 11:51:29 It also links to the patent - it looks quite interestingly implementable very simply today Jun 11 11:52:07 SpeedEvil: the first gps receivers were boxes close to 100l size and 10-15kg Jun 11 11:52:18 yeah. Jun 11 11:52:28 SpeedEvil: ok.. actually, these were the first portable gps receivers Jun 11 11:52:29 Now you could do it on _drumroll_ a PRU Jun 11 11:52:41 the first gps receivers were mounted on ships and couldnt be moved Jun 11 11:52:44 http://www.maximintegrated.com/en/products/comms/wireless-rf/MAX2769.html Jun 11 11:52:51 18mbps bitstream Jun 11 11:53:04 SpeedEvil: nope, a PRU does not have enough processing power for a complete gps receiver Jun 11 11:53:06 Encoding the whole GPS spectrum, so you can do it in software Jun 11 11:53:09 SpeedEvil: not even single channel Jun 11 11:53:13 KotH: It does. Jun 11 11:53:16 SpeedEvil: it does not Jun 11 11:53:44 SpeedEvil: i have a gps implementation in software, i know how much processing it takes Jun 11 11:54:06 KotH: I've actually gotten to the assembly timing stage on a STM32 based one - it does. It's complex, and you willl need to do a fair amount of the heavy lifting on the BBB Jun 11 11:54:29 the PRU can do important bits of it though - deserialising and some correlation Jun 11 11:54:42 and all the hard-realtime stuff Jun 11 11:55:32 yes, if you split the problem up and only do 2-3 correclators on the pru with 1bit adc, then it might be enough.. barely Jun 11 11:56:02 also 2Msps max Jun 11 11:58:40 * SpeedEvil checks. Jun 11 11:58:46 Aww - the PRU has no countones Jun 11 12:47:11 the PRUs can also turn your BeagleBone Black into a 100Msps, 320 MB Logic analyzer ;) Jun 11 12:49:04 Abnisek: wow, how? where? Jun 11 12:51:15 beaglelogic.net Jun 11 13:05:13 Abhishek_: is there a usefull gui for that? Jun 11 13:05:32 just curious as the fancy part about las tends to be a gui one is actually able to work with Jun 11 13:05:45 (feel free to throw a generic gui at me that can read this dumps ...) Jun 11 13:05:54 theese* Jun 11 13:06:02 gurki: There's a web interface but at the moment it isn't very fancy Jun 11 13:06:28 you can copy the dumps and view them on their PC using PulseView Jun 11 13:06:54 got several bbs around i use for different projects ... might just give it a try Jun 11 13:07:01 getting to my salea clones limits Jun 11 13:07:44 pulseview actually looks usable .. Jun 11 13:08:20 shouldnt be too much of a hassle to control that bbb over lan. its just one line of ssh ^ Jun 11 13:08:34 and grab that dump with scp Jun 11 13:08:35 hum. Jun 11 13:08:50 guess ill give it a shot next time i got some spare time Jun 11 13:11:45 gurki: Let me know when you do, I should be around. Jun 11 13:12:39 Abhishek_: will do :) Jun 11 13:34:16 According to my google searches , I understood I need to use a special hostapd fork to run an access point on my 8188eu Jun 11 13:34:37 but rcn-ee cliamed I should be able to use the mainline hostapd Jun 11 13:34:47 does anyone here use the 8188eu ? Jun 11 15:53:42 hi guys i am using debian and wanted to build a kernel module. Where should the simlink for build point to? Jun 11 15:57:19 the kernel headers? Jun 11 15:57:26 which are proably not there? Jun 11 15:57:47 mistawright, /lib/modules/`uname -r`/build/ Jun 11 15:57:57 after: apt-get install linux-headers-`uname -r` Jun 11 15:58:28 ive installed the headers for the latest kernel but when trying to build the rtl8812au driver i get this error: make[1]: *** /lib/modules/4.0.4-rt1-bone4/build: No such file or directory. Stop. Jun 11 16:00:08 mistawright, "latest" is not the same as "headers for `uname -r`"... make sure they match.. Jun 11 16:03:52 I had installed the latest linux-image 4.10 bone 7 but running uname -a shows bone 4 Jun 11 16:04:02 installing again and about to reboot to double check Jun 11 16:12:03 that seems to have done the trick. kernel module built fine Jun 11 16:15:22 so with the latest kernel am I able to tell which overlay is loaded by catting a file? I realize that there is no bonecapemgr directory under /sys/device/ Jun 11 16:26:48 mistawright, 'cating' doesn't work in 4.1 ... yet.. Jun 11 16:27:35 you will find /sys/devices/platform/bone_capemgr/slots Jun 11 17:49:36 rcn-ee: My created kernel deb package takes forever to install on the BeagleBone, all files copied are prefixed with .dpkg-new . Jun 11 17:49:44 *postfixed Jun 11 17:51:19 Abhishek_, mine take a while too, 4.1.x is big.. Jun 11 18:04:23 rcn-ee: How much time approx? Jun 11 18:08:33 2-3 minutes.. Jun 11 18:09:50 rcn-ee: Mine gets stuck unpacking > 30 mins, had to abort it Jun 11 18:10:36 not sure if that's expected Jun 11 18:13:44 nope... did you enable debug info? Jun 11 18:20:48 anyone with experience with qemu / wine(x86) ? trying to get a windows .exe (made for Windows 98) to run on BBB (debian) Jun 11 18:46:08 [TWITTER RELAY] Have your chance to win an Xbox Gift Voucher worth £25/$50 or a 12 Month Xbox Membership More info visit http://t.co/uZs79lYv1x #competition Jun 11 18:59:09 erm. ok. Jun 11 19:07:27 Hi, I am having trouble setting up my beaglebone. When I plug in the USB to connect it to my windows 7 computer, it says USB device not recognized. I have installed the drivers and restarted my computer though. Jun 11 19:11:46 ?? Jun 11 19:14:59 ? Jun 11 19:16:20 anyone have any idea why my beagleboard won't show up as a usb drive? Jun 11 19:20:33 anyone? Jun 11 19:22:50 Windows. Jun 11 19:23:04 lol Jun 11 19:23:04 ... Jun 11 19:23:14 what does it show up as in the device manager? Jun 11 19:23:37 unknown device. Jun 11 19:23:39 maybe you should go to the beagleboard website and find drivers if your computer can't find it Jun 11 19:24:03 I downloaded the drivers already, restarted computer. The lights are all flashing like they should, but it doesn't recognize it. Jun 11 19:24:26 what version of windows Jun 11 19:24:32 7 Jun 11 19:24:50 thats your problem, wipe that and install gentoo linux. thank me later Jun 11 19:25:02 not sure what the cause is but its driver related Jun 11 19:25:12 why are you not just sshing into it? Jun 11 19:25:57 connect it to your router and just ssh into it. problem solved, unless that is the reason for the usb connection Jun 11 19:27:10 I guess I will try that. Still would be good to know why this isn't working... Jun 11 19:28:03 its not the beaglebone, its windows at this point. have you tried different ports? what does it even detect the device as Jun 11 19:28:35 https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb/installing-drivers-windows Jun 11 19:28:40 see if that helps Jun 11 19:28:45 I've tried different usb ports with the same issue. Jun 11 19:29:25 I have done that. Jun 11 19:29:42 For some reason it's not associating the drivers with the beaglebone Jun 11 19:29:58 was there another driver already installed if so uninstall and delete it Jun 11 19:30:13 can do that through the device manager Jun 11 19:30:31 durak, grab the latest, just encase you had an old version: https://github.com/beagleboard/beaglebone-getting-started/tree/master/Drivers/Windows Jun 11 19:31:31 but like my earlier comment, it would be easier to just use linux on your dekstop ;) Jun 11 19:33:09 I unfortunately don't have that option. Thanks for the help anways, I'll try to figure this out Jun 11 19:36:15 what's up durak Jun 11 20:20:28 havent used my beaglebone black in a while because i thought it wasnt reading micrsod cards. Finagled with the pins on the microsd card reader reading now. weird Jun 11 20:23:11 score one for finagling! Jun 11 20:29:15 hi rcn-ee, ok so I can't run hostapd on the 8188eu Jun 11 20:29:27 i mean the mainline hostapd Jun 11 20:32:23 oh its TP-Link TL-WN725N V2 Jun 11 20:36:16 o,o thought you fixed that citylight2 :p Jun 11 20:36:43 rcn asked me to try the mainline hostapd, so I tried and failed Jun 11 20:37:04 hehe you should patch the mainline hostapd :P Jun 11 20:37:26 but I suspect the issue arises from the 8188 driver Jun 11 20:38:23 725? i got the WN723N. ;) Jun 11 20:38:46 my is 0bda:8179 Jun 11 20:39:06 0bda:8179 Jun 11 20:39:25 so i was wrong Jun 11 20:39:38 I got the same adaptor as you Jun 11 20:39:41 or tp-link has the same chip in two cases. ;) Jun 11 20:39:46 can you run an access point? Jun 11 20:40:21 going to give it a shot Jun 11 20:40:59 o you are correct its tl-wn723n Jun 11 20:41:37 so i assumed that its possible to run an access point on this adapor Jun 11 20:41:56 and was looking to adapt my program to work with it Jun 11 20:42:10 cwvw, and another name is welcome Jun 11 20:50:59 citylight2 .. good luck on the quest for a good name :) Jun 11 20:52:56 citylight2, refresh this page a few times and steal a name: tiffzhang.com/startup/ ;0 Jun 11 20:54:04 lolol rcn-ee Jun 11 21:03:42 citylight2, nothing but: Starting advanced IEEE 802.11 management: hostapd failed! Jun 11 21:05:51 use hostapd -d -t /etc/hostapd/hostapd.conf Jun 11 21:06:41 Could not read interface flags: No such device Jun 11 21:06:48 hum, must use a different indentifer? Jun 11 21:08:31 ip link show? Jun 11 21:11:05 wlan0: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 Jun 11 21:12:19 so you need driver_rtl.h Jun 11 21:12:34 sorry: https://github.com/jenssegers/RTL8188-hostapd Jun 11 21:12:44 even for mainline's ap driver? Jun 11 21:13:27 (kernel mainline) Jun 11 21:13:35 rcn-ee .. depends how ap-mode is implemented in driver I suspect Jun 11 21:14:01 of course, it's only been two kernel releases, it's probally mostly just a cleaned up rtl driver at this point.. Jun 11 21:14:12 I know the broadcom's have some strange jazz .. hence Cruz's effort on the wand Jun 11 21:14:58 I'm not sure anyone's re-written the rtl drivers properly yet .. remember that 8192cu card I had issues with!? Jun 11 21:15:11 works ok with the proprietary code Jun 11 21:15:27 not proprietary .. you know .. vendor source Jun 11 21:16:06 oh wait, line 11: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/rtl8188eu/TODO#n11 Jun 11 21:16:09 .... ;) Jun 11 21:16:57 so it's still stuck using rtl's custom hostapd.. Jun 11 21:17:20 ok so we are both in the same place Jun 11 21:17:48 ...takes a look at wireless mainline list... ;) Jun 11 21:18:18 time for some major coding, rcn-ee ?! ;P Jun 11 21:19:15 seeing what i can steal for 4.2.0-rc1 merge.. Jun 11 21:22:33 this has a better antena then the famous edimax 8192cu Jun 11 21:22:59 citylight2 .. this card is pre-mounted on an Allwinner A13 board. Jun 11 21:23:52 citylight2 .. https://www.olimex.com/Products/OLinuXino/A13/A13-OLinuXino-WIFI/open-source-hardware for reference :) Jun 11 21:24:24 Although .. why do they say .. hrm .. Jun 11 21:25:29 I'm *sure* that was using the 8192 driver for some reason .. Jun 11 21:26:23 just more cleanups for v4.2-rc0... so nothing really useful to.. Jun 11 21:29:18 can I use the edimax 8192cu with the mainline hostapd? Jun 11 21:30:11 citylight2 .. I dunno whether the 8192 module has been fully fixed up in mainline yet Jun 11 21:33:17 the only issue with the atheros based usb adaptor is the size Jun 11 21:33:24 its too big Jun 11 21:33:25 used to be the bane of all those mini-wifi cards that were popular for *cough*pi Jun 11 21:35:55 if only the pi had musb based usb... then no one would have bought those. ;) Jun 11 21:36:58 8192's still the cheapest pices of crap... stripped two down to the guts, exactly the same oem, one worked, other was random.. Jun 11 21:44:49 *nod* Jun 11 23:41:40 Terminal window keeps closing on me. I need to click with my mouse to reopen it. How can I make the Terminal window stay open so I can write commands? Jun 11 23:42:53 BBB with BB VIEW 4.3 inch display with wireless keyboard and mouse. Jun 11 23:49:17 Terminal window keeps closing on me. I need to click with my mouse to reopen it. How can I make the Terminal window stay open so I can write commands? Jun 11 23:49:24 BBB with BB VIEW 4.3 inch display with wireless keyboard and mouse. Jun 12 01:01:54 Terminal window keeps closing on me. I need to click with my mouse to reopen it. How can I make the Terminal window stay open so I can write commands? Jun 12 01:02:05 BBB with BB VIEW 4.3 inch display with wireless keyboard and mouse. **** ENDING LOGGING AT Fri Jun 12 02:59:59 2015