Bug#622713: jackd2: Please support Renesas sh4

2011-04-17 Thread Nobuhiro Iwamatsu
Hi,

2011/4/14 Adrian Knoth a...@drcomp.erfurt.thur.de:
 On Thu, Apr 14, 2011 at 03:05:16PM +0900, Nobuhiro Iwamatsu wrote:

 I made patch to support SH. Could you apply this patch?

 Sure. Is this really enough to make SH work?


Thanks, and yes.
All SH has same format of cpuinfo.


 JFTR: There's also jackd1 which is as fine as jackd2. Does the former
 work?

 (Despite the numbers, jackd2 is in no ways the successor of jackd1)

No, I did not check this.
jack1 has some issue when I confirm it.
I will do BTS in jack1.

I thank for your advice.

Best regards,
  Nobuhiro



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622713: jackd2: Please support Renesas sh4

2011-04-14 Thread Nobuhiro Iwamatsu
Source: jackd2
Version: 1.9.7~dfsg-1
Severity: wishlist
Tags: patch
User: debian-...@superh.org
Usertags: sh4
X-Debbugs-CC: debian-sup...@lists.debian.org, tak...@debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
  http://buildd.debian-ports.org/status/architecture.php?suite=unstablea=sh4

clam FTBFS on SH4.
 
http://buildd.debian-ports.org/status/fetch.php?pkg=clamarch=sh4ver=1.4.0-2stamp=1302288039

This is a package depending on jack2(libjack-jackd2-dev) as Build-depends.
 http://packages.debian.org/source/sid/clam

-
Checking that libasound sample program runs... yes
Checking for jack pkg-config file... yes
Checking that jack sample program compiles...yes
Checking that jack sample program links...yes
jack_client_new: deprecated
FATAL: cannot locate cpu MHz in /proc/cpuinfo

Checking that jack sample program runs... no
jack compile/link/run test failed!
Check the config.log file for details
Either install jack or disable jack support by issuing
$scons with_jack=no
make[1]: *** [override_dh_auto_clean] Error 1
make[1]: Leaving directory `/build/buildd-clam_1.4.0-2-sh4-MFqHte/clam-1.4.0'
make: *** [clean] Error 2
-

/proc/cpuifno is output as follows in sh4.
-
$ cat /proc/cpuinfo
machine : SH7785LCR
processor   : 0
cpu family  : sh4a
cpu type: SH7785
cut : 7.x
cpu flags   : fpu perfctr llsc
cache type  : split (harvard)
icache size : 32KiB (4-way)
dcache size : 32KiB (4-way)
bogomips: 599.99

-

I made patch to support SH. Could you apply this patch?

Best regards,
 Nobuhiro
diff --git a/linux/JackLinuxTime.c b/linux/JackLinuxTime.c
index 93f7f03..c80eb17 100644
--- a/linux/JackLinuxTime.c
+++ b/linux/JackLinuxTime.c
@@ -166,6 +166,8 @@ static jack_time_t jack_get_mhz (void)
 		ret = sscanf(buf, Clocking:   % SCNu64, mhz);
 #elif defined( __s390__  )
 		ret = sscanf(buf, bogomips per cpu: % SCNu64, mhz);
+#elif defined( __sh__  )
+		ret = sscanf(buf, bogomips: % SCNu64, mhz);
 #else /* MIPS, ARM, alpha */
 		ret = sscanf(buf, BogoMIPS: % SCNu64, mhz);
 #endif


Bug#622713: jackd2: Please support Renesas sh4

2011-04-14 Thread Adrian Knoth
On Thu, Apr 14, 2011 at 03:05:16PM +0900, Nobuhiro Iwamatsu wrote:

 I made patch to support SH. Could you apply this patch?

Sure. Is this really enough to make SH work?


JFTR: There's also jackd1 which is as fine as jackd2. Does the former
work?

(Despite the numbers, jackd2 is in no ways the successor of jackd1)


Cheers

-- 
mail: a...@thur.de  http://adi.thur.de  PGP/GPG: key via keyserver



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org