agrsm048 successful connection on 2.6.33, and update for 2.6.31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marvin, Nick, list,

I had opportunity to do some testing today, using agrsm048 on various
kernel versions up to 2.6.33. Specifically, I have successfully
connected with 2.6.31, 2.6.31.1, 2.6.31.12, 2.6.32.2, and 2.6.33.

It turns out my last update broke the compile on 2.6.31.*, which is
why it is not working on Nick's system. Sorry about that. Briefly, I
had made the changes applicable for 2.6.31 and later, when it should
have been 2.6.32. A patch is attached to fix that error.

Nick, Marvin will probably have a new .deb available soon, but if you
want try it before then you can apply the patch yourself. To do so,
first save the agrsm048-2.6.32.patch.txt attached to this email, and
then:

$ sudo cp agrsm048-2.6.32.patch.txt  /usr/src/agrsm048pci-2.1.60/patches
$ cd /usr/src/agrsm048pci-2.1.60
$ sudo patch -p0 < patches/agrsm048-2.6.32.patch.txt

After the patch is applied, either reboot to let dkms compile and
install it for you or do so yourself with:

$ sudo make clean
$ sudo make
$ sudo make install

Then continue with agrsm-test and wvdialconf.
-- 
Joshua Crawford ... http://geocities.com/mortarn

http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
Be rewarded! Join RewardsCentral today!
--- serial26.c-orig	2010-03-16 19:24:48.000000000 +1100
+++ serial26.c	2010-03-16 19:25:29.000000000 +1100
@@ -1004,7 +1004,7 @@
 static _INLINE_ void
 receive_chars(struct uart_8250_port *up, int *status, struct pt_regs *regs)
 {
-#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 31)
+#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 32)
 	struct tty_struct *tty = up->port.info->port.tty;
 #else
 	struct tty_struct *tty = up->port.state->port.tty;
@@ -1076,7 +1076,7 @@
 
 static _INLINE_ void transmit_chars(struct uart_8250_port *up)
 {
-#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 31)
+#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 32)
 	struct circ_buf *xmit = &up->port.info->xmit;
 #else
 	struct circ_buf *xmit = &up->port.state->xmit;
@@ -1130,7 +1130,7 @@
 	if (status & UART_MSR_DCTS)
 		uart_handle_cts_change(&up->port, status & UART_MSR_CTS);
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 31)
+#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 32)
 	wake_up_interruptible(&up->port.info->delta_msr_wait);
 #else
 	wake_up_interruptible(&up->port.state->port.delta_msr_wait);

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux