lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707061620.44348.duncan.sands@math.u-psud.fr>
Date:	Fri, 6 Jul 2007 16:20:43 +0200
From:	Duncan Sands <duncan.sands@...h.u-psud.fr>
To:	mikie <mikie.pl@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: understanding firmware loader for speedtouch (kernel 2.6.21.5)

On Friday 6 July 2007 14:54:18 mikie wrote:
> Hi,
> 
> I experience some problems with the speedtch.c module, especially in
> regards to its firmware loader.
> I am not quite sure if this module is going to load the firmware
> itself or does it use some external software to do that ?

It loads it itself, using some external software!
 
> All I get is :
> 
> Jul  6 13:41:37 srv kernel: speedtch 1-2:1.0: speedtch_find_firmware:
> looking for speedtch-1.bin.2.00
> [...]
> Jul  6 13:42:19 srv kernel: speedtch 1-2:1.0: speedtch_find_firmware:
> looking for speedtch-1.bin.2
> [...]
> Jul  6 13:43:19 srv kernel: speedtch 1-2:1.0: speedtch_find_firmware:
> looking for speedtch-1.bin
> 
> And nothing more happens. The firmware does not get loaded to the
> modem. There is also no information in the logs that the firmware
> loading failed...

It should either print:
	no stage 1 firmware found!
or
	found stage 1 firmware <name>
Does it really print neither?  If so, that must mean that the
firmware loader got stuck.

> I have read and checked the firmware.agent script from some hotplug
> package, and noticed that it makes something like simple file copy of
> the firmware to the "data" and echoing 1 or 0 to the "loading" file.
> But what is the location of these data/loading ? Also the firmware is
> split into 2 parts -- should I upload them one after another? Is that
> all that should be done to get the firmware loaded?

You need to write the file that was asked for: the modem starts by asking
for the first file, uploads it, then asks for the second file and uploads it.
The file is written to the "data" file, but note that the data file is created
on the fly when the modem requests a firmware load so you can't write to it
at some random time.

Ciao,

Duncan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ