Re: [beagleboard] Re: TinyDRM ST7735 with BeagleBone?

2019-10-03 Thread David Lechner
t/torvalds/linux.git/tree/Documentation/devicetree/bindings/pwm/pwm.txt On 10/3/19 1:59 PM, Mark A. Yoder wrote: David:   Thanks.  I did not.  How do I discover what those values ( 1 50 0) are? --Mark On Thursday, October 3, 2019 at 2:57:38 PM UTC-4, David Lechner wrote: Did you also c

Re: [beagleboard] Re: TinyDRM ST7735 with BeagleBone?

2019-10-03 Thread David Lechner
Super! On 10/3/19 2:05 PM, Mark A. Yoder wrote: David:   I just tested it and it works!  Thanks. --Mark On Saturday, February 17, 2018 at 7:38:51 PM UTC-5, Drew Fustini wrote: Hi David, I was excited to see you've written a TinyDRM driver for the 1.8" Adafruit TFT.  Have you tried it

Re: [beagleboard] Re: TinyDRM ST7735 with BeagleBone?

2019-10-03 Thread David Lechner
ist.github.com/pdp7/aee5664598059c9b9a9020f107957f80> > > Thanks, > Drew > > On Feb 21, 2018 1:53 PM, "David Lechner" > wrote: >> >> On 02/21/2018 01:18 PM, Drew Fustini wrote: >>> >>> On Wed, Feb 2

Re: [beagleboard] Mainline kernel driver for eQEP

2019-07-22 Thread David Lechner
On 7/22/19 11:14 AM, Robert Nelson wrote: On Mon, Jul 22, 2019 at 11:04 AM David Lechner wrote: FYI, I just submitted a driver for the eQEP using the new counter subsystem if anyone is interested. I would be curious to hear which features of the eQEP people are using. Awesome David! I'll

[beagleboard] Mainline kernel driver for eQEP

2019-07-22 Thread David Lechner
FYI, I just submitted a driver for the eQEP using the new counter subsystem if anyone is interested. I would be curious to hear which features of the eQEP people are using. -- For more options, visit

Re: [beagleboard] Re: Debian 8 vs Debian 9

2019-04-08 Thread David Lechner
If SSH works, then it is working. The CDC driver is for Linux and Mac, so it is expected to show as an unknown device in Windows. This is not a problem. Old drivers are not a problem. On 4/6/19 11:01 PM, Nick wrote: Any ideas? On Thursday, 4 April 2019 15:58:13 UTC-7, Nick wrote: I

Re: [beagleboard] BBB: sharing Internet connection from Linux laptop with USB

2018-10-09 Thread David Lechner
Why go through all of that when you can just enable Internet connection sharing via NetworkManager? On 10/08/2018 02:33 PM, Drew Fustini wrote: > Yesterday, I got Internet connection sharing over USB working on my system. > > My BeagleBone Black is connected via USB to my Linux laptop (Ubuntu >

Re: [beagleboard] Re: github beagleboard/linux

2018-10-05 Thread David Lechner
This is how I do it: git fetch beagleboard git rebase --onto 4.14.71-ti-r79  4.14.71-ti-r78  my-branch where "beagleboard" is the git remote for https://github.com/beagleboard/linux.git, "4.14.71-ti-r79" is the new tag I am rebasing onto, "4.14.71-ti-r78" is the previous tag my branch was

Re: [beagleboard] Re: PRU shared Ram

2018-08-19 Thread David Lechner
Wow. This is great. I like the problem/solution format. It really makes it easy to see which sections you might be interested in reading. There is a typo on the first line of the Case Studies - Introduction that jumps out though: "It’s an excisting time" And I wouldn't mind seeing a bit more

Re: [beagleboard] Installing OpenCV for Python3 (cv2) on Debian 8.7

2018-04-17 Thread David Lechner
python3 opencv is not available in jessie or stretch. I'm actually backporting opencv 3.2 from buster to stretch as I type this in order to get python3 support. It looks like you are using jessie though. On 04/17/2018 10:29 PM, Daniyal Ansari wrote: I'm having an issue installing OpenCV for

Re: [beagleboard] BeagleBone Blue: No SSH, so trying to get WiFi up via serial link (w/ console image)

2018-03-09 Thread David Lechner
Instead of manually configuring the interface, have you considered using ConnMan? AFAIK, the BeagleBone images ship with ConnMan enabled and the Wi-Fi in AP mode ("tethering" in ConnMan terms). The command line tool is `connmanctl`. The Arch Linux wiki has a nice page on how to use it. On

[beagleboard] Re: TinyDRM ST7735 with BeagleBone?

2018-02-21 Thread David Lechner
On 02/21/2018 01:18 PM, Drew Fustini wrote: On Wed, Feb 21, 2018 at 11:01 AM, David Lechner <da...@lechnology.com> wrote: Are you sure your phandles are correct here? They don't match the comments. Should it be < 16 0> instead? + reset-gpios = <

[beagleboard] Re: TinyDRM ST7735 with BeagleBone?

2018-02-21 Thread David Lechner
On 02/20/2018 10:19 PM, Drew Fustini wrote: On Sat, Feb 17, 2018 at 7:06 PM, David Lechner <da...@lechnology.com> wrote: Hi Drew, I haven't used it with a BeagleBone. Creating a device tree overlay should be easy though. If you want to use the backlight, you need to create a node at th

[beagleboard] Re: TinyDRM ST7735 with BeagleBone?

2018-02-17 Thread David Lechner
Hi Drew, I haven't used it with a BeagleBone. Creating a device tree overlay should be easy though. If you want to use the backlight, you need to create a node at the root level like this:     backlight: backlight {         compatible = "gpio-backlight";         gpios = < 44

Re: [beagleboard] Merge conflict when I do a git pull on origin/V4.4

2018-01-14 Thread David Lechner
Each new release is rebased, not merged, so you need to also rebase your work instead of pulling (merging). On 01/14/2018 01:19 AM, mindentr...@gmail.com wrote: Hi, Hope somebody can clear my confusion. I have pulled the kernel from https://github.com/beagleboard/linux. I am in origin/v4.4.

Re: [beagleboard] fbdev and ssd1306

2018-01-11 Thread David Lechner
On 1/10/18 10:39 PM, Mark Grosen wrote: Thanks, David. We were on the right track. I tried something similar but failed. I believe it's because the base dtb for the pocket has already assigned the p2_09 and p2_11 pins to the universal pinmux. I went back to the base dts and deleted the

Re: [beagleboard] fbdev and ssd1306

2018-01-10 Thread David Lechner
userspace that the pins seem to get assigned. Hopefully Robert can help. Mark On Tue, Jan 9, 2018 at 7:26 PM David Lechner <da...@lechnology.com <mailto:da...@lechnology.com>> wrote: Sounds like a question for RCN. I'm not up to speed on the pinctrl situation on BeagleBon

Re: [beagleboard] fbdev and ssd1306

2018-01-09 Thread David Lechner
After the boot finishes, I can use the device from userspace with no problems. It seems that i2c-1 is registered before the ssd1307fb probe happens. Are pins not assigned at this point? Mark On Mon, Jan 8, 2018 at 7:10 PM David Lechner <da...@lechnology.com <mailto:da...@lechnology.com&g

Re: [beagleboard] fbdev and ssd1306

2018-01-08 Thread David Lechner
n 1/8/18 8:09 PM, Mark Grosen wrote: mark@pocket:~$ dmesg | grep -P 'fb|ssd' [    2.165499] ssd1307fb 1-003c: failed to get VBAT regulator: -19 How does fbdev "find" the ssd1306? On Mon, Jan 8, 2018 at 5:51 PM David Lechner <da...@lechnology.com <mailto:da...@lechnology.com>&g

Re: [beagleboard] fbdev and ssd1306

2018-01-08 Thread David Lechner
On 01/08/2018 07:27 PM, Mark Grosen wrote: On Mon, Jan 8, 2018 at 10:08 AM David Lechner <da...@lechnology.com <mailto:da...@lechnology.com>> wrote: On 01/07/2018 05:59 PM, Mark Grosen wrote: > I am trying to get the kernel driver for the ssd1306 working with the Pocke

Re: [beagleboard] fbdev and ssd1306

2018-01-08 Thread David Lechner
On 01/07/2018 05:59 PM, Mark Grosen wrote: I am trying to get the kernel driver for the ssd1306 working with the PocketBeagle USB HUB cape which has a 64x32 SSD1306 display (https://www.tindie.com/products/microwavemont/oled-with-24-port-usb-hub-cape-for-pocketbeagle/) I know it is physically

Re: [beagleboard] Rotary quadrature encoder

2017-12-27 Thread David Lechner
On 12/27/2017 02:04 AM, bodetechn...@gmail.com wrote: I’m thinking about polling the “position” entry in the filesystem using a timer thread instead of using interrupts. My reasoning for this is that the rotary knob will be changed by hand and I do not expect to update the GUI cursors that

Re: [beagleboard] Board swapping between usb0 and usb1?

2017-12-26 Thread David Lechner
On 12/24/2017 04:40 PM, Stuart Longland wrote: Hi all, Is there a way to turn off one of the USB CDC-ether gadgets? My board and laptop seem to switch between using usb0 and usb1… just before I was connected via SSH to 192.168.7.2, with my laptop on .1… all fine. Set up a default route via

Re: [beagleboard] Rotary quadrature encoder

2017-12-26 Thread David Lechner
On 12/24/2017 03:22 PM, bodetechn...@gmail.com wrote: Brilliant, thanks both. Where can I find the driver? This is the driver, but you probably don't need to look at it: https://github.com/torvalds/linux/blob/master/drivers/input/misc/rotary_encoder.c This is the info you need to configure

Re: [beagleboard] Rotary quadrature encoder

2017-12-02 Thread David Lechner
On 12/01/2017 01:58 PM, Przemek Klosowski wrote: On Fri, Dec 1, 2017 at 1:53 PM, > wrote: Hi all I am developing on a beaglebone black and want to include a rotary knob to Control cursors on my display in user space etc.

[beagleboard] Intro to the GRX3 graphics library

2017-09-01 Thread David Lechner
Hi, I just wanted to share a graphics library I have been working on called the GRX3 graphics library. It is intended for users of small TFT and OLED screens. It can handle monochome screens (1bpp) and has touchscreen support among other things. Packages are available for Debian Stretch. I

Re: [beagleboard] Questions: Real Time Clock over I2C

2017-06-08 Thread David Lechner
On 06/08/2017 06:59 AM, Beagle Boner wrote: Hi, i´m using the latest Debian Image an I´m trying to set an external RTC as a hardwareclock for my BBB. I have a different RTC module (PCF8563) but basicly I stick to the following manual:

Re: [beagleboard] I2C pull-up resistance

2017-06-01 Thread David Lechner
You can find the BeagleBone Blue schematic at https://github.com/beagleboard/beaglebone-blue/blob/master/BeagleBone_Blue_sch.pdf On 06/01/2017 10:00 AM, cscho...@gmail.com wrote: I need to connect a handful of lidars (3) to the I2C bus of my BBBlue. My question is whether or not the BBBlue

Re: [beagleboard] Flashing BB Blue

2017-05-26 Thread David Lechner
Which image are you using? Did you edit /boot/uEnv.txt? from https://beagleboard.org/latest-images: To turn these images into eMMC flasher images, edit the /boot/uEnv.txt file on the Linux partition on the microSD card and remove the '#' on the line with

Re: [beagleboard] Re: I²C reads on broken out bus #1 always return 0

2017-05-12 Thread David Lechner
On 05/12/2017 10:48 AM, 'Torsten K.' via BeagleBoard wrote: So, I'm still convinced that it has to do with the hardware and/or the setup of the I²C bus of the beaglebone... Where else could I look? Have you stuck an oscilloscope or logic analyzer on it to see what is actually on the bus?

Re: [beagleboard] roboticscape library on the Blue - Motors reversed on rc_balance

2017-04-28 Thread David Lechner
Swapping your motor leads might be the easiest. However, if you are not using the BeagleMIP kit, you will probably have to do some more tuning, so recompiling your own program would be necessary. The header file spells out many of the options you can tweak including reversing motors and