I modified include/ieee802154.h in zigbee-tools and changed the
definition of N_IEEE802154 to match the value in include/linux/tty.h in
the linux kernel

 

From: Onorato Vaticone [mailto:onor...@onoratovaticone.it] 
Sent: 20 July 2011 11:05
To: Steven Richardson
Subject: Re: [Linux-zigbee-devel] ioctl: TIOCSETD: Invalid argument

 

It give me the same problem ... 

$: sudo izattach /dev/ttyUSB0
ioctl: TIOCSETD: Invalid argument

what have you done to fix it ? 


many thanks.




Il 20/07/2011 11:43, Steven Richardson ha scritto: 

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






-- 
Onorato Vaticone
Computer Engineer
mobile   : +39 333 60 48 864
web      : www.onoratovaticone.it
mail     : onor...@onoratovaticone.it
skype    : onorato.vaticone
linkedIn : http://www.linkedin.com/in/onoratovaticone
------------------------------------------------------------------------------
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