LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-24-2009, 06:06 AM   #1
JonathanCC
LQ Newbie
 
Registered: Dec 2008
Distribution: OpenBSD
Posts: 17

Rep: Reputation: 0
OpenBSD sound issue/mount issue


hi everyone,

I hope you don't mind me posting these 2 or 3 little questions in 1 post but because they are so basic I didn't want to flood the forum with my newbie topics.

Firstly my sound, when loading KDE, amarok etc I do not get any unable to intilize sound or anything, However nothing comes out of the speakers, the sound doesn't work basically. I am familiar with kmix in FreeBSD and my sound worked fine on this machine after using kldload snd_driver etc.

kmix doesn't appear to be on here and I checked the openBSD documentation and looked at audioctl but couldn't make much sense of it and it appears nothing is muted. And on my laptop it worked fine without any configuration, although I know thats a different machine.

at the end of dmesg I get:

clcs0: firmware loaded
audio0 at clcs0

My other question is just on mounting an external hard drive and cdrom

at present I have only figured out how to mount usb sticks using

mount -t msdos /dev/"etc" /mnt

but on the external drive it says block required or something, and I can't get anywhere with the cdrom. I found stuff on google but they don't seem to work for me, maybe because they all have unique names etc, how do I find mine out?

thanks in advance
Jonathan
 
Old 01-24-2009, 02:29 PM   #2
ocicat
Member
 
Registered: May 2007
Posts: 208

Rep: Reputation: 48
Quote:
Originally Posted by JonathanCC View Post
I hope you don't mind me posting these 2 or 3 little questions in 1 post but because they are so basic I didn't want to flood the forum with my newbie topics.
However, ensuing discussion may become protracted & intertwined. Anyone later trying to piece together discussion will have to sift out irrelevant comments. Two little threads are simpler to decipher than one entangled mess.
Quote:
Firstly my sound, when loading KDE, amarok etc I do not get any unable to intilize sound or anything, However nothing comes out of the speakers, the sound doesn't work basically.
Post output of dmesg(8). It is entirely possible that the sound chip used doesn't have a fully supported driver. Until you disclose what driver you are using, all anyone can do is point you to Section 13.1 of the FAQ:

http://openbsd.org/faq/faq13.html#confaudio
Quote:
My other question is just on mounting an external hard drive and cdrom

at present I have only figured out how to mount usb sticks using

mount -t msdos /dev/"etc" /mnt
I'm surprised this works at all. Read the manpage to mount(8). Examples at the bottom of the page should give you an indication of what you need to do:

http://www.openbsd.org/cgi-bin/man.c...86&format=html

Section 14.17 of the FAQ should also provide context:

http://openbsd.org/faq/faq14.html#flashmem

Basically, when you plug in a USB device, you will get a message at the console (which will be appended to dmesg(8) output...) which will tell you what device node has been attached to the device. Given that USB devices are identified by the SCSI subsystem, you will see something akin to the following displayed:
Code:
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: LEXR PLUG DRIVE LEXR PLUG DRIVE, rev 1.10/0.01, addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets
sd0 at scsibus2 targ 1 lun 0: <LEXAR, DIGITAL FILM, /W1.> SCSI2 0/direct removable
sd0: 123MB, 123 cyl, 64 head, 32 sec, 512 bytes/sec, 251904 sec total
...which states that the attached device node is /dev/sd0. Thus the appropriate command to mount the device at the mountpoint /mnt would be:
Code:
# mount -t msdos /dev/sd0i /mnt
...assuming that the drive is formatted as FAT32 & a standard configuration. Depending upon how the hard drive is partitioned, partition "i" may not be correct. You can determine the correct partition letter by looking at the disk's disklabel:
Code:
# disklabel /dev/rsd0
Familiarizing yourself with disklabel(8) will help you tell how OpenBSD identifies any block device.

A fundamental point you should take away from this message is that a wealth of information can be found in the FAQ & manpages. If you are new to OpenBSD, you will save yourself significant aggravation by taking the time now, as a newbie, to familiarize yourself with the FAQ's contents (at a minimum...). The OpenBSD project is quite small, & the developers like to focus on their work. To ease the transition to OpenBSD, a significant amount of time & effort is put into making sure that both the FAQ & manpages describes general usage in a clear fashion.
 
Old 01-31-2009, 08:24 AM   #3
JonathanCC
LQ Newbie
 
Registered: Dec 2008
Distribution: OpenBSD
Posts: 17

Original Poster
Rep: Reputation: 0
hi,

How do I find out if my chip set is supported and what driver I am using?

the full output of dmesg is:

OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.79 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,CNXT-ID
real mem = 1609592832 (1535MB)
avail mem = 1546924032 (1475MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 10/22/02, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (64 entries)
bios0: vendor Dell Computer Corporation version "A01" date 10/22/2002
bios0: Dell Computer Corporation Dimension 8250
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfba30/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xcd000/0x3000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82850 Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon 9500 Pro" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: aperture at 0xe0000000, size 0x8000000
drm at vga1 unsupported
vendor "ATI", unknown product 0x4e65 (class display subclass miscellaneous, rev 0x00) at pci1 dev 0 function 1 not configured
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x04
pci2 at ppb1 bus 2
uhci0 at pci2 dev 1 function 0 "VIA VT83C572 USB" rev 0x50: irq 10
uhci1 at pci2 dev 1 function 1 "VIA VT83C572 USB" rev 0x50: irq 3
ehci0 at pci2 dev 1 function 2 "VIA VT6202 USB" rev 0x51: irq 9
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
uhci2 at pci2 dev 2 function 0 "VIA VT83C572 USB" rev 0x50: irq 3
uhci3 at pci2 dev 2 function 1 "VIA VT83C572 USB" rev 0x50: irq 11
ehci1 at pci2 dev 2 function 2 "VIA VT6202 USB" rev 0x51: irq 10
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "VIA EHCI root hub" rev 2.00/1.00 addr 1
clcs0 at pci2 dev 7 function 0 "Cirrus Logic CS4280/46xx CrystalClear" rev 0x01: irq 9
ac97: codec id 0x43525914 (Cirrus Logic CS4297A rev 4)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
unknown vendor 0x1133 product 0xe005 (class network subclass miscellaneous, rev 0x01) at pci2 dev 8 function 0 not configured
ohci0 at pci2 dev 9 function 0 "NEC USB" rev 0x43: irq 3, version 1.0
ohci1 at pci2 dev 9 function 1 "NEC USB" rev 0x43: irq 10, version 1.0
ehci2 at pci2 dev 9 function 2 "NEC USB" rev 0x04: irq 9
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "NEC EHCI root hub" rev 2.00/1.00 addr 1
fxp0 at pci2 dev 12 function 0 "Intel 8255x" rev 0x10, i82551: irq 3, address 00:07:e9:c4:b8:ba
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
usb3 at uhci0: USB revision 1.0
uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci1: USB revision 1.0
uhub4 at usb4 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci2: USB revision 1.0
uhub5 at usb5 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci3: USB revision 1.0
uhub6 at usb6 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb7 at ohci0: USB revision 1.0
uhub7 at usb7 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb8 at ohci1: USB revision 1.0
uhub8 at usb8 "NEC OHCI root hub" rev 1.00/1.00 addr 1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04: 24-bit timer at 3579545Hz
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IC35L120AVVA07-0>
wd0: 16-sector PIO, LBA, 114440MB, 234375000 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: <IOMEGA, ZIP 250, 42.S> ATAPI 0/direct removable
sd0: drive offline
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
sd0(pciide0:0:1): using PIO mode 3, Ultra-DMA mode 2
atapiscsi1 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi1: 2 targets, initiator 7
cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, DVD-ROM SD-616T, F310> ATAPI 5/cdrom removable
atapiscsi2 at pciide0 channel 1 drive 1
scsibus2 at atapiscsi2: 2 targets, initiator 7
cd1 at scsibus2 targ 0 lun 0: <HL-DT-ST, CD-RW GCE-8400B, B104> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: irq 11
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 256MB RIMM
spdmem1 at iic0 addr 0x51: 256MB RIMM
spdmem2 at iic0 addr 0x52: 256MB RIMM
spdmem3 at iic0 addr 0x53: 256MB RIMM
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
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
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
biomask ff6d netmask ff6d ttymask ffff
mtrr: Pentium Pro MTRR support
uhub9 at uhub5 port 1 "Dell Dell USB Keyboard Hub" rev 1.10/2.00 addr 2
ulpt0 at uhub3 port 1 configuration 1 interface 0 "HP Photosmart 8000 series" rev 2.00/1.00 addr 2
ulpt0: using bi-directional mode
umass0 at uhub3 port 1 configuration 1 interface 2 "HP Photosmart 8000 series" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd1 at scsibus3 targ 1 lun 0: <HP, Photosmart 8000, 1.00> SCSI2 0/direct removable
sd1: drive offline
uhidev0 at uhub9 port 1 configuration 1 interface 0 "Dell Dell USB Keyboard" rev 1.10/2.00 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub9 port 1 configuration 1 interface 1 "Dell Dell USB Keyboard" rev 1.10/2.00 addr 3
uhidev1: iclass 3/0, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub5 port 2 configuration 1 interface 0 "Logitech Optical USB Mouse" rev 2.00/3.40 addr 4
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
clcs0: firmware loaded
audio0 at clcs0



many thanks in advance

Last edited by JonathanCC; 01-31-2009 at 08:26 AM.
 
Old 02-01-2009, 03:09 PM   #4
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Quote:
audio0 at clcs0
Code:
$ man 4 clcs
 
Old 02-03-2009, 11:52 PM   #5
ocicat
Member
 
Registered: May 2007
Posts: 208

Rep: Reputation: 48
Quote:
Originally Posted by JonathanCC View Post
How do I find out if my chip set is supported and what driver I am using?
chort's answer is correct. Now you see why I requested that you post the output of dmesg(8); your question is answered there.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openBSD 4.1 and ipv6 issue farkus888 *BSD 2 10-26-2007 07:53 AM
JK mount issue. rahulk Linux - Software 0 04-05-2006 10:34 AM
USB drive mount double mount issue pazzport Ubuntu 3 10-10-2005 08:28 PM
OpenBSD: exiting fluxbox issue sptchamp *BSD 2 01-07-2005 11:59 AM
OpenBSD 3.6 - Davicom DM9009 interface issue... leeach *BSD 1 12-23-2004 07:43 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration