Go to advanced search

by tomdean
Sat Oct 03, 2015 1:51 am
Forum: Troubleshooting
Topic: ssh freezes (without disconnecting) over ethernet
Replies: 19
Views: 9256

Re: ssh freezes (without disconnecting) over ethernet

I can prevent or at least reduce this issue with

> ping -i 10 192.168.2.4 > /dev/null 2>&1 &

at the start of my session.

If I use ' -i 30 ', I get hangs.
by tomdean
Fri Oct 02, 2015 8:49 pm
Forum: Troubleshooting
Topic: SSH frequenly pauses
Replies: 3
Views: 944

SSH frequenly pauses

I normally ssh from a linux desktop to the RPi B+. I do not use WiFi, having a cable connection. I have been experiencing frequent pauses on the order of 10 to 40 seconds, after some time in minutes. The interval between pauses seems to be related to activity. But, happens at least one time per 5 to...
by tomdean
Thu Oct 01, 2015 11:23 pm
Forum: Troubleshooting
Topic: calling crda to update world regulatory domain
Replies: 17
Views: 32542

Re: calling crda to update world regulatory domain

In case anyone is interested,

> ifquery --list --allow=hotplug

shows what interfaces will be brought up.

On my machine wlan0 was included. I commented out wlan0 from

/etc/network/interfaces.

No more messages.

Tom Dean
by tomdean
Thu Oct 01, 2015 11:13 pm
Forum: Troubleshooting
Topic: calling crda to update world regulatory domain
Replies: 17
Views: 32542

Re: calling crda to update world regulatory domain

I was looking at the problem all the time and skipped over it in my haste to blame wpa_supplicant! The total message line started with disk_by with the last half being the CRDA message. Two messages on the same line. The 90 second delay I saw in the boot process was due to a UUID line in /etc/fstab ...
by tomdean
Thu Oct 01, 2015 7:01 pm
Forum: Troubleshooting
Topic: calling crda to update world regulatory domain
Replies: 17
Views: 32542

Re: calling crda to update world regulatory domain

from journalctl, I found a hint. I will try to fix it later... Oct 01 11:35:48 raspberrypi wpa_supplicant[517]: Could not read interface wlan0 flags: No such device Oct 01 11:35:48 raspberrypi wpa_supplicant[517]: nl80211: Driver does not support authentication/association or connect commands Oct 01...
by tomdean
Thu Oct 01, 2015 6:06 pm
Forum: Troubleshooting
Topic: calling crda to update world regulatory domain
Replies: 17
Views: 32542

Re: calling crda to update world regulatory domain

Thanks.

I thought of that, but, ...

I tried blacklisting. A hang on boot where cfg80211 was doing its thing. So, something wants it.

I can not find where cfg80211.ko is loaded.

Any ideas?

Tom Dean
by tomdean
Thu Oct 01, 2015 7:17 am
Forum: Troubleshooting
Topic: calling crda to update world regulatory domain
Replies: 17
Views: 32542

calling crda to update world regulatory domain

I installed jessie on a SD Card. Booted Ok. Since I am using a USB disk, I > sudo apt-get update > sudo apt-get dist-upgrade ... a long time > sudo reboot I get lots of [ 41.449025] cfg80211: Calling CRDA to update world regulatory domain [ 44.639028] cfg80211: Calling CRDA to update world regulator...
by tomdean
Thu Oct 01, 2015 5:50 am
Forum: Advanced users
Topic: How do I determine which SD Card is Jessie
Replies: 2
Views: 971

Re: How do I determine which SD Card is Jessie

Sorry to answer my own question, but

> cat /etc/os-release

Tom Dean
by tomdean
Thu Oct 01, 2015 5:38 am
Forum: Advanced users
Topic: How do I determine which SD Card is Jessie
Replies: 2
Views: 971

How do I determine which SD Card is Jessie

I have two SD Cards, both show
> uname -r
4.1.7+

One is jessie. How do I determine which in a script?

Tom Dean
by tomdean
Wed Sep 30, 2015 2:53 am
Forum: Advanced users
Topic: apt-get upgrade Downgraded Kernel
Replies: 1
Views: 688

apt-get upgrade Downgraded Kernel

I built and installed a custom kernel. apt-get upgrade downgraded to the latest release. After thinking about it, this may be correct behavior????? > uname -r 4.1.8+ > cat /etc/apt/sources.list.d/*.list deb http://raspberrypi.collabora.com wheezy rpi deb http://mirrordirector.raspbian.org/raspbian/ ...
by tomdean
Sat Sep 26, 2015 6:44 am
Forum: Raspberry Pi OS
Topic: How do I get 4.1.7+ sources?
Replies: 10
Views: 5344

Re: How do I get 4.1.7+ sources?

Maybe an answer. > git clone https://github.com/raspberrypi/linux.git > git show-ref d2b2388d05d8a97b0ba14fcf2b71f19f66bc4d02 refs/heads/4.1.6+ d2b2388d05d8a97b0ba14fcf2b71f19f66bc4d02 refs/heads/4.1.7+ d2b2388d05d8a97b0ba14fcf2b71f19f66bc4d02 refs/heads/rpi-4.1.y d2b2388d05d8a97b0ba14fcf2b71f19f66b...
by tomdean
Sat Sep 26, 2015 2:08 am
Forum: Raspberry Pi OS
Topic: How do I get 4.1.7+ sources?
Replies: 10
Views: 5344

Re: How do I get 4.1.7+ sources?

From within the source tree, git seems to only recognize rpi-4.1.y
Tom Dean
by tomdean
Sat Sep 26, 2015 12:54 am
Forum: Raspberry Pi OS
Topic: How do I get 4.1.7+ sources?
Replies: 10
Views: 5344

Re: How do I get 4.1.7+ sources?

After cloning,

> git clone --depth 1 https://github.com/raspberrypi/linux.git

How do I checkout 4.1.7? 4.1.8? git seems to not know of them.

Tom Dean
by tomdean
Sat Sep 26, 2015 12:51 am
Forum: Raspberry Pi OS
Topic: How do I get 4.1.7+ sources?
Replies: 10
Views: 5344

Re: How do I get 4.1.7+ sources?

git clone --depth 1 https://github.com/raspberrypi/linux.git

Is missing linux/include/config/kernel.release
by tomdean
Fri Sep 25, 2015 10:53 pm
Forum: Raspberry Pi OS
Topic: How do I get 4.1.7+ sources?
Replies: 10
Views: 5344

Re: How do I get 4.1.7+ sources?

I have what I thought was the sources > /home/tomdean/RaspberryPi/linux/include/config/kernel.release 4.1.7+ > cd gpio My makefile TOOL_HOME=/home/tomdean/RaspberryPi/tools/ CPU_CHIP=arm-bcm2708 HOST_MACH=gcc-linaro-arm-linux-gnueabihf-raspbian-x64 EXEC_PATH=$(TOOL_HOME)/$(CPU_CHIP)/$(HOST_MACH)/bin...
by tomdean
Fri Sep 25, 2015 10:42 pm
Forum: Raspberry Pi OS
Topic: How do I get 4.1.7+ sources?
Replies: 10
Views: 5344

How do I get 4.1.7+ sources?

I seem to be backing around in a circle, slowly!
> gcc --version
gcc (Raspbian 4.8.4-1) 4.8.4
> uname -r
4.1.7+

Where is the source for 4.1.7+?

Tom Dean
by tomdean
Sun Sep 06, 2015 2:31 am
Forum: Advanced users
Topic: Where are the linux-headers for 4.1.6+
Replies: 4
Views: 1225

Re: Where are the linux-headers for 4.1.6+

I found rpi-source.

Code: Select all

https://github.com/notro/rpi-source/wiki
rpi-source -d . 
does all the set up for building a driver
I had to install gcc-4.7 because the version of 4.8 in the repository is buggy.
After that, my driver build went smoothly.

Thanks,
Tom Dean
by tomdean
Sat Sep 05, 2015 6:53 pm
Forum: Advanced users
Topic: Where are the linux-headers for 4.1.6+
Replies: 4
Views: 1225

Where are the linux-headers for 4.1.6+

I am building a driver.

Where are the headers?

Code: Select all

> uname -a                                    
Linux raspberrypi 4.1.6+ #810 PREEMPT Tue Aug 18 15:19:58 BST 2015 armv6l GNU/Linux
by tomdean
Fri Sep 04, 2015 2:58 pm
Forum: Troubleshooting
Topic: Mounting Problem.
Replies: 2
Views: 542

Re: Mounting Problem.

My group is netdev. Is _netdev correct?
by tomdean
Fri Sep 04, 2015 5:25 am
Forum: Troubleshooting
Topic: Realtek 8188cu very slow
Replies: 0
Views: 448

Realtek 8188cu very slow

I have a Realtek 8188cu from adafruit, item 1012. I have a problem with SSH speed on the order of 1 character per 2 seconds. If I boot the RPi and ping from a Linux host on the same router I see two cases. When the wifi is working OK, the ping time is 0.4msec. But, about 40% of the boots result in a...
by tomdean
Fri Mar 08, 2013 11:17 pm
Forum: C/C++
Topic: ADS1115 Problem with C Code
Replies: 7
Views: 10606

Re: ADS1115 Problem with C Code

Several articles about using python and i2c.
None using C.
by tomdean
Fri Mar 08, 2013 5:09 am
Forum: C/C++
Topic: ADS1115 Problem with C Code
Replies: 7
Views: 10606

Re: ADS1115 Problem with C Code

Has anyone worked with C and the ADS1115?
by tomdean
Wed Mar 06, 2013 9:44 pm
Forum: C/C++
Topic: ADS1115 Problem with C Code
Replies: 7
Views: 10606

ADS1115 Problem with C Code

I have an ADS1115 from adafruit connected to my rpi i2c 1. I am using ain0 single ended. I use a breadboard and a jumper to connect ain0 either to ground or vdd. I can read the ads1115 from the command line with i2cset and i2cget. Ok. I can read the ads1115 with the adafruit python code. Ok. I can r...
by tomdean
Mon Mar 04, 2013 12:14 am
Forum: General discussion
Topic: Where is CS2 from Broadcom 2835?
Replies: 3
Views: 892

Re: Where is CS2 from Broadcom 2835?

Yes, I have the same schematic.

The question remains, is one of the other GPIO's the 3rd CS?
by tomdean
Sun Mar 03, 2013 8:27 pm
Forum: General discussion
Topic: Where is CS2 from Broadcom 2835?
Replies: 3
Views: 892

Where is CS2 from Broadcom 2835?

Looking at the Broadcom peripherals manual, page 155, CS2 is listed.

Where is this on the Raspberry PI?

The spi drivers do not use it, but, it may be easy to add.
spi_bcm2708 defines SPI_CS_CSPOL[2-0]
but only SPI_CS_CS_10 and SPI_CS_CS_01

Tom Dean

Go to advanced search