On 2026-11-01, Rob Schmersel <[email protected]> wrote:
> Trying to flash a rom and flashromn is not working as the flash chip is
> not support. Found that it is supported in IMSProg and managed to get
> it compile on OpenBSD. However the app will only run when I login as
> root and I want to make it work without that. The problem is libusb
> access to the USB device. Linux can use udev, freebsd uses ddev, is there 
> anyway in OpenBSD, tried setting permission on ugone devices
>  
>
> $ IMSProg
> ...
> libusb: error [obsd_get_device_list] could not open /dev/usb7

It's telling you which device node it can't open...

Generally OpenBSD is not a good choice for userland access to USB
devices though.

> Couldn't open device 1a86:5512.
>
>
> dmesg:
> ...
> ugen0 at uhub3 port 2 "QinHeng Electronics product 0x5512" rev 1.10/3.04 addr 
> 4
>
> lsusb:
> ...
> Bus 001 Device 004: ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C 
> mode, EPP/I2C adapter
> ...
>
> BR/Rob
>
>


-- 
Please keep replies on the mailing list.

Reply via email to