I also use Feodora 12 (64 bit) and it works for me...
But I have done two modification that might be why
1) I added group 'dialout' to my user (all the serial devices use group dialout)
2) I have SELinux disabled...
Thinking (and doing some strace)
motelist does an stat before printing - and if that fails... (please attach
such a run yourself)
Does motelist work when being root?
/RogerL
$ strace motelist
- - -
open("/sys/bus/usb/drivers/usb/usb7/idProduct", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1d051360) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(3, "0001\n", 4096) = 5
read(3, "", 4096) = 0
close(3) = 0
open("/sys/bus/usb/drivers/usb/usb8/idVendor", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1d051360) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(3, "1d6b\n", 4096) = 5
read(3, "", 4096) = 0
close(3) = 0
open("/sys/bus/usb/drivers/usb/usb8/idProduct", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1d051360) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(3, "0001\n", 4096) = 5
read(3, "", 4096) = 0
close(3) = 0
open("/sys/bus/usb/drivers/usb/6-2/manufacturer", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1d051360) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(3, "EISTEC\n", 4096) = 7
read(3, "", 4096) = 0
close(3) = 0
open("/sys/bus/usb/drivers/usb/6-2/product", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1d051360) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(3, "Mulle expension board v1.1\n", 4096) = 27
read(3, "", 4096) = 0
close(3) = 0
open("/sys/bus/usb/drivers/usb/6-2/serial", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1d051360) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(3, "A4RCXO9J\n", 4096) = 9
read(3, "", 4096) = 0
close(3) = 0
open("/sys/bus/usb/drivers/usb/6-2/devnum", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff1d051360) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(3, "2\n", 4096) = 2
read(3, "", 4096) = 0
close(3) = 0
readlink("/sys/bus/usb/drivers/usb/6-2",
"../../../../devices/pci0000:00/0000:00:1d.0/usb6/6-2", 4095) = 52
lstat("/sys/bus/usb/drivers/usb/6-2/6-2:1.0/driver", {st_mode=S_IFLNK|0777,
st_size=0, ...}) = 0
readlink("/sys/bus/usb/drivers/usb/6-2/6-2:1.0/driver",
"../../../../../../bus/usb/drivers/ftdi_sio"..., 4095) = 42
open("/sys/bus/usb/drivers/usb/6-2/6-2:1.0/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, /* 18 entries */, 32768) = 616
lstat("/sys/bus/usb/drivers/usb/6-2/6-2:1.0/ttyUSB2", {st_mode=S_IFDIR|0755,
st_size=0, ...}) = 0
getdents(3, /* 0 entries */, 32768) = 0
close(3) = 0
stat("/dev/usb/tts/2", 0x174d130) = -1 ENOENT (No such file or directory)
stat("/dev/ttyUSB2", {st_mode=S_IFCHR|0660, st_rdev=makedev(188, 2), ...}) = 0
write(1, "Reference Device Desc"..., 114Reference Device
Description
---------- ---------------- ---------------------------------------------
) = 114
write(1, "A4RCXO9J /dev/ttyUSB2 EIST"..., 62A4RCXO9J /dev/ttyUSB2
EISTEC Mulle expension board v1.1
) = 62
exit_group(0) = ?
________________________________________
Från: [email protected]
[[email protected]] för Francesco Ficarola
[[email protected]]
Skickat: den 26 augusti 2010 08:51
Till: TinyOS - Help
Ämne: Re: [Tinyos-help] motelist doesn't work for iris ?
nithin k n ha scritto:
> i use linux fedora 12 os ,, and wen i give "motelist" in terminal , it
> gives "No devices found".
> can anyone tel me wat i ve to do ... and also the procedure to use iris
> ,, from basic installation
> Nithin keen
Yes, it is a known problem. I use Ubuntu and TinyOS 2.1.0 with an Iris
Mote and motelist doesn't work. However you can use the linux command:
dmesg.
--
Francesco Ficarola <francesco.ficarola_at_gmail_dot_com>
Presidente LUG-PV (http://lugpv.netsons.org)
Mailing List: lugpv_at_lists.linux_dot_it
[GPG KeyID: 0xDBA99D92]
http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc
Il nuovo modo di fare ricerca: www.tradoogle.it
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help