I'm adding cyrillic symbols to spleen font

2024-01-24 Thread S V
If you want to test it, feel free to check repo before I make pull request
to original author

https://github.com/nerfur/spleen

5x8 size is still WIP, but other is already usable.

If you want to use it in X, download/clone it and use bdftopcf, place
produced file to one of pcf fonts folders and run mkfontdir inside.


wsfont .h file generation

2024-01-13 Thread S V
Hello misc

What tools devs are using to generate .h wsfont files from bdf?

Thanks in advance


OpenBSD and firefox 118 bug

2023-10-25 Thread S V
Good day, list!

Looks like there is bug in firefox 118 on fresh OS installs or fresh user.
FF just doesnt't download mp3s (at least), but download other files. BUT
firefox-esr doesnt have this problem

How to reproduce:
Create new user, login, start ff118, try to download mp3, get "failed" in
download window.

Can anybody else try this ?


PS There is some chance that running firefox-esr "fixes" this problem also
for ff118, but it worked for me and didnt work for other guy with this
problem.


Re: openFPGAloader successfully built, but can't flash with ftdi error

2023-10-06 Thread S V
> The software that you're using may need the USB device to be attached to
> ugen rather than uftdi. The simplest way to do this is probably to type
> "boot -c" at the boot loader, "disable uftdi", "quit".


Thanks!!! It works!!!

Last "barrier" in front of openhardware

more or less falls! :D :D :D




пт, 6 окт. 2023 г., 03:01 S V :

> Good Day, List!
>
> This mail is call for help, advice and to stir interest.
>
> While playing with open source workflow for FPGA chips
> I found with pleasure that not only GoWin FPGAs supported by open
> source tools, but also all needed tools easily built on OpenBSD
> (working on ports now). yosys, project apycula, nextpnr-gowin,
> openFPGAloader all successfully build.
>
> But I can't flash "compiled" bitstream to hardware device with
> openFPGAloader.
>
> Here is description of problem:
>
> After building software and attaching HW I can successfully scan usb
>
> found 10 USB device
> Bus device vid:pid probe type manufacturer serial product
> 000 001 0x:0x xvc-client Generic none xHCI root hub
> 001 001 0x:0x xvc-client Generic none xHCI root hub
> 001 005 0x0403:0x6010 FTDI2232 SIPEED FactoryAIOT Pro JTAG Debugger
>
> but cant detect or flash bitstream with next error
>
> doas openFPGALoader -b tangnano9k pack.fs --verbose-level=3
> try to open 403 6010 0 0
> iProduct : JTAG Debugger
> 8
> b
> 8
> b
> fail to read data usb bulk read failed
> JTAG init failed with: low level FTDI init failed
>
>
> here dmesg
>
> uftdi0 at uhub3 port 3 configuration 1 interface 0 "SIPEED JTAG
> Debugger" rev 2.00/5.00 addr 5 ucom0 at uftdi0 portno 1
> uftdi1 at uhub3 port 3 configuration 1 interface 1 "SIPEED JTAG
> Debugger" rev 2.00/5.00 addr 5 ucom1 at uftdi1 portno 2
>
> and also usbdevs outputs
>
> addr 05: 0403:6010 SIPEED, JTAG Debugger
> full speed, power 90 mA, config 1, rev 5.00, iSerial FactoryAIOT Pro
> driver: uftdi0
> driver: uftdi1
>
>
> I also posted issue to original github
> https://github.com/trabucayre/openFPGALoader/issues/382
>
> Any tips and tricks on how to debug it? Any interest in helping?
>
> --
> Nerfur Dragon
> -==(UDIC)==-
>


Re: openFPGAloader successfully built, but can't flash with ftdi error

2023-10-06 Thread S V
Strangely enough I can see your message on MARC, but not in mailbox
I'm using Sipeed TangNano 9k

> This subject interests me a lot. Can you tell us which model of FPGA
> have you bought / are you using?



пт, 6 окт. 2023 г. в 03:01, S V :
>
> Good Day, List!
>
> This mail is call for help, advice and to stir interest.
>
> While playing with open source workflow for FPGA chips
> I found with pleasure that not only GoWin FPGAs supported by open
> source tools, but also all needed tools easily built on OpenBSD
> (working on ports now). yosys, project apycula, nextpnr-gowin,
> openFPGAloader all successfully build.
>
> But I can't flash "compiled" bitstream to hardware device with
> openFPGAloader.
>
> Here is description of problem:
>
> After building software and attaching HW I can successfully scan usb
>
> found 10 USB device
> Bus device vid:pid probe type manufacturer serial product
> 000 001 0x:0x xvc-client Generic none xHCI root hub
> 001 001 0x:0x xvc-client Generic none xHCI root hub
> 001 005 0x0403:0x6010 FTDI2232 SIPEED FactoryAIOT Pro JTAG Debugger
>
> but cant detect or flash bitstream with next error
>
> doas openFPGALoader -b tangnano9k pack.fs --verbose-level=3
> try to open 403 6010 0 0
> iProduct : JTAG Debugger
> 8
> b
> 8
> b
> fail to read data usb bulk read failed
> JTAG init failed with: low level FTDI init failed
>
>
> here dmesg
>
> uftdi0 at uhub3 port 3 configuration 1 interface 0 "SIPEED JTAG
> Debugger" rev 2.00/5.00 addr 5 ucom0 at uftdi0 portno 1
> uftdi1 at uhub3 port 3 configuration 1 interface 1 "SIPEED JTAG
> Debugger" rev 2.00/5.00 addr 5 ucom1 at uftdi1 portno 2
>
> and also usbdevs outputs
>
> addr 05: 0403:6010 SIPEED, JTAG Debugger
> full speed, power 90 mA, config 1, rev 5.00, iSerial FactoryAIOT Pro
> driver: uftdi0
> driver: uftdi1
>
>
> I also posted issue to original github
> https://github.com/trabucayre/openFPGALoader/issues/382
>
> Any tips and tricks on how to debug it? Any interest in helping?
>
> --
> Nerfur Dragon
> -==(UDIC)==-



-- 
Nerfur Dragon
-==(UDIC)==-



openFPGAloader successfully built, but can't flash with ftdi error

2023-10-05 Thread S V
Good Day, List!

This mail is call for help, advice and to stir interest.

While playing with open source workflow for FPGA chips
I found with pleasure that not only GoWin FPGAs supported by open
source tools, but also all needed tools easily built on OpenBSD
(working on ports now). yosys, project apycula, nextpnr-gowin,
openFPGAloader all successfully build.

But I can't flash "compiled" bitstream to hardware device with
openFPGAloader.

Here is description of problem:

After building software and attaching HW I can successfully scan usb

found 10 USB device
Bus device vid:pid probe type manufacturer serial product
000 001 0x:0x xvc-client Generic none xHCI root hub
001 001 0x:0x xvc-client Generic none xHCI root hub
001 005 0x0403:0x6010 FTDI2232 SIPEED FactoryAIOT Pro JTAG Debugger

but cant detect or flash bitstream with next error

doas openFPGALoader -b tangnano9k pack.fs --verbose-level=3
try to open 403 6010 0 0
iProduct : JTAG Debugger
8
b
8
b
fail to read data usb bulk read failed
JTAG init failed with: low level FTDI init failed


here dmesg

uftdi0 at uhub3 port 3 configuration 1 interface 0 "SIPEED JTAG
Debugger" rev 2.00/5.00 addr 5 ucom0 at uftdi0 portno 1
uftdi1 at uhub3 port 3 configuration 1 interface 1 "SIPEED JTAG
Debugger" rev 2.00/5.00 addr 5 ucom1 at uftdi1 portno 2

and also usbdevs outputs

addr 05: 0403:6010 SIPEED, JTAG Debugger
full speed, power 90 mA, config 1, rev 5.00, iSerial FactoryAIOT Pro
driver: uftdi0
driver: uftdi1


I also posted issue to original github
https://github.com/trabucayre/openFPGALoader/issues/382

Any tips and tricks on how to debug it? Any interest in helping?

-- 
Nerfur Dragon
-==(UDIC)==-



man.openbsd.org is down?

2023-09-23 Thread S V
Any info on man.openbsd.org state? It is down for me and web checkers.


axppmic spam and probably incorrect values on allwinner h5.

2023-07-01 Thread S V
Good day, I have sbc on allwinner H5 processor with "X-Powers AXP
Power Management IC"

Driver correctly identify it as

axppmic0 at iic0 addr 0x34: AXP221

but after this it prints

axppmic0: SMBus read byte from 0x21 failed
axppmic0: SMBus read byte from 0x21 failed
axppmic0: SMBus write byte to 0x21 failed
axppmic0: SMBus read byte from 0x21 failed
axppmic0: SMBus read byte from 0x22 failed
axppmic0: SMBus read byte from 0x22 failed
axppmic0: SMBus write byte to 0x22 failed
axppmic0: SMBus read byte from 0x22 failed
axppmic0: SMBus read byte from 0x23 failed
axppmic0: SMBus read byte from 0x23 failed
axppmic0: SMBus write byte to 0x23 failed
axppmic0: SMBus read byte from 0x23 failed
axppmic0: SMBus read byte from 0x24 failed
axppmic0: SMBus read byte from 0x24 failed
axppmic0: SMBus read byte from 0x25 failed
axppmic0: SMBus read byte from 0x25 failed
axppmic0: SMBus write byte to 0x25 failed
axppmic0: SMBus read byte from 0x25 failed
axppmic0: SMBus read byte from 0x00 failed
axppmic0: SMBus read byte from 0x00 failed
axppmic0: SMBus read byte from 0x1c failed
axppmic0: SMBus read byte from 0x1c failed
axppmic0: SMBus read byte from 0x28 failed
axppmic0: SMBus read byte from 0x28 failed
axppmic0: SMBus read byte from 0x29 failed
axppmic0: SMBus read byte from 0x29 failed
axppmic0: SMBus write byte to 0x29 failed
axppmic0: SMBus read byte from 0x29 failed
axppmic0: SMBus read byte from 0x2a failed
axppmic0: SMBus read byte from 0x2a failed
axppmic0: SMBus write byte to 0x2a failed
axppmic0: SMBus read byte from 0x2a failed
axppmic0: SMBus read byte from 0x15 failed
axppmic0: SMBus read byte from 0x15 failed
axppmic0: SMBus write byte to 0x15 failed
axppmic0: SMBus read byte from 0x15 failed
axppmic0: SMBus read byte from 0x16 failed
axppmic0: SMBus read byte from 0x16 failed
axppmic0: SMBus write byte to 0x16 failed
axppmic0: SMBus read byte from 0x16 failed
axppmic0: SMBus read byte from 0x17 failed
axppmic0: SMBus read byte from 0x17 failed
axppmic0: SMBus write byte to 0x17 failed
axppmic0: SMBus read byte from 0x17 failed
axppmic0: SMBus read byte from 0x18 failed
axppmic0: SMBus read byte from 0x18 failed
axppmic0: SMBus write byte to 0x18 failed
axppmic0: SMBus read byte from 0x18 failed
axppmic0: SMBus read byte from 0x19 failed
axppmic0: SMBus read byte from 0x19 failed
axppmic0: SMBus write byte to 0x19 failed
axppmic0: SMBus read byte from 0x19 failed
axppmic0: SMBus read byte from 0x1a failed
axppmic0: SMBus read byte from 0x1a failed
axppmic0: SMBus write byte to 0x1a failed
axppmic0: SMBus read byte from 0x1a failed
axppmic0: SMBus read byte from 0x1b failed
axppmic0: SMBus read byte from 0x1b failed
axppmic0: SMBus write byte to 0x1b failed
axppmic0: SMBus read byte from 0x1b failed
axppmic0: SMBus read byte from 0x91 failed
axppmic0: SMBus read byte from 0x91 failed
axppmic0: SMBus read byte from 0x93 failed
axppmic0: SMBus read byte from 0x93 failed
axppmic0: SMBus read byte from 0x00 failed
axppmic0: SMBus read byte from 0x00 failed
axppmic0: SMBus read byte from 0x56 failed
axppmic0: SMBus read byte from 0x57 failed

and finally starts to spam this in loop

axppmic0: SMBus read byte from 0x00 failed
axppmic0: SMBus read byte from 0x00 failed
axppmic0: SMBus read byte from 0x56 failed
axppmic0: SMBus read byte from 0x57 failed

and sensors (sysctl hw) shows

hw.sensors.axppmic0.temp0=165.80 degC
hw.sensors.axppmic0.indicator0=On (ACIN), OK
hw.sensors.axppmic0.indicator1=On (VBUS), OK

Any suggestions?

-- 
Nerfur Dragon
-==(UDIC)==-



load custom acpi table

2023-06-18 Thread S V
Hello, list!

Is it possible to load custom acpi table on boot ?

in FreeBSD it was possible by strings in conf like

acpi_dsdt_load="YES" acpi_dsdt_name="filename.aml"


can't create csr with ed 25519 on libressl 3.7.2 / OpenBSD 7.3

2023-06-14 Thread S V
can somebody explain why this doesn't work or how to fix it ? (LibreSSL on
OpenBSD 7.3)

openssl genpkey -algorithm ED25519 > my.key
openssl req -new -out my.csr -key my.key

with this error

101242121864:error:10FFF08A:elliptic curve routines:CRYPTO_internal:invalid
digest type:/usr/src/lib/libcrypto/ec/ecx_methods.c:774:

Same commands work on openssl on another computers/OS and they basically in
every tutorial related to ed25519 generation


Very slow smtp connection to mail.openbsd.org

2023-05-03 Thread S V
Hello,

I'm trying to setup my own mail server and while I can send email to
any already tested and interesting for me domains.
I always get "delayed" with misc@openbsd.org: Connection closed
unexpectedly while trying openbsd lists.
I telnet to 25 port and see that it has extremely slow speed like 1
character per second. I telnet from other "non-mail" vps
and I see that for first seconds it is also slow, but later it become "instant".

Are there any "delay" filter for spammers? If yes then why it detects
my non-mail vps as ok and still slows my "mail server" (with existing
PTR)?
If there are no delay... ugh, guess I'm out of luck with my ISP ? But
then again why vps is ok?

Thanks in advance for any suggestions!

-- 
Nerfur Dragon
-==(UDIC)==-



[arm64] [sound] simpleaudio, but no audio to attach

2023-04-18 Thread S V
Hello, misc@!

I'm using ARM64/current and see that my audio chip got detected by simpleaudio
but OpenBSD can't attach audio to it

Any suggestions on there to start reading? I'm not developer,
but I tried to read different match/attach functions
in simpleaudio.c/audio.c with no result for now.

I got audio chip of my arm64 board
as

simpleaudio0 at mainbus0


eeprom says

 Node 0x54f0
name: 'sound'
simple-audio-card,hp-det-gpio: 0014.001b.0001
simple-audio-card,bitclock-master: 0030
simple-audio-card,name: 'MITX-Sound-Card'
simple-audio-card,mic-det-gpio: 0014.001a.0001
simple-audio-card,format: 'i2s'
simple-audio-card,widgets: 'Microphone' + 'Mic Jack' + 'Headphone'
+ 'Headphones' + 'Speaker' + 'AUX Out' + 'Line' + 'Line In'
simple-audio-card,routing: 'Headphones' + 'RHP' + 'Headphones'
+ 'LHP' + 'AUX Out' + 'AUXOUT1' + 'AUX Out' + 'AUXOUT2' + 'L2'
+ 'Mic Jack' + 'R2' + 'Mic Jack' + 'Mic Jack' + 'Mic Bias' + 'LAUX'
+ 'Line In' + 'RAUX' + 'Line In'
compatible: 'simple-audio-card'
simple-audio-card,frame-master: 0030

Node 0x567c
name: 'simple-audio-card,cpu'
sound-dai: 0031

Node 0x56ac
name: 'simple-audio-card,codec'
phandle: 0030
sound-dai: 0032.



Looking at DTS I can identify it as Nuvoton Nau8822 sitting on i2c and/or i2s

 nau8822@1a {
#sound-dai-cells = <0x01>;
compatible = "nuvoton,nau8822";
reg = <0x1a>;
phandle = <0x32>;
};




-- 
Nerfur Dragon
-==(UDIC)==-



Qt6 and XCB plugin missing

2022-09-17 Thread S V
Hello,

I noticed that Qt6 from packages and ports missing xcb plugin (in qtbase),
but Qt5 has it.

Was trying to dive little to patches to both 5 and 6, but can't find
anything that relates to it in 5.

What's happening? Did porter just omit it for now or Qt6 starts to "soft
deprecate" xcb? Anybody here has some tips for enabling it in port or wish
to look into it?


using dtb file

2022-05-14 Thread S V
Hello, can anybody give me some pointers on using the dtb file for arm
board?

I have dtb file from linux, must I recompile it for OpenBSD from dts?

Any specific place to put it or just boot image root and load with machine
dtb  ?

How can I check that it is read?

Is it even used by OpenBSD?

board have acpi and uefi (tianocore edk ii), so no u-boot used

-- 
Nerfur Dragon
-==(UDIC)==-


any way to increase size of filesystem inside bsd.rd without rebuilding?

2022-01-27 Thread S V
Hello, I want to build "bigger" bsd.rd image. Does rebuilding it only way
to increase it? Can I somehow increase its size and just rdsetroot new
disk.fs?

-- 
Nerfur Dragon
-==(UDIC)==-


Re: Disable external USB devices

2018-01-24 Thread S V
Disable USB in "BIOS" ?

2018-01-25 1:42 GMT+03:00 Stuart Henderson :
> On 2018-01-23, Stefan Wollny  wrote:
>> Hi there! This is a purely academical question out of curiosity: Is it
>> possible to disable all external USB interfaces without cutting the wire
>> on OpenBSD? You've heard stories of laptops/servers/routers with other
>> OSes being infected by some clever programms on USB sticks automatically
>> attaching to the running system without leaving obvious traces.
>> Assumption is that with OpenBSD and nothing like 'hotplug-diskmount'
>> installed this should not with be able
>
> You don't need hotplug-diskmount for something pretending to be a
> USB keyboard to send commands as if you'd typed them in.
>
>



-- 
Nerfur Dragon
-==(UDIC)==-



Re: risc-v

2018-01-15 Thread S V
iirc sifive made some devkits https://dev.sifive.com/freedom-soc/evaluate/fpga/

2018-01-15 11:25 GMT+03:00 flipchan :
> I love risc-v !
>
> But has risc-v started producing on real hardware and not kvm/qemu ? would be 
> cool to have that
>
> On January 14, 2018 9:43:27 PM GMT+01:00, "Peter J. Philipp" 
>  wrote:
>>Is anyone interested/working/planning around this ingenious open source
>>Instruction Set Architecture?  Not many developer boards yet but there
>>is
>>simulators...
>>
>>Small contribution from me (how to compile riscv-qemu on OpenBSD
>>6.2-stable):
>>
>>http://centroid.eu/blog/index.php?article=1515597453  <-- needs
>>javascript to
>>view
>>
>>I've spent a few hours trying to compile a cross compiler but haven't
>>had
>>much luck with that, my ultimate goal would be to boot OpenBSD on qemu
>>and
>>by then there would be enough developer boards perhaps to look further.
>>
>>More interesting things are found at https://riscv.org , there is a
>>FreeBSD
>>port but I had problem building it in vmware.  Perhaps FreeBSD can
>>serve as
>>a helping source to port OpenBSD to this?
>>
>>Regards,
>>-peter
>
> --
> Take Care Sincerely flipchan layerprox dev



-- 
Nerfur Dragon
-==(UDIC)==-



Re: I need to get a Russian keyboard

2016-05-26 Thread S V
Looked at Ebay?

пятница, 27 мая 2016 г. пользователь Chris Bennett
написал:
> This question has probably been asked before, but a lot has changed
> since then.
>
> I want to buy a new one, sent to the USA. Looked at Amazon briefly. Not
> sure if there may be a better place to order from.
> I don't want keyboard stickers that I saw.
> Right now I do almost everything in English and either grab a Spanish
> keyboard or use setxkbmap es and just remember what key is what.
>
> Is setxkbmap ru going to do the trick or will I need to do something
> else also or instead?
>
> Any advice on what to be sure to find or not find on a keyboard?
>
> Thanks,
> Chris Bennett
>
>

--
Nerfur Dragon
-==(UDIC)==-



5.9, samsung nc 10, battery always full

2016-04-09 Thread S V
Hello,

I have fresh install of 5.9/i386 on netbook samsung NC10.

sysctl hw shows no changes in battery (always full). But I recall that in
old versions it shows usage.

How can I "debug"/"test" it and try to fix?

Thanks in advance.




-- 
Nerfur Dragon
-==(UDIC)==-



FAQ - part 6.2.2 notice about dhcp/rtsol and mygate

2016-03-30 Thread S V
Hello, I think it will be good to add notice from mygate man page to
FAQ about default gateway configuration.

Here is diff:

Index: faq6.html
===
RCS file: /cvs/www/faq/faq6.html,v
retrieving revision 1.361
diff -u -p -r1.361 faq6.html
--- faq6.html   29 Mar 2016 01:27:39 -  1.361
+++ faq6.html   30 Mar 2016 12:20:17 -
@@ -291,6 +291,12 @@ You can't assume things like the resolve
 In other words, it had better be an IP address or something that is
 defined in the /etc/hosts file.

+
+/etc/mygate is processed after all interfaces have been
configured.  If
+any http://man.openbsd.org/?query=hostname.if";>hostname.if(5)
files contain "dhcp" directives, IPv4 entries in
+/etc/mygate will be ignored.  If they contain "rtsol" directives, IPv6
+entries will be ignored.
+
 6.2.3 - DNS Resolution

 DNS resolution is controlled by the file



xinput -list shows multiple keyboards as one

2011-10-11 Thread S V
Hello, list.

I have one pretty specific problem, i have two USB keyboards 
attached to the samsung nc10 laptop. And then i want to 
attach different layouts to each i
stumble into one problem.

$ xinput -list 
Virtual core pointer id=2 [master pointer (3)] 
Virtual core XTEST pointer id=4 [slave pointer (2)] 
Mouse0 id=6 [slave pointer (2)]

Virtual core keyboard id=3 [master keyboard (2)] 
Virtual core XTEST keyboard id=5 [slave keyboard (3)] 
Keyboard0 id=7 [slave keyboard (3)]

So i can't separate each keyboard from others by device ids... 
Can anybody help me to find where source of this behavior 
lie and how i can fix it?

Thanks in advance