Hi Adam, Thanks for the pointer.
Op maandag 28-04-2008 om 16:44 uur [tijdzone -0400], schreef Adam C Powell IV: > Hello, > > Not sure whether this is the same bug, but there's a patch which fixes > gnome-pilot-HAL interaction for HAL version 0.5.11, which might fix it > better than disabling HAL altogether (as done in 2.0.15-2.2). > > http://mail.gnome.org/archives/gnome-pilot-list/2008-March/msg00028.html > Seem to be the same bug indeed. If I strace the gpilotd with HAL enabled I see that it tries to access 'info.bus' instead of 'pda.platform' writev(14, [{"l\1\0\1\r\0\0\0\6\0\0\0\267\0\0\0\1\1o\0?\0\0\0/org/fr"..., 200}, {"\10\0\0\0info.bus\0", 13}], 2) = 213 poll([{fd=14, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(14, "l\3\1\1k\0\0\0\304\30\1\0e\0\0\0\6\1s\0\10\0\0\0:1.129"..., 2048) = 227 read(14, 0x69bc20, 2048) = -1 EAGAIN (Resource temporarily unavailable) ioctl(3, FIONREAD, [0]) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN, revents=POLLIN}], 10, -1) = 1 read(14, "l\4\1\1H\0\0\0\306\30\1\0}\0\0\0\1\1o\0\34\0\0\0/org/f"..., 2048) = 216 read(14, 0x69bc20, 2048) = -1 EAGAIN (Resource temporarily unavailable) ioctl(3, FIONREAD, [0]) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}, {fd=13, events=POLLIN|POLLPRI}, {fd=16, events=POLLIN|POLLPRI}, {fd=15, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=14, events=POLLIN}], 10, 0) = 0 writev(14, [{"l\1\0\1\r\0\0\0\7\0\0\0\277\0\0\0\1\1o\0C\0\0\0/org/fr"..., 208}, {"\10\0\0\0info.bus\0", 13}], 2) = 221 poll([{fd=14, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(14, "l\3\1\1o\0\0\0\313\30\1\0e\0\0\0\6\1s\0\10\0\0\0:1.129"..., 2048) = 231 read(14, 0x69bc20, 2048) = -1 EAGAIN (Resource temporarily unavailable) ioctl(3, FIONREAD, [0]) = 0 With the patches version it access 'pda.platform' and it works: write(2, "gpilotd-Message: Using net TRUE\n", 32gpilotd-Message: Using net TRUE) = 32 writev(14, [{"l\1\0\1\21\0\0\0\6\0\0\0\267\0\0\0\1\1o\0?\0\0\0/org/f"..., 200}, {"\f\0\0\0pda.platform\0", 17}], 2) = 217 poll([{fd=14, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(14, "l\2\1\1\t\0\0\0\4\36\1\0005\0\0\0\6\1s\0\10\0\0\0:1.13"..., 2048) = 81 read(14, 0x699cd0, 2048) = -1 EAGAIN (Resource temporarily unavailable) writev(14, [{"l\1\0\1\31\0\0\0\7\0\0\0\267\0\0\0\1\1o\0?\0\0\0/org/f"..., 200}, {"\24\0\0\0usb_device.vendor_id\0", 25}], 2) = 225 poll([{fd=14, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(14, "l\2\1\1\4\0\0\0\22\36\1\0005\0\0\0\6\1s\0\10\0\0\0:1.1"..., 2048) = 76 read(14, 0x699cd0, 2048) = -1 EAGAIN (Resource temporarily unavailable) writev(14, [{"l\1\0\1\32\0\0\0\10\0\0\0\267\0\0\0\1\1o\0?\0\0\0/org/"..., 200}, {"\25\0\0\0usb_device.product_id\0", 26}], 2) = 226 poll([{fd=14, events=POLLIN, revents=POLLIN}], 1, 25000) = 1 read(14, "l\2\1\1\4\0\0\0\24\36\1\0005\0\0\0\6\1s\0\10\0\0\0:1.1"..., 2048) = 76 read(14, 0x699cd0, 2048) = -1 EAGAIN (Resource temporarily unavailable) nanosleep({0, 400000000}, NULL) = 0 write(2, "gpilotd-Message: setting PILOTRA"..., 41gpilotd-Message: setting PILOTRATE=57600) = 41 open("/dev/null", O_RDWR) = 17 open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 18 fstat(18, {st_mode=S_IFDIR|0755, st_size=180, ...}) = 0 getdents(18, /* 9 entries */, 4096) = 216 I will try to upload a version with this patch today. Greetings Arjan
signature.asc
Description: Dit berichtdeel is digitaal ondertekend