element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Issues with new rpi-3.12.y pull request #705
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 664 subscribers
  • Views 177 views
  • Users 0 members are here
  • raspberry_pi
  • raspeberry_pi_accessories
Related

Issues with new rpi-3.12.y pull request #705

gonesurfing
gonesurfing over 10 years ago


https://github.com/raspberrypi/linux/pull/705

 

Looks like the drivers are slowly being merged into the rpi kernel 3.12.y branch. Pull request #705 has the changes to get the card working. I've compiled using the default raspi config file and installed to a fresh copy of raspian. I've got the card working, but have run into two serious issues that were not present in the unofficial 3.12.yrt kernel that was posted by another member on this site a bit ago.  I'm using this card for SDR capture from a softrock-ensemble radio (right now recieve only).

 

First, positive changes since the patched 3.12 kernel:

-the usb driver (dwg_otg?) isn't taking up significant CPU.

-Pulseaudio is streaming @ 96khz stereo sample rate over ethernet with ~20% CPU load!

 

Negative changes:

-The recording level is VERY low. I have to turn the caputre volume all the way up in alsamixer (I belive this is the digtal volume in the usage scripts) in order to get something close to a normal recording level. Something is not quite right here as I only had to make a minor change to the output gain before (32 -> 40).

-Now the showstopper. I'm getting terrible imaging on rf signals. SDR software relies upon differences in phase of the L & R audio channels to determine where to place the signal in the rf spectrum. Something has changed that is affecting channel phase causing duplicated signals. I've double checked that the card is not recording in mono (which it doesn't appear to be based on pulseaudio info). The strange thing is, this card was giving very good image rejection with the older kernel patches compared to a cheap PCM2902 USB card. I've tried adjusting channel phase in the software but the image rejection is not responding adequately. I've also tried delaying both L & R channels by one sample independently, but that didn't help.

 

I've posted these concerns to the github pull request page, but thought I would check here to see if anyone has tried the new kernel updates. I don't mind being a beta tester for such a quality ADC/DAC card, but I'm a little concerned that we're going to loose support before the bugs are worked out.

 

Thanks.

  • Sign in to reply
  • Cancel
  • gonesurfing
    gonesurfing over 10 years ago

    I've found the problem causing both issues. Seems the acceptable ranges for several of the controls changed from the 3.10 image. The case examples below for Record_from_lineIn.sh now result in proper volume levels for the input audio path. If you're having trouble with output volume, try chaining AIF1RX1 and 2 parameters accordingly. I haven't tested those yet, only capture levels.

     

    0 is now = 64

    amixer -Dhw:0 cset name='IN3L Volume' 8
    becomes
    amixer -Dhw:0 cset name='IN3L Volume' 72

     

    and 32 is now = 64
    amixer -Dhw:0 cset name='AIF1TX1 Input 1 Volume' 32
    becomes
    amixer -Dhw:0 cset name='AIF1TX1 Input 1 Volume' 64

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube