[gutsy] keyspan serial drivers missing

Bug #149649 reported by Benjamin Herrenschmidt
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The main keyspan driver is missing from the modules built & installed by ubuntu. The keyspan_pda is there but
not the main keyspan driver which supports most keyspan devices.

The relevant config options are:

USB_SERIAL_KEYSPAN for the core driver, and then the firmware blobs:
USB_SERIAL_KEYSPAN_MPR
USB_SERIAL_KEYSPAN_USA28
USB_SERIAL_KEYSPAN_USA28X
USB_SERIAL_KEYSPAN_USA28XA
USB_SERIAL_KEYSPAN_USA28XB
USB_SERIAL_KEYSPAN_USA19
USB_SERIAL_KEYSPAN_USA18X
USB_SERIAL_KEYSPAN_USA19W
USB_SERIAL_KEYSPAN_USA19QW
USB_SERIAL_KEYSPAN_USA19QI
USB_SERIAL_KEYSPAN_USA49W
USB_SERIAL_KEYSPAN_USA49WLC

Revision history for this message
Glen Turner (gdt-gdt) wrote : Keyspan serial driver missing from kernel 2.6.22-14-ppc

On PowerPC with Ubuntu 7.10 kernel 2.6.20-16-powerpc works but with kernel 2.6.22-14-powerpc does not have the keyspan.ko module and a Keyspan USA-19HS serial/USB dongle no longer works.

Logs showing this follow.

2.6.20-16# uname -a
Linux andromache 2.6.20-16-powerpc #3 Sun Sep 23 19:20:00 UTC 2007 ppc GNU/Linux

2.6.20-16# # Insert Keyspan USA-19HS

2.6.20-16# dmesg
[ 224.765784] usb 2-1: new full speed USB device using ohci_hcd and address 2
[ 224.989347] usb 2-1: configuration #1 chosen from 2 choices
[ 225.443125] usbcore: registered new interface driver usbserial
[ 225.445570] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 225.448143] usbcore: registered new interface driver usbserial_generic
[ 225.448168] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 225.484036] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan - (without firmware)
[ 225.486763] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 1 port adapter
[ 225.489309] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 2 port adapter
[ 225.491955] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 4 port adapter
[ 225.493833] keyspan 2-1:1.0: Keyspan 1 port adapter converter detected
[ 225.495177] usb 2-1: Keyspan 1 port adapter converter now attached to ttyUSB0
[ 225.495925] usbcore: registered new interface driver keyspan
[ 225.495945] drivers/usb/serial/keyspan.c: v1.1.4:Keyspan USB to Serial Converter Driver

[ 224.765784] usb 2-1: new full speed USB device using ohci_hcd and address 2
[ 224.989347] usb 2-1: configuration #1 chosen from 2 choices
[ 225.443125] usbcore: registered new interface driver usbserial
[ 225.445570] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 225.448143] usbcore: registered new interface driver usbserial_generic
[ 225.448168] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 225.484036] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan - (without firmware)
[ 225.486763] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 1 port adapter
[ 225.489309] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 2 port adapter
[ 225.491955] drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 4 port adapter
[ 225.493833] keyspan 2-1:1.0: Keyspan 1 port adapter converter detected
[ 225.495177] usb 2-1: Keyspan 1 port adapter converter now attached to ttyUSB0
[ 225.495925] usbcore: registered new interface driver keyspan
[ 225.495945] drivers/usb/serial/keyspan.c: v1.1.4:Keyspan USB to Serial Converter Driver

2.6.20-16# ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 2008-02-28 01:24 /dev/ttyUSB0

2.6.22-14# uname -a
Linux andromache 2.6.22-14-powerpc #1 Tue Feb 12 02:26:07 UTC 2008 ppc GNU/Linux

2.6.22-14# # Insert Keyspan USA-19HS

2.6.22-14# dmesg
[10744.360686] usb 2-1: new full speed USB device using ohci_hcd and address 2
[10744.584300] usb 2-1: configuration #1 chosen from 2 choices

2.6.22-14# modprobe keyspan
FATAL: Module keyspan not found.

Revision history for this message
Glen Turner (gdt-gdt) wrote :

/boot$ diff -u config-2.6.20-16-powerpc config-2.6.22-14-powerpc | grep KEYSPAN
+CONFIG_INPUT_KEYSPAN_REMOTE=m
-# CONFIG_USB_KEYSPAN_REMOTE is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
 CONFIG_USB_SERIAL_KEYSPAN_PDA=m
-CONFIG_USB_SERIAL_KEYSPAN=m
-CONFIG_USB_SERIAL_KEYSPAN_MPR=y
-CONFIG_USB_SERIAL_KEYSPAN_USA28=y
-CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
-CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
-CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
-CONFIG_USB_SERIAL_KEYSPAN_USA19=y
-CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
-CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
-CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
-CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
-CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
-CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y

Revision history for this message
Glen Turner (gdt-gdt) wrote :

The commit appears not to realise that the Keyspan PDA-series of dongles should be handled by keyspan_pda.ko and the Keyspan USA-series of dongles should be handled by keyspan.ko. Disabling keyspan.ko removes all support for the USA-series of Keyspan serial dongles, which are the currently sold models.

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-gutsy.git;a=commit;h=d6781e7177f34b96edf867bec912dcafd6af050f

UBUNTU: build/config: Disable keyspan driver in favour of keyspan_pda

author Ben Collins <email address hidden>

Thu, 17 May 2007 00:39:25 +0000 (20:39 -0400) committer Amit Kucheria <email address hidden>

Mon, 9 Jul 2007 13:01:20 +0000 (16:01 +0300)

commit d6781e7177f34b96edf867bec912dcafd6af050f
tree 20b6df6a721ba6b58a6f9639912b13bcc891a49f
parent c4f573046a560249e92c2ec33a71dcffd40b2354

UBUNTU: build/config: Disable keyspan driver in favour of keyspan_pda

Signed-off-by: Ben Collins <email address hidden>

Revision history for this message
BeBoxer (ubuntu-themitchells) wrote :

In 8.04 alpha 6 x86, my Keyspan USA-19QW works fine and the /boot/config-2.6.24-12-generic reports that all Keyspan models are enabled. This was not the case in 7.10.

Revision history for this message
Glen Turner (gdt-gdt) wrote :

Looks like it's fix in Hardy with this change.

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=2c6ec783febe748ce260fe321924af4b25c5a472

UBUNTU: Enabled CONFIG_USB_SERIAL_KEYSPAN

author Tim Gardner Thu, 17 Jan 2008 19:47:29 +0000 (12:47 -0700)
committer Tim Gardner Thu, 17 Jan 2008 19:47:29 +0000 (12:47 -0700)
commit 2c6ec783febe748ce260fe321924af4b25c5a472
tree 54521337131d6b225d13e1fa62132f19ce23a5bf
parent a07606c45a19754bfd05e0cc2abff32207c573c

UBUNTU: Enabled CONFIG_USB_SERIAL_KEYSPAN
Signed-off-by: Tim Gardner

Revision history for this message
Glen Turner (gdt-gdt) wrote :

Kernel configuration file regression for Keyspan USA-series serial dongles in Gutsy appears to have been fix in Hardy alphas.

Changed in linux-meta:
status: New → Fix Committed
Revision history for this message
Andy Whitcroft (apw) wrote :

This is not a bug in the linux-meta package, moving to the linux package.

The fix has also been released at this stage.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.