Inappropriate ioctl for device erorrs

119 views
Skip to first unread message

Scott Newman

unread,
Jun 3, 2011, 11:01:07 PM6/3/11
to fowsr
Hello,

I'm trying to run fowsr on a TonidoPlug Linux machine running Ubuntu
10.04.

When I run, I get the errors below. Any help would be greatly
appreciated, I'm very excited to get this working!

root@TonidoPlug:~/code/weatherstation/fowsr-read-only/fowsr-1.0# ./
fowsr
000262A4 | 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ | ....
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 001
usb_os_find_devices: Found 007 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 006 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_get_driver_np returned 0
interface 0 already claimed by driver \'usbhid\', attempting to detach
it
usb_detach_kernel_driver_np returned 0
000262A8 | 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ | ....
failed to release interface: 0
failed to close interface: 0

root@TonidoPlug:~/code/weatherstation/fowsr-read-only/fowsr-1.0# ./
fowsr
000262A4 | 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ | ....
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 001
usb_os_find_devices: Found 007 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 006 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
USB error: could not get bound driver: No data available
usb_get_driver_np returned -61
000262A8 | 00 00 00 00 __ __ __ __ __ __ __ __ __ __ __ __ | ....
failed to release interface: 0
failed to close interface: 0

Arne-Jørgen Auberg

unread,
Jun 11, 2011, 3:12:32 PM6/11/11
to fowsr

Hi,

A couple of things to look out for:

- fowsr uses the libusb library, check that it is present.
- check that the /var directory is present and writable, this is where
the log files are generated.


BR

Arne-J.

Lorenzo

unread,
Jul 5, 2012, 3:34:41 AM7/5/12
to fo...@googlegroups.com
I'have the same problem and is a week that i can't solve it.

I have libusb but when i tipe "cd /var" i get "/tmp#" is this the problem?

i'm running fowsr 1.0-20110904-1  on OpenWRT, all usb driver are all well installed....

The files wunderground.sh and fowsr.sh (and others) contained "^M" char on each end of line that i remove but it still doesn't work giving me this result:

root@OpenWrt:/# fowsr -w
00414764 | 4F F5 43 2D __ __ __ __ __ __ __ __ __ __ __ __ | OõC-
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 002 on 001
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
USB error: could not get bound driver: No data available
usb_get_driver_np returned -61
00414760 | 4F F5 43 3F __ __ __ __ __ __ __ __ __ __ __ __ | OõC?
failed to release interface: 0
failed to close interface: 0
root@OpenWrt:/#

If i type "vi /var/wunderground.sh" i get an empty file.

HHHHHHHHHHHHEEEEEEEEEEEEEEEEEELLLLLLLLLLLLLPPPPPPPPPPPPPP!!! :-(
Reply all
Reply to author
Forward
0 new messages