yannickulrich
  • Joined on 2022-10-21
yannickulrich commented on issue Elara6331/itd#54 2023-03-26 08:39:57 +00:00
FUSE suppport

Should be closed with the merger of !55. Thanks for your help!

yannickulrich closed issue Elara6331/itd#54 2023-03-26 08:39:57 +00:00
FUSE suppport
yannickulrich commented on pull request Elara6331/itd#55 2023-03-25 16:46:03 +00:00
Added FUSE support

Sorry it took me so long to respond but I have now removed the live data thing. This simplifies the sensorFileReadHandle (008f6b3) since it just needs to contain the content of the buffer and…

yannickulrich pushed to fuse at yannickulrich/itd 2023-03-25 16:41:53 +00:00
008f6b35a9 2. Dropped channel in sensorFileReadHandle
98775600af [ci skip] 1. dropped channels in ITProperty
613d33ff4d Follow-up to 84c7a33: added unmount.go
Compare 3 commits »
yannickulrich pushed to fuse at yannickulrich/itd 2023-03-12 12:55:49 +00:00
1a1bc30df9 Renamed device folder
c5a6e0d298 Added oneshot property to ITProperty
84c7a33c40 Added unmount function
Compare 3 commits »
yannickulrich commented on pull request Elara6331/itd#55 2023-03-12 12:55:34 +00:00
Added FUSE support

Okay, fair enough. Sorry for doubting you. How do you feel about keeping a stream-type file for motion? I'm not 100% sure how much sense the instantaneous motion makes.. Otherwise, I'm going to…

yannickulrich commented on pull request Elara6331/itd#55 2023-03-12 12:34:39 +00:00
Added FUSE support

Cool, thank you! I have implemented this 🙂

yannickulrich commented on pull request Elara6331/itd#55 2023-03-11 14:09:33 +00:00
Added FUSE support

Oh, sorry, fixed now

yannickulrich commented on pull request Elara6331/itd#55 2023-03-11 14:09:17 +00:00
Added FUSE support

Oh, good point, thank you. Should be fixed now.

yannickulrich pushed to fuse at yannickulrich/itd 2023-03-11 14:09:15 +00:00
dc53ead339 Fixed 'touch' behaviour
9bbdc3bd52 fixed typo
Compare 2 commits »
yannickulrich commented on pull request Elara6331/itd#55 2023-03-11 14:04:28 +00:00
Added FUSE support

Happy to change that.

Regarding the continuous data stream, isn't this how device files work under Linux? If I run cat /dev/hidraw0 I get a live stream of data. I was hoping to get the same…

yannickulrich commented on pull request Elara6331/itd#55 2023-03-11 13:29:49 +00:00
Added FUSE support

This is actually a bit more complicated than that. If the mountpoint already exists, fuse will crash. We also can't delete the mountpoint beforehand (`rm: cannot remove '/tmp/itd/mnt': Transport…

yannickulrich commented on pull request Elara6331/itd#55 2023-03-04 09:22:23 +00:00
Added FUSE support

Something like in 4c59561a99? There are a few TODO where I'm not sure what the correct POSIX error would be and improvised. If you have a better idea, feel free to change them though

yannickulrich pushed to fuse at yannickulrich/itd 2023-03-04 09:19:45 +00:00
b28c386c4e Used new error conversion routine
4c59561a99 Added error to syscall function
Compare 2 commits »
yannickulrich commented on pull request Elara6331/itd#55 2023-03-01 19:48:49 +00:00
Added FUSE support

How would you recommend doing this? I suppose it could fail for all sorts of reasons such as

yannickulrich pushed to fuse at yannickulrich/itd 2023-03-01 19:40:49 +00:00
955e1323ce Send better syscall status codes
yannickulrich commented on pull request Elara6331/itd#55 2023-03-01 19:11:24 +00:00
Added FUSE support

I've just realised that the error codes aren't correct. I'll fix this next

yannickulrich commented on pull request Elara6331/itd#55 2023-03-01 19:10:37 +00:00
Added FUSE support

Done in 3b96901

yannickulrich commented on pull request Elara6331/itd#55 2023-03-01 19:10:17 +00:00
Added FUSE support

Done in b5328ec

yannickulrich commented on pull request Elara6331/itd#55 2023-03-01 19:10:06 +00:00
Added FUSE support

Done in b5328ec