DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th December 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default ncmpc configuration(?) problem

Hello people,

As the time goes by, i try to test new programs whith my OpenBSD snapshot.
Lately i've been trying to make mpd + ncmpc work.These are the uncomented lines in my 'home/sepuku/.mpd/mpd.conf' :

Code:
music_directory                 "/mnt/internaldrives/sepuku/music"
playlist_directory              "/home/sepuku/.mpd/playlists"
db_file                         "/home/sepuku/.mpd/mpd.db"
log_file                        "/home/sepuku/.mpd/mpd.log"
pid_file                        "/home/sepuku/.mpd/mpd.pid"
state_file                      "/home/sepuku/.mpd/mpdstate"
user                            "_mpd"
bind_to_address                 "localhost"
port                            "6600"
then i mount my internal disk:

Code:
sudo mount /dev/wd1d /mnt/internaldrives
then i update the db with

Code:
mpc update 
volume:100%   repeat: off   random: off   single: off   consume: off
which seems to work.

Yet when i start ncmpc i see no music in the program.Please notice that the same configurations work like a charm in my thinkpad laptop which also runs snapshot.

Then i changed the music directrory to /usr/downloads/music and reboot(in case there was a chance to be necessary in order the changes to be applied)

but although the music directory is changed,if i start mpd it says: "/mnt/internaldrives/sepuku/music" is not a directory and of course ncmpc still won't find my music in neither of the directories.


Any ideas?I just can't understand why i can't make it work on my desktop.
Reply With Quote
  #2   (View Single Post)  
Old 13th December 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by sepuku View Post
Please notice that the same configurations work like a charm in my thinkpad laptop which also runs snapshot.
So, is it correct to assume that you are referring to a second computer? If this is correct, have you verified that sound is correctly configured as described in Section 13.1 of the FAQ?
Reply With Quote
  #3   (View Single Post)  
Old 14th December 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Yes ocicat i'm talking about my desktop since the laptop has no problems.The configuration above works great on my laptop.And yes sound works great with cmus,exaile and every program.The problem is that i can't see my music inside ncmpc not that i can not playback them(only on my desktop).
Reply With Quote
  #4   (View Single Post)  
Old 14th December 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by sepuku View Post
And yes sound works great with cmus,exaile and every program.
I can only assume you speak of your desktop system here. From your messages thus far, it is not entirely clear about what works where. Hence, my questions for clarification.

Posting the complete output of dmesg(8) may help.
Reply With Quote
  #5   (View Single Post)  
Old 14th December 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Quote:
Originally Posted by ocicat View Post
I can only assume you speak of your desktop system here. From your messages thus far, it is not entirely clear about what works where. Hence, my questions for clarification.

Posting the complete output of dmesg(8) may help.
Sound works great on both systems.(Desktop and Laptop).I managed to make ncmpc work on my laptop.So I tried the same configuration to my desktop and i get the problems that i mentioned above.(Music can be playbacked with other programs on my desktop but when i use ncmpc i just don't see my music inside ncmpc and as result i cannot playback them).

The issue appears on the desktop .I just mentioned laptop because i used the same configurations.(So the same configurations work on laptop but not on desktop)

My dmesg outpout(of the desktop) is this:

Code:
 dmesg
OpenBSD 5.0-current (GENERIC.MP) #137: Wed Dec  7 20:42:13 MST 2011
    todd@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF
real mem  = 3220238336 (3071MB)
avail mem = 3157450752 (3011MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/03/07, BIOS32 rev. 0 @ 0xf0010, SMBIOS rev. 2.4 @ 0xf06e0 (71 entries)
bios0: vendor American Megatrends Inc. version "0603" date 07/03/2007
bios0: ASUSTeK Computer INC. P5K
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET OSFR
acpi0: wakeup devices P0P2(S4) P0P1(S4) UAR1(S4) PS2K(S4) EUSB(S4) USBE(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) USB6(S4) P0P4(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 267MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz
cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz
cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P2)
acpiprt2 at acpi0: bus 5 (P0P1)
acpiprt3 at acpi0: bus -1 (P0P5)
acpiprt4 at acpi0: bus -1 (P0P6)
acpiprt5 at acpi0: bus -1 (P0P7)
acpiprt6 at acpi0: bus 3 (P0P8)
acpiprt7 at acpi0: bus 2 (P0P9)
acpiprt8 at acpi0: bus 4 (P0P4)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
aibs0 at acpi0: RTMP RVLT RFAN GGRP GITM SITM
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xcc00 0xcd000/0x3000!
cpu0: Enhanced SpeedStep 2406 MHz: speeds: 2394, 1596 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: apic 4 int 16
pci1 at ppb0 bus 1
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
aibs0 at acpi0: RTMP RVLT RFAN GGRP GITM SITM
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xcc00 0xcd000/0x3000!
cpu0: Enhanced SpeedStep 2406 MHz: speeds: 2394, 1596 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: apic 4 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 8500 GT" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 16
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 18
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC883
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 4 int 17
pci2 at ppb1 bus 4
ppb2 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 4 int 17
pci3 at ppb2 bus 3
jmb0 at pci3 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x03
ahci0 at jmb0: apic 4 int 16, AHCI 1.0
scsibus0 at ahci0: 32 targets
pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide0: using apic 4 int 16 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7203A, 1.01> ATAPI 5/cdrom removable
atapiscsi1 at pciide0 channel 0 drive 1
scsibus2 at atapiscsi1: 2 targets
cd1 at scsibus2 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR-H30N, 1.00> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
cd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
ppb3 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02: apic 4 int 16
pci4 at ppb3 bus 2
age0 at pci4 dev 0 function 0 "Attansic Technology L1" rev 0xb0: msi, address 00
:1d:60:cb:09:62
atphy0 at age0 phy 0: F1 10/100/1000 PHY, rev. 5
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 23
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 19
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92
pci5 at ppb4 bus 5
"VIA VT6306 FireWire" rev 0xc0 at pci5 dev 3 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801IB LPC" rev 0x02: PM disabled
pciide1 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 4 int 22 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3250410AS>
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide1 channel 1 drive 0: <ST2000DL001-9VT156>
wd1: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 4 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5
pciide2 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide2: using apic 4 int 22 for native-PCI interrupt
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
wbsio0 at isa0 port 0x2e/2: W83627DHG rev 0x23
lm1 at wbsio0 port 0x290/8: W83627DHG
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
uhidev0 at uhub2 port 1 configuration 1 interface 0 "Logitech Logitech USB Keyboard" rev 2.00/60.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub2 port 1 configuration 1 interface 1 "Logitech Logitech USB Keyboard" rev 2.00/60.00 addr 2
uhidev1: iclass 3/0, 4 report ids
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0
uhidev2 at uhub2 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/22.00 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 16 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev3 at uhub2 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 
2.00/22.00 addr 3
uhidev3: iclass 3/0, 17 report ids
uhid2 at uhidev3 reportid 3: input=4, output=0, feature=0
uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0
uhid4 at uhidev3 reportid 17: input=19, output=19, feature=0
ugen0 at uhub4 port 2 " Camera" rev 1.10/0.00 addr 2
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on wd0a (49d84e9ba0acc96a.a) swap on wd0b dump on wd0b

Last edited by sepuku; 14th December 2011 at 08:42 AM.
Reply With Quote
  #6   (View Single Post)  
Old 14th December 2011
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Default

When you call ncmpc, you should update the library with ctrl+shift+U(uppercase u).
Also, before calling ncmpc, you should run
Code:
#/etc/rc.d/mpd start
Reply With Quote
  #7   (View Single Post)  
Old 14th December 2011
sepuku's Avatar
sepuku sepuku is offline
Real Name: Vizard Sepuku
Package Pilot
 
Join Date: Jun 2011
Location: Athens & Chania,Greece
Posts: 143
Default

Quote:
Originally Posted by Daffy View Post
When you call ncmpc, you should update the library with ctrl+shift+U(uppercase u).
Also, before calling ncmpc, you should run
Code:
#/etc/rc.d/mpd start
But that's the problem,after updating the database i still see no music in ncmpc.
Reply With Quote
  #8   (View Single Post)  
Old 14th December 2011
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

MPD configuration has evolved over the past 2 years and at this time most default mpd.conf's only need you to specify the music directory (mine is in my home directory) and add yourself to the _mpd group. I'm wondering if your mpd.conf is unnecessarily complex.

There is also a configuration file for ncmpc (host and port are configurable) the details of which can be seen with
Code:
man ncmpc
I mainly configured ncmpc to provide the song format when streaming. You might try adding a network stream to ncmpc, as long as it is connected to a host. If ncmpc connects to your host and can stream it would suggest a permissions problem with the songs on the internaldrives

Last edited by shep; 14th December 2011 at 08:20 PM.
Reply With Quote
Reply

Tags
configuration, mpd, ncmpc

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
Help with PF NAT configuration scrummie02 OpenBSD Security 12 10th November 2011 04:45 AM
OpenBSD Gnome Configuration Problem threaderslash OpenBSD Packages and Ports 7 29th August 2011 10:22 AM
PF NAT configuration help ikevinjpdev OpenBSD Security 0 7th August 2010 04:41 PM
ssh and PuTTY Configuration rtwingfield FreeBSD Security 4 8th June 2009 09:55 PM
k3b, configuration. maxrussell FreeBSD Ports and Packages 4 3rd March 2009 04:23 AM


All times are GMT. The time now is 08:10 AM.


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