Bug 4355
Summary: | isa pnp modem is ignored by serial driver in 2.6.9. Worked fine with 2.4.24. | ||
---|---|---|---|
Product: | Drivers | Reporter: | Dmitry Vavilov (vavilov) |
Component: | Serial | Assignee: | Adam Belay (ambx1) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | aline_aaline, bjorn.helgaas, bunk, perex, protasnb, rmk |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.9 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Dmitry Vavilov
2005-03-17 05:56:02 UTC
Is this issue still present in kernel 2.6.17? Yes, it is! Meanwhile I switched to Sarge. After compiling and installing kernel-2.6.17.7 I can see that the problem is still there and can be described with the same words. Let's update status again - still there in 2.6.23+? Thanks. I can not tell. I don't have an access to the computer which showed this problem anymore. This is unfortunate. We can probably close this bug, better after Bjorn glance at it. The heuristic that looks for "modem", "MODEM", etc. is in serial_pnp_guess_board(), but we only use that if serial_pnp_probe() is called. serial_pnp_probe() is only called for PNP IDs in the pnp_dev_table[]. The patch below should fix it (bugzilla has a bug that won't let me attach it properly, so it's probably whitespace-damaged). If somebody can test it, I'll send it upstream. serial: add PNP ID for Davicom ISA 33.6K modem Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Index: w/drivers/serial/8250_pnp.c =================================================================== --- w.orig/drivers/serial/8250_pnp.c 2007-11-06 10:27:52.000000000 -0700 +++ w/drivers/serial/8250_pnp.c 2007-11-06 10:30:16.000000000 -0700 @@ -69,6 +69,8 @@ { "CTL3001", 0 }, /* Creative Labs Modem Blaster 28.8 DSVD PnP Voice */ { "CTL3011", 0 }, + /* Davicom ISA 33.6K Modem */ + { "DAV0336", 0 }, /* Creative */ /* Creative Modem Blaster Flash56 DI5601-1 */ { "DMB1032", 0 }, I can not test it. But this is exactly what worked for me before (see my original message) and it looks harmless anyway. I would suggest to proceed with incorporating this change... Anyway I agree the case can be closed. This git commit should resolve the problem: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=dbd0cf48842700c3a694dcd32b29e63e27f37acc This will appear in 2.6.24. Please reopen this defect if the problem still occurs in 2.6.24. I would change this to "RESOLVED", but I'm not sufficiently empowered. Thanks, Bjorn. This is exacly what I was looking for. I've just patched the kernel 2.6.23.9 with the instructions above. My modem is working really fine now. isapnp: Scanning for PnP cards... isapnp: Card 'V1433VQH-U 336 PNP MODEM' isapnp: 1 Plug & Play card detected total pnp: Device 01:01.00 activated. 01:01.00 DAV0336 (unknown) state = active io 0x3e8-0x3ef irq 5 |