Re: [beagleboard] xrandr Can't open display

2017-02-23 Thread sajeevan k








*Hi,Sorry for not replying. I have been busy with my works.Like Przemek 
pointed out, here the issue may be the way in which I am entering the 
command 'xrandr'So I will explain it.After I enter startx in the command 
prompt of my desktop (ie root@beaglebone:~#) the following messages 
appearing in the display of my desktop.*


root@beaglebone:~# startx


X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian
Current Operating System: Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 
23:08:13 UTC 2016 armv7l
Kernel command line: console=ttyO0,115200n8 
root=UUID=f80ffe30-c1d0-4c51-8cab-b33a74f7ae1b ro rootfstype=ext4 rootwait 
coherent_pool=1M quiet cape_universal=enable
Build Date: 11 February 2015  01:18:06AM
xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
Current version of pixman: 0.32.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Thu Feb 23 10:40:00 2017
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
   1280x720   0.00* 
./q_msg_linux: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: no version 
information available (required by ./q_msg_linux)
./q_msg_linux: /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5: no version 
information available (required by ./q_msg_linux)
Openbox-Message: Couldn't set messages locale category from environment.
Openbox-Message: Couldn't set locale from environment.
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI2: failed to authenticate













*Also then my simple Qt application is run on the LCD display connected to 
BBB. (I have already included the executable file of simple Qt application 
in the file ~/.xinitrc) . (The contents of .xinitrc is given at the end of 
this mail)Here the important point is that, now in my desktop terminal, I 
cannot enter the xrandr command, because there is no command prompt  ( ie # 
) in the terminal.Now as Przemek suggested, I included the command 'xrandr' 
in ~/.xinitrc, before ./simpleQt (name of my simple Qt application).But the 
execution of this command is observed in either desktop display or display 
connected to BBB.I am also giving the contents of .xinitrc file*

#!/bin/bash
xrandr
oclock -geometry +1450+920 -bg ivory -fg blue &
./q_msg_linux &
exec openbox





*Please suggest a method, how I can run xrandr command in this 
situation.Thanks & Regards,Sajeevan.K*


On Sunday, February 19, 2017 at 6:39:08 AM UTC+5:30, Przemek Klosowski 
wrote:
>
> On Fri, Feb 17, 2017 at 6:45 AM, sajeevan k  > wrote: 
>
> > Now I am able to open a window as per a small qt progam in the LCD 
> display. 
> > 
> > But still xrandr is not showing the outputs. It is showing no protocol 
> specified. 
>
> How are you running your qt program? Run xrandr in exactly the same 
> way; it should work.  If it doesn't, describe how you set up your 
> console, show exactly the commands you're typing and their output 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/755415f5-a880-499a-8da1-1792b164a827%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connect GND and AGND?

2017-02-23 Thread Heinz Hummel
This helps - thanks John!​

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAHptrU7Q4yfePfFdVD1Ph_NRUN7oCQE2qhyz%3D1n1o572%2Bm7b6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Running GUI apps in a non-desktop debian BBB

2017-02-23 Thread Mike

On 02/23/2017 10:42 AM, evilwulfie wrote:

how do you use a GUI program without the GUI.  I dont get it.

On 2/23/2017 8:40 AM, Dror Lugasi wrote:
Hi Everyone! I have a question regarding the console version of 
debian for the BBB.
To keep my performance high i have disabled the desktop and am 
running only the terminal like in a console version of linux.
my question is: can i run IDE's like eclipse or monodevelop with the 
their GUI in this current situation?


i have tried to install them and then type "monodevelop" or "eclipse" 
in the command line and nothing happened.


Any one knows how to do this? (if possible)

My goal is to write multiple file projects in C++ and i want the 
comfort of the GUI of the IDE.


Thanks!
Dror.

Simple concept...

ssh -X  

Running eclipse on the BBB would be painful IMHO.  Setup a shared area 
via nfs, samba, etc. and run your IDE locally.  Eclipse and be setup to 
handle this (through FUSE I believe) but it's a somewhat lengthy 
process.  Google it, examples are out there, perhaps a bit dated.


Mike

--
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/b4b83705-b25b-04ee-8b9c-e3bf6000c0ea%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connect GND and AGND?

2017-02-23 Thread woody.lois via BeagleBoard


On Thu, 2/23/17, John Syne  wrote:

 Subject: Re: [beagleboard] Connect GND and AGND?
 To: beagleboard@googlegroups.com
 Date: Thursday, February 23, 2017, 9:33 PM
 
 
 
 
 On Feb 22, 2017, at 10:58 PM, Heinz
 Hummel 
 wrote:
 
 
 2017-02-23 7:55 GMT+01:00
 John Syne :
 
 Well, at some point they are always
 connected. What you want is for them to connect only at one
 point and that point should be closest to the power source.
 Think of a star connection, with the center of the star as
 the reference ground point. What you don’t what is digital
 signals flowing through the analog ground and that occurs
 when you connect AGND to DGND at more than one
 point. 
 So when I understand this
 correctly: in layout of a board they should be connected
 with each other as close as possible to the BBB/BBG
 expansion header connector?As
 close as possible to the power source GND. So if you intend
 to use the barrel connector to power the board, the GND and
 AGND should connect at the barrel connector GND pin, or if
 you use the expansion connector to power the board, then
 connect GND and AGND at a single GND pin on the expansion
 connector. I does not matter that several GND pins are
 connected to the GND plane. I hope this
 helps. 
 Regards,John
 
 
 
 -- 
 
 For more options, visit http://beagleboard.org/discuss
 
 --- 
 
 You received this message because you are subscribed to the
 Google Groups "BeagleBoard" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to beagleboard+unsubscr...@googlegroups.com.
 
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAHptrU4FnKZHP%3D%3DYbpjtddF1jmfRNOvWgPGUyw_MG2JntpJGFA%40mail.gmail.com.
 
 For more options, visit https://groups.google.com/d/optout.
 
 
 
 
 -- 
 
 For more options, visit http://beagleboard.org/discuss
 
 --- 
 
 You received this message because you are subscribed to the
 Google Groups "BeagleBoard" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to beagleboard+unsubscr...@googlegroups.com.
 
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/E32D58CB-DFA6-4A84-8291-4323E6E7316D%40gmail.com.
 
 For more options, visit https://groups.google.com/d/optout.
 stfel  au fost incheiate o Conventia comerciala pe termen de 10 ani cu 
\ustro-Ungaria si un act similar cu Rusia  prin care se profita insa  de catre 
tarile  are faceau parte din Alianta celor trei imparati  Rusia  Austro-Ungaria 
si Sermania  de pozitia strategica favorabila a Romaniei. Chiar daca unele 
actiuni comerciale erau dezavantajoase  aducand grave prejudicii economiei 
romanesti  ile reprezentau  totusi  un castig in plan politic  fiind un pas 
spre independenta.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1165618240.3527243.1487882563702%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connect GND and AGND?

2017-02-23 Thread John Syne


> On Feb 22, 2017, at 10:58 PM, Heinz Hummel  wrote:
> 
> 
> 
> 2017-02-23 7:55 GMT+01:00 John Syne  >:
> 
> Well, at some point they are always connected. What you want is for them to 
> connect only at one point and that point should be closest to the power 
> source. Think of a star connection, with the center of the star as the 
> reference ground point. What you don’t what is digital signals flowing 
> through the analog ground and that occurs when you connect AGND to DGND at 
> more than one point. 
> 
> So when I understand this correctly: in layout of a board they should be 
> connected with each other as close as possible to the BBB/BBG expansion 
> header connector?
As close as possible to the power source GND. So if you intend to use the 
barrel connector to power the board, the GND and AGND should connect at the 
barrel connector GND pin, or if you use the expansion connector to power the 
board, then connect GND and AGND at a single GND pin on the expansion 
connector. I does not matter that several GND pins are connected to the GND 
plane. I hope this helps. 

Regards,
John
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CAHptrU4FnKZHP%3D%3DYbpjtddF1jmfRNOvWgPGUyw_MG2JntpJGFA%40mail.gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/E32D58CB-DFA6-4A84-8291-4323E6E7316D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Running GUI apps in a non-desktop debian BBB

2017-02-23 Thread William Hermans
So, I've got an idea. Let's take a single core processor system with only
512M of ram, and try to make things worse by running an app, and other
software that will make the system crawl.

There are better ways to approach this problem without the need to bog the
system down with needless "bloatware".

a) You could setup a cross-compile system, which admittedly can be overly
complex to setup.

or

b) You could set up a Samba share from the beaglebone, then make that share
available to your PC. This will allow you to create, and edit source files
on your PC, as if that share were a local(to your PC ) drive. Which means,
that you could use any editor in Windows to write source code, which is
saved to the beaglebone, when files are saved.

There are a few caveats to b above. First, if you are running Windows,
you'll need an editor that will allow you to set file encoding( I use
UTF-8), and an editor that will also allow you to set the files line
endings. These need to be set to UNIX style line endings, in your editors
preferences section. In addition to the above, you'll need to learn how to
compile projects from the command line, which most of the time is not that
difficult. Perhaps you could even setup plink( one of puTTY's companion
tools), and your editor to compile for you. But that requires more setup,
and you would have to understand how to use gcc / g++ from the command line
already / anyway . . .

On Thu, Feb 23, 2017 at 8:40 AM, Dror Lugasi  wrote:

> Hi Everyone! I have a question regarding the console version of debian for
> the BBB.
> To keep my performance high i have disabled the desktop and am running
> only the terminal like in a console version of linux.
> my question is: can i run IDE's like eclipse or monodevelop with the their
> GUI in this current situation?
>
> i have tried to install them and then type "monodevelop" or "eclipse" in
> the command line and nothing happened.
>
> Any one knows how to do this? (if possible)
>
> My goal is to write multiple file projects in C++ and i want the comfort
> of the GUI of the IDE.
>
> Thanks!
> Dror.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/709a8b21-7c4a-4bb7-9458-3d27e72f0b20%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORrTH%3DWvuhEBKyV0%3D1rb_3Qs7wPdL6d14m%3D83RKF--S0-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Running GUI apps in a non-desktop debian BBB

2017-02-23 Thread Dieter Wirz
Have a look @
"X11 Forwarding using SSH"
If you installed eclipse via apt and have X11 forwarding enabled in
/etc/ssh/sshd_config "X11Forwarding yes" the you simply have to add an
-X to your ssh-Session
On my Linux Laptop:

ssh dw@myBBB -X
apt install geany
geany &

And geany pops up on your screen;) (dont forget the ampersand,
otherwise you ssh connection is locked;) You have to install your
Program with apt because u need a minimal installation of X11 on your
BBB.

IMHO this works as well with putty on Windows;)

HTH
Dieter

On Thu, Feb 23, 2017 at 4:40 PM, Dror Lugasi  wrote:
> Hi Everyone! I have a question regarding the console version of debian for
> the BBB.
> To keep my performance high i have disabled the desktop and am running only
> the terminal like in a console version of linux.
> my question is: can i run IDE's like eclipse or monodevelop with the their
> GUI in this current situation?
>
> i have tried to install them and then type "monodevelop" or "eclipse" in the
> command line and nothing happened.
>
> Any one knows how to do this? (if possible)
>
> My goal is to write multiple file projects in C++ and i want the comfort of
> the GUI of the IDE.
>
> Thanks!
> Dror.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/709a8b21-7c4a-4bb7-9458-3d27e72f0b20%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAK4vXrs_fLawErXN9KP7KpTsa5eES-XTKD%3DNYHhG8dy608m5jA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Using the Kinect 2 with libfreenect2 on the BBX15

2017-02-23 Thread Alek Mabry


Hello!


I am trying to use the libfreenect2 on the BeagleBoard-X15 
(github.com/OpenKinect/libfreenect2). I've gotten the Kinect working on my 
Ubuntu 16.04 laptop, but I am struggling with getting it working on the 
BeagleBoard-X15. I tried the installation with Debian, but I couldn't get 
the packages and Cmake wasn't working, so I turned to Ubuntu 16.04. On 
Ubuntu 16.04, I was able to install the library, but I'm struggling with 
what looks like a USB error. When I run the "./bin/Protonect cpu" command I 
get this:


[Info] [Freenect2Impl] enumerating devices...

[Info] [Freenect2Impl] 5 usb devices connected

[Info] [Freenect2Impl] found valid Kinect v2 @1:9 with serial  
   <-- People hash this out for some reason, so I will do the same.

[Info] [Freenect2Impl] found 1 devices

[Info] [Freenect2DeviceImpl] opening...

[Error] [protocol::UsbControl] failed to claim interface with 
IrInterfaceId(=1)! LIBUSB_ERROR_BUSY Resource busy. Try debugging with 
environment variable: export LIBUSB_DEBUG=3 .

[Info] [Freenect2DeviceImpl] closing...

[Info] [Freenect2DeviceImpl] deallocating usb transfer pools...

[Info] [Freenect2DeviceImpl] closing usb device...

[Info] [Freenect2DeviceImpl] closed

[Error] [Freenect2Impl] failed to open Kinect v2: @1:9

failure opening device!


# lsusb


Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 001 Device 009: ID 045e:02c4 Microsoft Corp. 

Bus 001 Device 008: ID 045e:02d9 Microsoft Corp. 

Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


(I noticed just now that the Bus number for the 3.0 root hub is different 
than the ones "Microsoft Corp (The Kinect)" are connected to. Does it mean 
that ubuntu isn't using the USB 3.0 ports as USB 3.0? )


# lsusb -t


/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M

/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M

|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M

|__ Port 2: Dev 8, If 0, Class=Hub, Driver=hub/1p, 480M

|__ Port 1: Dev 9, If 0, Class=Vendor Specific Class, Driver=, 
480M

|__ Port 1: Dev 9, If 1, Class=Audio, Driver=snd-usb-audio, 480M

|__ Port 1: Dev 9, If 2, Class=Audio, Driver=snd-usb-audio, 480M


I've tried everything on 
[https://github.com/OpenKinect/libfreenect2/wiki/Troubleshooting], 
including changing the USBFS buffer size. When I changed it from 16 (the 
default) to 64 it didn't make a difference. I changed it back to 16:


echo 64 > /sys/module/usbcore/parameters/usbfs_memory_mb


Any ideas on what may be causing this USB issue? I've checked all over the 
libfreenect2 git issues and none of the solutions work with the 
BeagleBoard-X15 (Although most were just people plugging into USB 2.0 
ports).


Thanks,

Alek

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/79804071-75c4-457c-b45a-40900e7b7f56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Running GUI apps in a non-desktop debian BBB

2017-02-23 Thread evilwulfie
how do you use a GUI program without the GUI.  I dont get it.

On 2/23/2017 8:40 AM, Dror Lugasi wrote:
> Hi Everyone! I have a question regarding the console version of debian
> for the BBB.
> To keep my performance high i have disabled the desktop and am running
> only the terminal like in a console version of linux. 
> my question is: can i run IDE's like eclipse or monodevelop with the
> their GUI in this current situation?
>
> i have tried to install them and then type "monodevelop" or "eclipse"
> in the command line and nothing happened.
>
> Any one knows how to do this? (if possible)
>
> My goal is to write multiple file projects in C++ and i want the
> comfort of the GUI of the IDE.
>
> Thanks! 
> Dror.
> -- 
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google
> Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beagleboard+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/709a8b21-7c4a-4bb7-9458-3d27e72f0b20%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/04f3d4e3-7dc0-aa15-5a6a-ac306c4cc55a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Running GUI apps in a non-desktop debian BBB

2017-02-23 Thread Dror Lugasi
Hi Everyone! I have a question regarding the console version of debian for 
the BBB.
To keep my performance high i have disabled the desktop and am running only 
the terminal like in a console version of linux. 
my question is: can i run IDE's like eclipse or monodevelop with the their 
GUI in this current situation?

i have tried to install them and then type "monodevelop" or "eclipse" in 
the command line and nothing happened.

Any one knows how to do this? (if possible)

My goal is to write multiple file projects in C++ and i want the comfort of 
the GUI of the IDE.

Thanks! 
Dror.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/709a8b21-7c4a-4bb7-9458-3d27e72f0b20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] USB Audio on BBGW/BBB using also and mpg321 : Distorted/clipped/too fast playback

2017-02-23 Thread Przemek Klosowski
On Thu, Feb 23, 2017 at 4:22 AM, 'Ian Watts' via BeagleBoard
 wrote:
> -2- I do not have Linux per se running on any other machine here - although
> I do have a spare / naughty Win7 (which I detest) PC, so I do have a
> potential candidate although where to start with that one?
You could download a bootable Ubuntu/Debian image to a USB stick and
boot from it in the 'live test' mode that doesn't overwrite your hard
disk. It basically has full functionality, and you even can download
and install additional packages if the original image lacks them.
Good luck--I think you're close to the solution, just have to find the
pesky glitch.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAC%3D1GgE5VEcCxGFPsJ%2BjEHG8AkXjUj98fPiihWpUTqduca7iRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Serial console over USB Gadget

2017-02-23 Thread evinoth1206
Hi,

Have you fixed this issue ? I am facing a similar issue, any info on the 
topic would be useful.

On Sunday, 14 March 2010 11:30:28 UTC+1, Steve Kreyer wrote:
>
> Hi all,
>
> Iam new to the beagle board. Since Iam not able to get an idc-10 to
> DB9 serial adapter I've tried to get a serial connection using USB
> gadget.
>
> This works fine for U-Boot but I get stucked on Linux.
>
> If  U-Boot boots, on the host a ttyACM0 device appears which can be
> connected to using minicom. After loading the kernel image from MMC
> into RAM and booting it, minicom looses the connection to ttyACM0.
> Instead a new device appears on the host called ttyACM1. But if I try
> connecting to it minicom locks in "modem initialization" state...
> Thus, the kernel boot is a kind of black box for me since I cant see
> whats going on there (Maybe there is a kernel oops?). But it seems
> that it can initialize the serial USB gadget port because of the
> ttyACM1 device on the host.
>
> Here is my kernel config / what I've done so far / kernel host output:
>
> Beagle Board's USB serial / gadget kernel config:
>   CONFIG_SERIAL_8250=y
>   CONFIG_SERIAL_8250_CONSOLE=y
>   CONFIG_SERIAL_8250_NR_UARTS=32
>   CONFIG_SERIAL_8250_RUNTIME_UARTS=4
>   CONFIG_SERIAL_8250_EXTENDED=y
>   CONFIG_SERIAL_8250_MANY_PORTS=y
>   CONFIG_SERIAL_8250_SHARE_IRQ=y
>   CONFIG_SERIAL_8250_DETECT_IRQ=y
>   CONFIG_SERIAL_8250_RSA=y
>
>   CONFIG_SERIAL_CORE=y
>   CONFIG_SERIAL_CORE_CONSOLE=y
>
>   CONFIG_USB_SERIAL=y
>   CONFIG_USB_SERIAL_CONSOLE=y
>   CONFIG_USB_SERIAL_GENERIC=y
>
>   CONFIG_USB_GADGET_MUSB_HDRC=y
>   CONFIG_USB_GADGET=y
>
>   CONFIG_USB_GADGET_VBUS_DRAW=2
>   CONFIG_USB_GADGET_SELECTED=y
>
>   CONFIG_USB_GADGET_DUALSPEED=y
>
>
> What I've done so far on the U-Boot console:
>
>   OMAP3 beagleboard.org # mmc init
>   mmc1 is available
>   OMAP3 beagleboard.org # fatload mmc 0:2 0x8030 uImage
>   reading uImage
>
>   1991316 bytes read
>   OMAP3 beagleboard.org # fatload mmc 0:2 0x8160 rd-ext2.bin
>   reading rd-ext2.bin
>
>   3394477 bytes rea' - try 'help'
>   OMAP3 beagleboard.org #
>   OMAP3 beagleboard.org #
>   OMAP3 beagleboard.org #
>   OMAP3 beagleboard.org # setenv bootargs console=ttyGS0,115200n8
> ramdisk_size=8192 root=/dev/ram0 rw initrd=0x8160,8M nohz=off
> rootfstype=ext2
>   OMAP3 beagleboard.org # bootm 0x8030
>
> And last bot not least the kernel output on the host:
>   redwing@euklid:~$ dmesg
>   usb 2-1: USB disconnect, address 6
>   usb 2-1: new high speed USB device using ehci_hcd and address 7
>   usb 2-1: config 1 interface 0 altsetting 0 endpoint 0x81 has an
> invalid bInterval 255, changing to 11
>   usb 2-1: configuration #1 chosen from 1 choice
>   cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a
> modem.
>   cdc_acm 2-1:1.0: ttyACM0: USB ACM device
> <--- This is after booting U-Boot with working serial console on
> ttyACM0.
>   usb 2-1: USB disconnect, address 7
>   tty_port_close_start: count = -1
>   usb 2-1: new high speed USB device using ehci_hcd and address 8
>   hub 2-0:1.0: unable to enumerate USB device on port 1
>   tty_port_close_start: count = -1
>   usb 2-1: new high speed USB device using ehci_hcd and address 9
>   usb 2-1: configuration #2 chosen from 1 choice
>   cdc_acm 2-1:2.0: This device cannot do calls on its own. It is not a
> modem.
>   cdc_acm 2-1:2.0: ttyACM1: USB ACM device
> <--- This is after kernel startup
>
> If you need additional information, please let me know.
>
> Any help on this issue would be very appreciated.
>
> Kind Regards,
> Steve
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/99ab21b5-72c1-491b-80ec-3bab0b2c914f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] USB Audio on BBGW/BBB using also and mpg321 : Distorted/clipped/too fast playback

2017-02-23 Thread 'Ian Watts' via BeagleBoard
Hi Przemek,
I've been a little tardy following this one up recently - I mean, I do have 
sound; it's simply 'broken' / distorted and, with all the other items / 
features of the project, I've allowed myself to 'park' this one thereby 
allowing me to continue with the other aspects whilst hoping I'll 'stumble' 
across something as I progress them and advance my learning in general with 
the BB series...
Having said that:
-1- I have tried the USB stick on my Mac with the same sound files and 
listening to streamed radio etc - all work well :(
-2- I do not have Linux per se running on any other machine here - although 
I do have a spare / naughty Win7 (which I detest) PC, so I do have a 
potential candidate although where to start with that one?
-3- I also note that converted files (mp3 to wav using mpg321 on the BB) do 
not play - worse in fact BUT wav files, transferred to the BB uSDCard from 
my Mac, play perfectly... so...
Thanks a million for your help and encouragement. I'll update this thread 
as and when I have news. Again, thanks - really appreciated.

On Saturday, 11 February 2017 22:23:47 UTC+1, Przemek Klosowski wrote:
>
> On Fri, Feb 10, 2017 at 5:52 PM, 'Ian Watts' via BeagleBoard 
> > wrote: 
> > I also found a load of wav files, verified they played on the Mac, 
> > transferred them to the uSDCard and thence to the BBGW. All played fine 
> on 
> > the Mac, all were 'broken' (as per last posts) on the BBGW. 
> > 
> > What I don't 'get' is that, after updating alsa.conf and re-initialising 
> > alsactl, the BBGW seems to play tracks correctly until it detects a 
> change 
> > in sample rate (maybe ?) then nothing / no tracks play correctly - not 
> even 
> > the ones that just played perfectly  
>
>
> Maybe try your USB sound card on the Mac. Also, do you have access to 
> a Linux desktop running  a version of Debian comparable to what you 
> have on the BBB? Maybe try audio there, to compare 'ceteris paribus'. 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ea424df9-4443-40d7-a3c8-881a05cfd9c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connect GND and AGND?

2017-02-23 Thread robertsmaria934 via BeagleBoard


On Thu, 2/23/17, John Syne  wrote:

 Subject: Re: [beagleboard] Connect GND and AGND?
 To: beagleboard@googlegroups.com
 Date: Thursday, February 23, 2017, 8:55 AM
 
 
 On Feb 22, 2017, at 10:14 PM, Heinz
 Hummel 
 wrote:
 Hello,
 at 
https://books.google.de/books?id=Udu6BQAAQBAJ&pg=PA344&lpg=PA344&dq=beaglebone+adc+op+amp&source=bl&ots=CZagSBqMui&sig=cLXCgstuc51TzoBRzMzB81RcJyU&hl=de&sa=X&ved=0ahUKEwjZ6-LovKTSAhXJXBQKHfktBio4ChDoAQhJMAk#v=onepage&q=beaglebone%20adc%20op%20amp&f=false
 a wiring scheme for the analog inputs is described which
 protects the BBB/BBG from overvoltage.
 Amazingly they connect AGND and GND
 with each other. Is this really a good
 idea?Well, at some point they
 are always connected. What you want is for them to connect
 only at one point and that point should be closest to the
 power source. Think of a star connection, with the center of
 the star as the reference ground point. What you don’t
 what is digital signals flowing through the analog ground
 and that occurs when you connect AGND to DGND at more than
 one point. 
 Regards,John
 
 Thanks!
 
 
 
 
 -- 
 
 For more options, visit http://beagleboard.org/discuss
 
 --- 
 
 You received this message because you are subscribed to the
 Google Groups "BeagleBoard" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to beagleboard+unsubscr...@googlegroups.com.
 
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6be28d4e-04a5-4de0-b47b-173d2a025764%40googlegroups.com.
 
 For more options, visit https://groups.google.com/d/optout.
 
 
 
 
 -- 
 
 For more options, visit http://beagleboard.org/discuss
 
 --- 
 
 You received this message because you are subscribed to the
 Google Groups "BeagleBoard" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to beagleboard+unsubscr...@googlegroups.com.
 
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CC2B0B97-982D-48D4-97DD-398FDFB635F4%40gmail.com.
 
 For more options, visit https://groups.google.com/d/optout.
 onducerea partidului comunist a devenit  in Romania  in perioada regimului 
Ceausescu  o casta politica  fiind controlata de familia Ceausescu prin 
intermediul unei grupari de activisti. in 1987  partidul numara 3 6 milioane de 
membri  in marea lor majoritate luptand sa supravietuiasca in conditii grele de 
munca si de viata. in martie 1989  gratie unor uriase eforturi materiale  
Romania si-a achitat datoria externa. Zecile de reorganizari de posturi la 
nivelul conducerii superioare urmareau  de fapt  punerea intregii

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/852245724.3084257.1487840353409%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.