urtwn instable on Beaglebone Black

2016-08-30 Thread Otacílio
Dears I'm using a beaglebone black to stream video over UDP. I wrote a software and have tested it using a urtwn device + webcam Logitech C920. All is connected using a USB hub with external power source. So urtwn and webcam, both are plugged in the same USB hub. When I plug the hub and run m

Re: urtwn instable on Beaglebone Black

2016-08-31 Thread Otacílio
Maybe a electric problem? I'm using a external power source to USB HUB. []'s -Otacílio Em 30/08/2016 20:33, Adrian Chadd escreveu: .. and which chipset? (dmesg | grep urtwn) -a On 30 August 2016 at 16:32, Adrian Chadd wrote: hi, What's the signal level? (ifconfig -v wlan0 lis

Small example program shut down urtwn

2016-09-04 Thread Otacílio
Dears I wrote these two small programs to help debug a problem that I think I have found when using urtwn driver in a baglebone black. The problem is 100% reproducible. In a server machine I run: serverUDP 2508 In beaglebone black I run: ./clientUDP servername 2508 9216 0 All the times, a

Re: Small example program shut down urtwn

2016-09-06 Thread Otacílio
Em 06/09/2016 04:44, Hans Petter Selasky escreveu: On 09/06/16 06:47, Adrian Chadd wrote: missing some bus barriers for ARM or something? FYI: Most of the USB control and data memory is coherently allocated and don't need barriers. You can try capturing a trace using usbdump, of the traffic

Re: Small example program shut down urtwn

2016-09-06 Thread Otacílio
Em 06/09/2016 15:01, Hans Petter Selasky escreveu: On 09/06/16 18:38, Otacílio wrote: After a lot of messages this appears: 13:04:40.000436 usbus1.2 DONE-BULK-EP=0081,SPD=HIGH,NFR=1,SLEN=384,IVAL=0,ERR=0 13:04:40.000447 usbus1.2 SUBM-BULK-EP=0081,SPD=HIGH,NFR=1,SLEN=0,IVAL=0 urtwn0

Support to wireless dongle

2017-03-01 Thread Otacílio
Dears I have a USB dongle that I'm unable to put to work. This is the device desc: root@squitch:/home/ota # usbconfig -u 0 -a 2 dump_device_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (160mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0201 bDeviceClass =

Low performance on rtwn_usb

2017-03-02 Thread Otacílio
Dears I'm using a USB wifi dongle to connect my baglebone black. This dongle uses the driver rtwn/rtwn_usb. This driver exhibits a very low performance on both, beaglebone and a Intel Core 2 Duo notebook. With -ht and without -ht on the ficonfig the performance is something like this: root

rtwn0: r92c_handle_c2h_task: C2H report 15 (len 15) was not handled

2017-04-12 Thread Otacílio
Dears I'm using a beaglebone to stream videos over wifi. For this, I'm testing two wifi adapters: rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address e8:4e:06:3c:fd:5d Both adapters works fine at low bit rate (300 Kbps), but when I use a