Go to advanced search

by scruss
Sun Oct 21, 2018 5:07 pm
Forum: Raspbian
Topic: How can I prevent root to expand at first boot?
Replies: 25
Views: 7183

Re: How can I prevent root to expand at first boot?

if you leave off count , dd will read all the blocks it can. This will typically be the full size of the filesystem. bs harks back to tapes that really cared about the physical record size. Modern filesystems are less picky, and larger bs values generally result in faster transfers. The RPF Installi...
by scruss
Sun Oct 21, 2018 4:43 pm
Forum: Beginners
Topic: Autorun command :(
Replies: 2
Views: 71

Re: Autorun command :(

If this question is an XY problem and what you're really wanting to use is remote desktop, the Raspberry Pi comes with a complimentary licence for VNC Server . Setup instructions are in the link: https://www.raspberrypi.org/documentation/remote-access/vnc/ Those won't help you if you can only use a ...
by scruss
Thu Oct 18, 2018 1:06 pm
Forum: Gaming
Topic: Fullscreen PS1 emulator?
Replies: 7
Views: 365

Re: Fullscreen PS1 emulator?

no, that's a source modification in the Minecraft code, so it won't work for the PS1 emulator.
by scruss
Thu Oct 18, 2018 1:02 pm
Forum: Troubleshooting
Topic: GPIO UART won't go above 115200 baud
Replies: 8
Views: 248

Re: GPIO UART won't go above 115200 baud

The wiki is a little out of date from what I can see. Most of the tutorials on youtube and instructables advocate using an arduino as PWM source as a more stable solution than using direct output over GPIO18 Okay, fair enough. It wasn't using the serial data as a strobe. But you can probably contro...
by scruss
Wed Oct 17, 2018 3:21 pm
Forum: Java
Topic: Swing GUI
Replies: 6
Views: 245

Re: Swing GUI

This seems more of an Eclipse problem than a Raspberry Pi one. Can you try going to the "Order and Export" tab in Eclipse and move JRE System Library to the bottom? This is suggested here: https://stackoverflow.com/questions/860187/access-restriction-on-class-due-to-restriction-on-required-library-r...
by scruss
Tue Oct 16, 2018 12:21 pm
Forum: Troubleshooting
Topic: GPIO UART won't go above 115200 baud
Replies: 8
Views: 248

Re: GPIO UART won't go above 115200 baud

Is this the same Hyperion Project whose wiki states UART **DISCLAIMER: THE CURRENT SOLUTION IS NOT YET STABLE AND CONTAINS NOTICABLE GLITCHES** The solution was found unstable and no description exists for this solution. They offer many other connection solutions. It sounds like they were attempting...
by scruss
Mon Oct 15, 2018 3:30 pm
Forum: Other programming languages
Topic: Installing newer version of NodeJS on Pi 3
Replies: 54
Views: 57826

Re: Installing newer version of NodeJS on Pi 3

Marooned wrote:
Sun Oct 14, 2018 9:04 pm
Trying to manually install Node-RED on FreePBX image (based on Raspbian Stretch)
On what machine? If your machine isn't a 3 or a 3+, this thread isn't for you. Download the linux-armv6l tarball like the instructions said.
by scruss
Mon Oct 15, 2018 3:20 pm
Forum: Beginners
Topic: Add/Remove Software
Replies: 23
Views: 429

Re: Add/Remove Software

Sublime Text doesn't run on ARM.
by scruss
Mon Oct 15, 2018 12:10 am
Forum: Gaming
Topic: Fullscreen PS1 emulator?
Replies: 7
Views: 365

Re: Fullscreen PS1 emulator?

One of the pcsx_rearmed source links here: https://retropie.org.uk/docs/Playstation-1/ ? (please don't bump posts. We're not holding anything from you - if no-one here has answered within a couple of days, no-one here knows what you're asking. The Raspberry Pi is a learning computer: you've got to d...
by scruss
Sun Oct 14, 2018 9:22 pm
Forum: Gaming
Topic: Fullscreen PS1 emulator?
Replies: 7
Views: 365

Re: Fullscreen PS1 emulator?

You're following really old instructions. Anything about Raspberry Pi more than a couple of years old will be misleading.

Anyway, PCXSR is in the repos, and can be installed using:

Code: Select all

sudo apt install pcsxr
In the Configuration / Screen option, you can set full-screen.
by scruss
Sun Oct 14, 2018 2:20 pm
Forum: Beginners
Topic: Sw-420 Sensor
Replies: 2
Views: 103

Re: Sw-420 Sensor

The SW-420 only detects the presence of a vibration, not its magnitude.

The sensor does have an adjustable trigger threshold, though. You might be able to set the trigger to be very low, and count the number of pulses over a short period.
by scruss
Tue Oct 09, 2018 12:53 pm
Forum: General discussion
Topic: Please update raspbian ISO a little bit More often , and add rss feed for updating.
Replies: 6
Views: 228

Re: Please update raspbian ISO a little bit More often , and add rss feed for updating.

The RSS feed still works — https://downloads.raspberrypi.org/rss.xml — though it could use a bit of a clean. It still has dead torrents going back to 2013
by scruss
Tue Oct 09, 2018 12:49 pm
Forum: C/C++
Topic: RPi losing bytes from custom sensor(Atmel microcontroller) over UART
Replies: 8
Views: 238

Re: RPi losing bytes from custom sensor(Atmel microcontroller) over UART

What kind of flow control are you using?
Can you get all the bytes using grabserial? https://github.com/tbird20d/grabserial
by scruss
Mon Oct 08, 2018 3:25 pm
Forum: Python
Topic: Eric5 XML Parse Error
Replies: 2
Views: 70

Re: Eric5 XML Parse Error

A validating XML editor might also help with this. emacs' one is pretty good: it highlights errors in red by default, and has a Next/Previous error navigation in the XML menu. xmllint - which may be installed by default - is less helpful. While it indicates the error, xmllint shows the problems furt...
by scruss
Sun Oct 07, 2018 4:06 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Reset the serial port without rebooting
Replies: 2
Views: 98

Re: Reset the serial port without rebooting

Do you need to stay connected all the time? Basic serial ports don't have a concept of sync: they're asynchronous, lacking a clock to set sync. Disconnecting and reconnecting may not be ideal: some devices trickle data all the time, while others (mostly Arduinos) reset on new connections. You can re...
by scruss
Sat Oct 06, 2018 3:15 pm
Forum: General discussion
Topic: Why sell a 7" screen?
Replies: 69
Views: 1679

Re: Why sell a 7" screen?

I wonder if sales of the 7" have tapered off yet, and what people are using it for. I've listed the use cases that I think don't work for it, but what are the ones that do? CNC control screen. Kitchen computer. Embedded UI with Electron. Marine navigation display. POS (as in point-of-sale) video pl...
by scruss
Sat Oct 06, 2018 3:18 am
Forum: General discussion
Topic: Why sell a 7" screen?
Replies: 69
Views: 1679

Re: Why sell a 7" screen?

… So the consumers largely had no need or desire for it. But the 7" display is still being sold. These two statements largely contradict one another. When I was working in electronics mail-order retail, the Pi screen was a fairly solid seller. Not huge, but easily the biggest-selling display we had...
by scruss
Wed Oct 03, 2018 12:46 pm
Forum: Other programming languages
Topic: A compilable basic that uses line numbers for Pi?
Replies: 53
Views: 2081

Re: A compilable basic that uses line numbers for Pi?

What UI are you using that depends on a browser? Gnome. It's a lot more stable than it was a few months ago, but gnome-shell runs via JS (somehow) and controls much of the UX. If a browser pane crashed, it usually brought the rest of the system down with it, including networking so you couldn't get...
by scruss
Tue Oct 02, 2018 5:11 pm
Forum: Beginners
Topic: Sunwait + cron, but it's not working
Replies: 17
Views: 476

Re: Sunwait + cron, but it's not working

Another thought: which version of sunwait are you running? The original , or the later “sunwait4windows”? I've only ever run the original, and my suggestions have been based on it. Using ±hh.mm.ss for time offset rather than ±hh:mm:ss will likely confuse either version of sunwait. The code appears t...
by scruss
Mon Oct 01, 2018 2:34 pm
Forum: Other programming languages
Topic: A compilable basic that uses line numbers for Pi?
Replies: 53
Views: 2081

Re: A compilable basic that uses line numbers for Pi?

guymark, sounds like you really should do some reading about Linux. The Linux Command Line by William E. Shotts, Jr. is pleasantly written and has a nice pace. Expecting Linux on a modern computer to behave like MS-DOS isn't realistic: we've moved on from single-tasking, single-digit-megahertz compu...
by scruss
Mon Oct 01, 2018 2:24 pm
Forum: Automation, sensing and robotics
Topic: Getting air quality data
Replies: 3
Views: 193

Re: Getting air quality data

Have you asked MikroElektronika? They should probably support their boards.

These air quality sensors can be difficult about power and calibration. Some of them need considerable time to start up.
by scruss
Thu Sep 27, 2018 2:27 am
Forum: Troubleshooting
Topic: eSpeak Problems
Replies: 20
Views: 717

Re: eSpeak Problems

Yes. The packages I suggested don't exist on Jessie, so if you ask for help you might not be able to apply what other people suggest
by scruss
Wed Sep 26, 2018 6:45 pm
Forum: Other programming languages
Topic: A compilable basic that uses line numbers for Pi?
Replies: 53
Views: 2081

Re: A compilable basic that uses line numbers for Pi?

If you're following my ancient Running FreeBASIC on Raspberry Pi guide, it's best ignored. Like any advice about Raspberry Pi that's over a year old, it's likely wrong. Just download and install the most recent nightly binary from http://users.freebasic-portal.de/stw/builds/linux-armv6-rpi/ - and yo...
by scruss
Wed Sep 26, 2018 3:08 pm
Forum: Troubleshooting
Topic: Booting screen hang with Codings
Replies: 1
Views: 57

Re: Booting screen hang with Codings

The SD is corrupt, and the Raspberry Pi can't find the root partition to boot from. Try reformatting and reimaging
by scruss
Wed Sep 26, 2018 2:17 am
Forum: Other programming languages
Topic: A compilable basic that uses line numbers for Pi?
Replies: 53
Views: 2081

Re: A compilable basic that uses line numbers for Pi?

guymark, I got basic GPIO working with FreeBASIC. I've saved a copy here: scruss/FreeBASIC_Blink: GPIO LED Blink using FreeBASIC and WiringPi

Go to advanced search