Re: The License of the Official Website

2022-01-01 Thread Maurice McCarthy
I think the best place to look is here:
https://www.openbsd.org/policy.html

Good Luck



Re: Using OpenBSD as an L2TP client with A ISP

2021-10-27 Thread Maurice McCarthy
Ah, OK. Thank you Stuart.


Re: Using OpenBSD as an L2TP client with A ISP

2021-10-26 Thread Maurice McCarthy
tunnelbroker.net


Re: 6.9 Installer succeeds, computer will not boot from hard drive

2021-09-03 Thread Maurice McCarthy
At the boot prompt try

boot> boot hd1a:/bsd

If it works you can put it in boot.conf

HTH



Re: Behavior of sndioctl

2021-08-20 Thread Maurice McCarthy
On 20/08/2021, Yoshihiro Kawamata  wrote:
> Hi,
>
> I'm using OpenBSD 6.9.
> How should I understand the following behavior of sndioctl?
>
... etc.

Perhaps you have different apps set at different levels of output. On
my home PC I see this:

$ sndioctl
input.level=0.490
input.mute=0
output.level=0.502
output.mute=0
app/chrome0.level=1.000
app/firefox0.level=1.000
app/firefox1.level=1.000
app/firefox2.level=1.000
app/mpv0.level=1.000

Best Wishes



Re: using mdnsd as resolver

2021-08-14 Thread Maurice McCarthy
i think it is just an entry in /etc/rc.conf.local like so:

pkg_scripts=messagebus mdnsd cupsd

The order should be important.
Good Luck



Re: How do I change the default per-application sound volume in sndiod?

2021-04-26 Thread Maurice McCarthy
/usr/bin/sndioctl app/mplayer0.level=1.000

perhaps



Re: How do I change the default per-application sound volume in sndiod?

2021-04-26 Thread Maurice McCarthy
I only run stable 6.8 but I do this with a sndioctl output.level
command in .profile or .kshrc

HTH



Re: plugging head phones does not mute speaker

2021-01-19 Thread Maurice McCarthy
Sndiod is to be the default method of controliing audio.
Run sndiod and see what sndioctl says.

doas rcctl enable sndiod
doas rcctl start sndiod
doas sndioctl

Best



Re: Best way to increase openfiles-max and -cur for NGINX/PHP?

2021-01-16 Thread Maurice McCarthy
Please forgive an ignoramus butting in with a suggestion.

Have a look at man ksh - the section on the command "ulimit".

Best



Re: clock not set on boot

2020-12-07 Thread Maurice McCarthy
On 05/12/2020, Patrick Wildt  wrote:
>
> -s doesn't exist anymore.
>

... and other replies...

You've all proved what I guess I already knew.
I don't live in the world anymore. It just passes me by.



Re: clock not set on boot

2020-12-05 Thread Maurice McCarthy
Perhaps add

ntpd_flags="-s"

to /etc/rc.conf.local



Re: procedure for making an msdos usb stick

2020-11-05 Thread Maurice McCarthy
http://daemonforums.org/showthread.php?t=10353



Re: Sound/audio onFirefox on 6.8

2020-10-23 Thread Maurice McCarthy
On 23/10/2020, Duncan Patton a Campbell  wrote:
>
> Hey Maurice.  The audio works elsewhere and this looks to be
> a Zombie Bugzilla bug come back from the dead.  Something
> about needing to directly link to sndio and skip the "cubeb" something...
>
> Dhu
>

Ah, so "works elsewhere" in your initial message refers to other
programs running under OpenBSD not other operating systems. Warned you
I was a numpty. In this case I'm completely clueless. That's normal
for me.

Good Luck



Re: Sound/audio onFirefox on 6.8

2020-10-23 Thread Maurice McCarthy
Warning: Numpty speaking

Well this seems to give you access to audio hardware

azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 4 int 16
azalia1: codecs: Realtek/0x0892
audio0 at azalia1

So I can only point you at this
https://www.openbsd.org/faq/faq13.html#audioprob

Good Luck



Re: Installing sets from install67.fs on USB stick

2020-08-26 Thread Maurice McCarthy
I'm talking shite. Ignore all.



Re: Installing sets from install67.fs on USB stick

2020-08-26 Thread Maurice McCarthy
The installation ramdisk is deliberately small therefore not all
devices are pre-created.

You probably need to drop to a shell and

# cd /dev
# /dev/MAKEDEV sd2

Hopefully your 2nd usb device will be sd2. Check dmesg to be sure.

Good luck



Re: Installation problem on Fujitsu RX1330M4

2020-07-13 Thread Maurice McCarthy
On 13/07/2020, martin.scha...@l-bank.de  wrote:
> Hi all,
>
> we have new Fujitsu RX1330M4 machines here. When I try to boot the
> install67.iso (cd) or the install67.fs (usb) the installaiotn media is not
> recognized by the system and therefore i can not select the media in the
> boot menu of the bios.
> My installation medias work as expected on normal pc hardware. Also no
> chance to boot the install kernel with a virtual cd (install67.iso) via the
> iRMC management system of the server. (secure boot config is disabled in the
> bios options).
>
> I’ve also installed a linux system (opensuse) and tried to boot the bsd.rd
> with the grub command line but it is doing a reboot only and therefore
> starting the grub again without starting the bsd install-kernel.
>
> Has anyone an idea or experience with installing on newer Fujitsu systems ?
>
> Regards
> Martin
>

Presumably you've tried setting the USB to legacy or auto in the bios?



Re: Openbsdstore.com - offline or powered off?

2020-06-27 Thread Maurice McCarthy
I think it has been reported here on misc that it no longer exists,
not since physical CDroms have been discontinued.



Re: OpenBSD alternatives to Pi-Hole

2020-06-12 Thread Maurice McCarthy
You could have a look at https://www.geoghegan.ca/unbound-adblock.html and
https://www.geoghegan.ca/pfbadhost.html



Re: sane-backends permission problems

2020-06-09 Thread Maurice McCarthy
Hmm, interesting.
Thanks both



Re: sane-backends permission problems

2020-06-09 Thread Maurice McCarthy
Add your user to the operator group.
Regards



Re: sndio: troubleshooting no input

2020-05-31 Thread Maurice McCarthy
sndioctl -d

Have a look at man sndioctl
Good Luck



Re: Distorted sound in 6.7

2020-05-25 Thread Maurice McCarthy
On 25/05/2020, Alexandre Ratchov  wrote:
> On Fri, May 22, 2020 at 12:35:06PM +0100, Maurice McCarthy wrote:
>> Hi,
>>
>> Since installing 6.7 I've found that human voices in mpv or youtube
>> sound either very quiet or  as-if  "under water" or bubbly. I was
>> unable to cure this with sndioctl but succeeded with the old mixerctl
>>
>> doas outputs.master=200,150
>>
>
> Most probably the speaker(s) are not properly wired and left and right
> channels cancel each other. You could check this as follows: play a
> mono file and meanwhile try the following:
>
> doas outputs.master=200,0
> doas outputs.master=0,200
> doas outputs.master=200,200
>
> first two should play but the last one should produce (almost)
> silence.
>
>> If I understand sndioctl well enough this kind of left and right
>> speaker adjustment is not possible under sndioctl. dmesg attached.
>>
>
> fwiw, to control individual channels (if hardware allows it), put the
> channel number between squire brackets:
>
> sndioctl output[1].level=0
>

Thank you Alexandre. You were spot on about playing the mono file. I
failed to make it clear that I normally use headphones jacked into the
onboard sound. (My good lady does not share my taste in music.) It
turns out they don't support separate channels.

Thanks again for the enlightenment.



Distorted sound in 6.7

2020-05-22 Thread Maurice McCarthy
Hi,

Since installing 6.7 I've found that human voices in mpv or youtube
sound either very quiet or  as-if  "under water" or bubbly. I was
unable to cure this with sndioctl but succeeded with the old mixerctl

doas outputs.master=200,150

If I understand sndioctl well enough this kind of left and right
speaker adjustment is not possible under sndioctl. dmesg attached.

Thanks again for all the magnificent effort. I've made a donation
within my means.

OpenBSD 6.7 (RAMDISK_CD) #177: Thu May  7 11:19:02 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 7459487744 (7113MB)
avail mem = 7229386752 (6894MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xebee0 (52 entries)
bios0: vendor American Megatrends Inc. version "FC" date 01/19/2016
bios0: Gigabyte Technology Co., Ltd. F2A78M-HD2
acpi0 at bios0: ACPI 5.0
acpi0: tables DSDT FACP APIC FPDT MCFG HPET WDRT SSDT SSDT CRAT SSDT SSDT SSDT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD A6-7400K Radeon R5, 6 Compute Cores 2C+4G, 3496.29 MHz, 15-30-01
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,TOPEXT,CPCTR,DBKP,PERFTSC,ITSC,FSGSBASE,BMI1,XSAVEOPT
cpu0: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 1 pa 0xfec01000, version 21, 32 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PB21)
acpiprt2 at acpi0: bus -1 (PB22)
acpiprt3 at acpi0: bus 2 (PB31)
acpiprt4 at acpi0: bus 3 (PB32)
acpiprt5 at acpi0: bus -1 (PB33)
acpiprt6 at acpi0: bus -1 (PB34)
acpiprt7 at acpi0: bus 4 (P0PC)
acpiprt8 at acpi0: bus -1 (PE20)
acpiprt9 at acpi0: bus -1 (PE21)
acpiprt10 at acpi0: bus -1 (PE22)
acpiprt11 at acpi0: bus -1 (PE23)
acpicpu at acpi0 not configured
"PNP0A03" at acpi0 not configured
acpicmos0 at acpi0
"PNP0C0C" at acpi0 not configured
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD 15h Root Complex" rev 0x00
"ATI Kaveri Radeon R5" rev 0x00 at pci0 dev 1 function 0 not configured
"ATI Kaveri HD Audio" rev 0x00 at pci0 dev 1 function 1 not configured
pchb1 at pci0 dev 2 function 0 "AMD 15h PCIE" rev 0x00
ppb0 at pci0 dev 2 function 1 "AMD 15h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon HD 7470" rev 0x00
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
"ATI Radeon HD 6400 Audio" rev 0x00 at pci1 dev 0 function 1 not configured
pchb2 at pci0 dev 3 function 0 "AMD 15h PCIE" rev 0x00
ppb1 at pci0 dev 3 function 1 "AMD 15h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06:
RTL8168E/8111E-VL (0x2c80), msi, address 1c:1b:0d:35:f5:13
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ppb2 at pci0 dev 3 function 2 "AMD 15h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
xhci0 at pci3 dev 0 function 0 "Renesas uPD720202 xHCI" rev 0x02: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Renesas xHCI root hub" rev
3.00/1.00 addr 1
pchb3 at pci0 dev 4 function 0 "AMD 15h PCIE" rev 0x00
xhci1 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x09: msi, xHCI 1.0
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev
3.00/1.00 addr 1
xhci2 at pci0 dev 16 function 1 "AMD Bolton xHCI" rev 0x09: msi, xHCI 1.0
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "AMD xHCI root hub" rev
3.00/1.00 addr 1
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 6.0Gb/s
ahci0: port 2: 1.5Gb/s
ahci0: port 3: 6.0Gb/s
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: 
t10.ATA_R3SL120G_E201609080040271_
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
sd1 at scsibus0 targ 1 lun 0:  naa.50014ee25eef5b02
sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
cd0 at scsibus0 targ 2 lun 0:  removable
sd2 at scsibus0 targ 3 lun 0:  naa.5707c181003d6344
sd2: 122104MB, 512 bytes/sector, 250069680 sectors, thin
ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 0
int 18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 0 int 17
usb3 at ehci0: USB revision 2.0
uhub3 at usb3 configuration 1 interface 0 "AMD EHCI root hub" rev
2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 0
int 18, version 1.0, 

Re: Mounting microSDHC

2020-05-21 Thread Maurice McCarthy
Maybe depends whether it is on usb or pci. Have a look at

$ pkg_info pcsc-tools



Re: [/ is full] How to delete junk in /dev ?

2020-04-05 Thread Maurice McCarthy
On 6.6 stable

$ ls /dev | nl

gives me 1179 in the list. Have you written something in there? A
large print file?



Re: Filesystem corruption on OpenBSD routers after power outage?

2020-03-15 Thread Maurice McCarthy
There is a discussion about sofdeps here
http://openbsd-archive.7691.n7.nabble.com/What-are-the-disadvantages-of-soft-updates-td264283.html



Re: What TERM fixes Emacs?

2020-02-24 Thread Maurice McCarthy
On 25/02/2020, Emilia  wrote:
> It is impossible to use Emacs on OpenBSD Terminal (no X).
>

OpenBSD does not do non-X versions of ported software so even if you
dont use X as such it still needs to be in the base install.

HTH
(I've had my backside reamed over this more than once!)



Re: USB printer?

2020-02-18 Thread Maurice McCarthy
In my belief, you _must install hpcups. And if you use the usb then
you _must disable ulpt in the kernel. See
/usr/local/share/doc/pkg-readmes/cups



Re: Unable to kill a python process

2020-02-13 Thread Maurice McCarthy
you could try kill -1 8926



Re: RV: Query

2020-01-16 Thread Maurice McCarthy
Hi

OepnBSD has its own installation system. The operating system itself
has a steep learning curve for a beginner. I'd suggest you start by
reading the relevant parts of the faq
https://www.openbsd.org/faq/index.html and the installation notes
https://ftp.openbsd.org/pub/OpenBSD/6.6/amd64/INSTALL.amd64

I run a similar amd64 myself and can now install the base system in
about 4 minutes from the install iso
https://ftp.openbsd.org/pub/OpenBSD/6.6/amd64/install66.iso  It will
install to a usb drive.

Good Luck



Re: pipe html mail to links

2019-12-30 Thread Maurice McCarthy
On 30/12/2019, putridsou...@gmail.com  wrote:
>> Should this not just need a .mailcap entry:
>>
>> text/html; /usr/local/bin/lynx -dump -force_html %s
>
> I tried your way only changed: lynx -> links
> .mailcap
> text/html; /usr/local/bin/links -dump %s
>
> But mail did not call links when I tried to
> read a html mail using "p [message]" command.
>

The pipe command is pi not p but I cannot help further sorry. Don't
use mail much.



Re: pipe html mail to links

2019-12-29 Thread Maurice McCarthy
Should this not just need a .mailcap entry:

text/html; /usr/local/bin/lynx -dump -force_html %s



On 29/12/2019, putridsou...@gmail.com  wrote:
> I wish to pipe my mails from the standard
> openbsd mail command to links.
> But I failed to find any way to pipe
> in message or file from stdin to links
>
> Following three lines are edits I want to
> do expect use links instead to lynx
>
> .mailrc
> # Reading HTML mail
> set pipe-text/html="lynx -dump -force_html /dev/stdin"
>
> I tried this with "links -dump /dev/stdin"
> I'm greeted with following error
>
> Unkown file type
>
>



Re: Thinkpad T420: Screen, keyboard and mouse freeze when using web browsers on 6.6/AMD64

2019-12-24 Thread Maurice McCarthy
Are you browsers allowed enough memory?

Someone on this list once suggested putting lines like these in ~/.kshrc

# Raising the memory limits to accommodate greedy browsers 3Gb
alias chrome='(ulimit -d $((3*1024*1024); /usr/local/bin/chrome'
alias firefox='(ulimit -d $((3*1024*1024); /usr/local/bin/firefox'

Regards



Re: sysupgrade (Was: Re: Kernel crash in OpenBSD 6.5)

2019-08-01 Thread Maurice McCarthy
Thank you for the clarification!



Re: sysupgrade (Was: Re: Kernel crash in OpenBSD 6.5)

2019-08-01 Thread Maurice McCarthy
In the past it was not uncommon for non-X programs in base to have
dependencies in Xenocara. Are you certain that this is no longer so?



Re: OpenBSD on thinkpad x280

2019-05-25 Thread Maurice McCarthy
On 25/05/2019, Timo Myyrä  wrote:
> Tristan Pilat  writes:
>
>> Hi OpenBSD users and devs!
>>
>> I got a new laptop in January, a thinkpad x280. At that time my system
>> running 'current' was very slow and I assumed the video acceleration
>> wasn't working so I just sadly stuck with Debian for a while. I then
>> saw that an update of the inteldrm landed in current a month ago or so
>> so I tried yesterday to reinstall current. Unfortunately the system is
>> still barely usable. Could you guys tell me why the video acceleration
>> isn't handled? Isn't Kaby lake compatible for now? I saw this article
>> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
>>

You may have to adjust the aperture
See /etc/examples/sysctl.conf

#machdep.allowaperture=2# See xf86(4)

Good Luck



Re: Troubleshooting FDE with SD Card Reader

2019-03-30 Thread Maurice McCarthy
Forgive me if I'm being silly but just because the kernel recognizes
the SD card it does not follow that the software to read it is built
into _base_. I hardly ever use an SD card but from what I remember you
have install pcsc-tools from ports to use one. If this is so then you
will _never_ be able to boot with a keydisk on the SD card. You must
use the USB.

Good Luck



Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Maurice McCarthy
I never looked at your dmesg earlier. These lines

cd0(ahci0:2:0): Check Condition (error 0x70) on opcode 0x1e
SENSE KEY: Illegal Request

suggest the Openbsd system finds something wrong with your hardware.
I'm not clever enough to speculate further. Sorry.



Re: GMA500 drivers

2019-03-25 Thread Maurice McCarthy
On 23/03/2019, Normen Wohner  wrote:
> I have now successfully installed OpenBSD
> on my Netbook, however Graphics performance
> is abysmal.
> I know that sadly Linux uses binary blobs for
> the GMA500 as it is a licensed Powervr chip.
> Any idea on how to "maybe" get faster graphics
> working?
> I'm willing to do the legwork.
>

I assume you've tried fw_update to attempt from firmware.openbsd.org ?!

As it is not listed in man 4 intel (don't know how up to date that is)
maybe someone is already porting the firmware driver from freebsd.
Otherwise I'd guess you would have to port a linux driver yourself.

Best Wishes



Re: Infinite spin when trying to burn a CD

2019-03-24 Thread Maurice McCarthy
On 23/03/2019, Jérôme FRGACIC  wrote:
> Hi misc,
>
> I encounter an annoying problem when I try to burn a CD on my laptop: my
> CD spin forever and nothing is written on it. Worst: it's impossible for
> me to eject the CD without rebooting.
>
> Here is the command I use:
>
> cdio -vv -f cd0c tao -d file.iso
>

# cdio -f /dev/rcd0c tao -s 1 file.iso

Maybe? Raw device and slow speed



Re: Need help installing 6.3 to Acer Aspire with eMMC drive; sdmmc troubles

2018-10-15 Thread Maurice McCarthy
On 14/10/2018, Nathan Clement  wrote:
> Hello,
> I am new to OpenBSD, installing for the first time to an Acer Aspire
> ES1-111M. The only internal drive it has is a 32GB eMMC card.
> I have used dd to get install63.fs on a usb drive, and it boots fine.
> However, the installer reports sd0 as 1024M, so naturally the partition
> table it devises is no good.
> When I check dmesg (which I have no way to save as I am in the
> install medium?) I see the messages:
>
> sdmmc0: can't re-read EXT_CSD
> sdmmc0: mem init failed
> scsibus0 at sdmmc0: 2 targets, initiator 0
> scsibus0 targ 1 lun 0:  SCSI2 0/direct removable
> sd0: 1024MB, 512 bytes/sector, 2097152 sectors
>
> I am booting in UEFI mode, but the results were the same when I used
> my BIOS' "Legacy" mode. disklabel also returns the same size, but
> when I run fdisk on /dev/sd0c it says it can't read sector 0.
> What should I do?
> Thanks,
> Nathan
>

Hi

Can't help with your problem but to get the dmesg I'd do something like this:

1. Drop to a shell in the installer (I think it is type in "!")
2. Plug in a fat32-formatted usb and note its device name, say sd1
3. cd to /dev and do chmod +x MAKEDEV
4. run ./MAKEDEV sd1 to create the device files.
5. mount_msdos /dev/sd1i /mnt2 (create the directory if necessary)
6. cat dmesg > /mnt2 and post it in.

Notes: The ramdisk is small so _don't_ do MAKEDEV all
None system partitions always start from the letter i

Good Luck



Re: DRM without X

2018-09-04 Thread Maurice McCarthy
On 03/09/2018, Thomas de Grivel  wrote:

> Is there any way to use the DRM drivers without X11 ?

Probably not. The X sets in base are an integral part of the whole
operating system. You install them whether or not you use X.



Re: Selling things through the mailing list allowed? I have compatible THIN CLIENTS for Firewall / Router appliance use Available

2018-08-31 Thread Maurice McCarthy
On 31/08/2018, Alexis  wrote:
>
> Jon Tabor  writes:
>
>> Yep, right there with ya.  So, ah...what's everyone using for
>> mail
>> filtering these days?  Spamassassin? ClamAV?  Something else
>> entirely?
>
> i use maildrop:
>
> http://www.courier-mta.org/maildrop/
>
> Alexis.
>

$ pkg_info fdm



Re: sshfs permission problem

2018-08-03 Thread Maurice McCarthy
On 03/08/2018, Rudolf Sykora  wrote:
> doas sshfs syk...@pc109.fzu.cz: /home/ruda/mnt/fzu -o uid=1000 -o gid=1000

Leave out the 'doas' ?



Re: Poor browser performance in OpenBSD

2018-06-20 Thread Maurice McCarthy
Can only suggest reading man intel and/or running
$ doas fw_update

beyond that you'd  need someone more knowledgeable.
Good Luck



Re: user directory and wheel group

2018-06-16 Thread Maurice McCarthy
On 15/06/18 21:42, Stuart Henderson wrote:
> On 2018-06-15, Asbel Kiprop  wrote:
> > Sooo, current behaviour when i have everything in /home/ with
> > "myuser:myuser" ownership and "wheel:*:0:root, myuser" in /etc/group  the
> > correct one?
> 
> That's one common way. As for whether it's "correct", that depends how
> you want to administer your system.
> 
> One thing to be aware of is the not-very-well-known restriction that one
> user can be in a maximum of 16 groups.  If you're using the "uid=gid"
> scheme and have some admin users that you want to add to the primary
> group for a bunch of users, you'll soon run out.
> 

Thanks Stuart. I wasn't aware of that restriction. 



Re: user directory and wheel group

2018-06-15 Thread Maurice McCarthy
On 15/06/18 22:10, Asbel Kiprop wrote:
> Sooo, current behaviour when i have everything in /home/ with
> "myuser:myuser" ownership and "wheel:*:0:root, myuser" in /etc/group  the
> correct one?
> 

That is correct.



Re: user directory and wheel group

2018-06-15 Thread Maurice McCarthy
On 15/06/18 20:52, Asbel Kiprop wrote:
> hello @misc!
> Kinda simple question here, but didnt fount any answer.
> After fresh install i've created new user, added to 'wheel' group.
> But /home/user/ direstory and everything in it has "user:user" owner, but
> shouldnt it be like "user:wheel" instead?
> sorry for bad english, hope for some help

No, no!

$ useradd -D
group   =uid
base_dir/home
skel_dir/etc/skel
shell   /bin/ksh
class   
inactiveNull (unset)
expire  Null (unset)
range   1000..6

The wheel group is a secondary group for the user.
Read man 8 useradd



Re: Installboot uses wrong device for secondary boot loader

2018-04-30 Thread Maurice McCarthy
On 29/04/18 08:39, Eric Zylstra wrote:
> I???m following the documentation in OpenBSD FAQ:  disk setup.
> 
> I???m inclined to think there is a code issue since I specified device
> sd4 and installboot used that device for the first stage and then seems
> to have defaulted to sd0 for the second stage bootloader. 
> 
> EZ
> 
> 

Did you omit "MAKEDEV sd4" by any chance?



A thank you for Scid & Stockfish

2018-04-10 Thread Maurice McCarthy
Just a note to bcallah@ to express great thanks for porting the chess
applications scid and stockfish-9 to OpenBSD. I'm well chuffed.
:)



Re: 6.2 song?

2018-03-15 Thread Maurice McCarthy
On 15/03/18 01:38, Stuart Henderson wrote:
> On 2018-03-15, jungle boogie  wrote:

> 
> it doesn't say which December.
> 
> (and I don't really see why 14/3/2018 would be "pi day"...)
> 
> 

Pi = 3.14 ... 

Personally I think it should be 22nd July, in Britain.

Pi =~ 22/7

:)

 



Re: "Dump device" is only partition never swap file right? Deliberate or onl f historic reasons?

2018-03-15 Thread Maurice McCarthy
On 15/03/18 00:32, Tinker wrote:
> Hi,
> 
> I normally won't use any swap, and if it gets utilized then low
> performance would be fine, so normally using a swap file would be
> satisfactory for all my swap needs.
> 
> That is, if it was not for OS crash dumps. I like to catch those (to
> encrypted media) as they can provide insight into the reasons for
> system crash e.g. resolve hardware instability or kernel bug.
> 

The system is designed for the developers not the users.

> Dumps are stored to the "dump device", which is the swap partition on
> the system disk - and that has the consequence that dumps never are
> stored to swap files, right?
> 
> Is there a deliberate thought here that a crash could happen in the
> filesystem logics so therefore better write dumps only directly to
> partitions, or is this for historic reasons only e.g. noone bothered
> consider giving "dump device" a wider definition?
> 
> http://man.openbsd.org/OpenBSD-6.2/crash
> http://man.openbsd.org/OpenBSD-6.2/savecore
> http://man.openbsd.org/OpenBSD-6.2/swapon
> 
> Thanks,
> Tinker
> 



Re: [6.2] Problem with X, .cwmrc file missing from fresh install

2018-03-07 Thread Maurice McCarthy
On 08/03/18 05:16, Luka Kosanovic wrote:
> Hi, Im a new user and I have a problem with cwm, everything works, I
> login and default xterm window appears but default keyboard shortcuts
> do not work. I tried many standard shortcuts and nothing happens, then
> I went on mailing lists and found somebody had the same problem a
> month ago so I did a little bit of digging and found out .cwmrc conf
> file doesnt exist.
> Can you please tell me why is that, shouldnt there
> be a default file in my home folder with a fresh install? Everything
> else works as expected there were no problems.
> 
> Thank you
> 

The zero config is intentional. First have a read of man 5 cwmrc. My own
~/.cwmrc looks like this:

command xterm   /usr/X11R6/bin/xterm -bg black -fg wheat -fn 10x20 -ls

and ~/.xsession like this:

exec /usr/X11R6/cwm


and ~/.xinitrc like so:

/usr/X11R6/bin/xconsole -geometry -0+0 -fn 8x10 & \ 
/usr/X11R6/bin/xterm -e tmux -2u & \
/usr/X11R6/bin/xterm & \
/usr/X11R6/bin/cwm 

Good Luck



Re: Kernel memory leaking on Intel CPUs?

2018-01-06 Thread Maurice McCarthy
On 05/01/18 08:51, Eric Furman wrote:
> I always love threads like this. :)
> Doesn't it tell anybody anything that none of the developers have commented?
> 

Ignorant speculation: has pledge as revealed the severity of these bugs ?



Re: remastering as a live disk

2017-12-23 Thread Maurice McCarthy
On 23/12/17 00:23, Philip Mundhenk wrote:
> Are there any tools for cloning an OpenBSD installation as a live disk, like 
> the ones in the in the Debian (Respin;  Remastersys) and Mandrake (Makecd?) 
> families of Gnu/Linuxes? Or any reasonably painless way of making a 
> customized OpenBSD live disk?
> 
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
> Because the Constitution must not be allowed to become "a literary fiction."

Try fuguita.org



Re: [cwm] list all available items

2017-12-01 Thread Maurice McCarthy
On 30/11/17 12:25, Charlie Eddy wrote:
> Just a note that cwm is an old welsh word for a mountain pass, one of the
> few OED words with no vowel

The Welsh-English Dictionary gives

cwm 1. valley n.m.
http://www.geiriadur.net/

My Geography teacher taught us many years ago that it especially
referred to a valley created by glaciation scooping out a mountain
side. It is related to the English place names ending in coombe or
combe, such as Ilfracombe.





Re: Radeon discrete graphics issues

2017-11-18 Thread Maurice McCarthy
I assume the radeon firmware is in /etc/firmware. If not download
http://firmware.openbsd.org/firmware/6.2/radeondrm-firmware-20150927.tgz
and untar it in that directory. (Sorry if I'm teaching granny to suck eggs.)



Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Re: Radeon discrete graphics issues

2017-11-18 Thread Maurice McCarthy
Your dmesg says

...
vga1 at pci1 dev 0 function 0 "ATI Radeon HD 8600" rev 0x00
...

but I don't see this listed in "man 4 radeon".
https://man.openbsd.org/radeon

Cannot say for sure but it may not be supported.
Have a look at the log for X. Might provide info.
Good luck






Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Re: Problems dual booting OpenBSD 6.2 on X1 Carbon

2017-11-13 Thread Maurice McCarthy
On 12/11/17 20:53, I wrote:

> 
> I just copied my own openbsd.pbr (on a non-encrypted partition) to
> C:\.  I also slightly adjusted the faq instructions thus:
> 
> C:\Windows\system32> bcdedit /set {0154a872-3d41-11de-bd67-a7060316bbb1}
> path C:\openbsd.pbr  ### I added "C:"   < IDIOT
> The operation completed successfully.
> 

White man speak thru forked arse! Fooled myself into doing something I
had not. 



Re: Problems dual booting OpenBSD 6.2 on X1 Carbon

2017-11-12 Thread Maurice McCarthy
On 12/11/17 16:14, Martin Oppegaard wrote:
> Yes.
> 
> From before I have another fulldisk encrypted OpenBSD with Windows (7)
> multiboot and that works as normal. It's Windows 10 I'm having issues with.
> 
> On Sun, Nov 12, 2017 at 3:47 PM, Maurice McCarthy <mansel...@gmail.com>
> wrote:
> 
> > On 12/11/17 13:54, Martin Oppegaard wrote:
> > > Yes, with same result.
> > >
> > > On Sun, Nov 12, 2017 at 11:56 AM, Maurice McCarthy <mansel...@gmail.com>
> > > wrote:
> > >
> > > > rsd2c
> > > >
> > > >
> >
> > Sorry, just to double-check. From
> > https://www.openbsd.org/faq/faq4.html#Multibooting
> >
> > you created the pbr with
> >
> > # dd if=/dev/rsd2a of=openbsd.pbr bs=512 count=1
> >
> > yes?
> >
> >

I just copied my own openbsd.pbr (on a non-encrypted partition) to
C:\.  I also slightly adjusted the faq instructions thus:

C:\Windows\system32> bcdedit /set {0154a872-3d41-11de-bd67-a7060316bbb1}
path C:\openbsd.pbr  ### I added "C:"
The operation completed successfully.

because my Win10 boots from the system reserved 500MB and not from C:

This worked OK for me. Don't know if adding C: to \openbsd.pbr would
work for you too. The only other thing I can think of is to move bootmgr
to C: with the help of BCDedit.

Good Luck
Moss




Re: Problems dual booting OpenBSD 6.2 on X1 Carbon

2017-11-12 Thread Maurice McCarthy
On 12/11/17 13:54, Martin Oppegaard wrote:
> Yes, with same result.
> 
> On Sun, Nov 12, 2017 at 11:56 AM, Maurice McCarthy <mansel...@gmail.com>
> wrote:
> 
> > rsd2c
> >
> >

Sorry, just to double-check. From
https://www.openbsd.org/faq/faq4.html#Multibooting 

you created the pbr with 

# dd if=/dev/rsd2a of=openbsd.pbr bs=512 count=1

yes?



Re: Problems dual booting OpenBSD 6.2 on X1 Carbon

2017-11-12 Thread Maurice McCarthy
rsd2c



Re: Problems dual booting OpenBSD 6.2 on X1 Carbon

2017-11-12 Thread Maurice McCarthy
On 12/11/17 10:35, I wrote:
> Snap response but have you tried the pbr from sd2c? 
> 
> 

Delete all and insert ""



Re: Problems dual booting OpenBSD 6.2 on X1 Carbon

2017-11-12 Thread Maurice McCarthy
Snap response but have you tried the pbr from sd2c? 


On 12/11/17 09:43, Martin Oppegaard wrote:
> Hi misc,
> 
> I've just shrinked the Windows partition on my X1 Carbon and installed
> OpenBSD 6.2 with full disk encryption. After copying the PBR Windows is not
> able to boot with it, returning error 0x07b: file is missing or corrupt.
> 
> I've tried with "PBR"s from several partitions, including sd2a where sd2 is
> the encrypted disk.
> 
> I can boot into OpenBSD with the installation media's bootloader however.
> Attached is dmesg, fdisk and disklabel outputs. Does anyone have any
> suggestions?
> 
> Regards,
> Martin Oppegaard
> 



Re: Release 62 i386 not booting on MacBook Pro 13?? mid 2012

2017-11-02 Thread Maurice McCarthy
On 01/11/17 23:06, SFM wrote:
> Hi everyone ! I posted this a while ago but got absolutely no answers. As a 
> couple of weeks have gone by, I was hoping *maybe* someone out there already 
> has an explanation or solution to this problem. Thanks in advance !
> 
> I had been able to boot and run releases 60 and 61 in exactly the same 
> hardware, but the install 62CD did not boot (strangely enough), and neither 
> does the OS, which I successfully installed from a USB stick. During the 
> first boot, Screen goes blank (backlight on) and freezes right after printing 
> the CPU cores to the screen. No dmesg and no keyboard or mouse interaction 
> possible.
> 
> Ax0n Reported the same Problem with a snapshot and similar hardware in this 
> mailing list, but the thread is already about two months old and it is not  
> clear if he managed to solve it or not.


I had similar trouble with an AMD64 and  Radeon HD 7470 graphics card. I
found that copying the radeondrm firmware before first boot to
/etc/firmware/ fixed this. http://firmware.openbsd.org/firmware/6.2/
In my case it is the same firware as 6.1. I've no idea whether this will
work for you.

Good Luck



Re: Is Matrox G200e supported?

2017-09-23 Thread Maurice McCarthy
On 23/09/17 02:56, Philippe PONCEBLANC wrote:
> Hello,
> "Why is my Matrox MGA G200e not supported?" on a Proliant ML150 G6,
> OpenBSD 6.1 for I386, My full dmesg output, complete output of sysctl
> and Xorg.0.log in this message. "Matrox G200e: back to software
> rendering". 2d acceleration is not available. Gnome appears but the
> windows of the programs move very slowly, I think it lacks a firmware
> or settings for the server X.
> 
> Kinds Regards
> Philippe Ponceblanc
> 

As Xenocara tracks Xorg then this may be related to this bug only 
recently fixed in Linux systems

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1316035



Re: Set date during OpenBSD installation

2017-08-19 Thread Maurice McCarthy
On 19/08/17 12:23, Nan Xiao wrote:
> Hi all,
> 
> Greetings from me! I am a newbie of OpenBSD, and come across
> a confusion of setting date during installation:
> 
> I install OpenBSD on VirtualBox and host machine is ArchLinux.
> During setup, it prompts me:
> 
> > What timezone are you in? ('?' for list) [Asia/Singapore]
...
> 
> After installation, I use "date" command to check time:
> 
> #date
> Sat Aug 19 03:57:14 GMT 2017
> 
> The time is correct. But after reboot. The time changes:
> 
> #date
> Sat Aug 19 20:01:00 +8 2017
> #date
> Sat Aug 19 12:01:05 UTC 2017

Hi and welcome,

Did you do something between these two commands? My own date displays thus:

$ date
Sat Aug 19 08:15:55 BST 2017

$ locale
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES=en_GB.UTF8
LC_ALL=

and is as expected for the United Kingdom. The system usually displays
the locale date. Whenever there is a problem the first thing to do is to
read the relevant manpage and faq. The developers spend a lot of time
keeping the manpages right so that is always the first thing to do. They
are way superior to all linux systems I have seen. 

$ man 1 date
$ man 1 locale

I don't understand how this has arisen on your installation.

Good Luck
Moss



Re: Using USB headsets

2017-08-17 Thread Maurice McCarthy
On 16/08/17 19:21, Norman Golisz wrote:
> Hi,
> 
> I'm trying to figure out how to get my USB headset (Plantronics C310)
> to work.
> 
> I can't hear anything, nor does the microphone work. I fiddled with
> different mixerctl settings to no avail, and I'm not even sure my
> headset had been detected at all, as the available options to set
> don't change, while I plug or unplug the device[1].
> 
> dmesg[2] happily reports it detected and configured the device:
> 
> uaudio0 at uhub0 port 1 configuration 1 interface 0 "Plantronics Plantronics 
> C310" rev 2.00/1.35 addr 2
> uaudio0: audio rev 1.00, 7 mixer controls
> audio1 at uaudio0
> uhidev1 at uhub0 port 1 configuration 1 interface 3 "Plantronics Plantronics 
> C310" rev 2.00/1.35 addr 2
> uhidev1: iclass 3/0, 42 report ids
> uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0

...

> 
> Do you have an idea what else to try? Do you have experience with
> similar hardware?
> 
> Best wishes,
> Norman
> 

# usbdevs -vd 

as root will tell you something. I'd also look at lsusb as an ordinary
user. You might have to add the user to the operator group or change 
permissions in /dev/usbx (whichever number it is) for the user to have
access to the usb. But I'm guessing. 

Lastly raise outputs.master=255,255

> [1] mixerctl -v
> 

> outputs.master=126,126
> outputs.master.mute=off  [ off on ]

Good Luck
Moss



Re: Headphone with Conexant CX20724

2017-06-27 Thread Maurice McCarthy
On 27/06/17 10:27, Manuel Giraud wrote:
> Maurice McCarthy <mansel...@gmail.com> writes:
> 
> > $ mixerctl outputs.hp_mute=off
> 
> I don't have this entry and mixerctl said so. I think I'll have to dive
> into understanding azalia, now.
> -- 
> Manuel Giraud
> 

The above is a command for testing.



Re: Headphone with Conexant CX20724

2017-06-27 Thread Maurice McCarthy
On 27/06/17 09:51, Manuel Giraud wrote:
> Edgar Pettijohn  writes:
> 
> > mixerctl (1) handles a lot of stuff. Take a look at it's output and
> > you may find something that needs tweaking.
> 
> I started with mixerctl but did not found anything. And everything seems
> reasonable (no?):
> 
> inputs.dac-0:1_mute=off
> inputs.dac-0:1=126,126
> inputs.dac-2:3_mute=on
> inputs.dac-2:3=126,126
> inputs.beep=108
> record.adc-0:1_source=mic2
> record.adc-0:1_mute=off
> record.adc-0:1=126,126
> record.adc-2:3_source=mic2
> record.adc-2:3_mute=off
> record.adc-2:3=126,126
> outputs.spkr_source=dac-2:3
> outputs.spkr_eapd=on
> inputs.mic=85,85
> outputs.mic_dir=input-vr80
> inputs.mic2=85,85
> outputs.hp_source=dac-0:1
> inputs.hp=85,85
> outputs.hp_dir=output
> outputs.hp_boost=off
> outputs.hp_eapd=on
> outputs.mic_sense=unplugged
> outputs.hp_sense=plugged
> outputs.spkr_muters=hp
> outputs.master=126,126
> outputs.master.mute=off
> outputs.master.slaves=dac-0:1,dac-2:3
> record.volume=126,126
> record.volume.mute=off
> record.volume.slaves=adc-0:1,adc-2:3
> 
> -- 
> Manuel Giraud
> 

I'm no expert but I'd check audioctl for the number of play channels.
Mine looks so~

$ audioctl
name=azalia1
mode=
pause=0
active=0
nblks=2
blksz=960
rate=48000
encoding=s16le
play.channels=2
play.bytes=0
play.errors=0
record.channels=2
record.bytes=0
record.errors=0

Then I'd try 

$ mixerctl outputs.hp_mute=off

as that does not seem to appear in your mixer listing. If it makes any
difference then do

$ echo "outputs.hp_mute=off" >>~/.mixerctl.conf

to have the same on reboot. Just for comparison this my list of head
phone settings most of which are automatic: 

$ mixerctl | grep hp  
inputs.mix_source=mic,mic2,line-in,hp,line
inputs.mix_hp=248,248
outputs.hp_source=mix5
outputs.hp_mute=off
inputs.hp=255,255
outputs.hp_dir=output
outputs.hp_boost=off
outputs.hp_eapd=on
record.adc-2:3_source=mic,mic2,line-in,hp,line,mix
record.adc-0:1_source=mic,mic2,line-in,hp,line,mix
outputs.hp_sense=unplugged
outputs.master.slaves=dac-0:1,dac-6:7,line,hp

Also mixerctl outputs
...
outputs.master=255,255
outputs.master.mute=off
...

Good Luck
Moss



Re: Is this an intrusion?

2017-06-18 Thread Maurice McCarthy
Just for info:

So I rang Virgin to ask them to turn off their ANES for me (Advanced
Network Error Search). 2 phone calls, 57 minutes and 7 advisors later
they managed to find someone who knew what I was talking about. That's
why I don't phone them unless I see no option.

Now if I run with their default DNS server I still get the same entry in
xauth list ! Prepending the opendns server removes it for me.

Thanks for all the help and insights.
High time to close this thread. :)



Re: Is this an intrusion?

2017-06-18 Thread Maurice McCarthy
On 17/06/17 15:01, Stuart Henderson wrote:
> On 2017-06-17, Maurice McCarthy <mansel...@gmail.com> wrote:
> > On 17/06/17 09:27, Stuart Henderson wrote:
> >> On 2017-06-16, Maurice McCarthy <mansel...@gmail.com> wrote:
> >> > Ooops! ... Well, I moved the .Xauthority file aside and restarted X to
> >> > create a new one. Obviously it has one line with my hostname in it. But 
> >> >
> >> > $ xauth list
> >> > fresh.yem/unix:0  MIT-MAGIC-COOKIE-1  ... 
> >> > advancedsearch.virginmedia.com:0  MIT-MAGIC-COOKIE-1 ... 
> >> >
> >> > And only now did I notice that the magic cookie is identical for both
> >> > entries. This mystifies me. (BTW apparently Virgin has historically used
> >> > a bit of DNS hijacking so I bunged this line into /etc/hosts before
> >> > restarting X.
> >> >
> >> > 127.0.0.1advancedsearch.virginmedia.com )
> >> 
> >> It'll be because of your hosts entry. Try xauth -n list instead.
> >> 
> >> 
> >
> > A, I see. The hosts entry says that advancedsearch.virginmedia.com
> > is an alias for the local  host.
> >
> > $ xauth -n list
> > fresh.yem/unix:0  MIT-MAGIC-COOKIE-1  ... 
> > 81.200.64.50:0  MIT-MAGIC-COOKIE-1  ...
> >
> > So this tells me why I'm getting this list now. But that hosts entry was
> > only made _after I'd found virginmedia in the xauth list. 
> 
> Hmm - I was expecting maybe 127.0.0.1 in there - it looks like
> 81.200.64.50 really is the address of advancedsearch.virginmedia.com.
> I don't know the full details of how X figures out which hosts to add
> there but I think one or other of these are involved,
> 
> 1. looks like your local hostname is "fresh.yem", attempting to resolve
> that from VM DNS will hit their NXDOMAIN hijacking and return either
> 81.200.64.50 or a CNAME to advancedsearch.virginmedia.com or similar.
> 
> 2. maybe something has done a reverse lookup for 127.0.0.1 and got
> advancedsearch.virginmedia.com from the hosts file, then done a forward
> lookup for advancedsearch.virginmedia.com and added access to the IP
> address resolved for it.
> 
> Adding to /etc/hosts for things which you want to "block" is fairly
> common practice but I've never been a huge fan.. For this case where
> you're just working around the ISP resolver hijacking NXDOMAIN
> responses I'd usually take the workaround of running my own local
> recursive DNS server (e.g. unbound) and use that instead of the
> ISP's.
> 
> Going back to the original question, I don't think it's an intrusion,
> just due to less-than-ideal things with the DNS setup.
> 
> Also note that X doesn't normally listen to TCP anyway any more, this
> was changed around 2015. You would need to use the -listen flag, as
> well as remove the default firewall rules that block 6000:6010.
> 
> 

Thanks for that Stuart,

fresh.yem is my host and, obviously, starting X before switching on the
router prevents the xauth entry from ever appearing. 

I'll have a read of the unbound man pages and see if I can fathom that.
I tried removing the resolv.conf entry 

nameserver  192.168.0.1

by playing with dhclient.conf but neither 'ignore' nor 'supercede'
statements worked. Prepending the opendns servers did worked as expected 

nameserver 208.67.222.222
nameserver 208.67.220.220
nameserver 192.168.0.1

lookup file bind

(resolv.conf.tail only appends nameservers)

$ nslookup 8.8.8.8
Server: 208.67.222.222
Address:208.67.222.222#53

Non-authoritative answer:
8.8.8.8.in-addr.arpaname = google-public-dns-a.google.com.


Still, if I can understand unbound. I'd give that a go.

Cheers
Moss



Re: Is this an intrusion?

2017-06-17 Thread Maurice McCarthy
On 17/06/17 09:27, Stuart Henderson wrote:
> On 2017-06-16, Maurice McCarthy <mansel...@gmail.com> wrote:
> > Ooops! ... Well, I moved the .Xauthority file aside and restarted X to
> > create a new one. Obviously it has one line with my hostname in it. But 
> >
> > $ xauth list
> > fresh.yem/unix:0  MIT-MAGIC-COOKIE-1  ... 
> > advancedsearch.virginmedia.com:0  MIT-MAGIC-COOKIE-1 ... 
> >
> > And only now did I notice that the magic cookie is identical for both
> > entries. This mystifies me. (BTW apparently Virgin has historically used
> > a bit of DNS hijacking so I bunged this line into /etc/hosts before
> > restarting X.
> >
> > 127.0.0.1   advancedsearch.virginmedia.com )
> 
> It'll be because of your hosts entry. Try xauth -n list instead.
> 
> 

A, I see. The hosts entry says that advancedsearch.virginmedia.com
is an alias for the local  host.

$ xauth -n list
fresh.yem/unix:0  MIT-MAGIC-COOKIE-1  ... 
81.200.64.50:0  MIT-MAGIC-COOKIE-1  ...

So this tells me why I'm getting this list now. But that hosts entry was
only made _after I'd found virginmedia in the xauth list. 

Thanks to Stuart and all others for the suggestions. It seems clear to
me now that my understanding is not good enough to grasp what is going
on and I should be left alone to educate myself about dns etc. 

Kindest Regards
Moss



Re: Is this an intrusion?

2017-06-17 Thread Maurice McCarthy
On 17/06/17 02:32, Joe Holden wrote:

> > 
> > To Joe Holden,
> > 
> > Thanks for the tip about NXDOMAIN queries. Don't see where to unset in
> > the router but I'm guessing the hosts file entry above should do the
> > same thing.
> > 
> > I'll keep looking around to reassure myself anyhow 
> > 
> > Thanks to all, 
> > Moss
> 
> It is done by the VM dns servers, if you visit a domain that doesn't
> exist you should be directed to the advanced search page, there *should*
> be a link to disable it there, but if not login to your account and
> disable it, can't remember what it is called...
> 
> Hosts file won't solve the problem really since anything else will also
> get the same result
> 



Looks like the page to toggle the "service" has been disabled this week
https://my.virginmedia.com/advancederrorsearch/settings

as the toggle isn't working. There's been discussion in the VM forum
about it. BTW I've got a feeling I might have already toggled this after
seeing this in the The Register. 
http://www.theregister.co.uk/2009/08/17/dzuiba_virgin_media_opendns/
Certainly I haven't had the VM "search page" come up in some years.


Eventually I found this announcement from 6th June. 
https://help.virginmedia.com/system/templates/selfservice/vm/help/customer/locale/en-GB/portal/20030001000/article/HELP-2236/Advanced-network-error-search

This suggests to me using a different nameserver and put it in
resolv.conf.tail At present resolv.conf simply points to the router. 

But I still see no good reason for xauth to list VM server as having the
authority to view my X screens. And do so under my own magic cookie.
I'll keep digging around until I understand it anyhow.

Thanks
Moss



Re: Is this an intrusion?

2017-06-16 Thread Maurice McCarthy
On 15/06/17 14:13, Ted Unangst wrote:
> Maurice McCarthy wrote:
> > Hi,
> > 
> > $ xauth list
> > ...
> > advancedsearch.virginmedia.com:0  MIT-MAGIC-COOKIE-1  
> > f3aa08ed0926482c51f5cb386e28a0ea
> > 
> > 
> > Virgin Media is my ISP. Is this an intrusion into my system please? I
> > ran xauth remove ... just for the sake  of it anyhow.
> 
> well, even if it wasn't, you just posted the secret key to a public list, so
> probably wise to remove it anyway. :)

Thanks to all that have replied and apologies for the slow response. Had
to attend to more urgent matters. (Lost the blessed terrestrial TV
signal!) 

To TedU, 

Ooops! ... Well, I moved the .Xauthority file aside and restarted X to
create a new one. Obviously it has one line with my hostname in it. But 

$ xauth list
fresh.yem/unix:0  MIT-MAGIC-COOKIE-1  ... 
advancedsearch.virginmedia.com:0  MIT-MAGIC-COOKIE-1 ... 

And only now did I notice that the magic cookie is identical for both
entries. This mystifies me. (BTW apparently Virgin has historically used
a bit of DNS hijacking so I bunged this line into /etc/hosts before
restarting X.

127.0.0.1   advancedsearch.virginmedia.com )


To Peter Hessler, 

The reverse DNS went like this

80.2.249.209 cpc77525-cwma10-2-0-cust208.7-3.cable.virginm.net

I run most traffic through a vpn but my router is a Virgin SuperHub2, as
they call it. 


To Dot Yet,

I've through system logs etc and nothing seems to look suspicious. Can't
find any attempts to execute commands nor authenticate. Further the
remote access port is disabled in the router settings. I've never asked
Virgin for support in years.


To Joe Holden,

Thanks for the tip about NXDOMAIN queries. Don't see where to unset in
the router but I'm guessing the hosts file entry above should do the
same thing.

I'll keep looking around to reassure myself anyhow 

Thanks to all, 
Moss




 



Is this an intrusion?

2017-06-15 Thread Maurice McCarthy
Hi,

$ xauth list
...
advancedsearch.virginmedia.com:0  MIT-MAGIC-COOKIE-1  
f3aa08ed0926482c51f5cb386e28a0ea


Virgin Media is my ISP. Is this an intrusion into my system please? I
ran xauth remove ... just for the sake  of it anyhow.

Thanks
Moss



Re: Slow video in VLC and mplayer, but not in browsers

2017-05-17 Thread Maurice McCarthy
On Wed, May 17, 2017 at 01:25:11AM -0400 or thereabouts, Maximilian Pichler 
wrote:
> Hi,
> 
> I'm getting slow and choppy (non-accelerated?) video in both VLC and
> mplayer on OpenBSD 6.1. However, when watching the same video inside
> chromium or firefox the quality is decent. What might cause this?
> 
> $ dmesg | grep vga
> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 630" rev 0x04
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> 
> $ glxinfo
> [...]
> direct rendering: Yes
> [...]
> Extended renderer info (GLX_MESA_query_renderer):
> Vendor: VMware, Inc. (0x)
> Device: softpipe (0x)
> Version: 13.0.6
> Accelerated: no
> Video memory: 16068MB
> Unified memory: no
> Preferred profile: core (0x1)
> Max core profile version: 3.3
> Max compat profile version: 3.0
> Max GLES1 profile version: 1.1
> Max GLES[23] profile version: 3.0
> 
> Btw, for VLC I also need to export
> LD_PRELOAD=/usr/X11R6/lib/libGL.so.17.1 to work around undefined
> symbols in swrast_dri.so, as described in
> https://marc.info/?l=openbsd-ports=146532946103283.
> 
> Thanks for any hints!
> 
> Maxim
> 

I too get this kind of effect but I'm not clever enough to sort it out. An
example from running mpv over a chess game for a few seconds. :

$ mpv nakamura-kramnik.mkv  
Playing: nakamura-kramnik.mkv
 (+) Video --vid=1 (*) (vp9)
 (+) Audio --aid=1 (*) (aac)
libEGL warning: DRI2: failed to authenticate
AO: [sdl] 44100Hz stereo 2ch s32
VO: [opengl] 1280x720 yuv420p
AV: 00:00:00 / 00:31:42 (0%) A-V:  0.000 Dropped: 3

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

AV: 00:00:02 / 00:31:42 (0%) A-V:  0.000 Dropped: 62


Exiting... (Quit)
pthread_mutex_destroy on mutex with waiters!


The paragraph beginning Audio/Video is highlighted in a yellow colour. (Colorls 
is
installed and I use reverse video.) Playing for longer gets the same desynch
error repeated often.

Thanks
Moss



Re: pkg_add on OpenBSD 6.1, fresh install

2017-04-12 Thread Maurice McCarthy
On Tue, Apr 11, 2017 at 04:43:27PM -0600 or thereabouts, Anathae Townsend wrote:
> I have done a fresh install of 6.1 (downloaded it today, from
> ftp.openbsd.org/pub/OpenBSD/6.1/amd64 as the file install61.fs (I live in
> Edmonton, Alberta, that's why I use the source ftp)) and was trying to
> install some packages...
> 
> When I type in pkg_add -v http://ftp.openbsd.org/%m/joe (as an example),
> pkg_add reports joe not found.  If instead I do pkg_add -v
> http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/joe, it works.  
> 
> Admittedly, I am running this from the root login... am I doing something
> wrong?
> 
> Anathae
> 

$ man pkg.conf
...
Special sequences â%a, %c, %m, %v will be expanded to
package architecture, OS version or snapshots,
full mirror pathâand OS version respectively.
... 

"%m" is the _whole _path



Re: Openup and stable

2017-03-25 Thread Maurice McCarthy
On Sat, Mar 25, 2017 at 11:53:35AM +0100 or thereabouts, ludovic coues wrote:
> You might have missed the email from Antoine Jacoutot about syspatch,
> on the first december last year
> 
> See http://man.openbsd.org/syspatch
> 

The same Antoine Jacoutot also maintained openup. I believe several of the
OpenBSD developers work for M:Tier. Therefore I think they can be trusted.



Re: OpenBSD Stable

2017-01-18 Thread Maurice McCarthy
On Wed, Jan 18, 2017 at 01:55:36PM +0200 or thereabouts, Kapetanakis Giannis 
wrote:
> On 18/01/17 12:36, George wrote:
> > Its the stable version that im trying to install. I installed the
> > release version but i wanted to update to stable mostly for the security
> > patches.

... 

> 
> I'm not sure about the update procedure for packages in stable.
> I only use snapshots and update with
> pkg_add -u
> 
> For stable you probably have to recompile them yourself from ports, since I 
> see in mirror servers that they are not updated.
> 
> G
> 

https://www.mtier.org/solutions/apps/openup/



Blueray Writer Support?

2017-01-10 Thread Maurice McCarthy
Anyone know if an ASUS BW-16D1HT (Internal BD Writer 16X) is supported on
OpenBSD?

Thanks, Moss.



Re: Custom installation iso

2016-12-31 Thread Maurice McCarthy
On Sat, Dec 31, 2016 at 10:35:31AM +0100 or thereabouts, Thuban wrote:
> Hello,
> I currently use customized install60.iso images with site60.tgz set. It
> works quite well, but I need to include in site60.tgz set some packages.
> 
> For now, I used pkg_add in a rc.firsttime script, but it requires an
> internet access at first boot, and it's not handy.
> 
> Do you have any advice to include packages with dependencies in an
> install cd ?
> 
> regards.
> 
> thuban
> 

Hard copy installation CDs simply have a folder e.g. /6.0/packages/amd64/
filled with whatever packages you chose and then you install what you 
want manually. Dependencies you'd have to ensure yourself. 

Happy New Year to you!
Moss



Re: Cups working but cannot print pdf from Firefox.

2016-12-04 Thread Maurice McCarthy
I find brute force and ignorance quite good. 

$ doas pkg_add -ui cups # for example

reinstalls cups and all dependencies. Then re-add your printer at

$ firefox http://localhost:631 

I too cannot print a pdf from Firefox directly to my HP Deskjet 2540 MFI, 
connected directly to the usb. Webpages do print and saving the pdf to disk 
and using xpdf to print works around the problem.

The cups logs when attempting to print a pdf directly from Firefox give:

/var/log/cups/access_log :
"POST /printers/hp HTTP/1.1" 200 403 Print-Job client-error-bad-request

/var/log/cups/error_log :
HTTP_STATE_WAITING Closing for error 32 (Broken pipe)

Lastly you might put "LogLevel debug" into /etc/cups/cupsd.conf and 

$ doas rcctl restart cupsd

see what it gives you. After that it is beyond me. :) My apologies if I am
talking well below your understanding. It is my level. 



On Sat, Dec 03, 2016 at 05:25:54PM -0500 or thereabouts, Michael Hunt wrote:
> Cups interface recognizes my Xerox_Phaser_6010N printer but when I go to print
> a pdf displayed in Firefox or any other page from it It looks like it???s
> going to happen and I get the job listed as Completed but the printer didn???t
> do anything.
> 
> Has anyone had any success with using CUPS to print. Cups detected my Xerox on
> the network so it looked like it would work but the printer doesn???t seem to
> respond. It seems to print on port 9100 but that didn???t seem to work for me
> either. Do I need to use a specific protocol with that port number?
> 
> Yes I have read the help file and got the ???gtk+3-cups??? package so that I
> can print from Firefox and it shows the Xerox printer in the Firefox print
> dialog. It sends to the printer but the printer does nothing as I stated
> before. I know the printer works because I print from my MacBook Pro as well
> to the network.
> ##
> Cups config of this printer looks like this:
> Description: Xerox Phaser 6010N
> Location: Local Printer
> Driver: Xerox Phaser 6100 Foomatic/Postscript (grayscale, 2-sided printing)
> Connection: "socket://192. 168.1.101
> Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided.
> ##
> 
> I???d appreciate any advice on how to troubleshoot this or get the printer to
> respond.



Re: faq13 correction

2016-05-31 Thread Maurice McCarthy
On Mon, May 30, 2016 at 11:17:35PM +0200 or thereabouts, Theo Buehler wrote:
> Hi Moss,
> 
> Thanks for your report.  You are right that "headphones" were renamed to
> "hp" more than 7 years ago, so some adjustments need to be made:
> 
> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/audioio.h?rev=1.20=text/x-cvsweb-markup
> 
> I don't quite see how to fix this cleanly, though and I don't know
> whether it is possible to set the sound volume of the headphones
> independently of all other outputs.  I'll wait a bit to see whether
> ratchov@ chimes in, otherwise I'm going to poke him in a few days.
> 
> Thanks again and please don't be discouraged by ... let's just say "not
> so polite" ... reactions.  If you see things that you think need fixing,
> please continue to report them.
> 
> Theo

Thank you for the encouragement! Mind, I could have written the report much
more simply and clearly lol. It would have been more in keeping with the
style of the OS. Never mind, all is well.

Moss



Re: faq13 correction

2016-05-29 Thread Maurice McCarthy
On Sun, May 29, 2016 at 10:20:21PM +0300 or thereabouts, Mihai Popescu wrote:
> > A small correction needs to be made to the Multimedia faq13.
> 
> The FAQ rarely needed corrections, until now.
> The FAQ is not a substitute for man pages! Some nice folks work a lot
> to keep it to date, to throw a clue to the beginners. But they didn't
> figured out until now how to convince beginners to read correctly and
> interpret what they read.
> 
> >From the FAQ 13:
> "All supported audio drivers are already included in the GENERIC
> kernel, so there is no need for extra configuration or installation of
> drivers. Running mixerctl(1) with no arguments will list the device's
> mixer controls and current settings."
> 
> Again, to remove any doubt, the explication continues:
> 
> "Some devices have only a handful of controls, some have a hundred or
> more. Note that not every option of every audio chip necessarily
> reaches the outside world. There may be, for example, more outputs
> listed than are physically available on a sound card or motherboard."
> 
> And again, just to be sure:
> 
> "The controls of an audio device may be labeled differently. Usually
> the controls have a meaningful label, but sometimes one must simply
> try different settings to see what effect each control has."
> 
> The man page for mixerctl(1):
> 
> "The exact set of controls that can be manipulated depends on the mixer."
> 
> The man again:
> 
> "EXAMPLES
> 
> Show possible values for all mixer variables, and their current settings:
> 
> $ mixerctl -av "
> 
> I see you are a master of grep. Ironically, that stereotype blocked
> you from real command output.
> 

Thank you for the reply. I had omitted to mention that I had in fact read
the manpage and studied the output of "mixerctl -av" before reporting. I'd
cured my own problem and was merely trying to be helpful within my
capabilities.

Your efforts are greatly appreciated.
Moss



faq13 correction

2016-05-29 Thread Maurice McCarthy
Hi

A small correction needs to be made to the Multimedia faq13. I am running
amd64-5.9-stable. 

~ $ mixerctl outputs.headphones=160,160
mixerctl: field outputs.headphones does not exist

~ $ mixerctl outputs.headphones.mute=off
mixerctl: field outputs.headphones.mute does not exist

~ $ mixerctl outputs.hp_mute=off
outputs.hp_mute: on -> off
 
It is not obvious to me if or where the headphone (or hp) volume can be
adjusted independent of the outputs.master:

~ $ mixerctl | grep hp
inputs.mix_source=mic,mic2,line-in,hp,cd,beep,line-grn,line-blk,line-org
inputs.mix_hp=120,120
outputs.hp_source=mix5
outputs.hp_mute=off
inputs.hp=85,85
outputs.hp_dir=output
outputs.hp_boost=off
record.adc-2:3_source=mic,mic2,line-in,hp,cd,beep,line-grn,line-blk,line-org,mix
record.adc-0:1_source=mic,mic2,line-in,hp,cd,beep,line-grn,line-blk,line-org,mix
outputs.hp_sense=plugged
outputs.master.slaves=mix2,mix5,line-grn,hp

~ $ mixerctl -av | grep master
outputs.master=200,200 
outputs.master.mute=on  [ off on ]
outputs.master.slaves=mix2,mix5,line-grn,hp  { mix2 mix3 mix4 mix5 line-grn
line-blk line-org mic mic2 line-in hp mix8 }

Thanks
Moss



Re: encrypted disk image

2016-05-20 Thread Maurice McCarthy
On Fri, May 20, 2016 at 05:33:44PM +0200 or thereabouts, Peter Wens wrote:
> Hi,
> 
> On a encrypted (sd1) OpenBSD 5.9 install (amd64, (qemu, virtio)):
> 
> I created a diskimage (dd if=/dev/urandom of=disk.img bs=1m count=100

Is that a typo or is your image really only 100M ??

Regards



Re: bioctl: unable to read passphrase

2016-05-15 Thread Maurice McCarthy
On Sun, May 15, 2016 at 12:21:48AM +0200 or thereabouts, Leo Unglaub wrote:

> 
> But i think i found out what caused the problem. Every time i did a cd 
> /dev && sh MAKEDEV all it did not work and bioctl could not read my 
> passphrase anymore. When i just created the device nodes i needed 
> manually it seams to work. Maybe this is a bug in the MAKEDEV script or 
> i just missused it. Sorry about that.
> 

I believe the installation ramdisk has limited space so you likely used it
all up with "MAKEDEV all". It is limited to install on very old systems.

Regards
Moss



Re: 5.9 discs in the wild.

2016-04-21 Thread Maurice McCarthy
5.9 arrived Swansea UK 16 April, while I was away at work :)



Re: scanner HP scanjet4370 not working

2016-04-17 Thread Maurice McCarthy

On 2016-04-17 13:03, EdaSky wrote:

I have scanner HP scanjet4370

tested on 5.8 RELEASE and 5.9 GENERIC.MP#1690 i386 with the same 
result


scanner is detected

$ dmesg
OpenBSD 5.9-current (GENERIC.MP) #1690: Thu Mar 31 09:41:46 MDT 2016
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU U2500 @ 1.20GHz ("GenuineIntel" 686-class) 
1.20

GHz
...
ugen1 at uhub0 port 5 "hewlett packard hp scanjet" rev 2.00/1.00 addr 
2


$ scanimage -L
device `hp3900:libusb:000:002' is a Hewlett-Packard Scanjet 4370 
flatbed

scanner

But the scan does not work.
When I start previewing or scanning. Head will start move but stops
immediately.

$ scanimage -T
scanimage: scanning image of size 433x590 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 1299 bytes...  FAIL Error: End of 
file

reached

$ hp-scan
HP Linux Imaging and Printing System (ver. 3.16.3)
Scan Utility ver. 2.2
..
warning: No destinations specified. Adding 'file' destination by 
default.

Using device hp3900:libusb:000:002
Opening connection to device...

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
 Top left (x,y): (0.00mm, 0.00mm)
 Bottom right (x,y): (220.00mm, 300.00mm)
 Width: 220.00mm
 Height: 300.00mm
Destination(s): file
Output file:
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/edasky/hpscan001.png'.
Warming up...
Scanning...
Reading data: [\
  ] 0%
error: No data read.
Closing device.

xane the same result.

Please what should I even try?


full debug
$ export SANE_DEBUG_HP3900=4

http://185.47.222.11/scanner-debug.txt


$ pkg_info on snapshot
sane-backends-1.0.25p2
xsane-0.999p2

$ pkg_info on 5.8 release
sane-backends-1.0.24p6
xsane-0.999p2


On Debian linux with sane-backends-1.0.24 and xsane-0.998 works fine.


Don't have OpenBSD here but have you

a) Read /usr/local/share/doc/pkg_readme/cups and any hplip documents?
b) disabled ulpt in the kernel?

Good Luck
Moss



Re: rescue booting system by cdrom bootloader

2016-04-13 Thread Maurice McCarthy

On 2016-04-13 18:03, Bambero wrote:

Hi

Now I'm booting from cdrom and using command:

boot hd0a:/bsd

and it works, but root filesystem is readonly.

How to make it rw?

Regards
Bambero


Try this

# mount -w /



Re: Wifi on Acer Aspire One ZG5 doesn't work

2016-01-09 Thread Maurice McCarthy
You have installed
http://firmware.openbsd.org/firmware/5.8/athn-firmware-1.1p1.tgz
yes? 



Re: ASMedia USB 3.0

2015-10-30 Thread Maurice McCarthy
Found the following at 
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/usb/host/xhci-pci.c

175 if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
176 pdev->device == 0x1042)
177 xhci->quirks |= XHCI_BROKEN_STREAMS;

Does this mean I'm flogging a dead horse? :)

Moss



Re: ASMedia USB 3.0

2015-10-30 Thread Maurice McCarthy
> > Hi,
> >
> > Got 5.8-stable installed today. Many thanks for the commitment of all
> > developers etc. All went well except for the USB 3.0 I've a feeling it may
> > not work at all unless I find a blob for the pci-e usb 3.0 card.
> >
> > # usbdevs -vd
> > Controller /dev/usb0:
> > addr 1: super speed, self powered, config 1, xHCI root hub(0x),
> > ASMedia(0x1b21), rev 1.00
> >   uhub0
> >  port 1 disabled
> >  port 2 disabled
> >  port 3 disabled
> >  port 4 disabled
> >

> 
> I'm not sure disabled means what you thinks it means.
> Have you tried to connect something on the usb3 port ?
> 
> 
> -- 
> 
> Cordialement, Coues Ludovic
> +336 148 743 42
> 

Thank you for the reply. Yes I have two 1TB external hard drives. A seagate
formatted to ffs2 which I use as a back up for my system and a Toshiba
formatted to ntfs for transporting data too and from work. Neither get
recognized by dmesg when they are plugged in. Hotplugd is running. 

I think it was around 5.3 when I first started using OpenBSD and the xhci
driver was still experimental, so I have not tried to use a USB 3.0 device
again until now. I just used the USB 2 ports and still have that option. It
would just be nice to see it work.

This gives me the bus

# lspci | grep ASM1042
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host
Controller

but this shows no driver

# lspci -vvv -s 03:00.0 
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB
Host Controller (prog-if 30 [XHCI])
Subsystem: Device 174c:2104
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
SERR- 

Re: ASMedia USB 3.0

2015-10-30 Thread Maurice McCarthy
On Fri, Oct 30, 2015 at 12:59:56PM +0100 or thereabouts, ludovic coues wrote:
> 
> You might have a better time trying to read the output of pcidump :)
> 
> I looked a bit at the code and from what I've found, this quirk only
> disable a driver requiring stream. I might be wrong as I'm not
> familiar with the source code.
> 
> Do you mind sharing the result of usbdevs with a usb2 device attached
> then with a usb3 device attached ?
> 
> 
> -- 
> 
> Cordialement, Coues Ludovic
> +336 148 743 42
> 

Sorry folks, there is  something physically wrong. I just plugged both USB3
drives into the USB2 sockets and found that neither dmesg nor usbdevs are
seeing either of them.

I'll investigate and report back.

Oh dear,
Moss



Re: ASMedia USB 3.0

2015-10-30 Thread Maurice McCarthy
Sorry for the noise I've got bigger problems than a driver.
Heigh ho.



ASMedia USB 3.0

2015-10-29 Thread Maurice McCarthy
Hi, 

Got 5.8-stable installed today. Many thanks for the commitment of all
developers etc. All went well except for the USB 3.0 I've a feeling it may
not work at all unless I find a blob for the pci-e usb 3.0 card. 

# usbdevs -vd 
Controller /dev/usb0:
addr 1: super speed, self powered, config 1, xHCI root hub(0x),
ASMedia(0x1b21), rev 1.00
  uhub0
 port 1 disabled
 port 2 disabled
 port 3 disabled
 port 4 disabled
 


# dmesg | grep xhci
xhci0 at pci3 dev 0 function 0 "ASMedia ASM1042 xHCI" rev 0x00: msi
usb0 at xhci0: USB revision 3.0


Grateful for any advice, thanks. Do I need to find another manufacturer?

Kindest Regards
Moss



Re: ASMedia USB 3.0

2015-10-29 Thread Maurice McCarthy
On Thu, Oct 29, 2015 at 08:15:05PM + or thereabouts, Maurice McCarthy wrote:
> Hi, 
> 
> Got 5.8-stable installed today. Many thanks for the commitment of all
> developers etc. All went well except for the USB 3.0 I've a feeling it may
> not work at all unless I find a blob for the pci-e usb 3.0 card. 
> 
> # usbdevs -vd 
> Controller /dev/usb0:
> addr 1: super speed, self powered, config 1, xHCI root hub(0x),
> ASMedia(0x1b21), rev 1.00
>   uhub0
>  port 1 disabled
>  port 2 disabled
>  port 3 disabled
>  port 4 disabled
>  
> 
> 
> # dmesg | grep xhci
> xhci0 at pci3 dev 0 function 0 "ASMedia ASM1042 xHCI" rev 0x00: msi
> usb0 at xhci0: USB revision 3.0
> 

Guess I should have added this too
Thanks again:

# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:01.0 PCI bridge: ASRock Incorporation Device 9602
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to
PCI bridge (PCIE port 3)
00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to
PCI bridge (PCIE port 4)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to
PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB
OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB
OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller
(rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia
(Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0
LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI
Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor
HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor
Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor
Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor
Link Control
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RS780D [Radeon HD 3300]
02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire
Controller
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host
Controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
05:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI
Gigabit Ethernet Controller (rev 10)
05:06.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)



  1   2   >