Go to advanced search

by mattomatto
Tue Dec 05, 2017 5:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c touchscreen not recognised by X
Replies: 1
Views: 479

i2c touchscreen not recognised by X

Hi there, I have an i2c touchscreen running on the compute module 3. I have compiled supplied drivers as a kernel module and inserted the module using insmod. I can then see data being correctly received from the screen via dmesg. I therefore am assuming that the driver is working correctly. The dri...
by mattomatto
Mon Dec 04, 2017 11:26 am
Forum: Compute Module
Topic: CM3 i2c0 Not working on pins 28 & 29
Replies: 5
Views: 1234

Re: CM3 i2c0 Not working on pins 28 & 29

Thanks very much PhilE, for some reason I thought i2c lines were down by default. I added external pull ups, disabled internal pulling, and it now works.
by mattomatto
Fri Dec 01, 2017 5:15 pm
Forum: Compute Module
Topic: CM3 i2c0 Not working on pins 28 & 29
Replies: 5
Views: 1234

Re: CM3 i2c0 Not working on pins 28 & 29

Thanks for the reply raspi-gpio get shows the pins as being configured correctly: ... BANK1 (GPIO 28 to 45): GPIO 28: level=0 fsel=4 alt=0 func=SDA0 GPIO 29: level=0 fsel=4 alt=0 func=SCL0 ... I have also made a blob which sets those pins to 'no-pulling', and tried with and without that blob.
by mattomatto
Fri Dec 01, 2017 4:25 pm
Forum: Compute Module
Topic: CM3 i2c0 Not working on pins 28 & 29
Replies: 5
Views: 1234

CM3 i2c0 Not working on pins 28 & 29

Hi there, I have clean install of Raspbian Stretch on a compute module 3. In /boot/config.txt I have added the following line: dtoverlay=i2c0-bcm2708 Now when running i2cdetect -y 0, I see activity on pins 0 and 1, as expected. I change the line in /boot/config.txt to: dtoverlay=i2c0-bcm2708,sda0_pi...
by mattomatto
Mon Oct 30, 2017 5:34 pm
Forum: Troubleshooting
Topic: Using fbi with OpenGL fkms
Replies: 0
Views: 211

Using fbi with OpenGL fkms

Hey all, I am trying to display an image using fbi. When using fbi on the command line: OpenGL disabled - works fine. OpenGL kms - works fine. OpenGL fkms - crashes. Unfortunately my application required OpenGL, but I'm using the DPI display output which only works with fkms. Anyone know of this pro...
by mattomatto
Fri Oct 27, 2017 3:25 pm
Forum: OpenGLES
Topic: OpenGL on DPI display
Replies: 1
Views: 1595

Re: OpenGL on DPI display

Ahh. FakeKMS does the job.

:)
by mattomatto
Fri Oct 27, 2017 3:22 pm
Forum: OpenGLES
Topic: OpenGL on DPI display
Replies: 1
Views: 1595

OpenGL on DPI display

Hi there,

Does anybody know if it's possible to drive a DPI display using OpenGL?

To get my DPI display to work, I have to disable OpenGL. But my application requires OpenGL.

I'm using raspian on the compute module 3.

Many thanks,

Matt
by mattomatto
Fri Oct 27, 2017 2:04 pm
Forum: Troubleshooting
Topic: DPI output not working past GPU test
Replies: 1
Views: 440

Re: DPI output not working past GPU test

Turns out it was OpenGL overriding the output settings and switching it back to HDMI output.

Disabling OpenGL in rasp-config did the trick.


:D
by mattomatto
Fri Oct 27, 2017 11:35 am
Forum: Troubleshooting
Topic: DPI output not working past GPU test
Replies: 1
Views: 440

DPI output not working past GPU test

Hi there, I'm trying to use the DPI output with a compute module 3. When booting the pi, the screen shows the 'rainbow screen', indicating that the settings are correct. When that screen disappears, the screen goes blank. I'm using the dpi24 overlay, have configured the display settings in /boot/con...
by mattomatto
Sun Oct 09, 2016 6:00 pm
Forum: Advanced users
Topic: Need help executing a script!
Replies: 5
Views: 1974

Re: Need help executing a script!

Thanks Pilosopong Tasso, but I can't get the script in that thread to actually open a new terminal. I've managed to get the lxterminal window open on login and run whatever bash script I choose by putting: @lxterminal --command "/path/to/script" at the end of /home/pi/.config/lxsession/LXDE-pi/autos...
by mattomatto
Sun Oct 09, 2016 12:10 pm
Forum: Advanced users
Topic: Need help executing a script!
Replies: 5
Views: 1974

Re: Need help executing a script!

Thanks for the reply Imarmisa. I removed the script and 'post-up' no longer could run it. I then did as you suggested (also needed 'python3' in there to get it working) , but that gave the same result. The chromecast connects, but there is no sink created. If I remove the command from crontab, and r...
by mattomatto
Sat Oct 08, 2016 5:17 pm
Forum: Advanced users
Topic: Need help executing a script!
Replies: 5
Views: 1974

Need help executing a script!

Hi all, I'm trying to auto run a python program called mkchromecast when the wifi is connected. mkchromecast creates an audio sink and connects to google chromecasts. I wrote this script called launch.sh to run the program: #! /bin/sh python3 /home/pi/mkchromecast/mkchromecast.py -c wav This works p...
by mattomatto
Thu Jul 05, 2012 10:02 am
Forum: Troubleshooting
Topic: Static IP issues
Replies: 2
Views: 1239

Re: Static IP issues

Hey Burngate, thanks for the reply

The netmask is definitely set as 255.255.255.0...

I actually accidentally posted this thread twice and this one is being used:
http://www.raspberrypi.org/phpBB3/viewt ... 28&t=10267
by mattomatto
Thu Jul 05, 2012 9:04 am
Forum: Troubleshooting
Topic: Static IP issues
Replies: 8
Views: 2258

Re: Static IP issues

If I try to ping a website, I get unknown host. My other machines on the network see the router fine, but not the pi. I'm using the command line, but it doesn't work in lxde either. I'm not sure what problems I would be looking for in the router... there are no IP addresses reserved and the LAN conf...
by mattomatto
Wed Jul 04, 2012 10:37 pm
Forum: Troubleshooting
Topic: Static IP issues
Replies: 8
Views: 2258

Re: Static IP issues

Thanks for the reply. I have tried setting the IP as follows: iface eth0 inet static address 192.168.1.121 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 After a reboot I try pinging anything on my network and I get "destination unreachable" :(
by mattomatto
Wed Jul 04, 2012 8:29 pm
Forum: Troubleshooting
Topic: Static IP issues
Replies: 8
Views: 2258

Static IP issues

Hi there, My router is on 192.168.1.1 I changed my pi ip from dhcp to static in /etc/network interfaces The problem is that if I give it the IP 192.168.2.2, I can ping it from another machine but I can't ping my router from the pi. If I give it an address on 192.168.1.x I get "Connect: Network unrea...
by mattomatto
Wed Jul 04, 2012 8:11 pm
Forum: Troubleshooting
Topic: Static IP issues
Replies: 2
Views: 1239

Static IP issues

Hi there, If I use dhcp on the pi, it gets IP 192.168.2.2 and all works fine. However, when I change it to static, if I use any other IP than 192.168.2.2 then it can't seem to find any other machines on the network. Everything else on my network is on 192.168.1.x but If I try and put the pi on somet...

Go to advanced search