Bug#1015260: nqc: Get "Inappropriate ioctl for device" when trying to "nqc -firmware firm0332.lgo"

2022-07-18 Thread Sietse Achterop
Package: nqc Version: 3.1.r6-7 Severity: grave Justification: renders package unusable X-Debbugs-Cc: s.achte...@rug.nl Compiling works fine, but code cannot be downloaded to the RCX 2.0 via the device /dev/usb/legousbtower0. stty also gives: stty: /dev/usb/legousbtower0: Inappropriate ioctl for

Bug#1015260: Additional information

2022-07-22 Thread Sietse Achterop
I now realize that the main problem maybe is in the device /dev/usb/legousbtower0, which is created when plugging in the IR-tower. Jul 22 11:53:03 Sietses-PC kernel: [137264.570103] usb 1-9: new low-speed USB device number 16 using xhci_hcd Jul 22 11:53:03 Sietses-PC kernel: [137264.733637] u

Bug#1015260: strace's

2022-07-22 Thread Sietse Achterop
Thanks for the quick response! Here the strace of both nqc and firmdl3 Interestingly the strace for firmdl3 is full of ioctl errors, but it does work! I didn't notice the message "firmdl3: unlock firmware failed" at the end because is just works, dll can be used to upload programs. I do not ha