Model 1914 (the one currently used with Series S/X) I'm trying to connect it using the usb port
How do I know which? I'm using whatever is default on void
Helix because it's easy to setup and hassle free, and it runs well on my 2009 ASUS Eee
Okay I made a mistake, there's no js entry in /dev/input
The LED is off, which means the controller isn't connected
The LED is off and I've tried retroarch and a game, retroarch detects the controller but takes no input, the game didn't detect it at all
Can't get Xbox controller to work with 32bit Void Linux via USB
I've installed xone and xboxdrv.
The controller vibrates on plug in but the LED stays off, if I hold down the Xbox button it boots in Bluetooth mode.
Xboxdrv reports no controllers found.
lsusb reports the controller and it has a file in /dev/js0 (or something similar).
Update: there's no js file in /dev/input
retroarch reports detection of Xbox controller on plug in.
I added my user to input group.
My system is up to date.
I installed the system with the XFCE build.
The controller works as intended on Arch, Windows and Android via USB and Bluetooth
Update 2: I installed jstest-gtk and it's not detecting the controller at all
I've been trying exclusively a wired connection to dodgr Bluetooth issues, the controller is detected by the system (it's creating a /dev/input/js0) and the controller vibrates on connecting but the LED is off and no input is received on the laptop's side
Nope, xone ain't doing it, it's an Xbox series controller, but it could be related to my laptop hardware being extremely outdated idk, I should've tried it on a different distros, it works ootb on different machines running Arch and Pop
Reinstalled the xfce build, everything works well, except my controller tho
Both bash and fish are returning incorrect password upon trying to execute any command with sudo
It says incorrect password, I'm pretty sure it is entered correctly
I've tried
exec dbus-run-session -- startlxqt
Nothing changed
I also tried
exec lxqt-session
It ran a broken session with no panel, I tried to sudo from there but it also said incorrect password
I looked up void docs, the only recommended thing I found was enabling elogind :/
Base installation voidlinux doesn't allow sudo in Xorg
I installed LXDM and LightDM, I couldn't login from the DM in either cases, so I decided to run LXQt using startx
which worked, except I couldn't sudo from the terminal emulator inside LXQt, while I was able to sudo normally in tty, I've tried enabling elogind, nothing changed, my user is in the wheel
group and my system is up to date
Not even close, Proton is a translation layer from Win32 API to whatever works similar for Linux, SDL just gives a higher level API of lower level stuff, like instead of using Xorg/Wayland directly, you get a nicer cross platform API that does the job well
I'm not, but shouldn't this be an easy task ootb in Laravel?
How do I post and store binary data correctly in Laravel?
I have the following migration:
(Schema::create('user_images',function(Blueprint $table){ $table->id(); $table->binary('image'); $table->unsignedBigInteger('user_id'); $table->foreign('user_id')->references('id')->on('users'); });)
And the following corresponding model:
`class UserImage extends Model { protected $fillable=[ 'image' ];
public function user():BelongsTo{ return $this->belongsTo(User::class); } }`
I am trying to create new UserImage records with UserImage::create but it is always failing, I am sending the image data using curl:
curl -v -F image=@$1 $URL/api/users -H "Accept: application/json"
I have tried so many things but I got different SQL-related errors, I am not sure how am I supposed to encode the image data to get them stored, I know that accessing $request->image returns only a temporary path of the image on the HDD.