Skip to contentSkip to conversation

Problems with fakeserial

DISCUSSION Martin Townsend 2 participants 6 messages Sep 30, 2014 – Oct 1, 2014 IEEE 802.15.4

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to use the virtual-ieee802154-serial code but when I use izattach I get the following error msg:

root@10:/etc/init.d# izattach /dev/fakeserial0
ioctl: TIOCSETD: Invalid argument

I've tried ensuring the baud rates match and still get the same error.

I'm using the following git repos for the userspace tools, is this still correct?
git://git.code.sf.net/p/linux-zigbee/linux-zigbee

- Martin.

maintainer
#1 lore raw

Hi Martin,

first, the serial things came never into mainline. I like the idea to abstract a serial protocol above the 802.15.4 layer which run as firmware on several devices. But the serial driver never came into mainline.

Quoted 7 lines · Martin Townsend

Hi,

I'm trying to use the virtual-ieee802154-serial code but when I use izattach I get the following error msg:

root@10:/etc/init.d# izattach /dev/fakeserial0
ioctl: TIOCSETD: Invalid argument

Do you ported and loaded the serial driver module? I also need to say that I never tested the serial driver or virtual-ieee802154-serial stuff. Maybe simple original author Tony Cheneau [0]. Maybe he has time to help here a little bit.

Quoted 5 lines

I've tried ensuring the baud rates match and still get the same error.

I'm using the following git repos for the userspace tools, is this still correct?
git://git.code.sf.net/p/linux-zigbee/linux-zigbee

Yes, sad but should be correct.

- Alex

[0] [email protected]

#2 lore raw

Hi Alex,

Do you know where I can find the serial driver module?

- Martin.

Quoted 1 line · Alexander Aring

Do you ported and loaded the serial driver module?

maintainer
#3 lore raw

Hi Martin,

Quoted 4 lines · Martin Townsend

Hi Alex,

Do you know where I can find the serial driver module?

yes, the last known version for me is this what Tony Chenau did. [0]

If the rework is finish, we should think about a serial protocol specification and a mainlineable driver.

And now the funny part:
Then I would write a contiki app which allow to talk this protocol, then you use contiki as firmware. Then you would use contiki for that you don't using contiki 802.15.4/6LoWPAN stack anymore. :D

- Alex

[0] https://github.com/linux-wpan/linux-wpan-next/commit/546618171de2be30236aab86f3ee323b425e2bf5

maintainer
#4 lore raw
Quoted 10 lines · Alexander Aring

Hi Martin,

Quoted 4 lines · Martin Townsend

Hi Alex,

Do you know where I can find the serial driver module?

yes, the last known version for me is this what Tony Chenau did. [0]

s/Chenau/Cheneau/

and please don't forget the fix for error handling at lowpan_rcv. When do you want to send a new patch version for that?

- Alex

#5 lore raw

Hi Alex,

Just testing the new changes now :)

- Martin.

Quoted 20 lines · Alexander Aring
Quoted 9 lines · Alexander Aring

Hi Martin,

Quoted 4 lines · Martin Townsend

Hi Alex,

Do you know where I can find the serial driver module?

yes, the last known version for me is this what Tony Chenau did. [0]

s/Chenau/Cheneau/

and please don't forget the fix for error handling at lowpan_rcv. When do you want to send a new patch version for that?

- Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html