Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: bellad on March 12, 2015, 08:37:56 AM

Title: gammu
Post by: bellad on March 12, 2015, 08:37:56 AM
hello,
i try , with gammu.tcz , put config
but i
Code: [Select]
too few parametersmy config :
Code: [Select]
[gammu]
port = /dev/ttyAMA0
connection = fbus
model = 3330

where put config file ?

picore 5.3.1

thank you

Title: Re: gammu
Post by: bellad on March 13, 2015, 06:35:05 AM
has anyone tried gammu on tinycore ?
Title: Re: gammu
Post by: bmarkus on March 13, 2015, 08:06:56 AM
It may help:

http://wammu.eu/docs/manual/config/
Title: Re: gammu
Post by: bellad on March 13, 2015, 08:35:11 AM
hello Béla
yes , i have doing ,
but then i start gammu ( only) or gammu with option -c /home/tc/gammurc ( i put gammurc in directory with
Code: [Select]
[gammu]
port = /dev/ttyAMA0
connection = fbus
model = 3330 )
)

i have always
Code: [Select]
too few parametersas if it does not found


Title: Re: gammu
Post by: bmarkus on March 13, 2015, 08:53:43 AM
I used it a long time ago unfortunately, so I can't help. Check gammu.org
Title: Re: gammu
Post by: Rich on March 13, 2015, 09:35:24 AM
Hi bellad
Try using either gammu-detect:
http://wammu.eu/docs/manual/utils/gammu-detect.html#gammu-detect
or gammu-config:
http://wammu.eu/docs/manual/utils/gammu-config.html#gammu-config
to get a starting point for a config file.
Title: Re: gammu
Post by: bellad on March 14, 2015, 02:29:11 AM
thank Rich , but never
i try with sudo and tc user
Code: [Select]
/sbin/getty -L ttyAMA0 115200 vt100but
Code: [Select]
setsid operation not permittedthis may be the beginning of the problem
Title: Re: gammu
Post by: bellad on March 16, 2015, 03:52:32 AM
have you a solution ?
Title: Re: gammu
Post by: bellad on March 16, 2015, 07:21:06 AM
 i try on Raspbian , same problem
i have try , on Raspbian , with interface CP2102 USB , it's good
on TC , the problem , usb dmesg
Code: [Select]
5.223053] usb 1-1.3: Product: CP2102 USB to UART Bridge Controller
but no  /dev/ttyUSB0

on Raspbian must be
 
Code: [Select]
zgrep CP21 /proc/config.gz
CONFIG_USB_SERIAL_CP210X=m
.

how to in TC ?

Thank you
Title: Re: gammu
Post by: bellad on March 16, 2015, 08:30:02 AM
ok , i have found : usb-serial-3.14.4-piCore+.tcz
it's good with cp21xx usb but no with serial rpi