LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2013, 03:36 PM   #1
wifi_guy
LQ Newbie
 
Registered: Dec 2013
Posts: 1

Rep: Reputation: Disabled
Angry request_firmware() on linux 3.4


Hi All,

I am very new to the linux device drivers and have a question that linux guru's can answer for me.

I have a host module that is trying to call request_firmware() function and download the firmware to a PCIe card. I have the firmware present in the "/lib/firmware" directory but its not working.

The firmware is provided by the PCIe card vendor which I copied in the "/lib/firmware" directory

I have tried setting the kernel config options but nothing seems to work. This is on LINUX 3.4.11.19 and below are the current config options.

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""

Any help will be much appreciated.

Last edited by wifi_guy; 12-02-2013 at 03:41 PM.
 
Old 12-02-2013, 05:25 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,838

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
I have been involved with software for many years and have yet to see any program generate the error "not working" yet users persist in claiming that it is the result they get. Programmers work very hard to generate informative error messages and print them on the console and into the system log files. Ignoring them is like closing your eyes and claiming you can't see the play. If you don't know how to find the log files or check the returned error codes, please ask.
 
Old 12-03-2013, 06:01 AM   #3
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE 13, Kernel 3.13.3
Posts: 122

Rep: Reputation: 47
A lot more info is needed. What is the PCIe card? Is it graphics, sound, network, or what? Brand and model would be most useful. Exactly what did you copy into the /lib/firmware folder? As smallpond noted, it would be beneficial to post exact errors or logfiles concerning this. How does the system see the card? Open a terminal as root (not sudo) and type lspci and post the output that concerns the card in question.
 
  


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
How could you use request_firmware for drivers compiled in to the kernel? AustinMarton Linux - Kernel 2 03-15-2011 08:43 PM
prism54g - request_firmware failed frogboy Linux - Wireless Networking 1 10-17-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 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