You are not logged in.

#1 2013-04-25 14:39:26

mangelic
Member
Registered: 2013-04-25
Posts: 2

pyserial Raspberry works on Raspbian but doesn't work on Arch?

Hi everyone, I am new on Arch and I have installed the pyserial module for python. I want to use raspberry pi UART with Xbee modules. First of all, the system and hardware works fine in raspbian and now I want to change the OS. I installed the packages python and python2 and I disabled the serial console with "systemctl disable getty@ttyAMA0.service" "systemctl stop getty@ttyAMA0.service" commands. I have already commented the line on /boot/config.txt "console=ttyAMA0 etc...". The problem is that when I test the serial port using a loopback (Tx connected directly with Rx) works fine but when I connect the Xbee I can send messages but not receive them. I use the "_init_" function in the pyserial module to configure baudrate and parity and timeout bla bla. But it seems to fail and doesn't match with Xbee config. Hardware is not a problem because in raspbian works great, it seems to be a software issue. Could somebody help me?

Thanks and regards!

Offline

#2 2013-04-25 14:59:50

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: pyserial Raspberry works on Raspbian but doesn't work on Arch?

Pi wiki:

"Support for the ARM architecture is provided on http://archlinuxarm.org not through posts to the official Arch Linux Forum. Any posts related to ARM specific issues will be promptly closed per the Arch_Linux_Distrubution_Support_ONLY policy"

Sorry

Offline

#3 2013-04-25 15:27:26

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: pyserial Raspberry works on Raspbian but doesn't work on Arch?

As noted by vacant.

Our policy :: https://wiki.archlinux.org/index.php/Fo … pport_ONLY
Closed...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB