Re: Logitech c270 HD Webcam

2016-10-04 Thread Neil Hughes

On 01/10/2016 04:03, Colton Lewis wrote:

I have a Logitech c270. The box says it supports UVC, I've installed
uvideo-firmware, and it is recognized as a video device, but running
video(1) fails with an error:

video: ioctl VIDIOC_STREAMON: Invalid argument

There is also a kernel message:

uvideo0: could not open VS pipe: INVAL

usbdevs(1) identifies the device as:

addr 5: product 0x0825, Logitech

What is causing this problem and how can I fix it?


Not a solution...just wanted to say that I have the same webcam and 
running video works on my ASUS netbook provided it's plugged in when I 
boot or wake the machine up...otherwise video only sees the internal webcam.


The netbook is still on the July 26th snapshot at the moment.

--
Neil



Re: acpiasus(4) not attached with EeePC 1000H on OpenBSD-current

2016-08-07 Thread Neil Hughes
, version 20, 24 pins
ioapic0: misconfigured as apic 3, remapped to apid 4
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiec0 at acpi0
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P0P4)
acpiprt2 at acpi0: bus 2 (P0P5)
acpiprt3 at acpi0: bus -1 (P0P6)
acpiprt4 at acpi0: bus 1 (P0P7)
acpicpu0 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: !C3(100@57 mwait.3@0x30), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS

acpitz0 at acpi0: critical temperature is 101 degC
acpibat0 at acpi0: BAT0 model "1015PE" serial   type LION oem "ASUS"
acpiac0 at acpi0: AC unit offline
acpiasus0 at acpi0
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
cpu0: Enhanced SpeedStep 1666 MHz: speeds: 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1024x600
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel Pineview Video" rev 0x02 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi
pci1 at ppb0 bus 4
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi
pci2 at ppb1 bus 2
"Broadcom BCM4313" rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: msi
pci3 at ppb2 bus 1
alc0 at pci3 dev 0 function 0 "Attansic Technology L2C" rev 0xc1: msi, 
address 14:da:e9:28:cc:99

atphy0 at alc0 phy 0: F2 10/100 PHY, rev. 5
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 4 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 5
pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x02
ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, AHCI 1.1
ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 850, EMT0> SCSI3 
0/direct fixed naa.5002538d402dcdc1

sd0: 238475MB, 512 bytes/sector, 488397168 sectors, thin
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Elantech Touchpad, version 2, firmware 0x140100
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
run0 at uhub0 port 1 configuration 1 interface 0 "Ralink 802.11 n WLAN" 
rev 2.00/1.01 addr 2
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 
7c:dd:90:83:29:b6
uvideo0 at uhub0 port 6 configuration 1 interface 0 "Azurewave USB2.0 
UVC VGA WebCam" rev 2.00/3.22 addr 3

video0 at uvideo0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (0b158d3969cfb5a2.a) swap on sd0b dump on sd0b


--
Neil Hughes



Re: Lenovo B590

2016-08-02 Thread Neil Hughes

On 30/07/2016 16:32, Richard Thornton wrote:

I was able to easily install OpenBSD 5.9 RELEASE amd64 to this circa 2011
Lenovo laptop with core i3, Intel Graphics, 8GB of memory, 320GB HD;
Unfortunately the Broadcom wireless will not work, but the ethernet works,
trying to understand how to add a usb wireless to it.


If you need to go the USB wi-fi route, I bought one of these from Amazon 
UK last year:


<https://www.amazon.co.uk/gp/product/B00FV5S3X0>

It attaches as run0 on my 2011 ASUS 1015PX netbook with OpenBSD 5.9 and 
works fine even though it appears to have very little in the way of an 
antenna.


--
Neil Hughes



Re: Accessing USB with OpenBSD 5.7/amd64

2016-02-15 Thread Neil Hughes

On 13/02/2016 20:11, jla wrote:


Same issue for me. Did you get any answer?


This looks like the same issue I hit a while ago 
(<https://marc.info/?l=openbsd-misc=138756372117352>) - the dmesg in 
the original post is similar enough that it's probably the same 
motherboard (makes sense...HP vs. Compaq).


About 18 months after my post, when I needed USB access via OpenBSD on 
this box, I just bought a £6 Konig PCI card off Amazon (NEC chipset, as 
suggested).


--
Neil Hughes



Re: dmesg: Asus 1015PX netbook (2011/2012)

2016-01-23 Thread Neil Hughes

On 22/01/2016 20:15, Mike Larkin wrote:

On Fri, Jan 22, 2016 at 10:11:23AM +, Neil Hughes wrote:


Notes
=
Came with Windows 7 Starter but when the hard drive died recently I replaced it 
with an SSD and tried OpenBSD 5.8.

Sleep + resume : works
Suspend + resume : works
Hibernate + resume : failed twice, now worksso far


Failed how?




The first time I saw the "Unhibernating @ block..." message as it went 
through the standard boot procedure...and then something bad happened. 
Unfortunately I didn't write down what it was. Sorry.


The second time it simply did a full reboot as if nothing had been saved.

--
Neil Hughes



dmesg: Asus 1015PX netbook (2011/2012)

2016-01-22 Thread Neil Hughes
ction 0 "Attansic Technology L2C" rev 0xc1: msi, address 
14:da:e9:28:cc:99
atphy0 at alc0 phy 0: F2 10/100 PHY, rev. 5
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 4 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 5
pcib0 at pci0 dev 31 function 0 "Intel NM10 LPC" rev 0x02
ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, AHCI 1.1
ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 850, EMT0> SCSI3 0/direct fixed 
naa.5002538d402dcdc1
sd0: 238475MB, 512 bytes/sector, 488397168 sectors, thin
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Elantech Touchpad, version 2, firmware 0x140100
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
run0 at uhub0 port 1 configuration 1 interface 0 "Ralink 802.11 n WLAN" rev 
2.00/1.01 addr 2
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address 
7c:dd:90:83:29:b6
uvideo0 at uhub0 port 6 configuration 1 interface 0 "Azurewave USB2.0 UVC VGA 
WebCam" rev 2.00/3.22 addr 3
video0 at uvideo0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (0b158d3969cfb5a2.a) swap on sd0b dump on sd0b

hw.sensors
==
hw.sensors.cpu0.temp0=65.00 degC
hw.sensors.acpitz0.temp0=68.00 degC (zone temperature)
hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
hw.sensors.acpibat0.volt1=11.63 VDC (current voltage)
hw.sensors.acpibat0.current0=1.13 A (rate)
hw.sensors.acpibat0.amphour0=4.50 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.45 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.23 Ah (low capacity)
hw.sensors.acpibat0.amphour3=3.98 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=5.20 Ah (design capacity)
hw.sensors.acpibat0.raw0=1 (battery discharging), OK
hw.sensors.acpiac0.indicator0=Off (power supply)
hw.sensors.acpibtn0.indicator0=On (lid open)


Notes
=
Came with Windows 7 Starter but when the hard drive died recently I replaced it 
with an SSD and tried OpenBSD 5.8.

Sleep + resume : works
Suspend + resume : works
Hibernate + resume : failed twice, now worksso far
Lid close (suspend?) + resume : works

Resume above means pressing power button; pressing this when netbook is on 
results in a fairly graceful shutdown, with synced disk.

Built-in wired ethernet works; built-in wi-fi does not, so I'm using a cheap 
USB adapter that identifies as run0.

Currently running "apm -A" so the machines idles at 1GHz most of the time and 
only jumps to 1.67GHz when pushed.
Temperature usually reported to be 65-70C when idle.
Battery life 2.5 - 3 hours with a 4-year old battery that is indicated to be 
about 85% original capacity (last full capacity/design capacity).
I *think* this is a little less than I was getting in Windows 7.

Some of the shortcut function keys work out of the box: sleep, mute, volume 
up/down.

LCD is only 10" 1024 x 600, so I'm not running a full desktop environment, just 
ratpoison for now.
Webcam works with included video application.
VGA port doesn't seem to work out-of-the box, but tbh I haven't tried messing 
with Xorg.
Nor have I tried the microphone.

Overall, OpenBSD seems to work great on this machine.

Many thanks to all the developers...another CD order is on its way.
--
Neil Hughes



Re: Play mono mp3s in stereo?

2015-07-26 Thread Neil Hughes

On 07/26/2015 09:00 AM, Craig Skinner wrote:


A set of mp3 recordings has been made in mono (right channel only),
which is irritating to listen to with only one speaker/headphone.

Is there a way to play these through both left  right equally?

xmms is what I usually use.


If you don't mind the command-line, you could use mpg123 --stereo

--
Neil



Re: No USB devices recognized (HP box, 5.4-stable)

2014-04-08 Thread Neil Hughes

On 02/02/14 07:39, howard eisenberger wrote:


I just got back to this and, to be fair, with Debian Linux USB pen
drive is detected, but not USB/IDE external laptop drive with APIC
enabled or disabled in BIOS. The same external drive with the same
USB/IDE adapter is detected and works with 5.4 on a couple of other
machines with different USB chips.

So, it looks like both Linux and OpenBSD have a problem with the
ATI SB400 USB.


I ended up disabling the onboard USB and adding a NEC USB PCI
card, which seems to work fine with OpenBSD 5.4


SorryI missed both your replies and to be honest haven't spent much 
more time looking into this. Thanks for confirming the problem with this 
particular USB hardware. FreeBSD 10 appears to have the same issue.




No USB devices recognized (HP box, 5.4-stable)

2013-12-20 Thread Neil Hughes
I've got an HP dx5150MT minitower of 2006 vintage, and with OpenBSD 5.4 
stable no USB devices are recognized whether they're attached before or 
after boot. No console message, nothing appended to dmesg.


Same thing happens whether I use amd64 MP or SP kernel - I'm about to 
send dmesg reports but thought it worth querying here at the same time.


On the same machine USB works fine with XP.

A lost cause?

dmesg:

OpenBSD 5.4 (GENERIC.MP) #41: Tue Jul 30 15:30:02 MDT 2013
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3136225280 (2990MB)
avail mem = 3045076992 (2904MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (50 entries)
bios0: vendor Phoenix Technologies, LTD version 1.18 date 08/01/2006
bios0: Hewlett-Packard HP dx5150 MT
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT MCFG APIC
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) AUDO(S3) P2P_(S5) 
MAC_(S3) UAR1(S5) PCI0(S5)

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 1994.48 MHz
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,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache

cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 1994.20 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache

cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature is 82 degC
acpibtn0 at acpi0: PWRB
cpu0: Cool'n'Quiet K8 1994 MHz: speeds: 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
0:0:0: mem address conflict 0xe000/0x2000
pchb0 at pci0 dev 0 function 0 ATI RS480 Host rev 0x10
ppb0 at pci0 dev 1 function 0 ATI RS480 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon XPRESS 200 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor ATI, unknown product 0x5854 (class display subclass 
miscellaneous, rev 0x00) at pci1 dev 5 function 1 not configured

ppb1 at pci0 dev 5 function 0 ATI RS480 PCIE rev 0x00
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 Broadcom BCM5751 rev 0x20, BCM5750 C0 
(0x4200): apic 2 int 17, address 00:16:17:9e:92:97

brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
pciide0 at pci0 dev 18 function 0 ATI SB400 SATA rev 0x00: DMA
pciide0: using apic 2 int 23 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: WDC WD1600JS-60MHB1
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 5
pciide0: port 1: device present, speed: 1.5Gb/s
wd1 at pciide0 channel 1 drive 0: Hitachi HDT725050VLA360
wd1: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd1(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6
ohci0 at pci0 dev 19 function 0 ATI SB400 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support
ohci1 at pci0 dev 19 function 1 ATI SB400 USB rev 0x00: apic 2 int 18, 
version 1.0, legacy support

ehci0 at pci0 dev 19 function 2 ATI SB400 USB2 rev 0x00: apic 2 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 ATI SB400 SMBus rev 0x11: SMI
iic0 at piixpm0
iic0: addr 0x2f 00=82 01=0f 02=00 03=00 04=07 05=20 06=18 07=00 08=00 
14=14 15=62 16=02 17=05 words 00=82ff 01=0fff 02=00ff 03=00ff 04=07ff 
05=20ff 06=18ff 07=00ff

spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC3200CL3.0
spdmem2 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem3 at iic0 addr 0x53: 1GB DDR SDRAM non-parity PC3200CL3.0
pciide1 at pci0 dev 20 function 1 ATI SB400 IDE rev 0x00: DMA, channel 
0 configured to compatibility, channel 1 wired to compatibility

atapiscsi0 at pciide1 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: 

Re: Zurich OpenBSD

2007-07-19 Thread Neil Hughes

Edd Barrett wrote:

I have actually never seen anyone in the UK wearing a bsd shirt apart
from my friends.Sometimes I wonder if I am the only british OpenBSD
user :p


'nother one here in South Wales. OpenBSD newbie - still running 3.9 on 
various boxes while I look for the justification (and time) to upgrade.


No shirt yet either.
--
Neil