DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th July 2018
Prevet Prevet is offline
Fdisk Soldier
 
Join Date: Oct 2017
Posts: 68
Default No sound when plug slate PC into base

I have a slate tablet and the sound works with OpenBSD, except it is a little weird in that it comes out of the microphone jack instead of the speakers. It did the same on Linux.

It only has two USB ports so I got a dock for it, which is a base that it plugs into which raises it up off the table and provides3 additional USB ports, a power plug, head phone jack, microphone jack, RJ-45 Ethernet and a VGA connector for an external monitor. All of these connections work except it stops making any sound. Is it possible to fix this?

dmesg without the base and the sound is working:

Quote:
OpenBSD 6.3 (GENERIC) #3: Thu May 17 23:56:41 CEST 2018
root@syspatch-63-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.51 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM ,PBE,NXE,EST,TM2,PERF
real mem = 2136948736 (2037MB)
avail mem = 2084069376 (1987MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 12/19/06, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.34 @ 0xd8010 (31 entries)
bios0: vendor Motion Computing - LE1600 version "A12" date 12/19/2006
bios0: Motion Computing LE1600
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT APIC FACP HPET MCFG TCPA BOOT SSDT SSDT SSDT SSDT
acpi0: wakeup devices ELAN(S5) MODM(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
, remapped to apid 1
acpihpet0 at acpi0: counter not incrementing
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 6 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: !C3(250@85 io@0x1015), !C2(500@1 io@0x1014), C1(1000@1 halt), FVS, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 600 MHz
acpitz0 at acpi0: critical temperature is 120 degC
acpibtn0 at acpi0: PWRB
acpiac0 at acpi0: AC unit offline
"PNP0A05" at acpi0 not configured
"WACF004" at acpi0 not configured
acpibat0 at acpi0: BAT1 model "EDX20" serial type LiON oem " SANYO "
acpibat1 at acpi0: BAT2 not present
"MCO0101" at acpi0 not configured
"IFX0101" at acpi0 not configured
acpivideo0 at acpi0: GFX0
bios0: ROM list: 0xc0000/0xf000! 0xcf000/0x1000 0xd8000/0x4000! 0xdc000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
inteldrm0 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0: apic 1 int 16
inteldrm0: 1024x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd4
pci1 at ppb0 bus 6
re0 at pci1 dev 1 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB (0x1000), apic 1 int 21, address 00:02:3f:fd:c5:e5
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 3
cbb0 at pci1 dev 4 function 0 "ENE CB-712 CardBus" rev 0x10: apic 1 int 16, CardBus support disabled
sdhc0 at pci1 dev 4 function 2 "ENE SD Controller" rev 0x01: apic 1 int 17
sdhc0: SDHC 1.0, 33 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x04: apic 1 int 17, ICH6
ac97: codec id 0x83847658 (SigmaTel STAC9758/59)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <HTC426060G8CE00>
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic 1 int 19
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
uhub5 at uhub0 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Dell Dell USB Keyboard" rev 1.10/3.01 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 2 configuration 1 interface 0 "Holtek product 0x1166" rev 1.10/6.20 addr 4
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhub6 at uhub5 port 4 configuration 1 interface 0 "Standard Microsystems product 0x2524" rev 2.00/0.00 addr 5
ugen0 at uhub4 port 2 "AuthenTec Fingerprint Sensor" rev 1.10/6.21 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (25893892d912cf62.a) swap on wd0b dump on wd0b
dmesg with the base and no sound:

Quote:
OpenBSD 6.3 (GENERIC) #3: Thu May 17 23:56:41 CEST 2018
root@syspatch-63-i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.50GHz ("GenuineIntel" 686-class) 1.51 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM ,PBE,NXE,EST,TM2,PERF
real mem = 2136948736 (2037MB)
avail mem = 2084065280 (1987MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 12/19/06, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS rev. 2.34 @ 0xd8010 (31 entries)
bios0: vendor Motion Computing - LE1600 version "A12" date 12/19/2006
bios0: Motion Computing LE1600
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT APIC FACP HPET MCFG TCPA BOOT SSDT SSDT SSDT SSDT
acpi0: wakeup devices ELAN(S5) MODM(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
, remapped to apid 1
acpihpet0 at acpi0: counter not incrementing
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEGP)
acpiprt2 at acpi0: bus 6 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: !C3(250@85 io@0x1015), !C2(500@1 io@0x1014), C1(1000@1 halt), FVS, 1500, 1400, 1300, 1200, 1100, 1000, 900, 800, 600 MHz
acpitz0 at acpi0: critical temperature is 120 degC
acpibtn0 at acpi0: PWRB
acpiac0 at acpi0: AC unit online
"PNP0A05" at acpi0 not configured
"WACF004" at acpi0 not configured
acpibat0 at acpi0: BAT1 model "EDX20" serial type LiON oem " SANYO "
acpibat1 at acpi0: BAT2 not present
"MCO0101" at acpi0 not configured
"IFX0101" at acpi0 not configured
acpivideo0 at acpi0: GFX0
bios0: ROM list: 0xc0000/0xf000! 0xcf000/0x1000 0xd8000/0x4000! 0xdc000/0x4000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
inteldrm0 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0: apic 1 int 16
inteldrm0: 1024x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd4
pci1 at ppb0 bus 6
re0 at pci1 dev 1 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB (0x1000), apic 1 int 21, address 00:02:3f:fd:c5:e5
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 3
cbb0 at pci1 dev 4 function 0 "ENE CB-712 CardBus" rev 0x10: apic 1 int 16, CardBus support disabled
sdhc0 at pci1 dev 4 function 2 "ENE SD Controller" rev 0x01: apic 1 int 17
sdhc0: SDHC 1.0, 33 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x04: apic 1 int 17, ICH6
ac97: codec id 0x83847658 (SigmaTel STAC9758/59)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x04: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x04: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <HTC426060G8CE00>
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic 1 int 19
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-4200CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
uhub5 at uhub0 port 4 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Dell Dell USB Keyboard" rev 1.10/3.01 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub5 port 2 configuration 1 interface 0 "Holtek product 0x1166" rev 1.10/6.20 addr 4
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhub6 at uhub5 port 4 configuration 1 interface 0 "Standard Microsystems product 0x2524" rev 2.00/0.00 addr 5
ugen0 at uhub4 port 2 "AuthenTec Fingerprint Sensor" rev 1.10/6.21 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (25893892d912cf62.a) swap on wd0b dump on wd0b
tablet without base vs tablet with base

Quote:
$ diff dmesg.txt dmesg-with-base.txt
6c6
< avail mem = 2084069376 (1987MB)
---
> avail mem = 2084065280 (1987MB)
33c33
< acpiac0 at acpi0: AC unit offline
---
> acpiac0 at acpi0: AC unit online
99c99
< uhub5 at uhub0 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2
---
> uhub5 at uhub0 port 4 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/32.98 addr 2
le1600
Reply With Quote
  #2   (View Single Post)  
Old 14th July 2018
ibara's Avatar
ibara ibara is offline
GNU gold linker
 
Join Date: Jan 2014
Posts: 566
Default

It seems like your tablet automagically reroutes audio to the base when it's plugged in.

Something like
Code:
$ sndiod -s default -f snd/1
might help, but that's a total stab in the dark based on the above info.
Reply With Quote
  #3   (View Single Post)  
Old 15th July 2018
Prevet Prevet is offline
Fdisk Soldier
 
Join Date: Oct 2017
Posts: 68
Default

I popped it open and its just a plug at the base of the tablet that connects to a plug on the dock and then its just some wires going to the back of the unit. So apart from the additional USB connections its just a glorified extension cable in a box.

"$ sndiod -s default -f snd/1"

Thanks. That didn't do anything unfortunately.

I tried using the old Microsoft tablet XP restore disks to see if it works, but it said the operating system restore program won't start in DOS (So you need Windows installed to restore the Windows OS? Funny stuff.), so I will try lubuntu to test the cable.

All the guides for Linux said they could not get the speakers working. I got them working for a brief shining moment, but then they stopped working after a reboot but I couldn't remember what I did that made them work. That was using Alsa MIxer, I assume OpenBSD uses something else? I'd much rather have the tablet's onboard speakers working if that was possible.

Last edited by Prevet; 15th July 2018 at 06:10 AM.
Reply With Quote
  #4   (View Single Post)  
Old 15th July 2018
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Package Pilot
 
Join Date: Sep 2014
Posts: 199
Default

Quote:
Originally Posted by Prevet View Post
That was using Alsa MIxer, I assume OpenBSD uses something else?
cmixer is similar.
__________________
OpenBSD 6.3
Reply With Quote
  #5   (View Single Post)  
Old 4 Weeks Ago
Prevet Prevet is offline
Fdisk Soldier
 
Join Date: Oct 2017
Posts: 68
Default

Quote:
Originally Posted by sacerdos_daemonis View Post
cmixer is similar.
Thanks.

I installed lubuntu and got the sound working through the speakers using alsamixer, which is what I really wanted, so I'll try to convert those settings to cmixer. If I can't do it I'll post again in the hope someone here can translate alsa settings to cmixer.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
plug and prey frcc News 3 1st August 2014 09:13 PM
Java plug-ins & NetBSD Pjoter NetBSD General 13 22nd May 2011 08:34 AM
Firefox 3.6.4 beta isolates crashing plug-ins J65nko News 0 21st April 2010 05:31 PM
Recording sound with external sound card backrow OpenBSD General 5 21st August 2009 08:17 PM


All times are GMT. The time now is 07:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick