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: <200807031005.59691.oliver@neukum.org>
Date:	Thu, 3 Jul 2008 10:05:57 +0200
From:	Oliver Neukum <oliver@...kum.org>
To:	Adam Williamson <awilliamson@...driva.com>
Cc:	Alan Cox <alan@...rguk.ukuu.org.uk>, Adrian Bunk <bunk@...nel.org>,
	Arjan van de Ven <arjan@...radead.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Alan Cox <alan@...hat.com>, bugme-daemon@...zilla.kernel.org,
	Greg KH <greg@...ah.com>, linux-usb@...r.kernel.org
Subject: Re: [Bug #10868] Oops on loading ipaq module since 2.6.26, prevents use of device

Am Mittwoch 02 Juli 2008 23:41:40 schrieb Adam Williamson:
> On Wed, 2008-07-02 at 23:33 +0200, Oliver Neukum wrote:
> 
> > This is odd. Your device shows one interface with one endpoint bulk and
> > bulk out respectively. Yet two ports are created. Odd.
> 
> OK. If you mean /dev/ttyUSB0 and /dev/ttyUSB1 are always both created
> when the device is plugged in - yep. This is the case in the working

Now this is very hard to explain. From the code in 2.6.25 it is clear that
only ttyUSB0 will be created. Please verify that indeed you get ttyUSB0
and ttyUSB1 with the kernel working for you.

> kernel too. From what I've seen in howtos and the like, this seems to be
> the case for most such devices. Well, let me know what else you need
> from me. :)

As far as I can tell somebody changed the ipaq driver in 2.6.26-rc6. I cannot
find the exact patch that did it in Greg's directory. As it causes a regression
here's a reversal.

	Regards
		Oliver

Signed-off-by: Oliver Neukum <oneukum@...e.de>

---

--- linux-2.6.26-greg/drivers/usb/serial/ipaq.alt.c	2008-07-03 09:01:37.000000000 +0200
+++ linux-2.6.26-greg/drivers/usb/serial/ipaq.c	2008-07-03 09:01:47.000000000 +0200
@@ -570,7 +570,7 @@ static struct usb_serial_driver ipaq_dev
 	.description =		"PocketPC PDA",
 	.usb_driver = 		&ipaq_driver,
 	.id_table =		ipaq_id_table,
-	.num_ports =		2,
+	.num_ports =		1,
 	.open =			ipaq_open,
 	.close =		ipaq_close,
 	.attach =		ipaq_startup,



--
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