From: Sebastian A. <sp...@sy...> - 2007-03-13 19:30:38
|
>Sebastian Auriol <> wrote: >> Hi, >> >> Does anyone know if AstLinux will load firmware for hotplug >> usb devices and >> where it is looking for the firmware if it can / does? >> >> I initially copied the firmware into /usr/lib/hotplug/firmware and >> modprobe'd the device driver (kernel module) but I got this >> in the messages >> log: >> firmware unavailable (system misconfigured?) >> >> So I tried copying the firmware to /lib/firmware just in case >> it was looking >> there, but that didn't help. Any ideas? >> >> Many thanks, >> >> Sebastian >> >> P.S. I am using AstLinux 0.4 branch from end of Jan. Darrick Hartman wrote: >I'll have to look back through my notes on the hotplug stuff. >Diethotplug is what is included with Astlinux. I'm not sure how that >handles the firmware. Perhaps there is a flag you can pass to insmod >that will load the firmware (try modinfo yourmodule). There don't seem to be any flags I can pass to insmod for this module (or at least nothing obvious from looking at the modinfo output). Do you know where Diethotplug is looking for the firmware? Many thanks, Sebastian |
From: Sebastian A. <sp...@sy...> - 2007-03-13 21:54:42
|
Darrick Hartman wrote: >> Darrick Hartman wrote: >> >>> I'll have to look back through my notes on the hotplug stuff. >>> Diethotplug is what is included with Astlinux. I'm not sure how >>> that handles the firmware. Perhaps there is a flag you can pass to >>> insmod that will load the firmware (try modinfo yourmodule). >>> >> >> There don't seem to be any flags I can pass to insmod for this >> module (or at least nothing obvious from looking at the modinfo >> output). Do you know where Diethotplug is looking for the firmware? >> >> >> > Looking at this further, I'm not sure why we're even including > diethotplug. It's not configured to do anything. It also > looks pretty > dated and possibly replaced by something newer. Sorry I can't be of > more help. I'm almost thinking that there should be a utility that > comes with the driver to load the firmware. The only hardware > experience I have with firmware are the Hauppauge PVR X50 cards which > work with a firmware loader. > > Darrick If diethotplug is not configured to do anything, does that mean it won't do anything? Is it possible to configure it with some conf files? There is a loader for the firmware for use on Linux 2.4 kernels, but it is not supposed to be needed on Linux 2.6 kernels. I tried to build a package I created from the source of this firmware loader (and other utils) for AstLinux anyway, before I realised that it wasn't required (and might not even work with 2.6), and had problems as there seemed to be a dependency on libusb-devel, which is not included in AstLinux, (not to mention a badly written make file). Many thanks, Sebastian |
From: Sebastian A. <sp...@sy...> - 2007-03-13 21:57:13
|
You pass force_fw=1 as a parameter to insmod? The firmware is required to run the card - I believe it is not stored on the device and needs to be loaded each time. Many thanks, Sebastian _____ From: ast...@li... [mailto:ast...@li...] On Behalf Of Bryce Chidester Sent: 13 March 2007 21:06 To: AstLinux Users Mailing List Subject: Re: [Astlinux-users] Hotplug firmware problem Just my $.02 - The Digium modules use the kernel hotplug firmware loading to retrieve and download their firmware, just like the Rhino modules do. I can't say for certain about Digium's modules but to re-install the firmware for Rhino cards (specifically, rcbfx), you simply pass force_fw=1; they automatically upgrade if the firmware file is a newer version than what's installed. There are several meanings to the word firmware in this discussion and I feel it's necessary to determine exactly what everyone is referring to. Are you talking about loading the firmware in order to run the card, as I know some wireless cards require? Or just upgrading the card, in which case it can be done on another machine and then moved over? Regards, Bryce Chidester Rhino Equipment Corp. br...@rh... Tel: +1 (480) 940-1826 x6351 Fax: +1 (480) 961-1826 FWD: 633686 x6351 IP: asterisk.rhinoequipment.com x6351 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the email and its attachments from all computers. |
From: Darrick H. <dha...@dj...> - 2007-03-13 20:48:00
|
Sebastian Auriol wrote: >> Sebastian Auriol <> wrote: >> >>> Hi, >>> >>> Does anyone know if AstLinux will load firmware for hotplug >>> usb devices and >>> where it is looking for the firmware if it can / does? >>> >>> I initially copied the firmware into /usr/lib/hotplug/firmware and >>> modprobe'd the device driver (kernel module) but I got this >>> in the messages >>> log: >>> firmware unavailable (system misconfigured?) >>> >>> So I tried copying the firmware to /lib/firmware just in case >>> it was looking >>> there, but that didn't help. Any ideas? >>> >>> Many thanks, >>> >>> Sebastian >>> >>> P.S. I am using AstLinux 0.4 branch from end of Jan. >>> > > Darrick Hartman wrote: > >> I'll have to look back through my notes on the hotplug stuff. >> Diethotplug is what is included with Astlinux. I'm not sure how that >> handles the firmware. Perhaps there is a flag you can pass to insmod >> that will load the firmware (try modinfo yourmodule). >> > > There don't seem to be any flags I can pass to insmod for this module (or at > least nothing obvious from looking at the modinfo output). Do you know where > Diethotplug is looking for the firmware? > > > Looking at this further, I'm not sure why we're even including diethotplug. It's not configured to do anything. It also looks pretty dated and possibly replaced by something newer. Sorry I can't be of more help. I'm almost thinking that there should be a utility that comes with the driver to load the firmware. The only hardware experience I have with firmware are the Hauppauge PVR X50 cards which work with a firmware loader. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Bryce C. <br...@rh...> - 2007-03-13 21:50:11
|
Just my $.02 - The Digium modules use the kernel hotplug firmware loading to retrieve and download their firmware, just like the Rhino modules do. I can't say for certain about Digium's modules but to re-install the firmware for Rhino cards (specifically, rcbfx), you simply pass force_fw=1; they automatically upgrade if the firmware file is a newer version than what's installed. There are several meanings to the word firmware in this discussion and I feel it's necessary to determine exactly what everyone is referring to. Are you talking about loading the firmware in order to run the card, as I know some wireless cards require? Or just upgrading the card, in which case it can be done on another machine and then moved over? Regards, Bryce Chidester Rhino Equipment Corp. br...@rh... Tel: +1 (480) 940-1826 x6351 Fax: +1 (480) 961-1826 FWD: 633686 x6351 IP: asterisk.rhinoequipment.com x6351 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the email and its attachments from all computers. Darrick Hartman wrote: > Sebastian Auriol wrote: > >>> Sebastian Auriol <> wrote: >>> >>> >>>> Hi, >>>> >>>> Does anyone know if AstLinux will load firmware for hotplug >>>> usb devices and >>>> where it is looking for the firmware if it can / does? >>>> >>>> I initially copied the firmware into /usr/lib/hotplug/firmware and >>>> modprobe'd the device driver (kernel module) but I got this >>>> in the messages >>>> log: >>>> firmware unavailable (system misconfigured?) >>>> >>>> So I tried copying the firmware to /lib/firmware just in case >>>> it was looking >>>> there, but that didn't help. Any ideas? >>>> >>>> Many thanks, >>>> >>>> Sebastian >>>> >>>> P.S. I am using AstLinux 0.4 branch from end of Jan. >>>> >>>> >> Darrick Hartman wrote: >> >> >>> I'll have to look back through my notes on the hotplug stuff. >>> Diethotplug is what is included with Astlinux. I'm not sure how that >>> handles the firmware. Perhaps there is a flag you can pass to insmod >>> that will load the firmware (try modinfo yourmodule). >>> >>> >> There don't seem to be any flags I can pass to insmod for this module (or at >> least nothing obvious from looking at the modinfo output). Do you know where >> Diethotplug is looking for the firmware? >> >> >> >> > Looking at this further, I'm not sure why we're even including > diethotplug. It's not configured to do anything. It also looks pretty > dated and possibly replaced by something newer. Sorry I can't be of > more help. I'm almost thinking that there should be a utility that > comes with the driver to load the firmware. The only hardware > experience I have with firmware are the Hauppauge PVR X50 cards which > work with a firmware loader. > > Darrick > > |
From: Kristian K. <kri...@gm...> - 2007-03-13 23:15:12
|
On 3/13/07, Bryce Chidester <br...@rh...> wrote: > > Just my $.02 - The Digium modules use the kernel hotplug firmware loading > to retrieve and download their firmware, just like the Rhino modules do. I > can't say for certain about Digium's modules but to re-install the firmware > for Rhino cards (specifically, rcbfx), you simply pass force_fw=1; they > automatically upgrade if the firmware file is a newer version than what's > installed. > There are several meanings to the word firmware in this discussion and I > feel it's necessary to determine exactly what everyone is referring to. Are > you talking about loading the firmware in order to run the card, as I know > some wireless cards require? Or just upgrading the card, in which case it > can be done on another machine and then moved over? > Regards, > Bryce Chidester > Rhino Equipment Corp. > br...@rh... > Tel: +1 (480) 940-1826 x6351 > Fax: +1 (480) 961-1826 > FWD: 633686 x6351 > IP: asterisk.rhinoequipment.com x6351 > Bryce, The Digium modules DO NOT require hotplug. When compiling zaptel you can pass NO_HOTPLUG (something like that) and it will compile the current firmware into the module. What everyone is talking about here is firmware required for the card, like for Intel wireless cards. I looked into this a while back but I never got very far... Hotlpug is just a bunch of scripts. It shouldn't be that hard to build into AstLinux. The only reason why it isn't in right now is because I don't trust it %100. I think it tries to be smarter than it really is and I have seen it cause problems on many systems. Running hotplug on my laptop I don't mind. But on a headless, mission critical PBX (for instance), it makes me nervous... -- Kristian Kielhofner |