Re: Re: Latest HSF driver doesn't work [eid-20060516-3bf]
"Linuxant support (Jonathan)" <[email protected]>
| Newsgroups | gmane.linux.drivers.modem.hsf |
|---|---|
| Message-ID | <[email protected]> |
Hi, just to make sure that replacing cpu_khz with 400000 is not the source of the problem, please try with the experimental patch to solve the cpu_khz problem on some 2.4 kernels that I have attached to this post. Regards, Jonathan Technical specialist / Linuxant www.linuxant.com [email protected] Hannes Kuhnert wrote: > Linuxant support (Jonathan) schrieb: >> we have generated the following license for version 6.x of the driver: >> >> [...] > > Thanks for the support! > >> We are aware of the cpu_khz problem and a fix for this problem will be >> provided in the future. Did you correctly replaced this value? > > Yes, I replaced it by 400000, which stands for 400MHz. > > When the dialer dials, I only get a continous tone or nothing from the modem. > When I perform a test with AT&F and ATH1, the number of IRQ doesn't rise. > >> Please read the following information related to HCF USB modems, it can >> be found in the HCF FAQ: >> >> [...] > > I could have checked the FAQ before asking ... > > Regards, > > Hannes Kuhnert > _______________________________________________ > hsflinux mailing list > [email protected] > https://www.linuxant.com/mailman/listinfo/hsflinux _______________________________________________ hsflinux mailing list [email protected] https://www.linuxant.com/mailman/listinfo/hsflinux
hsf-7.47.00.01-cpu_khz.patch
(text/x-patch, 544 B)
diff -urN hsfmodem-7.47.00.01full/modules/osservices.c hsfmodem-7.47.00.01full-cpu_khz/modules/osservices.c
--- hsfmodem-7.47.00.01full/modules/osservices.c 2006-04-10 17:19:49.000000000 -0400
+++ hsfmodem-7.47.00.01full-cpu_khz/modules/osservices.c 2006-05-16 12:05:15.000000000 -0400
@@ -1170,7 +1170,10 @@
kfree(pTimer);
}
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#define PROCFREQ_FROM_KERNEL
+#endif
+
//#define PROCFREQ_FROM_KERNEL_CONSTANT
#if !defined(PROCFREQ_FROM_KERNEL) || defined(PROCFREQ_FROM_KERNEL_CONSTANT)