Message boards : Number crunching : Running on FreeBSD
Author | Message |
---|---|
Hi, naoko# uname -a FreeBSD naoko.local 9.0-RELEASE FreeBSD 9.0-RELEASE #20: Tue Feb 28 22:52:39 MSK 2012 root@naoko.local:/usr/obj/usr/src/sys/NAOKO i386 with linux emulation port '/usr/ports/emulators/linux_base-f10/' When I attach the sensor, the system finds it: naoko# dmesg ... uhid2: <microchip radioactiveathome.org GRS, class 0/0, rev 1.10/3.01, addr 2> on usbus1 ... naoko# usbconfig ... ugen1.2: <radioactiveathome.org GRS microchip> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON But when I get the workunit from radioactive@home the app radac_1.77_i686-pc-linux-gnu__nci can't find the sensor (stderr.txt): Debug: num_samples: 30 get_sensor_list(): Position: 0 vid: 16c0 pid: 05df vendor obdev.at product DataStore get_sensor_list(): Position: 1 vid: 16c0 pid: 05df vendor obdev.at product radioactiveathome.org GRS get_sensor_list(): Position: 2 vid: 16c0 pid: 05df vendor obdev.at product radioactiveathome.org GRS get_sensor_list(): Position: 3 vid: 16c0 pid: 05df vendor obdev.at product radioactiveathome.org GRS get_sensor_list(): Position: 4 vid: 16c0 pid: 05df vendor obdev.at product radioactiveathome.org GRS get_sensor_list(): Position: 5 vid: 04d8 pid: f6fe vendor microchip product radioactiveathome.org GRS Debug: get_sensor_list(): exiting Debug: enabled; sample time: 240, num_samples: 30 Radac $Rev: 585 $ starting... Debug (openDevice): 16c0:05df obdev.at/DataStore not found or could not be accessed: The specified device was not found Debug (openDevice): 16c0:05df obdev.at/radioactiveathome.org GRS not found or could not be accessed: The specified device was not found Debug (openDevice): 16c0:05df obdev.at/radioactiveathome.org GRS not found or could not be accessed: The specified device was not found Debug (openDevice): 16c0:05df obdev.at/radioactiveathome.org GRS not found or could not be accessed: The specified device was not found Debug (openDevice): 16c0:05df obdev.at/radioactiveathome.org GRS not found or could not be accessed: The specified device was not found Debug (openDevice): 04d8:f6fe microchip/radioactiveathome.org GRS not found or could not be accessed: The specified device was not found Could not find any of the devices listed in sensors.xml: The specified device was not found Does anyone know how to deal with it? What is inside get_sensor_list? how does it work? what API is used to work with USB? Regards, Dmitry. | |
ID: 1814 | Rating: 0 | rate:
![]() ![]() ![]() | |
The sources of rev 1.77 are here: http://radioactiveathome.org/boinc/forum_thread.php?id=99 it uses libusb on Linux. | |
ID: 1815 | Rating: 0 | rate:
![]() ![]() ![]() | |
I didn't manage to find the exact cause of the problem. It seems that libusb that is included into linux emulator doesn't find the device requested (neither in unprivileged no in root mode) | |
ID: 1817 | Rating: 0 | rate:
![]() ![]() ![]() | |
'Anonymous platform' solves the problem, as you can then replace the executables. | |
ID: 1818 | Rating: 0 | rate:
![]() ![]() ![]() | |
Thanks for the info! | |
ID: 1819 | Rating: 0 | rate:
![]() ![]() ![]() | |
It works! | |
ID: 1826 | Rating: 0 | rate:
![]() ![]() ![]() | |
Message boards :
Number crunching :
Running on FreeBSD