Re: [beagleboard] UART to USB adapter causes USB port to fail

2020-03-24 Thread Zeph
Thank you for this! I was able to get it working by externally powering the 
lidar before starting the BeagleBone.

On Tuesday, March 24, 2020 at 5:39:29 PM UTC-7, Jim F wrote:
>
> Looks like you're using too much power from the USB. Maybe you can run 
> your device from its own power instead of off the bus.
>
> On Tue, Mar 24, 2020 at 8:11 PM Zeph > 
> wrote:
>
>> I am using a BeagleBone Black with Ubuntu 18.04 and I am attempting to 
>> use an SLAMTEC RPLidar A3M1 which uses a UART to USB adapter to connect to 
>> a computer. I was able to get this to work with my laptop running Ubuntu 
>> 18.04. When I plug in the adapter, I can see the device appears in the /dev 
>> folder as ttyUSB0.
>>
>> When I plug the adapter into the BeagleBone there is no /dev/ttyUSB0 and 
>> nothing shows up in lsusb. 
>>
>> dmesg shows the following after plugging in:
>> [  272.262281] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_bcon (89, <
>> AValid), retry #1, port1 0104
>> [  272.319876] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (89, <
>> AValid), retry #2, port1 0104
>> [  272.377607] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (89, <
>> AValid), retry #3, port1 0104
>> [  272.435203] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_vrise (88, <
>> AValid), retry #3, port1 0008010c
>>
>>
>> Once the adapter is plugged in, no other USB devices are recognized by 
>> the BeagleBone anymore.
>>
>> Is it possible to get this device to work with the BeagleBone or should I 
>> give up on using this device?
>>
>> -- 
>> 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 beagl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/57393ee1-51d0-447f-ab74-c6660fa8e989%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beagleboard/57393ee1-51d0-447f-ab74-c6660fa8e989%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/2bd0c20d-c8a7-4604-ada8-e19f7ec1132d%40googlegroups.com.


[beagleboard] UART to USB adapter causes USB port to fail

2020-03-24 Thread Zeph
I am using a BeagleBone Black with Ubuntu 18.04 and I am attempting to use 
an SLAMTEC RPLidar A3M1 which uses a UART to USB adapter to connect to a 
computer. I was able to get this to work with my laptop running Ubuntu 
18.04. When I plug in the adapter, I can see the device appears in the /dev 
folder as ttyUSB0.

When I plug the adapter into the BeagleBone there is no /dev/ttyUSB0 and 
nothing shows up in lsusb. 

dmesg shows the following after plugging in:
[  272.262281] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_bcon (89, 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/57393ee1-51d0-447f-ab74-c6660fa8e989%40googlegroups.com.


[beagleboard] Bluetooth Android App

2020-02-27 Thread Zeph

Hi,

I want to be able to connect my android phone to the BeagleBone Black 
Wireless and use an app on my phone that will function as a joystick and 
send values over bluetooth to the beaglebone. I am looking for something 
similar to Blue Dot for the Raspberry Pi:

https://github.com/martinohanlon/BlueDot

Does anyone know of a similar app I can use for the BeagleBone Black? If I 
were to create the app myself, would it be difficult to interface the BBB 
bluetooth with the android app? Has anyone had success with a similar 
project? If you have can you please share any resources used for 
establishing the bluetooth connection and sending data back and forth.

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/2477c86d-13e1-4fb2-b185-3903852858ed%40googlegroups.com.


[beagleboard] Can't ping or ssh into BBB Wireless

2020-01-15 Thread Zeph
I have two boards a BeagleBone Black Wireless and a BeagleBone Black Rev C. 
Recently, when booting my BeagleBone Black Wireless with an Ubuntu SD, the 
board will light up and in my Windows 10 computer's network connections the 
Remote NDIS Compatible Device shows up but pinging 192.168.7.2 does not 
give any response and I can't SSH into the board anymore. If I put an SD 
with debian into the BBB Wireless, I can SSH into it fine. Also, if I take 
the Ubuntu SD and use it in my BeagleBone Black Rev C I can ping it and SSH 
into it. The only combination that doesn't work is the Ubuntu SD with the 
BBB Wireless. 

Can anyone give insight on what the issue might be? I think this error may 
have started to appear when I was changing network settings to try and use 
internet sharing through USB.

-- 
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/1eefd87c-6970-435d-b8ca-f9327b6f3a07%40googlegroups.com.


Re: [beagleboard] Cannot reconfigure pins to gpio

2020-01-14 Thread Zeph
Thank you so much! This cleared up a lot of confusion for me and I was able 
to get things working. 

On Tuesday, January 14, 2020 at 2:24:00 PM UTC-8, Alexander Zangerl wrote:
>
> On Tue, 14 Jan 2020 12:52:01 -0800, Zeph writes: 
> >i need to reconfigure the pins that are not by default gpio. For example 
> >P8_46 pin which is by default an LCD_Data pin. 
>
> by default the lcd pins are assigned to/used by the hdmi framer, as per 
> the 
> system reference manual. 
>
> >When using the BBB with a debian stretch image I can use those pins as 
> >gpio. However, when I use my ubuntu distro, those pins will not work as 
> >gpio. When I try and reconfigure the pins using the config-pin utility I 
> >get this error: 
> > 
> >P8_46 pinmux file not found! 
>
> to make these pins available for other purposes you'll need 
> to disable hdmi, using "disable_uboot_overlay_video=1" in uEnv.txt. 
>
> see for example: 
> https://github.com/beagleboard/linux/issues/139 
> and not quite as directly related: 
> https://github.com/beagleboard/bb.org-overlays/issues/76 
>
> >This slots file doesn't exist and so I can never proceed. 
>
> the slots stuff is long gone, you need to convince your uboot (via 
> uEnv.txt) 
> to load the relevant overlays. 
> see https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays 
> for 
> a little bit of explanation. 
>
> >Note: I need to be running the ubuntu distro. 
>
> you may have to update your uboot version to make the u-boot overlay stuff 
> work properly, but otherwise there shouldn't be any big differences 
> between ubuntu and debian that are relevant for your specific situation. 
>
>
> -- 
> Best Regards, 
> Alexander Zangerl 
> IT Engineer 
>
> BREATHE-SAFE intelligent cabin air filtration 
> Keeps your lungs and cabin dust free! 
> 290 Beatty Road, Archerfield QLD 4108 Australia, 
> Tel: +61 7 3276 7833 M. +61 415 482 341 E. a...@breathe-safe.com 
>  
>

-- 
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/7a911b51-8e20-4f8a-836a-31ace515e07c%40googlegroups.com.


[beagleboard] Cannot reconfigure pins to gpio

2020-01-14 Thread Zeph
Hi I'm fairly new to embedded linux development and I've been stuck on this 
problem for quite some time so any help would be greatly appreciated.

I am using a BeagleBoneBlack Wireless with Ubuntu 18.04 and Linux Kernel 
4.14.108-ti-r113.

i need to reconfigure the pins that are not by default gpio. For example 
P8_46 pin which is by default an LCD_Data pin. 

When using the BBB with a debian stretch image I can use those pins as 
gpio. However, when I use my ubuntu distro, those pins will not work as 
gpio. When I try and reconfigure the pins using the config-pin utility I 
get this error:

P8_46 pinmux file not found!
bash: /sys/devices/platform/ocp/ocp*P8_46_pinmux/state: No such file or 
directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P8_46_pinmux/state


I have tried following numerous tutorials online with no luck. I have 
looked into using device tree overlays but I always get stuck because there 
is no slots file in this path:

/sys/devices/platform/bone_capemgr/slots


This slots file doesn't exist and so I can never proceed.

Note: I need to be running the ubuntu distro.

Please help. 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/f77521e7-aaa9-4322-a588-fcf17fae2738%40googlegroups.com.