Re: [App_rpt-users] URI and URIx Testing
Most recent ACID distro from Allstarlink.org. Gigabyte C1007UN-D with 4 gig memory, and an SSD SATA drive. Built in with an IntelR Dual-core CeleronR 1007U processor (1.5 GHz) lsusb -v reports the URI and the URIx both as USB 1.1 Thanks, Bob kk6ecm _____ From: Chris Andrist [mailto:chris@yeahmon.net] Sent: Friday, April 25, 2014 6:02 PM To: Bob Subject: Re: [App_rpt-users] URI and URIx Testing Bob, Tell us about the computer you are running this on and what Distro you are using? Just as an FYI. ACID runs best on Pentium 4 computers and slower. -- Regards, Chris Andrist, KC7WSU On Apr 25, 2014, at 6:59 PM, "Bob" <kk6ecm@gmail.com> wrote: I'm at a loss... looking for ideas on how to proceed... Still attempting to get our repeater working... rebuilt the computer that crashed, and it works well... Getting strange results when connecting the URI back to the radio (can't find anything wrong there). The fact I can't seem to get a URI, or URIx working with my computer suggests a possible issue with my setup. I have some inputs from folks for changes in the usbradio, or simpleusb which I'd like to check, but need to confirm the URI is working correctly, so I'm not chasing hardware issues by looking at software. I tested my URI using the loopback diagram and uridiag; it passes all the digital, and fails all the analog. I procured a URIx for replacement, and built up the loopback connector for it and tested, same results. I've checked and rechecked my wiring of the loopback connector. The URIx uses two 1k resistors and two extra jumpers than the URI (see below), and the URI two 10k resistors per DMK folks. (There is a confirmed error in the uridiag listed connections). I did not connect the URIx 12 and 20 (Blk and Wht) leads, nor the power supply to activate the 2x amplifier (pins 13 & 25), which I am not using. I'm told the correct connections are as shown below from the URI-FAQ.pdf, with change of 1K for 10K for URIx per DMK, and comparing with the URIx test fixture. Assuming the URIx was good from the factory, and all I did was connect it up to the loopback and computer, turn on the computer with ACID # service asterisk stop # uridiag URIDiag, diagnostic program for the DMK Engineering URI USB Radio Interface, version 0.8, 04/26/11 Found CM119 USB Radio Interface at 001/003 . . . Enter your selection:t Testing digital I/O (PTT,COR,TONE and GPIO).... Digital I/O passed!! Testing Analog at 204 (and 700) Hz... Analog level on left channel for 204.0 Hz (0.0) is out of range!! . . . 24 Error(s) found during test(s)!!!! URI Pin 1 to Pin 7 Pin 2 to Pin 3 Pin 4 to Pin 8 Pin 23 to Pin 24 10K Resistor between Pins 21 and 22 10K Resistor between Pins 21 and 23 URIx Pin 1 to Pin 7 Pin 2 to Pin 3 Pin 4 to Pin 8 Pin 23 to Pin 24 1K Resistor between Pins 21 and 22 1K Resistor between Pins 21 and 23 Pin 5 to Pin 10 Pin 6 to Pin 11 sigh! Thanks, Bob kk6ecm _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
On Fri, 25 Apr 2014, Bob wrote:
Most recent ACID distro from Allstarlink.org. Gigabyte C1007UN-D with 4 gig memory, and an SSD SATA drive.
Built in with an IntelR Dual-core CeleronR 1007U processor (1.5 GHz)
The problem is not your configuration, it is the motherboard. I have tried that exact same motherboard and it just will not work. I think it is the NM-70 chipset, because I had another motherboard using the exact same chipset with the same problems. The simples solution is to get a different motherboard, e.g. the Atom using the NM-10 chipset. What you will find with the problem motherboard is that the alsa utils such as aplay and alsa-mixer works perfectly. You can play audio to the URIx using aplay (connect up powered speakers to the audio out pins). However, neither Asterisk nor uridiag will correctly output audio. I have spend weeks trying to diagnose exactly what the problem is, inserting diagnostic prints in both uridiag and the chan_usbradio code, but I have not been able to figure it out what the issue is. The mixer settings seem to get set correctly, but the audio ends up nowhere. If you simply get a different motherboard, you could download your exact same config and it will work perfectly. I tried that with my node on five differnt computers, and the two using the NM-70 chipset would not work, and the other three using differnt chipsets worked perfectly. If somebody DOES figure out what makes this motherboard (or chipset) whacky, I would love to know, but my advice is to repurpose that motherboard and get one NOT based on the NM-70 chipset. 73 Willem AC0KQ ================================================================ Dr. Willem A. Schreuder, President, Principia Mathematica Address: 445 Union Blvd, Suite 230, Lakewood, CO 80228, USA Tel: (303) 716-3573 Fax: (303) 716-3575 WWW: www.prinmath.com Email: Willem.Schreuder@prinmath.com
The problems with this motherboard are due to lack of support for their recent chipsets in the old Linux kernels found in CentOS 5. Upgrading the kernel will resolve the problem. Those boards have very nice features, I've got a couple similar ones deployed and they've been completely stable. As I recall, I'm running a "hand cooked" 2.6.32 kernel. 73, David KB4FXC On Fri, 25 Apr 2014, Willem Schreuder wrote:
On Fri, 25 Apr 2014, Bob wrote:
Most recent ACID distro from Allstarlink.org. Gigabyte C1007UN-D with 4 gig memory, and an SSD SATA drive.
Built in with an IntelR Dual-core CeleronR 1007U processor (1.5 GHz)
The problem is not your configuration, it is the motherboard. I have tried that exact same motherboard and it just will not work. I think it is the NM-70 chipset, because I had another motherboard using the exact same chipset with the same problems.
The simples solution is to get a different motherboard, e.g. the Atom using the NM-10 chipset.
What you will find with the problem motherboard is that the alsa utils such as aplay and alsa-mixer works perfectly. You can play audio to the URIx using aplay (connect up powered speakers to the audio out pins). However, neither Asterisk nor uridiag will correctly output audio.
I have spend weeks trying to diagnose exactly what the problem is, inserting diagnostic prints in both uridiag and the chan_usbradio code, but I have not been able to figure it out what the issue is. The mixer settings seem to get set correctly, but the audio ends up nowhere.
If you simply get a different motherboard, you could download your exact same config and it will work perfectly. I tried that with my node on five differnt computers, and the two using the NM-70 chipset would not work, and the other three using differnt chipsets worked perfectly.
If somebody DOES figure out what makes this motherboard (or chipset) whacky, I would love to know, but my advice is to repurpose that motherboard and get one NOT based on the NM-70 chipset.
73 Willem AC0KQ
================================================================ Dr. Willem A. Schreuder, President, Principia Mathematica Address: 445 Union Blvd, Suite 230, Lakewood, CO 80228, USA Tel: (303) 716-3573 Fax: (303) 716-3575 WWW: www.prinmath.com Email: Willem.Schreuder@prinmath.com _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
Yes, as Dave says it is the old kernel. I have Debian latest release running acid allstar on a PC so it certainly can be done and that would certainly satisfy any current HW issues. I use dahdi with the latest patches. Unfortunately there is no official easy to get up and running Debian allstar version so you would have to build a system from scratch compiling dahdi and the acid svn and dealing with all the dependency requirements. I don't know about newer centos but I am sure others have gone that route. I just wanted to make clear there is no rule that you have to use centos as long as you are willing to do some tinkering. I even had the latest Ubuntu running Allstar but you would have to recompile the kernel as they removed the OSS stuff several years ago. If you want a real simple system I will have the Beagle Black image available for download real soon! It is working very well. 73 Doug WA3DSP http://www.crompton.com/hamradio
Date: Sat, 26 Apr 2014 01:06:09 -0400 From: kb4fxc@inttek.net To: willem@prinmath.com CC: app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] URI and URIx Testing
The problems with this motherboard are due to lack of support for their recent chipsets in the old Linux kernels found in CentOS 5. Upgrading the kernel will resolve the problem. Those boards have very nice features, I've got a couple similar ones deployed and they've been completely stable. As I recall, I'm running a "hand cooked" 2.6.32 kernel.
73, David KB4FXC
On Fri, 25 Apr 2014, Willem Schreuder wrote:
On Fri, 25 Apr 2014, Bob wrote:
Most recent ACID distro from Allstarlink.org. Gigabyte C1007UN-D with 4 gig memory, and an SSD SATA drive.
Built in with an IntelR Dual-core CeleronR 1007U processor (1.5 GHz)
The problem is not your configuration, it is the motherboard. I have tried that exact same motherboard and it just will not work. I think it is the NM-70 chipset, because I had another motherboard using the exact same chipset with the same problems.
The simples solution is to get a different motherboard, e.g. the Atom using the NM-10 chipset.
What you will find with the problem motherboard is that the alsa utils such as aplay and alsa-mixer works perfectly. You can play audio to the URIx using aplay (connect up powered speakers to the audio out pins). However, neither Asterisk nor uridiag will correctly output audio.
I have spend weeks trying to diagnose exactly what the problem is, inserting diagnostic prints in both uridiag and the chan_usbradio code, but I have not been able to figure it out what the issue is. The mixer settings seem to get set correctly, but the audio ends up nowhere.
If you simply get a different motherboard, you could download your exact same config and it will work perfectly. I tried that with my node on five differnt computers, and the two using the NM-70 chipset would not work, and the other three using differnt chipsets worked perfectly.
If somebody DOES figure out what makes this motherboard (or chipset) whacky, I would love to know, but my advice is to repurpose that motherboard and get one NOT based on the NM-70 chipset.
73 Willem AC0KQ
================================================================ Dr. Willem A. Schreuder, President, Principia Mathematica Address: 445 Union Blvd, Suite 230, Lakewood, CO 80228, USA Tel: (303) 716-3573 Fax: (303) 716-3575 WWW: www.prinmath.com Email: Willem.Schreuder@prinmath.com _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
On Sat, 26 Apr 2014, David McGough wrote:
As I recall, I'm running a "hand cooked" 2.6.32 kernel.
Does that mean you grabbed a CentOS 6.X RPM and manually installed it on CentOS 5.X, or that you had to compile the kernel from source? If the latter, what did you need to add in the configuration that was not in the stock kernel? ================================================================ Dr. Willem A. Schreuder, President, Principia Mathematica Address: 445 Union Blvd, Suite 230, Lakewood, CO 80228, USA Tel: (303) 716-3573 Fax: (303) 716-3575 WWW: www.prinmath.com Email: Willem.Schreuder@prinmath.com
Hi Willem, The later kernels support many more peripherals and motherboard chipsets properly--when compared to the stock CentOS5 kernel (a derivative of 2.6.18, as I recall?). I compiled the new kernel from source code downloaded from the kernel.org website. However, as you suggest, you could probably simply borrow a more recent kernel from either CentOS 6 or Debian Squeeze, too. Note that you must stay at a kernel rev less than 2.6.37. As of the 2.6.37 kernel, the Big Kernel Lock (BKL) is removed. Lots of code in CentOS 5 and Zaptel, etc., expect (require!) the BKL to work. An explanation of how to manually cook a kernel can be found at this website. I haven't tried these exact instructions, but, they look viable. See: http://wiki.centos.org/HowTos/Custom_Kernel Once you're running the new kernel, you should be in good shape. The audio woes, etc., should "magically" be resolved. I hope this helps! 73, David KB4FXC On Sat, 26 Apr 2014, Willem Schreuder wrote:
On Sat, 26 Apr 2014, David McGough wrote:
As I recall, I'm running a "hand cooked" 2.6.32 kernel.
Does that mean you grabbed a CentOS 6.X RPM and manually installed it on CentOS 5.X, or that you had to compile the kernel from source? If the latter, what did you need to add in the configuration that was not in the stock kernel?
================================================================ Dr. Willem A. Schreuder, President, Principia Mathematica Address: 445 Union Blvd, Suite 230, Lakewood, CO 80228, USA Tel: (303) 716-3573 Fax: (303) 716-3575 WWW: www.prinmath.com Email: Willem.Schreuder@prinmath.com
Good feedback. I believe that is the issue. I checked out my URIs on another older slower computer, and they are fine. Need to make a kernel (see David's post) or hardware switch. Now attempting to make the older slower computer work with simpleusb, and see if I can get this repeater online while stumble through the rest of this "upgrade." :-) Thanks much, Bob kk6ecm -----Original Message----- From: Willem Schreuder [mailto:willem@prinmath.com] Sent: Friday, April 25, 2014 8:50 PM To: Bob Cc: 'Chris Andrist'; app_rpt-users@ohnosec.org Subject: Re: [App_rpt-users] URI and URIx Testing On Fri, 25 Apr 2014, Bob wrote:
Most recent ACID distro from Allstarlink.org. Gigabyte C1007UN-D with 4 gig memory, and an SSD SATA drive.
Built in with an IntelR Dual-core CeleronR 1007U processor (1.5 GHz)
The problem is not your configuration, it is the motherboard. I have tried that exact same motherboard and it just will not work. I think it is the NM-70 chipset, because I had another motherboard using the exact same chipset with the same problems. The simples solution is to get a different motherboard, e.g. the Atom using the NM-10 chipset. What you will find with the problem motherboard is that the alsa utils such as aplay and alsa-mixer works perfectly. You can play audio to the URIx using aplay (connect up powered speakers to the audio out pins). However, neither Asterisk nor uridiag will correctly output audio. I have spend weeks trying to diagnose exactly what the problem is, inserting diagnostic prints in both uridiag and the chan_usbradio code, but I have not been able to figure it out what the issue is. The mixer settings seem to get set correctly, but the audio ends up nowhere. If you simply get a different motherboard, you could download your exact same config and it will work perfectly. I tried that with my node on five differnt computers, and the two using the NM-70 chipset would not work, and the other three using differnt chipsets worked perfectly. If somebody DOES figure out what makes this motherboard (or chipset) whacky, I would love to know, but my advice is to repurpose that motherboard and get one NOT based on the NM-70 chipset. 73 Willem AC0KQ ================================================================ Dr. Willem A. Schreuder, President, Principia Mathematica Address: 445 Union Blvd, Suite 230, Lakewood, CO 80228, USA Tel: (303) 716-3573 Fax: (303) 716-3575 WWW: www.prinmath.com Email: Willem.Schreuder@prinmath.com
participants (4)
-
Bob -
David McGough -
Doug Crompton -
Willem Schreuder