I've solved this problem. I found that the definition of N_IEEE802154
was different in zigbee-tools to the definition in the kernel tty.h
which meant that IOCTL was using an undefined argument even though I had
the latest source for both.

 

Hope this help someone else

 

Steven

 

From: Steven Richardson [mailto:stev...@idc.gb.com] 
Sent: 18 July 2011 13:41
To: linux-zigbee-devel@lists.sourceforge.net
Subject: [Linux-zigbee-devel] ioctl: TIOCSETD: Invalid argument

 

Hi, I've just pulled the latest deval head for the linux-zigbee kernel
and zigbee-tools and compiled and installed them both. 

 

I've enabled:

CONFIG_IEEE802154

CONFIG_MAC802154

CONFIG_IEEE802154_DRIVERS

IEEE802154_SERIAL

 

But still cannot use izattach to connect my Econotag via ttyS2. I always
get ioctl: TIOCSETD: Invalid argument

 

I Have tried compiling the tools with kernel-compat and without but no
difference. What am I doing wrong or what else can I check?

 

Thanks Steven

 

IDC Limited
Keynes House
Chester Park
Alfreton Road
Derby
DE21 4AS

 

Tel: 01332 604030
Fax: 01332 604031
Website: http://www.idc.gb.com

 

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to