I just found how to install python on piCorePlayer 3.02:
tce-load -wi python
So now I do have python ;-)
But what to do now?
How can I install the classes defined at
https://github.com/daniel-j/Adafruit-Si4713-RPi ?
Thanks, Gerhard
Adafruit Si4713
https://www.adafruit.com/product/1958
Python class to get it running
https://github.com/daniel-j/Adafruit-Si4713-RPi
gestein's Profile: http://forums.slimdevices.com/member.php?userid=66143
View this
first, but my knowledge is still very limited.
Thanks also for the I2C. Good to know.
So I just need to know how to automatically start the python script at
startup and where to put the python files.
Or is there no restriction about the location of the files?
Thanks and best regards
Gestein
I see. Thanks.
So I am on the right way ;-)
Is there a special/common place to put these files?
For installation of the missing python classes, I have to do:
tce-load -wi python-RPi.GPIO.tcz
Correct?
There is a hint at the developers homepage, that the I2C has to be
enabled.
How to do this?
Hello,
Unfortunately I have been away for some time.
Now I set up an new piCorePlayer and installed python GPIO
tce-load -wi python-RPi.GPIO.tcz
After this I made a df
Code:
FilesystemSize Used Available Use% Mounted on
tmpfs
Now - I think - I managed to get the smbus-modul.
Code:
wget http://tinycorelinux.net/7.x/armv6/tcz/py-smbus.tcz
tce-load -i ./py-smbus.tcz
Is this correct? At least I can start now the python-script.
Btw:
There is no
There was no error.
Code:
tmpfs on / type tmpfs (rw,relatime,size=400516k)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,relatime)
When I do this
Code:
sudo mount /dev/mmcblk0p1 /mnt/mmcblk0p1
I get the directory, but there are no files.
It's empty.
Gerhard
gestein's Profile:
A simple reboot and a mount again and I can see the files.
Sorry for this.
I2C and I2S are both on.
dtparam=i2c=on,spi=on,i2s=on
Thanks
Gerhard
gestein's Profile: http://forums.slimdevices.com/member.php?userid=66143
Hi,
After having some very busy time I am back to my raspberry ;-)
I am still trying to get the fm model run on my pi, but I am facing a
new problem now.
When I start the radio.py, I get the following error:
Code:
Thanks a lot for this.
The modul is in the package.
There is also the following entry in modules.dep
Code:
kernel/drivers/media/radio/si4713/si4713.ko:
kernel/drivers/media/v4l2-core/v4l2-common.ko
kernel/drivers/media/v4l2-core/videodev.ko
While searching the net for some hints, I found that I probably need to
do a "sudo modprobe Si4713".
But I get the error:
Modprobe: module Si4713 not found in modules.dep
Do I need the module?
Where to get it from and how to install it?
Thanks and best regards
Gerhard
Dear paul-,
I think this was the missing link.
Now I managed to load this module (it is in the standard package).
I still don't know how to place all the new modules (media.ko,
videodev.ko, v4l2-common.ko, si4713.ko) correctly.
All the files are gone after a reboot.
So I just made the
Does anyone know how to solve this?
Is there still a module missing?
How could I check if i2c is working properly?
Which module would create the missing smbus entries?
Or do I use a wrong smbus driver/module?
Thanks for any hint.
Best regards
Gerhard
14 matches
Mail list logo