Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Harmony on 710 working?
@ 2002-08-28 14:34 Christian Schmitt
  2002-08-28 17:06 ` Helge Deller
  2002-08-28 20:20 ` Juergen Braukmann
  0 siblings, 2 replies; 14+ messages in thread
From: Christian Schmitt @ 2002-08-28 14:34 UTC (permalink / raw)
  To: parisc-linux

Hi,

I recently downloaded and compiled the latest pa-kernel. I also included harmony 
sound support and now I would like to know if and how I can access the sound 
device. Serching on the web was no success.

Chris

-- 
Linux - Cause life is too short for reboots

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-28 14:34 Christian Schmitt
@ 2002-08-28 17:06 ` Helge Deller
  2002-08-29 13:45   ` Christian Schmitt
  2002-08-28 20:20 ` Juergen Braukmann
  1 sibling, 1 reply; 14+ messages in thread
From: Helge Deller @ 2002-08-28 17:06 UTC (permalink / raw)
  To: christian, Christian Schmitt, parisc-linux

On Wednesday 28 August 2002 16:34, Christian Schmitt wrote:
> I recently downloaded and compiled the latest pa-kernel. I also included
> harmony sound support and now I would like to know if and how I can access
> the sound device. Serching on the web was no success.

insmod harmony
aumix
mpg123 <your-favorite-mp3-file>

Greetings,
Helge

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-28 14:34 Christian Schmitt
  2002-08-28 17:06 ` Helge Deller
@ 2002-08-28 20:20 ` Juergen Braukmann
  2002-08-29  7:43   ` Patrick Caulfield
  1 sibling, 1 reply; 14+ messages in thread
From: Juergen Braukmann @ 2002-08-28 20:20 UTC (permalink / raw)
  To: christian; +Cc: parisc-linux

Hi Christian,
at least I got the Harmony driver working on my c110. I used the Kernel
driver first, but found out that kmixer wasn't working (obviously expected
alsa)
I could however cat *.au files to /dev/audio making a lot of sound. After
that, I compiled the alsa stuff -there are two sets of drivers, but one
didn't work as expected. I cannot look things up, currently I am on
holliday in Ireland.. You need to insmod the driver as far as I remember.
I'll be able to tell you more after the linux beer hike... ;-)

cheers

Juergen


===========================================     __   _
Juergen Braukmann juergen.braukmann@gmx.de| -o)/ /  (_)__  __ ____  __
Tel: 0201-743648  dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ /
===========================================_\_v __/_/_//_/\_,_/ /_/\_\

On Wed, 28 Aug 2002, Christian Schmitt wrote:

> Hi,
>
> I recently downloaded and compiled the latest pa-kernel. I also included harmony
> sound support and now I would like to know if and how I can access the sound
> device. Serching on the web was no success.
>
> Chris
>
> --
> Linux - Cause life is too short for reboots
>
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-28 20:20 ` Juergen Braukmann
@ 2002-08-29  7:43   ` Patrick Caulfield
  0 siblings, 0 replies; 14+ messages in thread
From: Patrick Caulfield @ 2002-08-29  7:43 UTC (permalink / raw)
  To: parisc-linux

On Wed, Aug 28, 2002 at 10:20:15PM +0200, Juergen Braukmann wrote:
> 
> Hi Christian,
> at least I got the Harmony driver working on my c110. I used the Kernel
> driver first, but found out that kmixer wasn't working (obviously expected
> alsa)

A great many Linux sound programs seem to assume that the machine is
little-endian and don't work on HP IME. mpg321 seems OK to me as is sox but
anything more serious (particularly on the recording side) tends to have
problems.

Maybe I should file some bugs in the Debian BTS.
-- 

patrick

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-28 17:06 ` Helge Deller
@ 2002-08-29 13:45   ` Christian Schmitt
  2002-08-29 16:54     ` Ryan Bradetich
  2002-08-29 16:55     ` Grant Grundler
  0 siblings, 2 replies; 14+ messages in thread
From: Christian Schmitt @ 2002-08-29 13:45 UTC (permalink / raw)
  To: Helge Deller, parisc-linux

Helge Deller wrote:
> On Wednesday 28 August 2002 16:34, Christian Schmitt wrote:
> 
>>I recently downloaded and compiled the latest pa-kernel. I also included
>>harmony sound support and now I would like to know if and how I can access
>>the sound device. Serching on the web was no success.
> 
> 
> insmod harmony
> aumix
> mpg123 <your-favorite-mp3-file>
> 

I recompiled the kernel with harmony as a module. I get unresolved symbols when 
loading the harmony driver:

ccio_get_fake

Any suggestions?

Chris


-- 
Linux - Cause life is too short for reboots

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-29 13:45   ` Christian Schmitt
@ 2002-08-29 16:54     ` Ryan Bradetich
  2002-08-29 17:05       ` Grant Grundler
  2002-08-29 18:22       ` Christian Schmitt
  2002-08-29 16:55     ` Grant Grundler
  1 sibling, 2 replies; 14+ messages in thread
From: Ryan Bradetich @ 2002-08-29 16:54 UTC (permalink / raw)
  To: christian; +Cc: Helge Deller, parisc-linux

I have a theory on this .... but will probably be dis-reguarded by
someone more knowledgable :)

I will try to explain what I believe the problem is, and provid a
quick hack/work around for you to get it working.


First can you tell me if CONFIG_IOMMU_CCIO is defined in your
kernel as this will affect my answer.

My suspicion is that it is not defined, thus my answer makes
this assumption.


Problem:
	The CONFIG_IOMMU_CCIO is not defined in your kernel,
	so the ccio_get_fake() is defined to be NULL in
	include/asm-parisc/pci.h.  This usually works fine
	if the drivers are compiled into the kernel ... but
	you are loading this as a module....  My suspicion is
	that the harmony module is trying to find the 
	ccio_get_fake() entry point and your kernel does not
	export that function. (CONFIG_IOMMU_CCIO is not 
	defined).

	What confuses my about this problem is why ccio_get_fake()
	is not defined to NULL by include/asm-parisc/pci.h.  Is
	there a mis-match between your kernel and module CONFIG_*
	options?


Solution:
	Since the 710 does not have ccio, the cico_get_fake() 
	is not needed. The ccio_get_fake() only needed for ccio
	machines on busses below the ccio that are not PCI (ie,
	PIC, GSC).  So for you temp hack, just assign
	harmony.fake_pci_dev to NULL.  Once we have a better
	picture of what is happening, we will insert a better
	fix if appropriate :)

Thanks,

- Ryan

	
On Thu, 2002-08-29 at 07:45, Christian Schmitt wrote:
> Helge Deller wrote:
> > On Wednesday 28 August 2002 16:34, Christian Schmitt wrote:
> > 
> >>I recently downloaded and compiled the latest pa-kernel. I also included
> >>harmony sound support and now I would like to know if and how I can access
> >>the sound device. Serching on the web was no success.
> > 
> > 
> > insmod harmony
> > aumix
> > mpg123 <your-favorite-mp3-file>
> > 
> 
> I recompiled the kernel with harmony as a module. I get unresolved symbols when 
> loading the harmony driver:
> 
> ccio_get_fake
> 
> Any suggestions?
> 
> Chris
> 
> 
> -- 
> Linux - Cause life is too short for reboots
> 
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-29 13:45   ` Christian Schmitt
  2002-08-29 16:54     ` Ryan Bradetich
@ 2002-08-29 16:55     ` Grant Grundler
  1 sibling, 0 replies; 14+ messages in thread
From: Grant Grundler @ 2002-08-29 16:55 UTC (permalink / raw)
  To: christian; +Cc: Helge Deller, parisc-linux

Christian Schmitt wrote:
> ccio_get_fake
> 
> Any suggestions?

harmony.c needs to include pci.h :^(

./include/asm-parisc/pci.h:#define ccio_get_fake(dev) NULL

that's where the pci_dma_xxx interface definitions live.
Or those definitions need to move to a seperate file that
harmony.c and pci.h can include. Maybe create a pci-dma.h?

helge, rbrad, willy?

grant

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-29 16:54     ` Ryan Bradetich
@ 2002-08-29 17:05       ` Grant Grundler
  2002-08-29 18:22       ` Christian Schmitt
  1 sibling, 0 replies; 14+ messages in thread
From: Grant Grundler @ 2002-08-29 17:05 UTC (permalink / raw)
  To: Ryan Bradetich; +Cc: christian, Helge Deller, parisc-linux

Ryan Bradetich wrote:
> 	What confuses my about this problem is why ccio_get_fake()
> 	is not defined to NULL by include/asm-parisc/pci.h.  Is
> 	there a mis-match between your kernel and module CONFIG_*
> 	options?

I think this is right. I overlooked that pci.h was getting
included...even though we should move pci_dma* to a different
file like I suggested.

grant

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-29 16:54     ` Ryan Bradetich
  2002-08-29 17:05       ` Grant Grundler
@ 2002-08-29 18:22       ` Christian Schmitt
  2002-08-29 18:38         ` Ryan Bradetich
  1 sibling, 1 reply; 14+ messages in thread
From: Christian Schmitt @ 2002-08-29 18:22 UTC (permalink / raw)
  To: Ryan Bradetich, parisc-linux

Ryan Bradetich wrote:
> I have a theory on this .... but will probably be dis-reguarded by
> someone more knowledgable :)
> 
> I will try to explain what I believe the problem is, and provid a
> quick hack/work around for you to get it working.
> 
> 
> First can you tell me if CONFIG_IOMMU_CCIO is defined in your
> kernel as this will affect my answer.
> 


Hello,

CONFIG_IOMMU_CCIO is set to "y" in the kernel config. I set it to "n", 
recompiled the modules and "modprobe harmony" works.
However, aumix doesn't find a mixer device. Is there any way to find out where 
the problem is?



-- 
Linux - Cause life is too short for reboots

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-29 18:22       ` Christian Schmitt
@ 2002-08-29 18:38         ` Ryan Bradetich
  2002-08-29 18:45           ` Ryan Bradetich
  0 siblings, 1 reply; 14+ messages in thread
From: Ryan Bradetich @ 2002-08-29 18:38 UTC (permalink / raw)
  To: christian; +Cc: parisc-linux

You should not have to compile the modules differently then from the
kernel.  What happens when you compile both the kernel and modules
with CONFIG_IOMMU_CCIO=y?

[Note: The ccio_get_fake will return the appropriate NULL if your
system does not have any ccio devices.]

Sorry, I don't know anything about aumix.   Do you have a /dev/mixer?
sane permissions? etc?

Thanks,

- Ryan


On Thu, 2002-08-29 at 12:22, Christian Schmitt wrote:
> Ryan Bradetich wrote:
> > I have a theory on this .... but will probably be dis-reguarded by
> > someone more knowledgable :)
> > 
> > I will try to explain what I believe the problem is, and provid a
> > quick hack/work around for you to get it working.
> > 
> > 
> > First can you tell me if CONFIG_IOMMU_CCIO is defined in your
> > kernel as this will affect my answer.
> > 
> 
> 
> Hello,
> 
> CONFIG_IOMMU_CCIO is set to "y" in the kernel config. I set it to "n", 
> recompiled the modules and "modprobe harmony" works.
> However, aumix doesn't find a mixer device. Is there any way to find out where 
> the problem is?
> 
> 
> 
> -- 
> Linux - Cause life is too short for reboots
> 
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-29 18:38         ` Ryan Bradetich
@ 2002-08-29 18:45           ` Ryan Bradetich
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Bradetich @ 2002-08-29 18:45 UTC (permalink / raw)
  To: Ryan Bradetich; +Cc: christian, parisc-linux

As a side note (and interesting test) this should work properly when
bot the kernel and modules are compiled with CONFIG_IOMMU_CCIO not
set either.

I believe the problem you are seeing is when the kernel is compiled
with CONFIG_IOMMU_CCIO is not set, and the modules are compiled with
CONFIG_IOMMU_CCIO=y.

- Ryan

On Thu, 2002-08-29 at 12:38, Ryan Bradetich wrote:
> You should not have to compile the modules differently then from the
> kernel.  What happens when you compile both the kernel and modules
> with CONFIG_IOMMU_CCIO=y?
> 
> [Note: The ccio_get_fake will return the appropriate NULL if your
> system does not have any ccio devices.]
> 
> Sorry, I don't know anything about aumix.   Do you have a /dev/mixer?
> sane permissions? etc?
> 
> Thanks,
> 
> - Ryan
> 
> 
> On Thu, 2002-08-29 at 12:22, Christian Schmitt wrote:
> > Ryan Bradetich wrote:
> > > I have a theory on this .... but will probably be dis-reguarded by
> > > someone more knowledgable :)
> > > 
> > > I will try to explain what I believe the problem is, and provid a
> > > quick hack/work around for you to get it working.
> > > 
> > > 
> > > First can you tell me if CONFIG_IOMMU_CCIO is defined in your
> > > kernel as this will affect my answer.
> > > 
> > 
> > 
> > Hello,
> > 
> > CONFIG_IOMMU_CCIO is set to "y" in the kernel config. I set it to "n", 
> > recompiled the modules and "modprobe harmony" works.
> > However, aumix doesn't find a mixer device. Is there any way to find out where 
> > the problem is?
> > 
> > 
> > 
> > -- 
> > Linux - Cause life is too short for reboots
> > 
> > 
> 
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
@ 2002-08-29 22:28 John Marvin
  2002-08-30 16:02 ` Steve Pacenka
  0 siblings, 1 reply; 14+ messages in thread
From: John Marvin @ 2002-08-29 22:28 UTC (permalink / raw)
  To: parisc-linux

(Message inbox:75808)
Date:    Thu, 29 Aug 2002 20:22:23 +0200
To:      Ryan Bradetich <rbradetich@uswest.net>,
	 parisc-linux@lists.parisc-linux.org
Reply-To: christian@familieschmitt.de
Return-Path: parisc-linux-admin@lists.parisc-linux.org Thu
>From:    Christian Schmitt <chris.81@gmx.de>
Subject: Re: [parisc-linux] Harmony on 710 working?

Oops, I guess I missed that the model in question was a 710. 710's don't
have harmony audio. 705's & 710's have a different codec (Siemens PSB
2160) that is only capable of "telephone quality" audio, i.e. mono, fixed
8 Khz sampling rate.  There is currently no driver for this hardware.

FYI, The 720, 725, 730, 735, 750 & 755 don't have any kind of audio (although
there is a graphics card with onboard CD quality audio that was made for the
715s and 715t models that can also be put into these machines).

The 705, & 710 have the Siemens codec. The 715 is the first model with
"CD" quality audio.

John Marvin
jsm@fc.hp.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-29 22:28 [parisc-linux] Harmony on 710 working? John Marvin
@ 2002-08-30 16:02 ` Steve Pacenka
  2002-08-30 16:10   ` Matthew Wilcox
  0 siblings, 1 reply; 14+ messages in thread
From: Steve Pacenka @ 2002-08-30 16:02 UTC (permalink / raw)
  To: parisc-linux

On Thu, 2002-08-29 at 18:28, John Marvin wrote:
 
> FYI, The 720, 725, 730, 735, 750 & 755 don't have any kind of audio (although
> there is a graphics card with onboard CD quality audio that was made for the
> 715s and 715t models that can also be put into these machines).

A 735/99 I use has audio sufficient to play mp3's at good sound quality
using alsaplayer; I assume this is Harmony hardware.  Not part of a
framebuffer card.

-- SP

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [parisc-linux] Harmony on 710 working?
  2002-08-30 16:02 ` Steve Pacenka
@ 2002-08-30 16:10   ` Matthew Wilcox
  0 siblings, 0 replies; 14+ messages in thread
From: Matthew Wilcox @ 2002-08-30 16:10 UTC (permalink / raw)
  To: Steve Pacenka; +Cc: parisc-linux

On Fri, Aug 30, 2002 at 12:02:47PM -0400, Steve Pacenka wrote:
> On Thu, 2002-08-29 at 18:28, John Marvin wrote:
>  
> > FYI, The 720, 725, 730, 735, 750 & 755 don't have any kind of audio (although
> > there is a graphics card with onboard CD quality audio that was made for the
> > 715s and 715t models that can also be put into these machines).
> 
> A 735/99 I use has audio sufficient to play mp3's at good sound quality
> using alsaplayer; I assume this is Harmony hardware.  Not part of a
> framebuffer card.

i believe jsm is mistaken about the 735 & 755.  735 used the followon
chip from Asp and would surely have had the same sound abilities as the
715/Scorpio.  the harmony driver should stop claiming the 705/710 audio
though (an easy change to make).

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-08-30 16:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29 22:28 [parisc-linux] Harmony on 710 working? John Marvin
2002-08-30 16:02 ` Steve Pacenka
2002-08-30 16:10   ` Matthew Wilcox
  -- strict thread matches above, loose matches on Subject: below --
2002-08-28 14:34 Christian Schmitt
2002-08-28 17:06 ` Helge Deller
2002-08-29 13:45   ` Christian Schmitt
2002-08-29 16:54     ` Ryan Bradetich
2002-08-29 17:05       ` Grant Grundler
2002-08-29 18:22       ` Christian Schmitt
2002-08-29 18:38         ` Ryan Bradetich
2002-08-29 18:45           ` Ryan Bradetich
2002-08-29 16:55     ` Grant Grundler
2002-08-28 20:20 ` Juergen Braukmann
2002-08-29  7:43   ` Patrick Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox