Go to advanced search

by Killertechno
Tue Feb 20, 2018 11:54 am
Forum: Device Tree
Topic: Confirmation of gpio-poweroff Behavior
Replies: 19
Views: 13866

Re: Confirmation of gpio-poweroff Behavior

Hi to all!
Are these pins working on which version of Pi/Debian?
This looks perfect to use LTC2951 (1 or 2 version depending from enable state of DC/DC controller) through GPIO21 pin, is this right?
Image





But GPIO20 stands for.. what?
by Killertechno
Tue Feb 20, 2018 9:57 am
Forum: General discussion
Topic: linux-headers do not match kernel release
Replies: 3
Views: 2658

Re: linux-headers do not match kernel release

Clearly you should use the kernel-headers that is consistent with your kernel. I always have troubles compiling my custom kernel modules when using new Raspberry downloaded image. you can install package 'raspbian-kernel-headers'. I can't find package..... To "solve" using rpi-source (https://githu...
by Killertechno
Mon Feb 19, 2018 4:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [kernel] Permissions of character device?
Replies: 0
Views: 439

[kernel] Permissions of character device?

Hi to all, I wrote a kernel driver some time ago, now not working at all (I suppose due kernel/OS changements). After some copy&paste&try work I finally got my kernel driver working (more or less) driving GPIO pins as I need. ... static dev_t first; static struct cdev c_dev; static struct class *cl;...
by Killertechno
Sun Feb 18, 2018 6:07 pm
Forum: Compute Module
Topic: [CM3] HC-SR04 driver available?
Replies: 1
Views: 756

[CM3] HC-SR04 driver available?

Hy guys, I would like to connect HC-SR04 sensor to my CM3 board (I want use character device as exercise, nor Python library or similar) My OS: Raspbian GNU/Linux 8 (jessie) Kernel: 4.14.18 Processor: BCM2709 My old HC-SR04 driver is not working (maybe changed something in kernel/Debian), I have alr...
by Killertechno
Tue Feb 13, 2018 10:32 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Simple LED Driver for RPi 2 Model B v1.1
Replies: 10
Views: 4192

Re: Simple LED Driver for RPi 2 Model B v1.1

OMG, so now I need to handle device tree too!?!?
Can you tell me latest raspbian direct register access was working? I'm worried my kernel drivers will stop working if I'll update/upgrade....
by Killertechno
Mon Feb 12, 2018 5:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Simple LED Driver for RPi 2 Model B v1.1
Replies: 10
Views: 4192

Re: Simple LED Driver for RPi 2 Model B v1.1

Hi guys, I'm tryink kernel module for led blinking...
I'm using B+ model, I can get no GPIO blinking.
So, what's correct GPIO_BASE value?
Does LED 21 value stands for GPIO21 pin?
tHANKS.
by Killertechno
Mon Feb 12, 2018 4:59 pm
Forum: General discussion
Topic: Kernel module for fleshing led on Pi
Replies: 9
Views: 1811

Re: Kernel module for fleshing led on Pi

On the web there are tons of kernel examples, but not always working. I've developed simple kernel modules (x example driving GPIO pin for custom application), but when downloading new Raspberry image kernel module was working no more. Now I would like create my custom kernel module for Compute Modu...
by Killertechno
Mon Feb 12, 2018 2:56 pm
Forum: C/C++
Topic: Need help / Kernel module using GPIO
Replies: 9
Views: 3787

Re: Need help / Kernel module using GPIO

Hi guys, I apologize if I'm resuming old discussion, but it's just 3:45pm and I WANNA DIE!!!!!!!!!!!! I'm newbie about kernel, so to write my custom kernel module I need to take code pieces from several kernel examples and merge it toghether to make kernel module working. After much work (and much m...
by Killertechno
Mon Jan 22, 2018 5:01 pm
Forum: Compute Module
Topic: SDIO for Wifi/Bluetooth module
Replies: 93
Views: 45532

Re: SDIO for Wifi/Bluetooth module

Sorry guys, I hope to not bother nobody.... I'm migrating from ZeroW and I'm trying to avoid to use CM -> USB connector -> USB connector -> WiFi module. Are there WiFi modules (only 2,4 or both 2,4/5 GHz) compatible with Raspberry CM? I'm a bit confused, I can find a lot of WiFi modules with SDIO in...
by Killertechno
Mon Jan 22, 2018 4:33 pm
Forum: Compute Module
Topic: CM3 SDIO WiFi and eMMC
Replies: 4
Views: 3202

Re: CM3 SDIO WiFi and eMMC

Sorry guys, I need to quickly order CM and CM board and I'm still a bit confused: with SDIO interface available, can I put wifi card with SDIO interface? Are there chipsets/modules ready for CM? SD card on CM interface, is it avalable (for BOOT) only on CM3L? Or can I get microSD for booting also on...
by Killertechno
Sat Jan 20, 2018 11:13 am
Forum: General discussion
Topic: Compute IO Board Cost
Replies: 10
Views: 1579

Re: Compute IO Board Cost

handles enough power What????? I mean, does CM3 really needs so much power than CM1? I'm migrating from Zero (reading from serial port and writing to a second serial port using USB to serial adapter, just this), battery powered application to CM due to flexibility of CM board on OEM applications. S...
by Killertechno
Fri Jan 19, 2018 2:12 pm
Forum: General discussion
Topic: Compute IO Board Cost
Replies: 10
Views: 1579

Re: Compute IO Board Cost

Hi to all, I'm taking a look to Compute IO boards on RS: version 1 it's 20 euro while version 2 it's 113 euro (6 times greater).
At first look to schematics I can see only microSD card (absent in v1 board), so why so expensive?
by Killertechno
Fri Jan 19, 2018 12:17 pm
Forum: Compute Module
Topic: Rootfs in read-only: any advantage?
Replies: 4
Views: 984

Re: Rootfs in read-only: any advantage?

Ok, sorry, little misunderstanding: as "read only" I meant just filesystem in read-only.
by Killertechno
Fri Jan 19, 2018 11:05 am
Forum: Compute Module
Topic: Rootfs in read-only: any advantage?
Replies: 4
Views: 984

Re: Rootfs in read-only: any advantage?

Sorry, I don't understand difference between "filing system read-only" and " making the eMMC read-only" when using eMMC.
by Killertechno
Fri Jan 19, 2018 10:47 am
Forum: Compute Module
Topic: Rootfs in read-only: any advantage?
Replies: 4
Views: 984

Rootfs in read-only: any advantage?

Hi to all, usually Raspberry SD card is used in read/write mode for development purposes, so I've read in different threads it'll be safer set filesystem in read-only mode for final application (to prevent SD card damages due to continous read/write operations). https://www.acmesystems.it/save_micro...
by Killertechno
Mon Nov 13, 2017 4:04 pm
Forum: General discussion
Topic: Raspberry Pi for commercial use
Replies: 27
Views: 15349

Re: Raspberry Pi for commercial use

Ok, sorry if I resume discussion, but it's just to be sure I've correctly understood:

limits on Raspberry Pi for commercial use are just in terms of software and trademarks ("Raspberry Pi" and logo), but NO LIMITATIONS IN HARDWARE, is this right?
Thanks.
by Killertechno
Sun Oct 08, 2017 3:03 pm
Forum: Automation, sensing and robotics
Topic: Max31855 Temperature Readings Not Correct
Replies: 7
Views: 3475

Re: Max31855 Temperature Readings Not Correct

I'm using socket for K thermocouple, I can't reverse polarity.
I also checked pinout on PCB and it's correct.
by Killertechno
Thu Oct 05, 2017 3:31 pm
Forum: Automation, sensing and robotics
Topic: Max31855 Temperature Readings Not Correct
Replies: 7
Views: 3475

Re: Max31855 Temperature Readings Not Correct

As suggested from datasheet I placed 10nF ceramic capacitor between lines T+ and T-, I haven't placed capacitors between T+ and T- lines to GND as I haven't placed ferrite as reported on MAX31855 evaluation kit. I checked my program using default values (MAX31855-Linearized-Thermocouple-Temperature....
by Killertechno
Sun Aug 13, 2017 4:11 pm
Forum: Beginners
Topic: RTC Clock Accuracy
Replies: 11
Views: 2558

Re: RTC Clock Accuracy

You can run "ntpdate -q pool.ntp.org" to see how accurate your clock Hi to all, if I run command to sync time I'll get following results as example: -0.832806 seconds -0.000006 seconds +0.000806 seconds -0.032800 seconds -0.030006 seconds +0.234006 seconds -0.0000806 seconds ... I run command until...
by Killertechno
Thu Jun 15, 2017 7:47 am
Forum: General discussion
Topic: Disable WiFi
Replies: 6
Views: 13317

Re: Disable WiFi

Mmh, but this would disable COMPLETELY wifi/bt?
I was searching for something different: boot Pi (Zero W or Zero + external WiFi dongle) with wifi/bt disabled, then check for battery power, THEN enable wifi hardware if battery is ok. If not shutdown Pi.
Is there a way to do this?
Thanks.
by Killertechno
Wed Jun 14, 2017 7:48 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Sharing I2C devices when Pi powered off?
Replies: 0
Views: 304

Sharing I2C devices when Pi powered off?

Hi guys, I've seen board (Arduino) sharing same I2C device with Raspberry Pi. Arduino and Pi aren't powered at same time, so there isn't bus collision, ok. My doubt is this: when powered off, Raspberry I2C pins are in hi-z state? Shouldn't be better use some kind of buffer to "disable" I2C side of P...
by Killertechno
Sun Jun 11, 2017 1:29 pm
Forum: General discussion
Topic: Acceptable input voltages for power?
Replies: 62
Views: 77734

Re: Acceptable input voltages for power?

The specified voltage requirement for USB is 4.75V-5.25V. That is the standard range for 5V logic. Anything outside that range may cause damage to the RPi or connected USB devices. Ok, this is the "standard range". If "standard" range is up to 5,25 volt I suppose circuit will accept higher voltage ...
by Killertechno
Thu Jun 08, 2017 12:50 pm
Forum: Beginners
Topic: Nwtwork configuration Jessie (dhcpcd vs. interfaces)
Replies: 1
Views: 684

Nwtwork configuration Jessie (dhcpcd vs. interfaces)

Hi to all, I have a big confusion about nwtwork configuration, /etc/network/interfaces vs. dhcpcd, static ip vs. dhcp, alias (dhcp+static on same interface), eth0 and wlan0. /etc/network/interfaces file is used in ifup/down commands (as written inside file), but about ifup/down on wlan? May someone ...
by Killertechno
Thu Jun 01, 2017 9:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using kernel LED class
Replies: 3
Views: 2603

Re: Using kernel LED class

Hi guys, so how to assign heartbeat to led?
Is there a way to assign heartbeat trigger to general GPIO?
Thanks.
by Killertechno
Mon May 15, 2017 5:51 pm
Forum: Troubleshooting
Topic: [RPi3] SSH not working via wifi
Replies: 155
Views: 104659

Re: [RPi3] SSH not working via wifi

Ok, not same trouble, but using Zero W (with latest image) connected to home access point I can login from laptop using SSH. If I try to login using Putty (Windows) it hangs after password request. Regardless Putty (Windows) or SSH (Ubuntu), I can't connect from wired network (different from wireles...

Go to advanced search