Discussion:
Autosuspend and unbound interfaces
(too old to reply)
Rob Duncan
2010-05-03 23:05:02 UTC
Permalink
My driver has (I think) all the routines and attributes that are needed to support runtime PM, but I'm not seeing my suspend routine being called. I do have some unbound interfaces on the device; are they preventing my driver from being called when it is idle?

Also, and perhaps more relevantly, I have power/control and power/level, but no power/autosuspend in the sysfs tree for the device. Is that expected?

Thanks,

Rob.--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Greg KH
2010-05-04 03:21:42 UTC
Permalink
Post by Rob Duncan
My driver has (I think) all the routines and attributes that are
needed to support runtime PM, but I'm not seeing my suspend routine
being called. I do have some unbound interfaces on the device; are
they preventing my driver from being called when it is idle?
Do you have a pointer to your driver anywhere?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Oliver Neukum
2010-05-04 06:35:31 UTC
Permalink
Post by Rob Duncan
My driver has (I think) all the routines and attributes that are needed to support runtime PM, but I'm not seeing my suspend routine being called. I do have some unbound interfaces on the device; are they preventing my driver from being called when it is idle?
They shouldn't.
Post by Rob Duncan
Also, and perhaps more relevantly, I have power/control and power/level, but no power/autosuspend in the sysfs tree for the device. Is that expected?
No, it isn't.

Without your driver, syslog and/or lsusb -v nothing can be said.

Regards
Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-04 17:56:04 UTC
Permalink
Hi Oliver,
Post by Oliver Neukum
Without your driver, syslog and/or lsusb -v nothing can be said.
Here is the lsusb -v output:

Bus 003 Device 002: ID 04e2:1410 Exar Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x04e2 Exar Corp.
idProduct 0x1410
bcdDevice 0.99
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 75
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 30mA
UNRECOGNIZED: 08 0b 00 02 02 02 00 00
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 1.10
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
CDC Call Management:
bmCapabilities 0x01
call management
bDataInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0

Here is the syslog output:

May 4 10:47:46 localhost kernel: USB Serial support registered for Exar serial
May 4 10:47:46 localhost kernel: usbcore: registered new interface driver exar
May 4 10:47:46 localhost kernel: USB Driver for Exar USB serial ports: v1.00a
May 4 10:47:55 localhost kernel: hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0008
May 4 10:47:55 localhost kernel: ehci_hcd 0000:00:02.1: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT
May 4 10:47:55 localhost kernel: hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
May 4 10:47:55 localhost kernel: hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
May 4 10:47:55 localhost kernel: ehci_hcd 0000:00:02.1: port 3 full speed --> companion
May 4 10:47:55 localhost kernel: ehci_hcd 0000:00:02.1: GetStatus port 3 status 003001 POWER OWNER sig=se0 CONNECT
May 4 10:47:55 localhost kernel: ohci_hcd 0000:00:02.0: auto-wakeup root hub
May 4 10:47:55 localhost kernel: hub 1-0:1.0: port 3 not reset yet, waiting 50ms
May 4 10:47:55 localhost kernel: ehci_hcd 0000:00:02.1: GetStatus port 3 status 003802 POWER OWNER sig=j CSC
May 4 10:47:55 localhost kernel: hub 3-0:1.0: state 7 ports 6 chg 0000 evt 0008
May 4 10:47:55 localhost kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2] = 0x00010101 CSC PPS CCS
May 4 10:47:55 localhost kernel: hub 3-0:1.0: port 3, status 0101, change 0001, 12 Mb/s
May 4 10:47:55 localhost kernel: hub 3-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
May 4 10:47:55 localhost kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2] = 0x00100103 PRSC PPS PES CCS
May 4 10:47:55 localhost kernel: usb 3-3: new full speed USB device using ohci_hcd and address 2
May 4 10:47:55 localhost kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2] = 0x00100103 PRSC PPS PES CCS
May 4 10:47:55 localhost kernel: usb 3-3: skipped 1 descriptor after configuration
May 4 10:47:55 localhost kernel: usb 3-3: skipped 4 descriptors after interface
May 4 10:47:55 localhost kernel: usb 3-3: udev 2, busnum 3, minor = 257
May 4 10:47:55 localhost kernel: usb 3-3: New USB device found, idVendor=04e2, idProduct=1410
May 4 10:47:55 localhost kernel: usb 3-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 4 10:47:56 localhost kernel: usb 3-3: usb_probe_device
May 4 10:47:56 localhost kernel: usb 3-3: configuration #1 chosen from 1 choice
May 4 10:47:56 localhost kernel: usb 3-3: adding 3-3:1.0 (config #1, interface 0)
May 4 10:47:56 localhost kernel: usbserial_generic 3-3:1.0: usb_probe_interface
May 4 10:47:56 localhost kernel: usbserial_generic 3-3:1.0: usb_probe_interface - got id
May 4 10:47:56 localhost kernel: exar 3-3:1.0: usb_probe_interface
May 4 10:47:56 localhost kernel: exar 3-3:1.0: usb_probe_interface - got id
May 4 10:47:56 localhost kernel: exar 3-3:1.0: Skipping management interface
May 4 10:47:56 localhost kernel: usb 3-3: adding 3-3:1.1 (config #1, interface 1)
May 4 10:47:56 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface
May 4 10:47:56 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface - got id
May 4 10:47:56 localhost kernel: exar 3-3:1.1: usb_probe_interface
May 4 10:47:56 localhost kernel: exar 3-3:1.1: usb_probe_interface - got id
May 4 10:47:56 localhost kernel: exar 3-3:1.1: Using management interface interrupt endpoints
May 4 10:47:56 localhost kernel: exar 3-3:1.1: Taking interrupt endpoint from management interface
May 4 10:47:56 localhost kernel: exar 3-3:1.1: Exar serial converter detected
May 4 10:47:56 localhost kernel: usb 3-3: exar_attach: 1410
May 4 10:47:56 localhost kernel: usb 3-3: Exar serial converter now attached to ttyUSB0
May 4 10:47:56 localhost kernel: drivers/usb/core/inode.c: creating file '002'
May 4 10:47:56 localhost kernel: hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0008
May 4 10:47:56 localhost kernel: hub 3-0:1.0: state 7 ports 6 chg 0000 evt 0008

And the driver source follows:

Rob.

/*
* USB driver for Exar serial converters
*
* Copyright (C) 2010 Rob Duncan <rob.duncan-***@public.gmane.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 as published by the Free Software Foundation.
*
* Heavily based on the option.c Usb serial driver by Matthias Urlichs
* <smurf-***@public.gmane.org>. See that file for more information.
*/

#define DEBUG

#include <linux/kernel.h>
#include <linux/tty.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/usb/cdc.h>
#include <asm/unaligned.h>
#include <linux/slab.h>
#include <linux/tty_flip.h>

#include "exar.h"

#define DRIVER_VERSION "v1.00a"
#define DRIVER_AUTHOR "Rob Duncan <rob.duncan-***@public.gmane.org>"
#define DRIVER_DESC "USB Driver for Exar USB serial ports"

static int debug;

#define TR_CONFIG 0x00000001
#define TR_REG 0x00000002
#define TR_INTERRUPT 0x00000004
#define TR_FUNC 0x00000008
#define TR_URB 0x00000010
#define TR_DATA 0x00000020

#define TRACE_X(X, DEV, MSG...) if (debug & X) dev_dbg(DEV, MSG)
#define TRACE_CONFIG(DEV, MSG...) TRACE_X(TR_CONFIG, DEV, MSG)
#define TRACE_REG(DEV, MSG...) TRACE_X(TR_REG, DEV, MSG)
#define TRACE_INTERRUPT(DEV, MSG...) TRACE_X(TR_INTERRUPT, DEV, MSG)
#define TRACE_FUNC(DEV, MSG...) TRACE_X(TR_FUNC, DEV, MSG)
#define TRACE_URB(DEV, MSG...) TRACE_X(TR_URB, DEV, MSG)
#define TRACE_DATA(DEV, MSG...) TRACE_X(TR_DATA, DEV, MSG)
#define TRACE(DEV, MSG...) TRACE_X(-1, DEV, MSG)

static void exar_indat_callback(struct urb *urb);
static void exar_outdat_callback(struct urb *urb);

/* ---------------------------------------------------------------- */

#define USB_RT_ACM (USB_TYPE_CLASS | USB_RECIP_INTERFACE)
#define ACM_CTRL_DTR 0x01
#define ACM_CTRL_RTS 0x02
#define ACM_CTRL_DCD 0x01
#define ACM_CTRL_DSR 0x02
#define ACM_CTRL_BRK 0x04
#define ACM_CTRL_RI 0x08
#define ACM_CTRL_FRAMING 0x10
#define ACM_CTRL_PARITY 0x20
#define ACM_CTRL_OVERRUN 0x40

#define N_IN_URB 4
#define IN_BUFLEN PAGE_SIZE
#define N_OUT_URB 4
#define OUT_BUFLEN PAGE_SIZE

/* *INDENT-OFF* */
struct exar_port_private {
int product_id;
int block;
int clocal;
int ctrlin;
int ctrlout;

spinlock_t susp_lock;
unsigned int suspended:1;
int in_flight;

struct urb *in_urbs[N_IN_URB];
u8 *in_buffer[N_IN_URB];
struct urb *out_urbs[N_OUT_URB];
u8 *out_buffer[N_OUT_URB];
unsigned long out_busy; /* Bit vector of URBs in use */
int opened;
struct usb_anchor delayed;
unsigned long tx_start_time[N_OUT_URB];
};
/* *INDENT-ON* */

/* ---------------------------------------------------------------- */

#define V_URM_REG_BLOCK 4
#define V_PRM_REG_BLOCK 5

#define V_UART_ENABLE 0x003
#define V_UART_ENABLE_TX_M 0x1
#define V_UART_ENABLE_TX_S 0
#define V_UART_ENABLE_TX 0x001
#define V_UART_ENABLE_RX_M 0x1
#define V_UART_ENABLE_RX_S 1
#define V_UART_ENABLE_RX 0x002

#define V_UART_CLOCK_DIVISOR_0 0x004
#define V_UART_CLOCK_DIVISOR_1 0x005
#define V_UART_CLOCK_DIVISOR_2 0x006
#define V_UART_TX_CLOCK_MASK_0 0x007
#define V_UART_TX_CLOCK_MASK_1 0x008
#define V_UART_RX_CLOCK_MASK_0 0x009
#define V_UART_RX_CLOCK_MASK_1 0x00a

#define V_UART_FORMAT 0x00b

#define V_UART_FORMAT_SIZE_M 0xf
#define V_UART_FORMAT_SIZE_S 0
#define V_UART_FORMAT_SIZE 0x00f

#define V_UART_FORMAT_SIZE_7 (0x7 << V_UART_FORMAT_SIZE_S)
#define V_UART_FORMAT_SIZE_8 (0x8 << V_UART_FORMAT_SIZE_S)
#define V_UART_FORMAT_SIZE_9 (0x9 << V_UART_FORMAT_SIZE_S)

#define V_UART_FORMAT_PARITY_M 0x7
#define V_UART_FORMAT_PARITY_S 4
#define V_UART_FORMAT_PARITY 0x070

#define V_UART_FORMAT_PARITY_NONE (0x0 << V_UART_FORMAT_PARITY_S)
#define V_UART_FORMAT_PARITY_ODD (0x1 << V_UART_FORMAT_PARITY_S)
#define V_UART_FORMAT_PARITY_EVEN (0x2 << V_UART_FORMAT_PARITY_S)
#define V_UART_FORMAT_PARITY_1 (0x3 << V_UART_FORMAT_PARITY_S)
#define V_UART_FORMAT_PARITY_0 (0x4 << V_UART_FORMAT_PARITY_S)

#define V_UART_FORMAT_STOP_M 0x1
#define V_UART_FORMAT_STOP_S 7
#define V_UART_FORMAT_STOP 0x080

#define V_UART_FORMAT_STOP_1 (0x0 << V_UART_FORMAT_STOP_S)
#define V_UART_FORMAT_STOP_2 (0x1 << V_UART_FORMAT_STOP_S)

#define V_UART_FORMAT_MODE_7N1 0
#define V_UART_FORMAT_MODE_RES1 1
#define V_UART_FORMAT_MODE_RES2 2
#define V_UART_FORMAT_MODE_RES3 3
#define V_UART_FORMAT_MODE_7N2 4
#define V_UART_FORMAT_MODE_7P1 5
#define V_UART_FORMAT_MODE_8N1 6
#define V_UART_FORMAT_MODE_RES7 7
#define V_UART_FORMAT_MODE_7P2 8
#define V_UART_FORMAT_MODE_8N2 9
#define V_UART_FORMAT_MODE_8P1 10
#define V_UART_FORMAT_MODE_9N1 11
#define V_UART_FORMAT_MODE_8P2 12
#define V_UART_FORMAT_MODE_RESD 13
#define V_UART_FORMAT_MODE_RESE 14
#define V_UART_FORMAT_MODE_9N2 15

#define V_UART_FLOW 0x00c

#define V_UART_FLOW_MODE_M 0x7
#define V_UART_FLOW_MODE_S 0
#define V_UART_FLOW_MODE 0x007

#define V_UART_FLOW_MODE_NONE (0x0 << V_UART_FLOW_MODE_S)
#define V_UART_FLOW_MODE_HW (0x1 << V_UART_FLOW_MODE_S)
#define V_UART_FLOW_MODE_SW (0x2 << V_UART_FLOW_MODE_S)
#define V_UART_FLOW_MODE_ADDR_MATCH (0x3 << V_UART_FLOW_MODE_S)
#define V_UART_FLOW_MODE_ADDR_MATCH_TX (0x4 << V_UART_FLOW_MODE_S)

#define V_UART_FLOW_HALF_DUPLEX_M 0x1
#define V_UART_FLOW_HALF_DUPLEX_S 3
#define V_UART_FLOW_HALF_DUPLEX 0x008

#define V_UART_XON_CHAR 0x010
#define V_UART_XOFF_CHAR 0x011

#define V_UART_GPIO_MODE 0x01a

#define V_UART_GPIO_MODE_SEL_M 0x7
#define V_UART_GPIO_MODE_SEL_S 0
#define V_UART_GPIO_MODE_SEL 0x007

#define V_UART_GPIO_MODE_SEL_GPIO (0x0 << V_UART_GPIO_MODE_SEL_S)
#define V_UART_GPIO_MODE_SEL_RTS_CTS (0x1 << V_UART_GPIO_MODE_SEL_S)
#define V_UART_GPIO_MODE_SEL_DTR_DSR (0x2 << V_UART_GPIO_MODE_SEL_S)
#define V_UART_GPIO_MODE_SEL_XCVR_EN_ACT (0x3 << V_UART_GPIO_MODE_SEL_S)
#define V_UART_GPIO_MODE_SEL_XCVR_EN_FLOW (0x4 << V_UART_GPIO_MODE_SEL_S)

#define V_UART_GPIO_MODE_XCVR_EN_POL_M 0x1
#define V_UART_GPIO_MODE_XCVR_EN_POL_S 3
#define V_UART_GPIO_MODE_XCVR_EN_POL 0x008

#define V_UART_GPIO_SET_RI 0x1
#define V_UART_GPIO_SET_CD 0x2
#define V_UART_GPIO_SET_DSR 0x4
#define V_UART_GPIO_SET_DTR 0x8
#define V_UART_GPIO_SET_CTS 0x10
#define V_UART_GPIO_SET_RTS 0x20

#define V_UART_GPIO_ITCH_MASK 0x1c

#define V_URM_ENABLE_BASE 0x010
#define V_URM_ENABLE_0 0x010
#define V_URM_ENABLE_0_TX_M 0x1
#define V_URM_ENABLE_0_TX_S 0
#define V_URM_ENABLE_0_TX 0x001
#define V_URM_ENABLE_0_RX_M 0x1
#define V_URM_ENABLE_0_RX_S 1
#define V_URM_ENABLE_0_RX 0x002

#define V_PRM_RX_ITCH_BASE 0x014

/* ---------------------------------------------------------------- */

#define EXAR_SET_REG 0
#define EXAR_GET_REG 1

#if 0
static int exar_v_get_reg(struct usb_serial_port *port, int block, int reg,
int *value)
{
struct usb_serial *serial = port->serial;
int result;
u8 data;

result = usb_control_msg(serial->dev,
usb_rcvctrlpipe(serial->dev, 0),
EXAR_GET_REG,
USB_DIR_IN | USB_TYPE_VENDOR,
0,
reg | (block << 8),
&data, 1, USB_CTRL_GET_TIMEOUT);
*value = data;

TRACE_REG(&port->dev, "%s 0x%02x:0x%02x = 0x%02x\n", __func__, block,
reg, *value);

return result;
}
#endif

static int exar_v_set_reg(struct usb_serial_port *port,
int block, int reg, int value)
{
struct usb_serial *serial = port->serial;
int result;

TRACE_REG(&port->dev, "%s 0x%02x:0x%02x = 0x%02x\n", __func__, block,
reg, value);

result = usb_control_msg(serial->dev,
usb_sndctrlpipe(serial->dev, 0),
EXAR_SET_REG,
USB_DIR_OUT | USB_TYPE_VENDOR,
value,
reg | (block << 8),
NULL, 0, USB_CTRL_SET_TIMEOUT);

return result;
}

/* ---------------------------------------------------------------- */

static int exar_v_disable(struct usb_serial_port *port)
{
struct exar_port_private *portdata = usb_get_serial_port_data(port);
int block = portdata->block;

exar_v_set_reg(port, block, V_UART_ENABLE, 0);
exar_v_set_reg(port, V_URM_REG_BLOCK, V_URM_ENABLE_BASE + block, 0);

return 0;
}

static int exar_v_enable(struct usb_serial_port *port)
{
struct exar_port_private *portdata = usb_get_serial_port_data(port);
int block = portdata->block;

exar_v_set_reg(port, V_URM_REG_BLOCK, V_URM_ENABLE_BASE + block,
V_URM_ENABLE_0_TX);
exar_v_set_reg(port, block, V_UART_ENABLE,
V_UART_ENABLE_TX | V_UART_ENABLE_RX);
exar_v_set_reg(port, V_URM_REG_BLOCK, V_URM_ENABLE_BASE + block,
V_URM_ENABLE_0_TX | V_URM_ENABLE_0_RX);

return 0;
}

/* ---------------------------------------------------------------- */

static int acm_ctrl_msg(struct usb_serial_port *port,
int request, int value, void *buf, int len)
{
struct usb_serial *serial = port->serial;
int retval = usb_control_msg(serial->dev,
usb_sndctrlpipe(serial->dev, 0),
request,
USB_RT_ACM,
value,
serial->interface->cur_altsetting->desc.
bInterfaceNumber,
buf,
len,
5000);
TRACE_FUNC(&port->dev,
"%s rq: 0x%02x val: %#x len: %#x result: %d\n",
__func__, request, value, len, retval);
return retval < 0 ? retval : 0;
}

#define acm_set_control(port, control) \
acm_ctrl_msg(port, USB_CDC_REQ_SET_CONTROL_LINE_STATE, control, NULL, 0)
#define acm_set_line(port, line) \
acm_ctrl_msg(port, USB_CDC_REQ_SET_LINE_CODING, 0, line, sizeof *(line))
#define acm_send_break(port, ms) \
acm_ctrl_msg(port, USB_CDC_REQ_SEND_BREAK, ms, NULL, 0)

struct exar_v_baud_rate {
unsigned int tx;
unsigned int rx0;
unsigned int rx1;
};

static struct exar_v_baud_rate exar_v_baud_rates[] = {
{0x000, 0x000, 0x000},
{0x000, 0x000, 0x000},
{0x100, 0x000, 0x100},
{0x020, 0x400, 0x020},
{0x010, 0x100, 0x010},
{0x208, 0x040, 0x208},
{0x104, 0x820, 0x108},
{0x844, 0x210, 0x884},
{0x444, 0x110, 0x444},
{0x122, 0x888, 0x224},
{0x912, 0x448, 0x924},
{0x492, 0x248, 0x492},
{0x252, 0x928, 0x292},
{0X94A, 0X4A4, 0XA52},
{0X52A, 0XAA4, 0X54A},
{0XAAA, 0x954, 0X4AA},
{0XAAA, 0x554, 0XAAA},
{0x555, 0XAD4, 0X5AA},
{0XB55, 0XAB4, 0X55A},
{0X6B5, 0X5AC, 0XB56},
{0X5B5, 0XD6C, 0X6D6},
{0XB6D, 0XB6A, 0XDB6},
{0X76D, 0X6DA, 0XBB6},
{0XEDD, 0XDDA, 0X76E},
{0XDDD, 0XBBA, 0XEEE},
{0X7BB, 0XF7A, 0XDDE},
{0XF7B, 0XEF6, 0X7DE},
{0XDF7, 0XBF6, 0XF7E},
{0X7F7, 0XFEE, 0XEFE},
{0XFDF, 0XFBE, 0X7FE},
{0XF7F, 0XEFE, 0XFFE},
{0XFFF, 0XFFE, 0XFFD},
};

static int exar_v_set_baud_rate(struct usb_serial_port *port, unsigned int rate)
{
struct exar_port_private *portdata = usb_get_serial_port_data(port);
int block = portdata->block;
unsigned int div = 48000000 / rate;
unsigned int i = ((32 * 48000000) / rate) & 0x1f;
unsigned int tx = exar_v_baud_rates[i].tx;
unsigned int rx =
(div & 1) ? exar_v_baud_rates[i].rx1 : exar_v_baud_rates[i].rx0;

TRACE_CONFIG(&port->dev,
"Setting baud rate to %d: i=%u div=%u tx=%03x rx=%03x\n",
rate, i, div, tx, rx);

exar_v_set_reg(port, block, V_UART_CLOCK_DIVISOR_0, (div >> 0) & 0xff);
exar_v_set_reg(port, block, V_UART_CLOCK_DIVISOR_1, (div >> 8) & 0xff);
exar_v_set_reg(port, block, V_UART_CLOCK_DIVISOR_2, (div >> 16) & 0xff);
exar_v_set_reg(port, block, V_UART_TX_CLOCK_MASK_0, (tx >> 0) & 0xff);
exar_v_set_reg(port, block, V_UART_TX_CLOCK_MASK_1, (tx >> 8) & 0xff);
exar_v_set_reg(port, block, V_UART_RX_CLOCK_MASK_0, (rx >> 0) & 0xff);
exar_v_set_reg(port, block, V_UART_RX_CLOCK_MASK_1, (rx >> 8) & 0xff);

return -EINVAL;
}

static void exar_v_set_termios(struct tty_struct *tty_param,
struct usb_serial_port *port,
struct ktermios *old_termios)
{
struct exar_port_private *portdata = usb_get_serial_port_data(port);
unsigned int cflag, block;
speed_t rate;
unsigned int format_size, format_parity, format_stop, flow, gpio_mode,
itch;
struct tty_struct *tty;
char cs, p, sb, *fl;

TRACE_FUNC(&port->dev, "%s\n", __func__);

tty = port->port.tty;

cflag = tty->termios->c_cflag;

portdata->clocal = ((cflag & CLOCAL) != 0);

block = portdata->block;

exar_v_disable(port);

if ((cflag & CSIZE) == CS7) {
format_size = V_UART_FORMAT_SIZE_7;
cs = '7';
} else {
format_size = V_UART_FORMAT_SIZE_8;
cs = '8';
}

if (cflag & PARENB) {
if (cflag & PARODD) {
if (cflag & CMSPAR) {
format_parity = V_UART_FORMAT_PARITY_1;
p = 'M';
} else {
format_parity = V_UART_FORMAT_PARITY_ODD;
p = 'O';
}
} else {
if (cflag & CMSPAR) {
format_parity = V_UART_FORMAT_PARITY_0;
p = 'S';
} else {
format_parity = V_UART_FORMAT_PARITY_EVEN;
p = 'E';
}
}
} else {
format_parity = V_UART_FORMAT_PARITY_NONE;
p = 'n';
}

if (cflag & CSTOPB) {
format_stop = V_UART_FORMAT_STOP_2;
sb = '2';
} else {
format_stop = V_UART_FORMAT_STOP_1;
sb = '1';
}

exar_v_set_reg(port, block, V_UART_FORMAT,
format_size | format_parity | format_stop);

if (cflag & CRTSCTS) {
flow = V_UART_FLOW_MODE_HW;
gpio_mode = V_UART_GPIO_MODE_SEL_RTS_CTS;
itch =
(V_UART_GPIO_SET_RI | V_UART_GPIO_SET_CD |
V_UART_GPIO_SET_DSR | V_UART_GPIO_SET_DTR);
fl = "rtscts";
} else if (I_IXOFF(tty) || I_IXON(tty)) {
unsigned char start_char = START_CHAR(tty);
unsigned char stop_char = STOP_CHAR(tty);

flow = V_UART_FLOW_MODE_SW;
gpio_mode = V_UART_GPIO_MODE_SEL_GPIO;
itch =
(V_UART_GPIO_SET_RI | V_UART_GPIO_SET_CD |
V_UART_GPIO_SET_DSR | V_UART_GPIO_SET_DTR |
V_UART_GPIO_SET_CTS | V_UART_GPIO_SET_RTS);

exar_v_set_reg(port, block, V_UART_XON_CHAR, start_char);
exar_v_set_reg(port, block, V_UART_XOFF_CHAR, stop_char);
fl = "xonxoff";
} else {
flow = V_UART_FLOW_MODE_NONE;
gpio_mode = V_UART_GPIO_MODE_SEL_GPIO;
itch =
(V_UART_GPIO_SET_RI | V_UART_GPIO_SET_CD |
V_UART_GPIO_SET_DSR | V_UART_GPIO_SET_DTR |
V_UART_GPIO_SET_CTS | V_UART_GPIO_SET_RTS);
fl = "none";
}

TRACE_CONFIG(&port->dev, "Setting line to %c%c%c %s\n", cs, p, sb, fl);

exar_v_set_reg(port, block, V_UART_FLOW, flow);
exar_v_set_reg(port, block, V_UART_GPIO_MODE, gpio_mode);
exar_v_set_reg(port, block, V_UART_GPIO_ITCH_MASK, itch);

rate = tty_get_baud_rate(tty);
exar_v_set_baud_rate(port, rate);

exar_v_enable(port);
}

static void exar_set_termios(struct tty_struct *tty,
struct usb_serial_port *port,
struct ktermios *old_termios)
{
TRACE_FUNC(&port->dev, "%s\n", __func__);

exar_v_set_termios(tty, port, old_termios);
}

static int exar_tiocmget(struct tty_struct *tty, struct file *file)
{
struct usb_serial_port *port = tty->driver_data;
struct exar_port_private *portdata = usb_get_serial_port_data(port);

TRACE_FUNC(&port->dev, "%s\n", __func__);

return (portdata->ctrlout & ACM_CTRL_DTR ? TIOCM_DTR : 0) |
(portdata->ctrlout & ACM_CTRL_RTS ? TIOCM_RTS : 0) |
(portdata->ctrlin & ACM_CTRL_DSR ? TIOCM_DSR : 0) |
(portdata->ctrlin & ACM_CTRL_RI ? TIOCM_RI : 0) |
(portdata->ctrlin & ACM_CTRL_DCD ? TIOCM_CD : 0) | TIOCM_CTS;
}

static int exar_tiocmset(struct tty_struct *tty, struct file *file,
unsigned int set, unsigned int clear)
{
struct usb_serial_port *port = tty->driver_data;
struct exar_port_private *portdata = usb_get_serial_port_data(port);
unsigned int newctrl;

TRACE_FUNC(&port->dev, "%s\n", __func__);

newctrl = portdata->ctrlout;
set =
(set & TIOCM_DTR ? ACM_CTRL_DTR : 0) | (set & TIOCM_RTS ?
ACM_CTRL_RTS : 0);
clear =
(clear & TIOCM_DTR ? ACM_CTRL_DTR : 0) | (clear & TIOCM_RTS ?
ACM_CTRL_RTS : 0);

newctrl = (newctrl & ~clear) | set;

if (portdata->ctrlout == newctrl)
return 0;
return acm_set_control(port, portdata->ctrlout = newctrl);
}

/* ---------------------------------------------------------------- */

static struct urb *exar_setup_urb(struct usb_serial *serial, int endpoint,
int dir, void *ctx, char *buf, int len,
void (*callback) (struct urb *))
{
struct urb *urb;

urb = usb_alloc_urb(0, GFP_KERNEL);
if (urb == NULL) {
TRACE_URB(&serial->dev->dev,
"%s: alloc for endpoint %d failed.", __func__,
endpoint);
return NULL;
}

usb_fill_bulk_urb(urb, serial->dev,
usb_sndbulkpipe(serial->dev, endpoint) | dir,
buf, len, callback, ctx);

return urb;
}

static int exar_attach(struct usb_serial *serial)
{
struct usb_serial_port *port;
struct exar_port_private *portdata;
u8 *buffer;
struct urb *urb;
int j, err;

TRACE_FUNC(&serial->dev->dev, "%s: %04x\n", __func__,
serial->dev->descriptor.idProduct);

usb_enable_autosuspend(serial->dev);

port = serial->port[0];
portdata = kzalloc(sizeof(*portdata), GFP_KERNEL);
if (!portdata) {
dev_err(&port->dev,
"%s: kzalloc for exar_port_private failed!\n",
__func__);
return 1;
}

portdata->product_id = serial->dev->descriptor.idProduct;

/* Bulk OUT endpoints 0x1..0x4 map to register blocks 0..3 */
portdata->block = port->bulk_out_endpointAddress - 1;

usb_set_serial_port_data(port, portdata);

for (j = 0; j < N_IN_URB; j++) {
buffer = (u8 *) __get_free_page(GFP_KERNEL);
portdata->in_buffer[j] = buffer;

urb = exar_setup_urb(serial,
port->bulk_in_endpointAddress,
USB_DIR_IN, port,
portdata->in_buffer[j],
IN_BUFLEN, exar_indat_callback);
portdata->in_urbs[j] = urb;

if (!buffer || !urb) {
dev_err(&port->dev,
"%s: IN allocation failed buffer=%p urb=%p",
__func__, buffer, urb);
goto bail_out_error;
}
}

for (j = 0; j < N_OUT_URB; j++) {
buffer = (u8 *) __get_free_page(GFP_KERNEL);
portdata->out_buffer[j] = buffer;

urb = exar_setup_urb(serial,
port->bulk_out_endpointAddress,
USB_DIR_OUT, port,
portdata->out_buffer[j],
OUT_BUFLEN, exar_outdat_callback);
portdata->out_urbs[j] = urb;

if (!buffer || !urb) {
dev_err(&port->dev,
"%s: OUT allocation failed buffer=%p urb=%p",
__func__, buffer, urb);
goto bail_out_error;
}
}

if (port->interrupt_in_urb) {
err = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
if (err)
dev_err(&port->dev,
"%s: submit irq_in urb failed %d",
__func__, err);
}

return 0;

bail_out_error:
for (j = 0; j < N_IN_URB; j++) {
if (portdata->in_buffer[j])
free_page((unsigned long)portdata->in_buffer[j]);
if (portdata->in_urbs[j])
usb_free_urb(portdata->in_urbs[j]);
}
for (j = 0; j < N_OUT_URB; j++) {
if (portdata->out_buffer[j])
free_page((unsigned long)portdata->out_buffer[j]);
if (portdata->out_urbs[j])
usb_free_urb(portdata->out_urbs[j]);
}
kfree(portdata);
return 1;
}

static void stop_read_write_urbs(struct usb_serial *serial)
{
struct usb_serial_port *port;
struct exar_port_private *portdata;
int i, j;

for (i = 0; i < serial->num_ports; ++i) {
port = serial->port[i];
portdata = usb_get_serial_port_data(port);
for (j = 0; j < N_IN_URB; j++)
usb_kill_urb(portdata->in_urbs[j]);
for (j = 0; j < N_OUT_URB; j++)
usb_kill_urb(portdata->out_urbs[j]);
}
}

static void exar_disconnect(struct usb_serial *serial)
{
TRACE_FUNC(&serial->dev->dev, "%s\n", __func__);

stop_read_write_urbs(serial);
}

static void exar_release(struct usb_serial *serial)
{
struct usb_serial_port *port;
struct exar_port_private *portdata;
int j;

TRACE_FUNC(&serial->dev->dev, "%s\n", __func__);

port = serial->port[0];
portdata = usb_get_serial_port_data(port);

return;

for (j = 0; j < N_IN_URB; j++) {
if (portdata->in_urbs[j]) {
usb_free_urb(portdata->in_urbs[j]);
free_page((unsigned long)
portdata->in_buffer[j]);
portdata->in_urbs[j] = NULL;
}
}
for (j = 0; j < N_OUT_URB; j++) {
if (portdata->out_urbs[j]) {
usb_free_urb(portdata->out_urbs[j]);
free_page((unsigned long)
portdata->out_buffer[j]);
portdata->out_urbs[j] = NULL;
}
}

kfree(usb_get_serial_port_data(port));
}

/* ---------------------------------------------------------------- */

static int exar_open(struct tty_struct *tty, struct usb_serial_port *port)
{
struct exar_port_private *portdata = usb_get_serial_port_data(port);
struct usb_serial *serial = port->serial;
struct urb *urb;
int i, err;

TRACE_FUNC(&port->dev, "%s\n", __func__);

for (i = 0; i < N_IN_URB; i++) {
urb = portdata->in_urbs[i];
if (!urb)
continue;
err = usb_submit_urb(urb, GFP_KERNEL);
if (err) {
dev_err(&port->dev, "%s: submit urb %d failed (%d) %d",
__func__, i, err, urb->transfer_buffer_length);
}
}

/* serial->interface->needs_remote_wakeup = 1; */
spin_lock_irq(&portdata->susp_lock);
portdata->opened = 1;
spin_unlock_irq(&portdata->susp_lock);
/* usb_autopm_put_interface(serial->interface); */

return 0;
}

static void exar_close(struct usb_serial_port *port)
{
struct usb_serial *serial = port->serial;
struct exar_port_private *portdata = usb_get_serial_port_data(port);
int i;

TRACE_FUNC(&port->dev, "%s\n", __func__);

if (serial->dev) {
/* Stop reading/writing urbs */
spin_lock_irq(&portdata->susp_lock);
portdata->opened = 0;
spin_unlock_irq(&portdata->susp_lock);

for (i = 0; i < N_IN_URB; i++)
usb_kill_urb(portdata->in_urbs[i]);
for (i = 0; i < N_OUT_URB; i++)
usb_kill_urb(portdata->out_urbs[i]);
/* usb_autopm_get_interface(serial->interface); */
/* serial->interface->needs_remote_wakeup = 0; */
}
}

/* ---------------------------------------------------------------- */

static void exar_outdat_callback(struct urb *urb)
{
struct usb_serial_port *port;
struct exar_port_private *portdata;
int i;

port = urb->context;

TRACE_DATA(&port->dev, "%s\n", __func__);

usb_serial_port_softint(port);
usb_autopm_put_interface_async(port->serial->interface);
portdata = usb_get_serial_port_data(port);
spin_lock(&portdata->susp_lock);
portdata->in_flight--;
spin_unlock(&portdata->susp_lock);

for (i = 0; i < N_OUT_URB; ++i) {
if (portdata->out_urbs[i] == urb) {
smp_mb__before_clear_bit();
clear_bit(i, &portdata->out_busy);
break;
}
}
}

static int exar_write(struct tty_struct *tty, struct usb_serial_port *port,
const unsigned char *buf, int count)
{
struct exar_port_private *portdata;
struct urb *this_urb;
unsigned long flags;
int i, err, left, todo;

portdata = usb_get_serial_port_data(port);

TRACE_FUNC(&port->dev, "%s: write (%d chars)\n", __func__, count);

i = 0;
left = count;
for (i = 0; left > 0 && i < N_OUT_URB; i++) {
todo = left;
if (todo > OUT_BUFLEN)
todo = OUT_BUFLEN;

this_urb = portdata->out_urbs[i];
if (test_and_set_bit(i, &portdata->out_busy)) {
if (time_before(jiffies,
portdata->tx_start_time[i] + 10 * HZ))
continue;
usb_unlink_urb(this_urb);
continue;
}

err = usb_autopm_get_interface_async(port->serial->interface);
if (err < 0)
break;

/* send the data */
memcpy(this_urb->transfer_buffer, buf, todo);
this_urb->transfer_buffer_length = todo;

spin_lock_irqsave(&portdata->susp_lock, flags);
if (portdata->suspended) {
usb_anchor_urb(this_urb, &portdata->delayed);
spin_unlock_irqrestore(&portdata->susp_lock, flags);
} else {
portdata->in_flight++;
spin_unlock_irqrestore(&portdata->susp_lock, flags);
err = usb_submit_urb(this_urb, GFP_ATOMIC);
if (err) {
TRACE_URB(&port->dev,
"usb_submit_urb %p (write bulk) failed %d\n",
this_urb, err);
clear_bit(i, &portdata->out_busy);
spin_lock_irqsave(&portdata->susp_lock, flags);
portdata->in_flight--;
spin_unlock_irqrestore(&portdata->susp_lock,
flags);
continue;
}
}

portdata->tx_start_time[i] = jiffies;
buf += todo;
left -= todo;
}
count -= left;
TRACE_DATA(&port->dev, "%s: wrote (did %d)\n", __func__, count);
return count;
}

static int exar_write_room(struct tty_struct *tty)
{
struct usb_serial_port *port = tty->driver_data;
struct exar_port_private *portdata;
struct urb *this_urb;
int data_len = 0;
int i;

TRACE_FUNC(&port->dev, "%s\n", __func__);

portdata = usb_get_serial_port_data(port);

for (i = 0; i < N_OUT_URB; i++) {
this_urb = portdata->out_urbs[i];
if (this_urb && !test_bit(i, &portdata->out_busy))
data_len += OUT_BUFLEN;
}
TRACE_DATA(&port->dev, "%s: %d\n", __func__, data_len);
return data_len;
}

static int exar_chars_in_buffer(struct tty_struct *tty)
{
struct usb_serial_port *port = tty->driver_data;
struct exar_port_private *portdata;
struct urb *this_urb;
int data_len = 0;
int i;

TRACE_FUNC(&port->dev, "%s\n", __func__);

portdata = usb_get_serial_port_data(port);

for (i = 0; i < N_OUT_URB; i++) {
this_urb = portdata->out_urbs[i];
/* FIXME: This locking is insufficient as this_urb may
go unused during the test */
if (this_urb && test_bit(i, &portdata->out_busy))
data_len += this_urb->transfer_buffer_length;
}
TRACE_DATA(&port->dev, "%s: %d\n", __func__, data_len);
return data_len;
}

static void exar_indat_callback(struct urb *urb)
{
struct usb_serial_port *port;
struct tty_struct *tty;
unsigned char *data = urb->transfer_buffer;
int status = urb->status;
int err, endpoint;

port = urb->context;

TRACE_DATA(&port->dev, "%s: %p\n", __func__, urb);

endpoint = usb_pipeendpoint(urb->pipe);

if (status) {
TRACE_URB(&port->dev,
"%s: nonzero status: %d on endpoint %02x\n",
__func__, status, endpoint);
} else {
tty = tty_port_tty_get(&port->port);
if (urb->actual_length) {
tty_insert_flip_string(tty, data, urb->actual_length);
tty_flip_buffer_push(tty);
} else
TRACE_DATA(&port->dev, "%s: empty read urb received\n",
__func__);
tty_kref_put(tty);

/* Resubmit urb so we continue receiving */
if (status != -ESHUTDOWN) {
err = usb_submit_urb(urb, GFP_ATOMIC);
if (err && err != -EPERM)
dev_err(&port->dev,
"%s: resubmit read urb failed with %d\n",
__func__, err);
else
usb_mark_last_busy(port->serial->dev);
}
}
}

static void exar_int_callback(struct urb *urb)
{
struct usb_serial_port *port = urb->context;
struct exar_port_private *portdata = usb_get_serial_port_data(port);
struct usb_cdc_notification *dr = urb->transfer_buffer;
unsigned char *data;
int newctrl;
int status;

switch (urb->status) {
case 0:
/* success */
break;
case -ECONNRESET:
case -ENOENT:
case -ESHUTDOWN:
/* this urb is terminated, clean up */
TRACE_INTERRUPT(&port->dev,
"urb shutting down with status: %d\n",
urb->status);
return;
default:
dev_err(&port->dev, "nonzero urb status received: %d\n",
urb->status);
goto exit;
}

data = (unsigned char *)(dr + 1);
switch (dr->bNotificationType) {

case USB_CDC_NOTIFY_NETWORK_CONNECTION:
TRACE_INTERRUPT(&port->dev, "%s network\n",
dr->
wValue ? "connected to" : "disconnected from");
break;

case USB_CDC_NOTIFY_SERIAL_STATE:
newctrl = le16_to_cpu(get_unaligned((__le16 *) data));

if (!portdata->clocal
&& (portdata->ctrlin & ~newctrl & ACM_CTRL_DCD)) {
struct tty_struct *tty = tty_port_tty_get(&port->port);
TRACE_INTERRUPT(&port->dev, "calling hangup\n");
tty_hangup(tty);
}

portdata->ctrlin = newctrl;

TRACE_INTERRUPT(&port->dev,
"input control lines: dcd%c dsr%c break%c ring%c framing%c parity%c overrun%c\n",
portdata->ctrlin & ACM_CTRL_DCD ? '+' : '-',
portdata->ctrlin & ACM_CTRL_DSR ? '+' : '-',
portdata->ctrlin & ACM_CTRL_BRK ? '+' : '-',
portdata->ctrlin & ACM_CTRL_RI ? '+' : '-',
portdata->ctrlin & ACM_CTRL_FRAMING ? '+' : '-',
portdata->ctrlin & ACM_CTRL_PARITY ? '+' : '-',
portdata->
ctrlin & ACM_CTRL_OVERRUN ? '+' : '-');
break;

default:
TRACE_INTERRUPT(&port->dev,
"unknown notification %d received: index %d len %d data0 %d data1 %d\n",
dr->bNotificationType, dr->wIndex, dr->wLength,
data[0], data[1]);
break;
}

exit:
TRACE_URB(&port->dev, "resubmitting interrupt IN urb %p\n", urb);
status = usb_submit_urb(urb, GFP_ATOMIC);
if (status)
dev_err(&port->dev, "usb_submit_urb failed with result %d",
status);
}

#ifdef CONFIG_PM
static int exar_suspend(struct usb_serial *serial, pm_message_t message)
{
struct usb_serial_port *port;
struct exar_port_private *portdata;
int b;

TRACE_FUNC(&serial->dev->dev, "%s\n", __func__);

port = serial->port[0];
portdata = usb_get_serial_port_data(port);

if (message.event & PM_EVENT_AUTO) {
spin_lock_irq(&portdata->susp_lock);
b = portdata->in_flight;
spin_unlock_irq(&portdata->susp_lock);

if (b)
return -EBUSY;
}

spin_lock_irq(&portdata->susp_lock);
portdata->suspended = 1;
spin_unlock_irq(&portdata->susp_lock);
stop_read_write_urbs(serial);

return 0;
}

static void play_delayed(struct usb_serial_port *port)
{
struct exar_port_private *portdata;
struct urb *urb;
int err;

TRACE_FUNC(&port->dev, "%s\n", __func__);

portdata = usb_get_serial_port_data(port);
while ((urb = usb_get_from_anchor(&portdata->delayed))) {
err = usb_submit_urb(urb, GFP_ATOMIC);
if (!err)
portdata->in_flight++;
}
}

static int exar_resume(struct usb_serial *serial)
{
struct usb_serial_port *port;
struct exar_port_private *portdata;
struct urb *urb;
int err = 0, j;

TRACE_FUNC(&serial->dev->dev, "%s\n", __func__);

port = serial->port[0];
portdata = usb_get_serial_port_data(port);

/* get the interrupt URBs resubmitted unconditionally */
if (port->interrupt_in_urb) {
err = usb_submit_urb(port->interrupt_in_urb, GFP_NOIO);
if (err < 0) {
dev_err(&port->dev, "%s: Error %d for interrupt URB of port",
__func__, err);
goto err_out;
}
}

/* skip closed ports */
spin_lock_irq(&portdata->susp_lock);
if (portdata->opened) {
for (j = 0; j < N_IN_URB; j++) {
urb = portdata->in_urbs[j];
err = usb_submit_urb(urb, GFP_ATOMIC);
if (err < 0) {
dev_err(&port->dev,
"%s: Error %d for bulk URB\n", __func__,
err);
spin_unlock_irq(&portdata->susp_lock);
goto err_out;
}
}
play_delayed(port);
}
portdata->suspended = 0;
spin_unlock_irq(&portdata->susp_lock);

err_out:
return err;
}
#endif

static const struct usb_device_id id_table[] = {
{USB_DEVICE(EXAR_VENDOR_ID, EXAR_PRODUCT_ID_XRV1410)},
{USB_DEVICE(EXAR_VENDOR_ID, EXAR_PRODUCT_ID_XRV1412)},
{USB_DEVICE(EXAR_VENDOR_ID, EXAR_PRODUCT_ID_XRV1414)},
{},
};

MODULE_DEVICE_TABLE(usb, id_table);

/* *INDENT-OFF* */
static struct usb_driver exar_driver = {
.name = "exar",
.probe = usb_serial_probe,
.disconnect = usb_serial_disconnect,
.id_table = id_table,
#ifdef CONFIG_PM
.suspend = usb_serial_suspend,
.resume = usb_serial_resume,
.supports_autosuspend = 1,
#endif
.no_dynamic_id = 1,
};

static struct usb_serial_driver exar_device = {
.description = "Exar serial",
.driver = {
.owner = THIS_MODULE,
.name = "exar",
},
.id_table = id_table,
.usb_driver = &exar_driver,
.num_ports = 1,

.set_termios = exar_set_termios,
.tiocmget = exar_tiocmget,
.tiocmset = exar_tiocmset,

.attach = exar_attach,
.disconnect = exar_disconnect,
.release = exar_release,

.open = exar_open,
.close = exar_close,

.write = exar_write,
.write_room = exar_write_room,
.chars_in_buffer = exar_chars_in_buffer,

.read_int_callback = exar_int_callback,

#ifdef CONFIG_PM
.suspend = exar_suspend,
.resume = exar_resume,
#endif
};
/* *INDENT-ON* */

static int __init exar_init(void)
{
int retval;

retval = usb_serial_register(&exar_device);
if (retval)
return retval;
retval = usb_register(&exar_driver);
if (retval)
usb_serial_deregister(&exar_device);

printk(KERN_INFO DRIVER_DESC ": " DRIVER_VERSION "\n");

return retval;
}

static void __exit exar_exit(void)
{
usb_deregister(&exar_driver);
usb_serial_deregister(&exar_device);
}

module_init(exar_init);
module_exit(exar_exit);
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_VERSION(DRIVER_VERSION);
MODULE_LICENSE("GPL");

module_param(debug, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(debug, "Debug flags");



The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Oliver Neukum
2010-05-04 18:10:46 UTC
Permalink
Nothing immediately obvious. Please post cat /proc/bus/usb/devices
with usbfs mounted and recompile with CONFIG_USB_DEBUG.
Your sysfs situation is very odd. Are you perhaps compiling with a strange
.config?

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-04 19:26:35 UTC
Permalink
Hi Oliver,
Post by Oliver Neukum
Nothing immediately obvious. Please post cat /proc/bus/usb/devices
with usbfs mounted and recompile with CONFIG_USB_DEBUG.
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 6
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.34-rc6-rob ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:04.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 6
B: Alloc= 30/900 us ( 3%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.34-rc6-rob ohci_hcd
S: Product=OHCI Host Controller
S: SerialNumber=0000:00:02.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=04e2 ProdID=1410 Rev= 0.99
C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 30mA
A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=02 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=exar
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.34-rc6-rob ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:04.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.34-rc6-rob ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:02.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0bda ProdID=0151 Rev=51.95
S: Manufacturer=Generic
S: Product=USB2.0-CRW
S: SerialNumber=20060413092100000
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Post by Oliver Neukum
Your sysfs situation is very odd. Are you perhaps compiling with a strange
.config?
I don't know if it's strange or not. I've included it at the end.

Thanks,

Rob.

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.34-rc6
# Mon May 3 15:21:52 2010
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_DEFAULT_IDLE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_HAVE_CPUMASK_OF_CPU_MAP=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ZONE_DMA32=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_HAVE_EARLY_RES=y
CONFIG_HAVE_INTEL_TXT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_USE_GENERIC_SMP_HELPERS=y
CONFIG_X86_64_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_TRAMPOLINE=y
# CONFIG_KTIME_SCALAR is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_CONSTRUCTORS=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION="-rob"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
# CONFIG_TASK_XACCT is not set
CONFIG_AUDIT=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_TREE=y

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
# CONFIG_TREE_PREEMPT_RCU is not set
# CONFIG_TINY_RCU is not set
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_FANOUT=64
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_CGROUPS is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_RELAY=y
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_LZO=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_EXTRA_PASS=y
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_HAVE_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_PERF_COUNTERS is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_PCI_QUIRKS=y
CONFIG_COMPAT_BRK=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_OPROFILE=m
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set
CONFIG_HAVE_OPROFILE=y
CONFIG_KPROBES=y
CONFIG_OPTPROBES=y
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_KRETPROBES=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_SLOW_WORK=y
# CONFIG_SLOW_WORK_DEBUG is not set
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_INTEGRITY is not set
CONFIG_BLOCK_COMPAT=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
CONFIG_INLINE_SPIN_UNLOCK=y
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
CONFIG_INLINE_READ_UNLOCK=y
# CONFIG_INLINE_READ_UNLOCK_BH is not set
CONFIG_INLINE_READ_UNLOCK_IRQ=y
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
CONFIG_INLINE_WRITE_UNLOCK=y
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_FREEZER=y

#
# Processor type and features
#
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_SMP=y
# CONFIG_SPARSE_IRQ is not set
CONFIG_X86_MPPARSE=y
CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_VSMP is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not set
CONFIG_NO_BOOTMEM=y
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
CONFIG_GENERIC_CPU=y
CONFIG_X86_CPU=y
CONFIG_X86_INTERNODE_CACHE_SHIFT=7
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_XADD=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_TSC=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
# CONFIG_X86_DS is not set
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
CONFIG_GART_IOMMU=y
CONFIG_CALGARY_IOMMU=y
# CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT is not set
CONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_STATS is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
CONFIG_IOMMU_API=y
# CONFIG_MAXSMP is not set
CONFIG_NR_CPUS=255
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS is not set
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set
CONFIG_X86_THERMAL_VECTOR=y
# CONFIG_I8K is not set
CONFIG_MICROCODE=m
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_DIRECT_GBPAGES=y
CONFIG_NUMA=y
CONFIG_K8_NUMA=y
CONFIG_X86_64_ACPI_NUMA=y
CONFIG_NODES_SPAN_OTHER_NODES=y
# CONFIG_NUMA_EMU is not set
CONFIG_NODES_SHIFT=6
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_MEMORY_PROBE=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_NEED_MULTIPLE_NODES=y
CONFIG_HAVE_MEMORY_PRESENT=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_MEMORY_HOTPLUG=y
CONFIG_MEMORY_HOTPLUG_SPARSE=y
# CONFIG_MEMORY_HOTREMOVE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_MIGRATION=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_X86_RESERVE_LOW_64K=y
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
CONFIG_X86_PAT=y
CONFIG_ARCH_USES_PG_UNCACHED=y
# CONFIG_EFI is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
# CONFIG_SCHED_HRTICK is not set
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_PHYSICAL_START=0x1000000
CONFIG_RELOCATABLE=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
CONFIG_COMPAT_VDSO=y
# CONFIG_CMDLINE_BOOL is not set
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y

#
# Power management and ACPI options
#
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_VERBOSE is not set
CONFIG_CAN_PM_TRACE=y
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_SLEEP=y
# CONFIG_PM_SLEEP_ADVANCED_DEBUG is not set
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_HIBERNATION is not set
CONFIG_PM_RUNTIME=y
CONFIG_PM_OPS=y
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
CONFIG_ACPI_PROCFS_POWER=y
# CONFIG_ACPI_POWER_METER is not set
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_MEMORY=m
CONFIG_ACPI_SBS=m
# CONFIG_SFI is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=m
CONFIG_CPU_FREQ_DEBUG=y
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=m
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m

#
# CPUFreq processor drivers
#
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_POWERNOW_K8=m
CONFIG_X86_SPEEDSTEP_CENTRINO=m
# CONFIG_X86_P4_CLOCKMOD is not set

#
# shared options
#
# CONFIG_X86_SPEEDSTEP_LIB is not set
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y

#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
CONFIG_DMAR=y
# CONFIG_DMAR_DEFAULT_ON is not set
CONFIG_DMAR_FLOPPY_WA=y
# CONFIG_INTR_REMAP is not set
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=m
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
# CONFIG_PCIEAER_INJECT is not set
# CONFIG_PCIEASPM is not set
CONFIG_PCIE_PME=y
CONFIG_ARCH_SUPPORTS_MSI=y
CONFIG_PCI_MSI=y
# CONFIG_PCI_DEBUG is not set
CONFIG_PCI_STUB=y
CONFIG_HT_IRQ=y
CONFIG_PCI_IOV=y
CONFIG_PCI_IOAPIC=y
CONFIG_ISA_DMA_API=y
CONFIG_K8_NB=y
CONFIG_PCCARD=y
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=y
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
CONFIG_PD6729=m
# CONFIG_I82092 is not set
CONFIG_PCCARD_NONSTATIC=y
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=m
CONFIG_HOTPLUG_PCI_ACPI=m
CONFIG_HOTPLUG_PCI_ACPI_IBM=m
# CONFIG_HOTPLUG_PCI_CPCI is not set
CONFIG_HOTPLUG_PCI_SHPC=m

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=y
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_AOUT is not set
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_NET=y
CONFIG_COMPAT_NETLINK_MESSAGES=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=y
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_XFRM_IPCOMP=m
CONFIG_NET_KEY=m
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not set
CONFIG_IP_FIB_HASH=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_TUNNEL=m
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_TRANSPORT=m
CONFIG_INET_XFRM_MODE_TUNNEL=m
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_LRO=y
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
CONFIG_TCP_CONG_ADVANCED=y
CONFIG_TCP_CONG_BIC=y
CONFIG_TCP_CONG_CUBIC=m
CONFIG_TCP_CONG_WESTWOOD=m
CONFIG_TCP_CONG_HTCP=m
CONFIG_TCP_CONG_HSTCP=m
CONFIG_TCP_CONG_HYBLA=m
CONFIG_TCP_CONG_VEGAS=m
CONFIG_TCP_CONG_SCALABLE=m
CONFIG_TCP_CONG_LP=m
CONFIG_TCP_CONG_VENO=m
# CONFIG_TCP_CONG_YEAH is not set
# CONFIG_TCP_CONG_ILLINOIS is not set
CONFIG_DEFAULT_BIC=y
# CONFIG_DEFAULT_CUBIC is not set
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_WESTWOOD is not set
# CONFIG_DEFAULT_RENO is not set
CONFIG_DEFAULT_TCP_CONG="bic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=m
CONFIG_IPV6_PRIVACY=y
CONFIG_IPV6_ROUTER_PREF=y
CONFIG_IPV6_ROUTE_INFO=y
CONFIG_IPV6_OPTIMISTIC_DAD=y
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
# CONFIG_IPV6_MIP6 is not set
CONFIG_INET6_XFRM_TUNNEL=m
CONFIG_INET6_TUNNEL=m
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
CONFIG_INET6_XFRM_MODE_TUNNEL=m
CONFIG_INET6_XFRM_MODE_BEET=m
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=m
CONFIG_IPV6_MULTIPLE_TABLES=y
# CONFIG_IPV6_SUBTREES is not set
# CONFIG_IPV6_MROUTE is not set
CONFIG_NETLABEL=y
CONFIG_NETWORK_SECMARK=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m
# CONFIG_NF_CONNTRACK is not set
# CONFIG_NETFILTER_TPROXY is not set
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
CONFIG_NETFILTER_XT_TARGET_DSCP=m
CONFIG_NETFILTER_XT_TARGET_HL=m
# CONFIG_NETFILTER_XT_TARGET_LED is not set
CONFIG_NETFILTER_XT_TARGET_MARK=m
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
CONFIG_NETFILTER_XT_TARGET_SECMARK=m
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
CONFIG_NETFILTER_XT_MATCH_DCCP=m
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
CONFIG_NETFILTER_XT_MATCH_ESP=m
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
CONFIG_NETFILTER_XT_MATCH_HL=m
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=m
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
CONFIG_NETFILTER_XT_MATCH_POLICY=m
CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
CONFIG_NETFILTER_XT_MATCH_REALM=m
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
CONFIG_NETFILTER_XT_MATCH_SCTP=m
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
CONFIG_NETFILTER_XT_MATCH_STRING=m
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
CONFIG_IP_VS=m
# CONFIG_IP_VS_IPV6 is not set
# CONFIG_IP_VS_DEBUG is not set
CONFIG_IP_VS_TAB_BITS=12

#
# IPVS transport protocol load balancing support
#
CONFIG_IP_VS_PROTO_TCP=y
CONFIG_IP_VS_PROTO_UDP=y
CONFIG_IP_VS_PROTO_AH_ESP=y
CONFIG_IP_VS_PROTO_ESP=y
CONFIG_IP_VS_PROTO_AH=y
# CONFIG_IP_VS_PROTO_SCTP is not set

#
# IPVS scheduler
#
CONFIG_IP_VS_RR=m
CONFIG_IP_VS_WRR=m
CONFIG_IP_VS_LC=m
CONFIG_IP_VS_WLC=m
CONFIG_IP_VS_LBLC=m
CONFIG_IP_VS_LBLCR=m
CONFIG_IP_VS_DH=m
CONFIG_IP_VS_SH=m
CONFIG_IP_VS_SED=m
CONFIG_IP_VS_NQ=m

#
# IPVS application helper
#
CONFIG_IP_VS_FTP=m

#
# IP: Netfilter Configuration
#
# CONFIG_NF_DEFRAG_IPV4 is not set
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_ADDRTYPE=m
CONFIG_IP_NF_MATCH_AH=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
CONFIG_IP_NF_RAW=m
# CONFIG_IP_NF_SECURITY is not set
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m

#
# IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_QUEUE=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_AH=m
CONFIG_IP6_NF_MATCH_EUI64=m
CONFIG_IP6_NF_MATCH_FRAG=m
CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_HL=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
# CONFIG_IP6_NF_MATCH_MH is not set
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_TARGET_HL=m
CONFIG_IP6_NF_TARGET_LOG=m
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_REJECT=m
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_RAW=m
# CONFIG_IP6_NF_SECURITY is not set
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_BROUTE=m
CONFIG_BRIDGE_EBT_T_FILTER=m
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BRIDGE_EBT_802_3=m
CONFIG_BRIDGE_EBT_AMONG=m
CONFIG_BRIDGE_EBT_ARP=m
CONFIG_BRIDGE_EBT_IP=m
# CONFIG_BRIDGE_EBT_IP6 is not set
CONFIG_BRIDGE_EBT_LIMIT=m
CONFIG_BRIDGE_EBT_MARK=m
CONFIG_BRIDGE_EBT_PKTTYPE=m
CONFIG_BRIDGE_EBT_STP=m
CONFIG_BRIDGE_EBT_VLAN=m
CONFIG_BRIDGE_EBT_ARPREPLY=m
CONFIG_BRIDGE_EBT_DNAT=m
CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_REDIRECT=m
CONFIG_BRIDGE_EBT_SNAT=m
CONFIG_BRIDGE_EBT_LOG=m
CONFIG_BRIDGE_EBT_ULOG=m
# CONFIG_BRIDGE_EBT_NFLOG is not set
CONFIG_IP_DCCP=m
CONFIG_INET_DCCP_DIAG=m

#
# DCCP CCIDs Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not set
CONFIG_IP_DCCP_CCID3=y
# CONFIG_IP_DCCP_CCID3_DEBUG is not set
CONFIG_IP_DCCP_CCID3_RTO=100
CONFIG_IP_DCCP_TFRC_LIB=y

#
# DCCP Kernel Hacking
#
# CONFIG_IP_DCCP_DEBUG is not set
# CONFIG_NET_DCCPPROBE is not set
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not set
CONFIG_SCTP_HMAC_MD5=y
CONFIG_RDS=m
# CONFIG_RDS_RDMA is not set
# CONFIG_RDS_TCP is not set
# CONFIG_RDS_DEBUG is not set
CONFIG_TIPC=m
# CONFIG_TIPC_ADVANCED is not set
# CONFIG_TIPC_DEBUG is not set
CONFIG_ATM=m
CONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
CONFIG_ATM_LANE=m
# CONFIG_ATM_MPOA is not set
CONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set
CONFIG_STP=m
CONFIG_BRIDGE=m
CONFIG_BRIDGE_IGMP_SNOOPING=y
# CONFIG_NET_DSA is not set
CONFIG_VLAN_8021Q=m
# CONFIG_VLAN_8021Q_GVRP is not set
# CONFIG_DECNET is not set
CONFIG_LLC=y
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
CONFIG_NET_SCH_ATM=m
CONFIG_NET_SCH_PRIO=m
# CONFIG_NET_SCH_MULTIQ is not set
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_NETEM=m
# CONFIG_NET_SCH_DRR is not set
CONFIG_NET_SCH_INGRESS=m

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=m
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
# CONFIG_NET_CLS_FLOW is not set
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=m
CONFIG_NET_EMATCH_NBYTE=m
CONFIG_NET_EMATCH_U32=m
CONFIG_NET_EMATCH_META=m
CONFIG_NET_EMATCH_TEXT=m
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=m
CONFIG_NET_ACT_GACT=m
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=m
CONFIG_NET_ACT_IPT=m
# CONFIG_NET_ACT_NAT is not set
CONFIG_NET_ACT_PEDIT=m
CONFIG_NET_ACT_SIMP=m
# CONFIG_NET_ACT_SKBEDIT is not set
CONFIG_NET_CLS_IND=y
CONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set

#
# Network testing
#
CONFIG_NET_PKTGEN=m
# CONFIG_NET_TCPPROBE is not set
CONFIG_NET_DROP_MONITOR=y
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
CONFIG_BT=m
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m

#
# Bluetooth device drivers
#
# CONFIG_BT_HCIBTUSB is not set
# CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_LL is not set
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIDTL1=m
CONFIG_BT_HCIBT3C=m
CONFIG_BT_HCIBLUECARD=m
CONFIG_BT_HCIBTUART=m
CONFIG_BT_HCIVHCI=m
# CONFIG_BT_MRVL is not set
# CONFIG_AF_RXRPC is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_SPY=y
CONFIG_WEXT_PRIV=y
CONFIG_CFG80211=m
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_LIB80211=m
CONFIG_LIB80211_CRYPT_WEP=m
CONFIG_LIB80211_CRYPT_CCMP=m
CONFIG_LIB80211_CRYPT_TKIP=m
# CONFIG_LIB80211_DEBUG is not set
CONFIG_MAC80211=m
CONFIG_MAC80211_RC_MINSTREL=y
# CONFIG_MAC80211_RC_DEFAULT_PID is not set
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel"
# CONFIG_MAC80211_MESH is not set
CONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
# CONFIG_DEVTMPFS is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
CONFIG_CONNECTOR=y
CONFIG_PROC_EVENTS=y
CONFIG_MTD=m
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_TESTS is not set
CONFIG_MTD_CONCAT=m
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_REDBOOT_PARTS=m
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=m
CONFIG_MTD_BLKDEVS=m
CONFIG_MTD_BLOCK=m
CONFIG_MTD_BLOCK_RO=m
CONFIG_FTL=m
CONFIG_NFTL=m
CONFIG_NFTL_RW=y
# CONFIG_INFTL is not set
CONFIG_RFD_FTL=m
# CONFIG_SSFDC is not set
# CONFIG_MTD_OOPS is not set

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=m
CONFIG_MTD_JEDECPROBE=m
CONFIG_MTD_GEN_PROBE=m
# CONFIG_MTD_CFI_ADV_OPTIONS is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
CONFIG_MTD_CFI_INTELEXT=m
CONFIG_MTD_CFI_AMDSTD=m
CONFIG_MTD_CFI_STAA=m
CONFIG_MTD_CFI_UTIL=m
CONFIG_MTD_RAM=m
CONFIG_MTD_ROM=m
CONFIG_MTD_ABSENT=m

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not set
CONFIG_MTD_SC520CDP=m
CONFIG_MTD_NETSC520=m
CONFIG_MTD_TS5500=m
# CONFIG_MTD_AMD76XROM is not set
# CONFIG_MTD_ICHXROM is not set
# CONFIG_MTD_ESB2ROM is not set
# CONFIG_MTD_CK804XROM is not set
CONFIG_MTD_SCB2_FLASH=m
# CONFIG_MTD_NETtel is not set
# CONFIG_MTD_L440GX is not set
# CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128
CONFIG_MTD_BLOCK2MTD=m

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
CONFIG_MTD_NAND=m
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
CONFIG_MTD_NAND_ECC_SMC=y
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
CONFIG_MTD_NAND_IDS=m
CONFIG_MTD_NAND_DISKONCHIP=m
# CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED is not set
CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
# CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE is not set
# CONFIG_MTD_NAND_CAFE is not set
CONFIG_MTD_NAND_NANDSIM=m
# CONFIG_MTD_NAND_PLATFORM is not set
# CONFIG_MTD_ALAUDA is not set
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set

#
# UBI - Unsorted block images
#
# CONFIG_MTD_UBI is not set
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_SERIAL=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
CONFIG_PARPORT_PC_PCMCIA=m
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y
CONFIG_PARPORT_NOT_PC=y
CONFIG_PNP=y
CONFIG_PNP_DEBUG_MESSAGES=y

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_FD=m
CONFIG_PARIDE=m

#
# Parallel IDE high-level drivers
#
CONFIG_PARIDE_PD=m
CONFIG_PARIDE_PCD=m
CONFIG_PARIDE_PF=m
CONFIG_PARIDE_PT=m
CONFIG_PARIDE_PG=m

#
# Parallel IDE protocol modules
#
CONFIG_PARIDE_ATEN=m
CONFIG_PARIDE_BPCK=m
CONFIG_PARIDE_COMM=m
CONFIG_PARIDE_DSTR=m
CONFIG_PARIDE_FIT2=m
CONFIG_PARIDE_FIT3=m
CONFIG_PARIDE_EPAT=m
CONFIG_PARIDE_EPATC8=y
CONFIG_PARIDE_EPIA=m
CONFIG_PARIDE_FRIQ=m
CONFIG_PARIDE_FRPW=m
CONFIG_PARIDE_KBIC=m
CONFIG_PARIDE_KTTI=m
CONFIG_PARIDE_ON20=m
CONFIG_PARIDE_ON26=m
CONFIG_BLK_CPQ_DA=m
CONFIG_BLK_CPQ_CISS_DA=m
CONFIG_CISS_SCSI_TAPE=y
CONFIG_BLK_DEV_DAC960=m
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_DRBD is not set
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_SX8=m
# CONFIG_BLK_DEV_UB is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=16384
# CONFIG_BLK_DEV_XIP is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
CONFIG_ATA_OVER_ETH=m
CONFIG_VIRTIO_BLK=m
# CONFIG_BLK_DEV_HD is not set
CONFIG_MISC_DEVICES=y
# CONFIG_AD525X_DPOT is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_CS5535_MFGPT is not set
CONFIG_HP_ILO=m
# CONFIG_ISL29003 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_DS1682 is not set
# CONFIG_VMWARE_BALLOON is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
CONFIG_EEPROM_93CX6=m
# CONFIG_CB710_CORE is not set
# CONFIG_IWMC3200TOP is not set
CONFIG_HAVE_IDE=y
CONFIG_IDE=y

#
# Please see Documentation/ide/ide.txt for help/info on IDE drives
#
CONFIG_IDE_XFER_MODE=y
CONFIG_IDE_TIMINGS=y
CONFIG_IDE_ATAPI=y
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
# CONFIG_IDE_GD_ATAPI is not set
CONFIG_BLK_DEV_IDECS=m
# CONFIG_BLK_DEV_DELKIN is not set
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEACPI is not set
CONFIG_IDE_TASK_IOCTL=y
CONFIG_IDE_PROC_FS=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_PLATFORM is not set
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPNP=y
CONFIG_BLK_DEV_IDEDMA_SFF=y

#
# PCI IDE chipsets support
#
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_AEC62XX=y
CONFIG_BLK_DEV_ALI15X3=y
CONFIG_BLK_DEV_AMD74XX=y
CONFIG_BLK_DEV_ATIIXP=y
CONFIG_BLK_DEV_CMD64X=y
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
CONFIG_BLK_DEV_HPT366=y
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_IT8172 is not set
# CONFIG_BLK_DEV_IT8213 is not set
CONFIG_BLK_DEV_IT821X=y
# CONFIG_BLK_DEV_NS87415 is not set
CONFIG_BLK_DEV_PDC202XX_OLD=y
CONFIG_BLK_DEV_PDC202XX_NEW=y
CONFIG_BLK_DEV_SVWKS=y
CONFIG_BLK_DEV_SIIMAGE=y
CONFIG_BLK_DEV_SIS5513=y
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_BLK_DEV_TC86C001 is not set
CONFIG_BLK_DEV_IDEDMA=y

#
# SCSI device support
#
CONFIG_SCSI_MOD=m
CONFIG_RAID_ATTRS=m
CONFIG_SCSI=m
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
CONFIG_SCSI_NETLINK=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m
CONFIG_CHR_DEV_SCH=m
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
CONFIG_SCSI_ISCSI_ATTRS=m
CONFIG_SCSI_SAS_ATTRS=m
CONFIG_SCSI_SAS_LIBSAS=m
CONFIG_SCSI_SAS_ATA=y
CONFIG_SCSI_SAS_HOST_SMP=y
# CONFIG_SCSI_SAS_LIBSAS_DEBUG is not set
CONFIG_SCSI_SRP_ATTRS=m
CONFIG_SCSI_LOWLEVEL=y
CONFIG_ISCSI_TCP=m
CONFIG_SCSI_CXGB3_ISCSI=m
CONFIG_SCSI_BNX2_ISCSI=m
# CONFIG_BE2ISCSI is not set
CONFIG_BLK_DEV_3W_XXXX_RAID=m
# CONFIG_SCSI_HPSA is not set
CONFIG_SCSI_3W_9XXX=m
# CONFIG_SCSI_3W_SAS is not set
CONFIG_SCSI_ACARD=m
CONFIG_SCSI_AACRAID=m
CONFIG_SCSI_AIC7XXX=m
CONFIG_AIC7XXX_CMDS_PER_DEVICE=4
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
CONFIG_AIC7XXX_DEBUG_MASK=0
# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set
CONFIG_SCSI_AIC7XXX_OLD=m
CONFIG_SCSI_AIC79XX=m
CONFIG_AIC79XX_CMDS_PER_DEVICE=4
CONFIG_AIC79XX_RESET_DELAY_MS=15000
# CONFIG_AIC79XX_DEBUG_ENABLE is not set
CONFIG_AIC79XX_DEBUG_MASK=0
# CONFIG_AIC79XX_REG_PRETTY_PRINT is not set
CONFIG_SCSI_AIC94XX=m
# CONFIG_AIC94XX_DEBUG is not set
CONFIG_SCSI_MVSAS=m
CONFIG_SCSI_MVSAS_DEBUG=y
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
CONFIG_SCSI_ARCMSR=m
# CONFIG_SCSI_ARCMSR_AER is not set
CONFIG_MEGARAID_NEWGEN=y
CONFIG_MEGARAID_MM=m
CONFIG_MEGARAID_MAILBOX=m
CONFIG_MEGARAID_LEGACY=m
CONFIG_MEGARAID_SAS=m
CONFIG_SCSI_MPT2SAS=m
CONFIG_SCSI_MPT2SAS_MAX_SGE=128
CONFIG_SCSI_MPT2SAS_LOGGING=y
CONFIG_SCSI_HPTIOP=m
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_VMWARE_PVSCSI is not set
CONFIG_LIBFC=m
CONFIG_LIBFCOE=m
CONFIG_FCOE=m
CONFIG_FCOE_FNIC=m
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
CONFIG_SCSI_GDTH=m
CONFIG_SCSI_IPS=m
CONFIG_SCSI_INITIO=m
# CONFIG_SCSI_INIA100 is not set
CONFIG_SCSI_PPA=m
CONFIG_SCSI_IMM=m
# CONFIG_SCSI_IZIP_EPP16 is not set
# CONFIG_SCSI_IZIP_SLOW_CTR is not set
CONFIG_SCSI_STEX=m
CONFIG_SCSI_SYM53C8XX_2=m
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
CONFIG_SCSI_SYM53C8XX_MMIO=y
# CONFIG_SCSI_IPR is not set
CONFIG_SCSI_QLOGIC_1280=m
CONFIG_SCSI_QLA_FC=m
CONFIG_SCSI_QLA_ISCSI=m
CONFIG_SCSI_LPFC=m
# CONFIG_SCSI_LPFC_DEBUG_FS is not set
CONFIG_SCSI_DC395x=m
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_SRP is not set
# CONFIG_SCSI_BFA_FC is not set
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
CONFIG_SCSI_DH=m
CONFIG_SCSI_DH_RDAC=m
# CONFIG_SCSI_DH_HP_SW is not set
# CONFIG_SCSI_DH_EMC is not set
CONFIG_SCSI_DH_ALUA=m
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=m
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
CONFIG_SATA_PMP=y
CONFIG_SATA_AHCI=m
CONFIG_SATA_SIL24=m
CONFIG_ATA_SFF=y
CONFIG_SATA_SVW=m
CONFIG_ATA_PIIX=m
CONFIG_SATA_MV=m
CONFIG_SATA_NV=m
CONFIG_PDC_ADMA=m
CONFIG_SATA_QSTOR=m
CONFIG_SATA_PROMISE=m
CONFIG_SATA_SX4=m
CONFIG_SATA_SIL=m
CONFIG_SATA_SIS=m
CONFIG_SATA_ULI=m
CONFIG_SATA_VIA=m
CONFIG_SATA_VITESSE=m
CONFIG_SATA_INIC162X=m
# CONFIG_PATA_ACPI is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_LEGACY is not set
# CONFIG_PATA_TRIFLEX is not set
CONFIG_PATA_MARVELL=m
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PCMCIA is not set
CONFIG_PATA_PDC2027X=m
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
CONFIG_PATA_SIL680=m
CONFIG_PATA_SIS=m
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set
# CONFIG_PATA_SCH is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_AUTODETECT=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=m
# CONFIG_MULTICORE_RAID456 is not set
CONFIG_MD_RAID6_PQ=m
# CONFIG_ASYNC_RAID6_TEST is not set
CONFIG_MD_MULTIPATH=m
CONFIG_MD_FAULTY=m
CONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
# CONFIG_DM_LOG_USERSPACE is not set
CONFIG_DM_ZERO=m
CONFIG_DM_MULTIPATH=m
# CONFIG_DM_MULTIPATH_QL is not set
# CONFIG_DM_MULTIPATH_ST is not set
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
CONFIG_FUSION=y
CONFIG_FUSION_SPI=m
CONFIG_FUSION_FC=m
CONFIG_FUSION_SAS=m
CONFIG_FUSION_MAX_SGE=128
CONFIG_FUSION_CTL=m
CONFIG_FUSION_LAN=m
CONFIG_FUSION_LOGGING=y

#
# IEEE 1394 (FireWire) support
#

#
# You can enable one or both FireWire driver stacks.
#

#
# The newer stack is recommended.
#
CONFIG_FIREWIRE=m
CONFIG_FIREWIRE_OHCI=m
CONFIG_FIREWIRE_OHCI_DEBUG=y
CONFIG_FIREWIRE_SBP2=m
# CONFIG_FIREWIRE_NET is not set
# CONFIG_IEEE1394 is not set
CONFIG_I2O=m
# CONFIG_I2O_LCT_NOTIFY_ON_CHANGES is not set
CONFIG_I2O_EXT_ADAPTEC=y
CONFIG_I2O_EXT_ADAPTEC_DMA64=y
CONFIG_I2O_CONFIG=m
CONFIG_I2O_CONFIG_OLD_IOCTL=y
CONFIG_I2O_BUS=m
CONFIG_I2O_BLOCK=m
CONFIG_I2O_SCSI=m
CONFIG_I2O_PROC=m
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_IFB=m
CONFIG_DUMMY=m
CONFIG_BONDING=m
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_VETH is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not set
CONFIG_PHYLIB=m

#
# MII PHY device drivers
#
CONFIG_MARVELL_PHY=m
CONFIG_DAVICOM_PHY=m
CONFIG_QSEMI_PHY=m
CONFIG_LXT_PHY=m
CONFIG_CICADA_PHY=m
CONFIG_VITESSE_PHY=m
CONFIG_SMSC_PHY=m
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MDIO_BITBANG is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
CONFIG_HAPPYMEAL=m
CONFIG_SUNGEM=m
CONFIG_CASSINI=m
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=m
CONFIG_TYPHOON=m
# CONFIG_ETHOC is not set
# CONFIG_DNET is not set
CONFIG_NET_TULIP=y
CONFIG_DE2104X=m
CONFIG_DE2104X_DSL=0
CONFIG_TULIP=m
# CONFIG_TULIP_MWI is not set
CONFIG_TULIP_MMIO=y
# CONFIG_TULIP_NAPI is not set
CONFIG_DE4X5=m
CONFIG_WINBOND_840=m
CONFIG_DM9102=m
CONFIG_ULI526X=m
CONFIG_PCMCIA_XIRCOM=m
# CONFIG_HP100 is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
CONFIG_NET_PCI=y
CONFIG_PCNET32=m
CONFIG_AMD8111_ETH=m
CONFIG_ADAPTEC_STARFIRE=m
# CONFIG_KSZ884X_PCI is not set
CONFIG_B44=m
CONFIG_B44_PCI_AUTOSELECT=y
CONFIG_B44_PCICORE_AUTOSELECT=y
CONFIG_B44_PCI=y
CONFIG_FORCEDETH=m
# CONFIG_FORCEDETH_NAPI is not set
CONFIG_E100=m
CONFIG_FEALNX=m
CONFIG_NATSEMI=m
CONFIG_NE2K_PCI=m
CONFIG_8139CP=m
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
CONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_R6040 is not set
CONFIG_SIS900=m
CONFIG_EPIC100=m
# CONFIG_SMSC9420 is not set
CONFIG_SUNDANCE=m
# CONFIG_SUNDANCE_MMIO is not set
# CONFIG_TLAN is not set
# CONFIG_KS8842 is not set
# CONFIG_KS8851_MLL is not set
CONFIG_VIA_RHINE=m
CONFIG_VIA_RHINE_MMIO=y
# CONFIG_SC92031 is not set
CONFIG_NET_POCKET=y
# CONFIG_ATP is not set
# CONFIG_DE600 is not set
# CONFIG_DE620 is not set
# CONFIG_ATL2 is not set
CONFIG_NETDEV_1000=y
CONFIG_ACENIC=m
# CONFIG_ACENIC_OMIT_TIGON_I is not set
CONFIG_DL2K=m
CONFIG_E1000=m
CONFIG_E1000E=m
# CONFIG_IP1000 is not set
CONFIG_IGB=m
CONFIG_IGBVF=m
CONFIG_NS83820=m
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
CONFIG_R8169=m
CONFIG_R8169_VLAN=y
CONFIG_SIS190=m
CONFIG_SKGE=m
# CONFIG_SKGE_DEBUG is not set
CONFIG_SKY2=m
# CONFIG_SKY2_DEBUG is not set
CONFIG_VIA_VELOCITY=m
CONFIG_TIGON3=m
CONFIG_BNX2=m
CONFIG_CNIC=m
CONFIG_QLA3XXX=m
# CONFIG_ATL1 is not set
# CONFIG_ATL1E is not set
# CONFIG_ATL1C is not set
# CONFIG_JME is not set
CONFIG_NETDEV_10000=y
CONFIG_MDIO=m
CONFIG_CHELSIO_T1=m
# CONFIG_CHELSIO_T1_1G is not set
CONFIG_CHELSIO_T3_DEPENDS=y
CONFIG_CHELSIO_T3=m
CONFIG_CHELSIO_T4_DEPENDS=y
# CONFIG_CHELSIO_T4 is not set
CONFIG_ENIC=m
CONFIG_IXGBE=m
# CONFIG_IXGBEVF is not set
CONFIG_IXGB=m
CONFIG_S2IO=m
# CONFIG_VXGE is not set
CONFIG_MYRI10GE=m
CONFIG_NETXEN_NIC=m
CONFIG_NIU=m
CONFIG_MLX4_EN=m
CONFIG_MLX4_CORE=m
CONFIG_MLX4_DEBUG=y
# CONFIG_TEHUTI is not set
CONFIG_BNX2X=m
# CONFIG_QLCNIC is not set
CONFIG_QLGE=m
# CONFIG_SFC is not set
CONFIG_BE2NET=m
CONFIG_TR=y
CONFIG_IBMOL=m
CONFIG_3C359=m
# CONFIG_TMS380TR is not set
CONFIG_WLAN=y
# CONFIG_PCMCIA_RAYCS is not set
# CONFIG_LIBERTAS_THINFIRM is not set
CONFIG_AIRO=m
CONFIG_ATMEL=m
CONFIG_PCI_ATMEL=m
CONFIG_PCMCIA_ATMEL=m
# CONFIG_AT76C50X_USB is not set
CONFIG_AIRO_CS=m
CONFIG_PCMCIA_WL3501=m
CONFIG_PRISM54=m
CONFIG_USB_ZD1201=m
# CONFIG_USB_NET_RNDIS_WLAN is not set
CONFIG_RTL8180=m
CONFIG_RTL8187=m
CONFIG_RTL8187_LEDS=y
# CONFIG_ADM8211 is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_MWL8K is not set
# CONFIG_ATH_COMMON is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
CONFIG_HOSTAP=m
CONFIG_HOSTAP_FIRMWARE=y
CONFIG_HOSTAP_FIRMWARE_NVRAM=y
CONFIG_HOSTAP_PLX=m
CONFIG_HOSTAP_PCI=m
CONFIG_HOSTAP_CS=m
CONFIG_IPW2100=m
CONFIG_IPW2100_MONITOR=y
# CONFIG_IPW2100_DEBUG is not set
CONFIG_IPW2200=m
CONFIG_IPW2200_MONITOR=y
CONFIG_IPW2200_RADIOTAP=y
CONFIG_IPW2200_PROMISCUOUS=y
CONFIG_IPW2200_QOS=y
# CONFIG_IPW2200_DEBUG is not set
CONFIG_LIBIPW=m
# CONFIG_LIBIPW_DEBUG is not set
CONFIG_IWLWIFI=m
# CONFIG_IWLWIFI_DEBUG is not set
# CONFIG_IWLWIFI_DEVICE_TRACING is not set
CONFIG_IWLAGN=m
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWL3945=m
# CONFIG_IWM is not set
# CONFIG_LIBERTAS is not set
CONFIG_HERMES=m
CONFIG_HERMES_CACHE_FW_ON_INIT=y
CONFIG_PLX_HERMES=m
CONFIG_TMD_HERMES=m
CONFIG_NORTEL_HERMES=m
# CONFIG_PCI_HERMES is not set
CONFIG_PCMCIA_HERMES=m
CONFIG_PCMCIA_SPECTRUM=m
# CONFIG_P54_COMMON is not set
CONFIG_RT2X00=m
CONFIG_RT2400PCI=m
CONFIG_RT2500PCI=m
CONFIG_RT61PCI=m
CONFIG_RT2800PCI_PCI=y
# CONFIG_RT2800PCI is not set
CONFIG_RT2500USB=m
CONFIG_RT73USB=m
# CONFIG_RT2800USB is not set
CONFIG_RT2X00_LIB_PCI=m
CONFIG_RT2X00_LIB_USB=m
CONFIG_RT2X00_LIB=m
CONFIG_RT2X00_LIB_FIRMWARE=y
CONFIG_RT2X00_LIB_CRYPTO=y
CONFIG_RT2X00_LIB_LEDS=y
# CONFIG_RT2X00_DEBUG is not set
# CONFIG_WL12XX is not set
CONFIG_ZD1211RW=m
# CONFIG_ZD1211RW_DEBUG is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#

#
# USB Network Adapters
#
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_CDC_EEM is not set
CONFIG_USB_NET_DM9601=m
# CONFIG_USB_NET_SMSC75XX is not set
# CONFIG_USB_NET_SMSC95XX is not set
CONFIG_USB_NET_GL620A=m
CONFIG_USB_NET_NET1080=m
CONFIG_USB_NET_PLUSB=m
# CONFIG_USB_NET_MCS7830 is not set
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
# CONFIG_USB_KC2190 is not set
CONFIG_USB_NET_ZAURUS=m
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_USB_SIERRA_NET is not set
CONFIG_NET_PCMCIA=y
CONFIG_PCMCIA_3C589=m
CONFIG_PCMCIA_3C574=m
CONFIG_PCMCIA_FMVJ18X=m
CONFIG_PCMCIA_PCNET=m
CONFIG_PCMCIA_NMCLAN=m
CONFIG_PCMCIA_SMC91C92=m
CONFIG_PCMCIA_XIRC2PS=m
CONFIG_PCMCIA_AXNET=m
# CONFIG_PCMCIA_IBMTR is not set
# CONFIG_WAN is not set
CONFIG_ATM_DRIVERS=y
# CONFIG_ATM_DUMMY is not set
CONFIG_ATM_TCP=m
CONFIG_ATM_LANAI=m
CONFIG_ATM_ENI=m
# CONFIG_ATM_ENI_DEBUG is not set
# CONFIG_ATM_ENI_TUNE_BURST is not set
CONFIG_ATM_FIRESTREAM=m
# CONFIG_ATM_ZATM is not set
CONFIG_ATM_IDT77252=m
# CONFIG_ATM_IDT77252_DEBUG is not set
# CONFIG_ATM_IDT77252_RCV_ALL is not set
CONFIG_ATM_IDT77252_USE_SUNI=y
CONFIG_ATM_AMBASSADOR=m
# CONFIG_ATM_AMBASSADOR_DEBUG is not set
CONFIG_ATM_HORIZON=m
# CONFIG_ATM_HORIZON_DEBUG is not set
# CONFIG_ATM_IA is not set
# CONFIG_ATM_FORE200E is not set
CONFIG_ATM_HE=m
# CONFIG_ATM_HE_USE_SUNI is not set
# CONFIG_ATM_SOLOS is not set
CONFIG_FDDI=y
# CONFIG_DEFXX is not set
# CONFIG_SKFP is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
# CONFIG_PPP_BSDCOMP is not set
CONFIG_PPP_MPPE=m
CONFIG_PPPOE=m
CONFIG_PPPOATM=m
# CONFIG_PPPOL2TP is not set
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLHC=m
CONFIG_SLIP_SMART=y
# CONFIG_SLIP_MODE_SLIP6 is not set
CONFIG_NET_FC=y
CONFIG_NETCONSOLE=m
# CONFIG_NETCONSOLE_DYNAMIC is not set
CONFIG_NETPOLL=y
CONFIG_NETPOLL_TRAP=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_VIRTIO_NET=m
# CONFIG_VMXNET3 is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_FF_MEMLESS=y
CONFIG_INPUT_POLLDEV=m
# CONFIG_INPUT_SPARSEKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_SERIAL=m
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
CONFIG_MOUSE_VSXXXAA=m
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
CONFIG_INPUT_JOYSTICK=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
CONFIG_JOYSTICK_TWIDJOY=m
# CONFIG_JOYSTICK_ZHENHUA is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
CONFIG_JOYSTICK_JOYDUMP=m
# CONFIG_JOYSTICK_XPAD is not set
# CONFIG_INPUT_TABLET is not set
CONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
CONFIG_TOUCHSCREEN_GUNZE=m
CONFIG_TOUCHSCREEN_ELO=m
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
CONFIG_TOUCHSCREEN_MTOUCH=m
# CONFIG_TOUCHSCREEN_INEXIO is not set
CONFIG_TOUCHSCREEN_MK712=m
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_WM97XX is not set
# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_APANEL is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
CONFIG_INPUT_UINPUT=m
# CONFIG_INPUT_WINBOND_CIR is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
# CONFIG_SERIO_ALTERA_PS2 is not set
CONFIG_GAMEPORT=m
CONFIG_GAMEPORT_NS558=m
CONFIG_GAMEPORT_L4=m
CONFIG_GAMEPORT_EMU10K1=m
CONFIG_GAMEPORT_FM801=m

#
# Character devices
#
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_DEVKMEM=y
CONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not set
CONFIG_CYCLADES=m
# CONFIG_CYZ_INTR is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not set
CONFIG_SYNCLINK=m
CONFIG_SYNCLINKMP=m
CONFIG_SYNCLINK_GT=m
CONFIG_N_HDLC=m
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_STALDRV is not set
# CONFIG_NOZOMI is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_CS=m
CONFIG_SERIAL_8250_NR_UARTS=32
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SERIAL_8250_RSA=y

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_SERIAL_JSM=m
# CONFIG_SERIAL_TIMBERDALE is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=m
CONFIG_LP_CONSOLE=y
CONFIG_PPDEV=m
# CONFIG_VIRTIO_CONSOLE is not set
CONFIG_IPMI_HANDLER=m
CONFIG_IPMI_PANIC_EVENT=y
CONFIG_IPMI_PANIC_STRING=y
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
CONFIG_IPMI_WATCHDOG=m
CONFIG_IPMI_POWEROFF=m
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
CONFIG_HW_RANDOM_INTEL=m
CONFIG_HW_RANDOM_AMD=m
CONFIG_HW_RANDOM_VIA=y
# CONFIG_HW_RANDOM_VIRTIO is not set
CONFIG_NVRAM=y
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
CONFIG_CARDMAN_4000=m
CONFIG_CARDMAN_4040=m
# CONFIG_IPWIRELESS is not set
# CONFIG_MWAVE is not set
CONFIG_PC8736x_GPIO=m
CONFIG_NSC_GPIO=m
CONFIG_RAW_DRIVER=y
CONFIG_MAX_RAW_DEVS=8192
CONFIG_HPET=y
# CONFIG_HPET_MMAP is not set
CONFIG_HANGCHECK_TIMER=m
CONFIG_TCG_TPM=m
CONFIG_TCG_TIS=m
CONFIG_TCG_NSC=m
CONFIG_TCG_ATMEL=m
CONFIG_TCG_INFINEON=m
CONFIG_TELCLOCK=m
CONFIG_DEVPORT=y
CONFIG_I2C=m
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=m
CONFIG_I2C_ALGOBIT=m

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
CONFIG_I2C_AMD756=m
CONFIG_I2C_AMD756_S4882=m
CONFIG_I2C_AMD8111=m
CONFIG_I2C_I801=m
# CONFIG_I2C_ISCH is not set
CONFIG_I2C_PIIX4=m
CONFIG_I2C_NFORCE2=m
# CONFIG_I2C_NFORCE2_S4985 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
CONFIG_I2C_SIS96X=m
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
CONFIG_I2C_PARPORT=m
CONFIG_I2C_PARPORT_LIGHT=m
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_PCA_PLATFORM is not set
CONFIG_I2C_STUB=m
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set

#
# PPS support
#
# CONFIG_PPS is not set
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
CONFIG_HWMON=m
CONFIG_HWMON_VID=m
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
CONFIG_SENSORS_ABITUGURU=m
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
CONFIG_SENSORS_ADM1021=m
CONFIG_SENSORS_ADM1025=m
CONFIG_SENSORS_ADM1026=m
# CONFIG_SENSORS_ADM1029 is not set
CONFIG_SENSORS_ADM1031=m
CONFIG_SENSORS_ADM9240=m
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
CONFIG_SENSORS_K8TEMP=m
# CONFIG_SENSORS_K10TEMP is not set
CONFIG_SENSORS_ASB100=m
CONFIG_SENSORS_ATXP1=m
CONFIG_SENSORS_DS1621=m
# CONFIG_SENSORS_I5K_AMB is not set
CONFIG_SENSORS_F71805F=m
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_G760A is not set
CONFIG_SENSORS_GL518SM=m
CONFIG_SENSORS_GL520SM=m
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_IBMAEM is not set
# CONFIG_SENSORS_IBMPEX is not set
CONFIG_SENSORS_IT87=m
CONFIG_SENSORS_LM63=m
# CONFIG_SENSORS_LM73 is not set
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM77=m
CONFIG_SENSORS_LM78=m
CONFIG_SENSORS_LM80=m
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM85=m
CONFIG_SENSORS_LM87=m
CONFIG_SENSORS_LM90=m
CONFIG_SENSORS_LM92=m
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LM95241 is not set
CONFIG_SENSORS_MAX1619=m
# CONFIG_SENSORS_MAX6650 is not set
CONFIG_SENSORS_PC87360=m
# CONFIG_SENSORS_PC87427 is not set
CONFIG_SENSORS_PCF8591=m
CONFIG_SENSORS_SIS5595=m
# CONFIG_SENSORS_DME1737 is not set
CONFIG_SENSORS_SMSC47M1=m
CONFIG_SENSORS_SMSC47M192=m
CONFIG_SENSORS_SMSC47B397=m
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
CONFIG_SENSORS_VIA686A=m
# CONFIG_SENSORS_VT1211 is not set
CONFIG_SENSORS_VT8231=m
CONFIG_SENSORS_W83781D=m
CONFIG_SENSORS_W83791D=m
CONFIG_SENSORS_W83792D=m
# CONFIG_SENSORS_W83793 is not set
CONFIG_SENSORS_W83L785TS=m
# CONFIG_SENSORS_W83L786NG is not set
CONFIG_SENSORS_W83627HF=m
CONFIG_SENSORS_W83627EHF=m
CONFIG_SENSORS_HDAPS=m
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_SENSORS_APPLESMC is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ATK0110 is not set
# CONFIG_SENSORS_LIS3LV02D is not set
CONFIG_THERMAL=y
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set

#
# Watchdog Device Drivers
#
CONFIG_SOFT_WATCHDOG=m
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
CONFIG_ALIM1535_WDT=m
CONFIG_ALIM7101_WDT=m
# CONFIG_SC520_WDT is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
CONFIG_IBMASR=m
# CONFIG_WAFER_WDT is not set
CONFIG_I6300ESB_WDT=m
# CONFIG_ITCO_WDT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
CONFIG_W83627HF_WDT=m
# CONFIG_W83697HF_WDT is not set
# CONFIG_W83697UG_WDT is not set
CONFIG_W83877F_WDT=m
CONFIG_W83977F_WDT=m
CONFIG_MACHZ_WDT=m
# CONFIG_SBC_EPX_C3_WATCHDOG is not set

#
# PCI-based Watchdog Cards
#
CONFIG_PCIPCWATCHDOG=m
CONFIG_WDTPCI=m

#
# USB-based Watchdog Cards
#
CONFIG_USBPCWATCHDOG=m
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
CONFIG_SSB=m
CONFIG_SSB_SPROM=y
CONFIG_SSB_PCIHOST_POSSIBLE=y
CONFIG_SSB_PCIHOST=y
# CONFIG_SSB_B43_PCI_BRIDGE is not set
CONFIG_SSB_PCMCIAHOST_POSSIBLE=y
# CONFIG_SSB_PCMCIAHOST is not set
CONFIG_SSB_SDIOHOST_POSSIBLE=y
# CONFIG_SSB_SDIOHOST is not set
# CONFIG_SSB_DEBUG is not set
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
CONFIG_SSB_DRIVER_PCICORE=y

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_LPC_SCH is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=y
CONFIG_AGP_SIS=y
CONFIG_AGP_VIA=y
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
CONFIG_DRM_R128=m
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_KMS is not set
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m
# CONFIG_DRM_I915_KMS is not set
CONFIG_DRM_MGA=m
# CONFIG_DRM_SIS is not set
CONFIG_DRM_VIA=m
CONFIG_DRM_SAVAGE=m
CONFIG_VGASTATE=m
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FB_DDC=m
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
CONFIG_FB_BACKLIGHT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
CONFIG_FB_CIRRUS=m
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=m
# CONFIG_FB_UVESA is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
CONFIG_FB_NVIDIA=m
CONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_NVIDIA_DEBUG is not set
CONFIG_FB_NVIDIA_BACKLIGHT=y
CONFIG_FB_RIVA=m
# CONFIG_FB_RIVA_I2C is not set
# CONFIG_FB_RIVA_DEBUG is not set
CONFIG_FB_RIVA_BACKLIGHT=y
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
CONFIG_FB_SAVAGE=m
CONFIG_FB_SAVAGE_I2C=y
CONFIG_FB_SAVAGE_ACCEL=y
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
CONFIG_FB_KYRO=m
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_ILI9320 is not set
# CONFIG_LCD_PLATFORM is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y
# CONFIG_BACKLIGHT_PROGEAR is not set
# CONFIG_BACKLIGHT_MBP_NVIDIA is not set
# CONFIG_BACKLIGHT_SAHARA is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=m
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_RAWMIDI_SEQ=m
CONFIG_SND_OPL3_LIB_SEQ=m
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
CONFIG_SND_EMU10K1_SEQ=m
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m
# CONFIG_SND_PORTMAN2X4 is not set
# CONFIG_SND_AC97_POWER_SAVE is not set
CONFIG_SND_SB_COMMON=m
CONFIG_SND_PCI=y
CONFIG_SND_AD1889=m
CONFIG_SND_ALS300=m
CONFIG_SND_ALS4000=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
# CONFIG_SND_AW2 is not set
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
CONFIG_SND_CA0106=m
CONFIG_SND_CMIPCI=m
# CONFIG_SND_OXYGEN is not set
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_CTXFI is not set
CONFIG_SND_DARLA20=m
CONFIG_SND_GINA20=m
CONFIG_SND_LAYLA20=m
CONFIG_SND_DARLA24=m
CONFIG_SND_GINA24=m
CONFIG_SND_LAYLA24=m
CONFIG_SND_MONA=m
CONFIG_SND_MIA=m
CONFIG_SND_ECHO3G=m
CONFIG_SND_INDIGO=m
CONFIG_SND_INDIGOIO=m
CONFIG_SND_INDIGODJ=m
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_FM801=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
# CONFIG_SND_HDA_RECONFIG is not set
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
# CONFIG_SND_HDA_INPUT_JACK is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_ATIHDMI=y
CONFIG_SND_HDA_CODEC_NVHDMI=y
CONFIG_SND_HDA_CODEC_INTELHDMI=y
CONFIG_SND_HDA_ELD=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
# CONFIG_SND_HIFIER is not set
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
# CONFIG_SND_LX6464ES is not set
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_PCXHR=m
CONFIG_SND_RIPTIDE=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
# CONFIG_SND_VIRTUOSO is not set
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
CONFIG_SND_USB_USX2Y=m
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
CONFIG_SND_PCMCIA=y
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_PDAUDIOCF is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
# CONFIG_HIDRAW is not set

#
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y

#
# Special HID drivers
#
# CONFIG_HID_3M_PCT is not set
CONFIG_HID_A4TECH=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
# CONFIG_DRAGONRISE_FF is not set
CONFIG_HID_EZKEY=y
CONFIG_HID_KYE=y
CONFIG_HID_GYRATION=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LOGITECH=y
CONFIG_LOGITECH_FF=y
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_HID_MAGICMOUSE is not set
CONFIG_HID_MICROSOFT=y
# CONFIG_HID_MOSART is not set
CONFIG_HID_MONTEREY=y
# CONFIG_HID_NTRIG is not set
CONFIG_HID_ORTEK=y
CONFIG_HID_PANTHERLORD=y
# CONFIG_PANTHERLORD_FF is not set
CONFIG_HID_PETALYNX=y
# CONFIG_HID_QUANTA is not set
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
# CONFIG_HID_STANTUM is not set
CONFIG_HID_SUNPLUS=y
CONFIG_HID_GREENASIA=y
# CONFIG_GREENASIA_FF is not set
CONFIG_HID_SMARTJOYPLUS=y
# CONFIG_SMARTJOYPLUS_FF is not set
CONFIG_HID_TOPSEED=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_THRUSTMASTER_FF=y
# CONFIG_HID_WACOM is not set
CONFIG_HID_ZEROPLUS=y
# CONFIG_ZEROPLUS_FF is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
CONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
CONFIG_USB_MON=y
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
# CONFIG_USB_OXU210HP_HCD is not set
CONFIG_USB_ISP116X_HCD=m
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_OHCI_HCD_SSB is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_SL811_HCD=m
CONFIG_USB_SL811_CS=m
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_WHCI_HCD is not set
# CONFIG_USB_HWA_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=m
CONFIG_USB_STORAGE_FREECOM=m
CONFIG_USB_STORAGE_ISD200=m
CONFIG_USB_STORAGE_USBAT=m
CONFIG_USB_STORAGE_SDDR09=m
CONFIG_USB_STORAGE_SDDR55=m
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_USB_STORAGE_ALAUDA=m
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Imaging devices
#
CONFIG_USB_MDC800=m
CONFIG_USB_MICROTEK=m

#
# USB port drivers
#
CONFIG_USB_USS720=m
CONFIG_USB_SERIAL=m
CONFIG_USB_EZUSB=y
CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_AIRCABLE is not set
CONFIG_USB_SERIAL_ARK3116=m
CONFIG_USB_SERIAL_BELKIN=m
# CONFIG_USB_SERIAL_CH341 is not set
CONFIG_USB_SERIAL_WHITEHEAT=m
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
# CONFIG_USB_SERIAL_CP210X is not set
CONFIG_USB_SERIAL_CYPRESS_M8=m
CONFIG_USB_SERIAL_EMPEG=m
CONFIG_USB_SERIAL_FTDI_SIO=m
CONFIG_USB_SERIAL_FUNSOFT=m
CONFIG_USB_SERIAL_EXAR=m
CONFIG_USB_SERIAL_VISOR=m
CONFIG_USB_SERIAL_IPAQ=m
CONFIG_USB_SERIAL_IR=m
CONFIG_USB_SERIAL_EDGEPORT=m
CONFIG_USB_SERIAL_EDGEPORT_TI=m
CONFIG_USB_SERIAL_GARMIN=m
CONFIG_USB_SERIAL_IPW=m
# CONFIG_USB_SERIAL_IUU 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
CONFIG_USB_SERIAL_KLSI=m
CONFIG_USB_SERIAL_KOBIL_SCT=m
CONFIG_USB_SERIAL_MCT_U232=m
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MOTOROLA is not set
CONFIG_USB_SERIAL_NAVMAN=m
CONFIG_USB_SERIAL_PL2303=m
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
CONFIG_USB_SERIAL_HP4X=m
CONFIG_USB_SERIAL_SAFE=m
CONFIG_USB_SERIAL_SAFE_PADDED=y
# CONFIG_USB_SERIAL_SIEMENS_MPI is not set
CONFIG_USB_SERIAL_SIERRAWIRELESS=m
# CONFIG_USB_SERIAL_SYMBOL is not set
CONFIG_USB_SERIAL_TI=m
CONFIG_USB_SERIAL_CYBERJACK=m
CONFIG_USB_SERIAL_XIRCOM=m
CONFIG_USB_SERIAL_OPTION=m
CONFIG_USB_SERIAL_OMNINET=m
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set
# CONFIG_USB_SERIAL_DEBUG is not set

#
# USB Miscellaneous drivers
#
CONFIG_USB_EMI62=m
CONFIG_USB_EMI26=m
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
CONFIG_USB_RIO500=m
CONFIG_USB_LEGOTOWER=m
CONFIG_USB_LCD=m
CONFIG_USB_LED=m
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
CONFIG_USB_IDMOUSE=m
# CONFIG_USB_FTDI_ELAN is not set
CONFIG_USB_APPLEDISPLAY=m
CONFIG_USB_SISUSBVGA=m
CONFIG_USB_SISUSBVGA_CON=y
CONFIG_USB_LD=m
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
CONFIG_USB_TEST=m
# CONFIG_USB_ISIGHTFW is not set
CONFIG_USB_ATM=m
CONFIG_USB_SPEEDTOUCH=m
CONFIG_USB_CXACRU=m
CONFIG_USB_UEAGLEATM=m
CONFIG_USB_XUSBATM=m
# CONFIG_USB_GADGET is not set

#
# OTG and related infrastructure
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_UWB is not set
CONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=m
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_SDHCI=m
# CONFIG_MMC_SDHCI_PCI is not set
# CONFIG_MMC_SDHCI_PLTFM is not set
CONFIG_MMC_WBSD=m
# CONFIG_MMC_TIFM_SD is not set
# CONFIG_MMC_SDRICOH_CS is not set
# CONFIG_MMC_CB710 is not set
# CONFIG_MMC_VIA_SDMMC is not set
# CONFIG_MEMSTICK is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y

#
# LED drivers
#
# CONFIG_LEDS_ALIX2 is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_CLEVO_MAIL is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_INTEL_SS4200 is not set
CONFIG_LEDS_TRIGGERS=y

#
# LED Triggers
#
CONFIG_LEDS_TRIGGER_TIMER=m
CONFIG_LEDS_TRIGGER_IDE_DISK=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=m
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_ACCESSIBILITY is not set
CONFIG_INFINIBAND=m
CONFIG_INFINIBAND_USER_MAD=m
CONFIG_INFINIBAND_USER_ACCESS=m
CONFIG_INFINIBAND_USER_MEM=y
CONFIG_INFINIBAND_ADDR_TRANS=y
CONFIG_INFINIBAND_MTHCA=m
CONFIG_INFINIBAND_MTHCA_DEBUG=y
CONFIG_INFINIBAND_IPATH=m
# CONFIG_INFINIBAND_AMSO1100 is not set
CONFIG_INFINIBAND_CXGB3=m
# CONFIG_INFINIBAND_CXGB3_DEBUG is not set
CONFIG_MLX4_INFINIBAND=m
CONFIG_INFINIBAND_NES=m
# CONFIG_INFINIBAND_NES_DEBUG is not set
CONFIG_INFINIBAND_IPOIB=m
CONFIG_INFINIBAND_IPOIB_CM=y
CONFIG_INFINIBAND_IPOIB_DEBUG=y
# CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set
CONFIG_INFINIBAND_SRP=m
CONFIG_INFINIBAND_ISER=m
CONFIG_EDAC=y

#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not set
CONFIG_EDAC_DECODE_MCE=y
CONFIG_EDAC_MM_EDAC=m
# CONFIG_EDAC_AMD64 is not set
CONFIG_EDAC_E752X=m
# CONFIG_EDAC_I82975X is not set
CONFIG_EDAC_I3000=m
# CONFIG_EDAC_I3200 is not set
# CONFIG_EDAC_X38 is not set
CONFIG_EDAC_I5400=m
CONFIG_EDAC_I5000=m
# CONFIG_EDAC_I5100 is not set
CONFIG_RTC_LIB=m
CONFIG_RTC_CLASS=m

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
CONFIG_RTC_DRV_DS1307=m
# CONFIG_RTC_DRV_DS1374 is not set
CONFIG_RTC_DRV_DS1672=m
# CONFIG_RTC_DRV_MAX6900 is not set
CONFIG_RTC_DRV_RS5C372=m
CONFIG_RTC_DRV_ISL1208=m
CONFIG_RTC_DRV_X1205=m
CONFIG_RTC_DRV_PCF8563=m
CONFIG_RTC_DRV_PCF8583=m
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set

#
# SPI RTC drivers
#

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=m
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
CONFIG_RTC_DRV_DS1553=m
CONFIG_RTC_DRV_DS1742=m
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
CONFIG_RTC_DRV_V3020=m

#
# on-CPU RTC drivers
#
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
CONFIG_UIO=m
# CONFIG_UIO_CIF is not set
# CONFIG_UIO_PDRV is not set
# CONFIG_UIO_PDRV_GENIRQ is not set
# CONFIG_UIO_AEC is not set
# CONFIG_UIO_SERCOS3 is not set
# CONFIG_UIO_PCI_GENERIC is not set
# CONFIG_UIO_NETX is not set

#
# TI VLYNQ
#
CONFIG_STAGING=y
# CONFIG_STAGING_EXCLUDE_BUILD is not set
# CONFIG_ET131X is not set
# CONFIG_SLICOSS is not set
CONFIG_USB_IP_COMMON=m
CONFIG_USB_IP_VHCI_HCD=m
CONFIG_USB_IP_HOST=m
CONFIG_USB_IP_DEBUG_ENABLE=y
# CONFIG_W35UND is not set
# CONFIG_PRISM2_USB is not set
# CONFIG_ECHO is not set
# CONFIG_POCH is not set
# CONFIG_OTUS is not set
# CONFIG_RT2860 is not set
# CONFIG_RT2870 is not set
# CONFIG_COMEDI is not set
# CONFIG_ASUS_OLED is not set
# CONFIG_PANEL is not set
# CONFIG_R8187SE is not set
# CONFIG_RTL8192SU is not set
# CONFIG_RTL8192U is not set
# CONFIG_RTL8192E is not set
# CONFIG_TRANZPORT is not set

#
# Qualcomm MSM Camera And Video
#

#
# Camera Sensor Selection
#
# CONFIG_INPUT_GPIO is not set
# CONFIG_POHMELFS is not set
# CONFIG_IDE_PHISON is not set
# CONFIG_LINE6_USB is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_NOUVEAU is not set

#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_USB_SERIAL_QUATECH2 is not set
# CONFIG_USB_SERIAL_QUATECH_USB2 is not set
# CONFIG_VT6655 is not set
# CONFIG_VT6656 is not set
# CONFIG_FB_UDL is not set
# CONFIG_HYPERV is not set
# CONFIG_VME_BUS is not set

#
# RAR Register Driver
#
# CONFIG_RAR_REGISTER is not set
# CONFIG_IIO is not set
# CONFIG_RAMZSWAP is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_STRIP is not set
# CONFIG_PCMCIA_WAVELAN is not set
# CONFIG_PCMCIA_NETWAVE is not set
# CONFIG_FB_SM7XX is not set
# CONFIG_DT3155 is not set
# CONFIG_CRYSTALHD is not set
CONFIG_X86_PLATFORM_DEVICES=y
# CONFIG_ACER_WMI is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_DELL_LAPTOP is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_PANASONIC_LAPTOP is not set
CONFIG_THINKPAD_ACPI=m
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not set
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
# CONFIG_INTEL_MENLOW is not set
# CONFIG_EEEPC_LAPTOP is not set
# CONFIG_ACPI_WMI is not set
CONFIG_ACPI_ASUS=m
# CONFIG_TOPSTAR_LAPTOP is not set
CONFIG_ACPI_TOSHIBA=m
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_ACPI_CMPC is not set

#
# Firmware Drivers
#
CONFIG_EDD=m
# CONFIG_EDD_OFF is not set
CONFIG_FIRMWARE_MEMMAP=y
CONFIG_DELL_RBU=m
CONFIG_DCDBAS=m
CONFIG_DMIID=y
CONFIG_ISCSI_IBFT_FIND=y
CONFIG_ISCSI_IBFT=m

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT2_FS_XIP=y
CONFIG_EXT3_FS=m
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=m
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
CONFIG_FS_XIP=y
CONFIG_JBD=m
# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=m
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
# CONFIG_XFS_RT is not set
# CONFIG_XFS_DEBUG is not set
CONFIG_GFS2_FS=m
# CONFIG_GFS2_FS_LOCKING_DLM is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_QUOTA=y
# CONFIG_QUOTA_NETLINK_INTERFACE is not set
CONFIG_PRINT_QUOTA_WARNING=y
# CONFIG_QUOTA_DEBUG is not set
CONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=y
CONFIG_QUOTACTL=y
CONFIG_QUOTACTL_COMPAT=y
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
CONFIG_FUSE_FS=m
# CONFIG_CUSE is not set

#
# Caches
#
CONFIG_FSCACHE=m
# CONFIG_FSCACHE_STATS is not set
# CONFIG_FSCACHE_HISTOGRAM is not set
# CONFIG_FSCACHE_DEBUG is not set
# CONFIG_FSCACHE_OBJECT_LIST is not set
CONFIG_CACHEFILES=m
CONFIG_CACHEFILES_DEBUG=y
# CONFIG_CACHEFILES_HISTOGRAM is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_VMCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
CONFIG_CONFIGFS_FS=m
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
CONFIG_ECRYPT_FS=m
CONFIG_HFS_FS=m
CONFIG_HFSPLUS_FS=m
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
CONFIG_JFFS2_SUMMARY=y
# CONFIG_JFFS2_FS_XATTR is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
# CONFIG_JFFS2_LZO is not set
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_LOGFS is not set
CONFIG_CRAMFS=m
CONFIG_SQUASHFS=m
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_VXFS_FS=m
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
# CONFIG_NFS_V4_1 is not set
CONFIG_NFS_FSCACHE=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_SUNRPC_XPRT_RDMA=m
CONFIG_RPCSEC_GSS_KRB5=m
CONFIG_RPCSEC_GSS_SPKM3=m
# CONFIG_SMB_FS is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_EXPERIMENTAL=y
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
# CONFIG_LDM_PARTITION is not set
CONFIG_SGI_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not set
CONFIG_SUN_PARTITION=y
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=m
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=m
CONFIG_NLS_CODEPAGE_855=m
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=m
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
CONFIG_NLS_CODEPAGE_864=m
CONFIG_NLS_CODEPAGE_865=m
CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_950=m
CONFIG_NLS_CODEPAGE_932=m
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_KOI8_U=m
CONFIG_NLS_UTF8=m
CONFIG_DLM=m
CONFIG_DLM_DEBUG=y

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=2048
CONFIG_MAGIC_SYSRQ=y
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_DETECT_HUNG_TASK=y
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_WRITECOUNT is not set
CONFIG_DEBUG_MEMORY_INIT=y
CONFIG_DEBUG_LIST=y
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
CONFIG_ARCH_WANT_FRAME_POINTERS=y
# CONFIG_FRAME_POINTER is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_DETECTOR=y
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_LKDTM is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SYSPROF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_BOOT_TRACER is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_KSYM_TRACER is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_KMEMTRACE is not set
# CONFIG_WORKQUEUE_TRACER is not set
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_KPROBE_EVENT=y
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DMA_API_DEBUG is not set
CONFIG_SAMPLES=y
CONFIG_SAMPLE_TRACEPOINTS=m
# CONFIG_SAMPLE_TRACE_EVENTS is not set
# CONFIG_SAMPLE_KOBJECT is not set
# CONFIG_SAMPLE_KPROBES is not set
# CONFIG_SAMPLE_HW_BREAKPOINT is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_STRICT_DEVMEM is not set
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
# CONFIG_EARLY_PRINTK_DBGP is not set
CONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_X86_PTDUMP is not set
CONFIG_DEBUG_RODATA=y
CONFIG_DEBUG_RODATA_TEST=y
# CONFIG_DEBUG_NX_TEST is not set
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not set
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
# CONFIG_OPTIMIZE_INLINING is not set
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_NETWORK_XFRM=y
# CONFIG_SECURITY_PATH is not set
# CONFIG_INTEL_TXT is not set
CONFIG_LSM_MMAP_MIN_ADDR=4096
CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SELINUX_BOOTPARAM=y
CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
CONFIG_SECURITY_SELINUX_DISABLE=y
CONFIG_SECURITY_SELINUX_DEVELOP=y
CONFIG_SECURITY_SELINUX_AVC_STATS=y
CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set
# CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_IMA is not set
CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_DEFAULT_SECURITY="selinux"
CONFIG_XOR_BLOCKS=m
CONFIG_ASYNC_CORE=m
CONFIG_ASYNC_MEMCPY=m
CONFIG_ASYNC_XOR=m
CONFIG_ASYNC_PQ=m
CONFIG_ASYNC_RAID6_RECOV=m
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_FIPS=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=m
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=m
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_NULL=m
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_AUTHENC=m
CONFIG_CRYPTO_TEST=m

#
# Authenticated Encryption with Associated Data
#
CONFIG_CRYPTO_CCM=m
# CONFIG_CRYPTO_GCM is not set
CONFIG_CRYPTO_SEQIV=m

#
# Block modes
#
CONFIG_CRYPTO_CBC=m
CONFIG_CRYPTO_CTR=m
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_XCBC=m
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_GHASH is not set
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_MICHAEL_MIC=m
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_TGR192=m
CONFIG_CRYPTO_WP512=m
# CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_AES_X86_64=m
# CONFIG_CRYPTO_AES_NI_INTEL is not set
CONFIG_CRYPTO_ANUBIS=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_BLOWFISH=m
# CONFIG_CRYPTO_CAMELLIA is not set
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
CONFIG_CRYPTO_KHAZAD=m
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not set
# CONFIG_CRYPTO_SEED is not set
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_TWOFISH_COMMON=m
# CONFIG_CRYPTO_TWOFISH_X86_64 is not set

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=m
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set

#
# Random Number Generation
#
CONFIG_CRYPTO_ANSI_CPRNG=m
CONFIG_CRYPTO_HW=y
# CONFIG_CRYPTO_DEV_PADLOCK is not set
# CONFIG_CRYPTO_DEV_HIFN_795X is not set
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
# CONFIG_VHOST_NET is not set
CONFIG_VIRTIO=m
CONFIG_VIRTIO_RING=m
CONFIG_VIRTIO_PCI=m
# CONFIG_VIRTIO_BALLOON is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_GENERIC_FIND_LAST_BIT=y
CONFIG_CRC_CCITT=m
CONFIG_CRC16=m
# CONFIG_CRC_T10DIF is not set
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_LZO_DECOMPRESS=y
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=m
CONFIG_REED_SOLOMON_DEC16=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m
CONFIG_TEXTSEARCH_FSM=m
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_NLATTR=y


The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-04 18:20:43 UTC
Permalink
Post by Rob Duncan
Hi Oliver,
Post by Oliver Neukum
Without your driver, syslog and/or lsusb -v nothing can be said.
...
...
...

Are you using a kernel with this patch applied?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=571dc79d62a163fd043de47d7d39bae58831e81e

I'm not sure whether you really need it, but the fact that your device
has two communications interfaces is suggestive.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Oliver Neukum
2010-05-04 18:23:15 UTC
Permalink
Post by Alan Stern
Are you using a kernel with this patch applied?
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=571dc79d62a163fd043de47d7d39bae58831e81e
I'm not sure whether you really need it, but the fact that your device
has two communications interfaces is suggestive.
Yes that would explain a failure to suspend, but not the sysfs oddity.

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-04 19:51:27 UTC
Permalink
Post by Alan Stern
Are you using a kernel with this patch applied?
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=571dc79d62a163fd043de47d7d39bae58831e81e
I'm not sure whether you really need it, but the fact that your device
has two communications interfaces is suggestive.
Yes, I have that patch.

Thanks,

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-04 13:49:01 UTC
Permalink
Post by Rob Duncan
My driver has (I think) all the routines and attributes that are
needed to support runtime PM, but I'm not seeing my suspend routine
being called. I do have some unbound interfaces on the device; are
they preventing my driver from being called when it is idle?
Do you remember to write "auto" to the power/control file?
Post by Rob Duncan
Also, and perhaps more relevantly, I have power/control and
power/level, but no power/autosuspend in the sysfs tree for the
device. Is that expected?
It isn't. In fact, I would go so far as to say it's nearly impossible
to have power/level without power/autosuspend. Look at the code in
drivers/usb/core/sysfs.c and see what you think. You may want to put
some debugging printk statements in add_power_attributes().

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-04 20:28:25 UTC
Permalink
Post by Alan Stern
Do you remember to write "auto" to the power/control file?
I'm using usb_enable_autosuspend(), but explicitly writing "auto" doesn't seem to do anything. When I read the file I see that its contents are "auto".
Post by Alan Stern
It isn't. In fact, I would go so far as to say it's nearly impossible
to have power/level without power/autosuspend. Look at the code in
drivers/usb/core/sysfs.c and see what you think. You may want to put
some debugging printk statements in add_power_attributes().
Embarrassingly, it turns out that I have been looking at the wrong place in the sysfs tree. I was looking at the interface level instead of the device level; I do see the the autosuspend file there.

But I still do not see my driver suspend entry point being called.

Thanks,

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-05 16:00:01 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
Do you remember to write "auto" to the power/control file?
I'm using usb_enable_autosuspend(), but explicitly writing "auto" doesn't seem to do anything. When I read the file I see that its contents are "auto".
Post by Alan Stern
It isn't. In fact, I would go so far as to say it's nearly impossible
to have power/level without power/autosuspend. Look at the code in
drivers/usb/core/sysfs.c and see what you think. You may want to put
some debugging printk statements in add_power_attributes().
Embarrassingly, it turns out that I have been looking at the wrong place in the sysfs tree. I was looking at the interface level instead of the device level; I do see the the autosuspend file there.
But I still do not see my driver suspend entry point being called.
You will have to do some debugging to find out why your driver isn't
getting suspended. A good place to start is in
drivers/usb/core/driver.c:autosuspend_check().

By the way, does the power/wakeup attribute file for your device
contain "enabled"?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-05 18:18:38 UTC
Permalink
Post by Alan Stern
You will have to do some debugging to find out why your driver isn't
getting suspended. A good place to start is in
drivers/usb/core/driver.c:autosuspend_check().
I may be doing something stupid, but I'm not seeing autosuspend_check() being called for my device. In fact, it looks like it is only being called for the controller devices. I'm going to add more debug printing in likely looking places. Any additional suggestions gratefully accepted!
Post by Alan Stern
By the way, does the power/wakeup attribute file for your device
contain "enabled"?
No, that file is empty.

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-05 18:51:24 UTC
Permalink
Please instruct your email client to wrap lines after 72 columns or so.
Long lines are hard to deal with.
Post by Rob Duncan
Post by Alan Stern
You will have to do some debugging to find out why your driver isn't
getting suspended. A good place to start is in
drivers/usb/core/driver.c:autosuspend_check().
I may be doing something stupid, but I'm not seeing
autosuspend_check() being called for my device. In fact, it looks
like it is only being called for the controller devices. I'm going
to add more debug printing in likely looking places. Any additional
suggestions gratefully accepted!
The most likely reason for autosuspend_check() not getting called is
that either the device or one of its interfaces has a nonzero
usage_count.

The central place where you will get the most information (perhaps a
little too much!) is in drivers/base/power/runtime.c. Try to trace
what's happening in __pm_runtime_idle() and __pm_runtime_suspend().

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-05 18:45:15 UTC
Permalink
Post by Alan Stern
You will have to do some debugging to find out why your driver isn't
getting suspended.
I enabled VERBOSE_DEBUG in driver.c and I get the following in the log when I attach my device.

(The messages saying "Skipping management interface", "Using management interface interrupt endpoints", and "Taking interrupt endpoint from management interface" are from a hack I have in usb-serial.c).

May 5 11:33:59 localhost kernel: hub 3-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x101
May 5 11:33:59 localhost kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2] = 0x00100103 PRSC PPS PES CCS
May 5 11:33:59 localhost kernel: usb 3-3: new full speed USB device using ohci_hcd and address 2
May 5 11:33:59 localhost kernel: ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [2] = 0x00100103 PRSC PPS PES CCS
May 5 11:33:59 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:33:59 localhost kernel: usb 3-3: skipped 1 descriptor after configuration
May 5 11:33:59 localhost kernel: usb 3-3: skipped 4 descriptors after interface
May 5 11:33:59 localhost kernel: usb 3-3: udev 2, busnum 3, minor = 257
May 5 11:33:59 localhost kernel: usb 3-3: New USB device found, idVendor=04e2, idProduct=1410
May 5 11:33:59 localhost kernel: usb 3-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
May 5 11:33:59 localhost kernel: add_power_attributes
May 5 11:33:59 localhost kernel: add_power_attributes 0 rc=0
May 5 11:33:59 localhost kernel: add_power_attributes 1 rc=0
May 5 11:33:59 localhost kernel: add_power_attributes 2 rc=0
May 5 11:33:59 localhost kernel: add_power_attributes 3 rc=0
May 5 11:33:59 localhost kernel: usb 3-3: usb_probe_device
May 5 11:33:59 localhost kernel: usb 3-3: configuration #1 chosen from 1 choice
May 5 11:33:59 localhost kernel: usb 3-3: usb_autoresume_device: cnt 4 -> 1
May 5 11:33:59 localhost kernel: usb 3-3: adding 3-3:1.0 (config #1, interface 0)
May 5 11:33:59 localhost kernel: usbserial_generic 3-3:1.0: usb_probe_interface
May 5 11:33:59 localhost kernel: usbserial_generic 3-3:1.0: usb_probe_interface - got id
May 5 11:33:59 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 5 11:33:59 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 4 -> 0
May 5 11:33:59 localhost kernel: exar 3-3:1.0: usb_probe_interface
May 5 11:33:59 localhost kernel: exar 3-3:1.0: usb_probe_interface - got id
May 5 11:33:59 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 5 11:33:59 localhost kernel: exar 3-3:1.0: Skipping management interface
May 5 11:33:59 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 4 -> 0
May 5 11:33:59 localhost kernel: usb 3-3: adding 3-3:1.1 (config #1, interface 1)
May 5 11:33:59 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface
May 5 11:33:59 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface - got id
May 5 11:33:59 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 5 11:33:59 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 4 -> 0
May 5 11:33:59 localhost kernel: exar 3-3:1.1: usb_probe_interface
May 5 11:33:59 localhost kernel: exar 3-3:1.1: usb_probe_interface - got id
May 5 11:33:59 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 5 11:33:59 localhost kernel: exar 3-3:1.1: Using management interface interrupt endpoints
May 5 11:33:59 localhost kernel: exar 3-3:1.1: Taking interrupt endpoint from management interface
May 5 11:33:59 localhost kernel: exar 3-3:1.1: Exar serial converter detected
May 5 11:33:59 localhost kernel: usb 3-3: exar_attach: 1410
May 5 11:33:59 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 4 -> 0
May 5 11:33:59 localhost kernel: usb 3-3: Exar serial converter now attached to ttyUSB0
May 5 11:33:59 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 3 -> 0
May 5 11:33:59 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 2 -> 0
May 5 11:33:59 localhost kernel: drivers/usb/core/inode.c: creating file '002'
May 5 11:33:59 localhost kernel: hub 3-0:1.0: usb_autopm_put_interface: cnt 1 -> 0
May 5 11:33:59 localhost kernel: hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0008
May 5 11:33:59 localhost kernel: hub 1-0:1.0: usb_autopm_get_interface: cnt 2 -> 1
May 5 11:33:59 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 5 11:33:59 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:33:59 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 5 11:33:59 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:33:59 localhost kernel: usb usb2: usb_autoresume_device: cnt 1 -> 1
May 5 11:33:59 localhost kernel: usb usb2: autosuspend_check do_remote_wakeup=1
May 5 11:33:59 localhost kernel: usb usb2: autosuspend_check time_before
May 5 11:33:59 localhost kernel: usb usb2: usb_autosuspend_device: cnt 0 -> 0
May 5 11:33:59 localhost kernel: usb usb2: usb_autoresume_device: cnt 1 -> 1
May 5 11:33:59 localhost kernel: usb usb2: autosuspend_check do_remote_wakeup=1
May 5 11:33:59 localhost kernel: usb usb2: autosuspend_check time_before
May 5 11:33:59 localhost kernel: usb usb2: usb_autosuspend_device: cnt 0 -> 0
May 5 11:33:59 localhost kernel: usb 1-6: usb_autoresume_device: cnt 2 -> 1
May 5 11:33:59 localhost kernel: usb 1-6: usb_autosuspend_device: cnt 1 -> 0
May 5 11:33:59 localhost kernel: hub 1-0:1.0: usb_autopm_put_interface: cnt 0 -> 0
May 5 11:34:00 localhost kernel: hub 3-0:1.0: state 7 ports 6 chg 0000 evt 0008
May 5 11:34:00 localhost kernel: hub 3-0:1.0: usb_autopm_get_interface: cnt 2 -> 1
May 5 11:34:00 localhost kernel: usb usb1: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb1: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:00 localhost kernel: usb 1-6: usb_autoresume_device: cnt 2 -> 1
May 5 11:34:00 localhost kernel: usb 1-6: usb_autosuspend_device: cnt 1 -> 0
May 5 11:34:00 localhost kernel: usb usb1: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb1: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:00 localhost kernel: hub 3-0:1.0: usb_autopm_put_interface: cnt 0 -> 0
May 5 11:34:00 localhost kernel: usb usb4: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb4: autosuspend_check do_remote_wakeup=1
May 5 11:34:00 localhost kernel: usb usb4: autosuspend_check time_before
May 5 11:34:00 localhost kernel: usb usb4: usb_autosuspend_device: cnt 0 -> 0
May 5 11:34:00 localhost kernel: usb usb4: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb4: autosuspend_check do_remote_wakeup=1
May 5 11:34:00 localhost kernel: usb usb4: autosuspend_check time_before
May 5 11:34:00 localhost kernel: usb usb4: usb_autosuspend_device: cnt 0 -> 0
May 5 11:34:00 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:00 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:00 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:00 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:00 localhost kernel: usb usb2: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb2: autosuspend_check do_remote_wakeup=1
May 5 11:34:00 localhost kernel: usb usb2: autosuspend_check time_before
May 5 11:34:00 localhost kernel: usb usb2: usb_autosuspend_device: cnt 0 -> 0
May 5 11:34:00 localhost kernel: usb usb2: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb2: autosuspend_check do_remote_wakeup=1
May 5 11:34:00 localhost kernel: usb usb2: autosuspend_check time_before
May 5 11:34:00 localhost kernel: usb usb2: usb_autosuspend_device: cnt 0 -> 0
May 5 11:34:00 localhost kernel: usb 1-6: usb_autoresume_device: cnt 2 -> 1
May 5 11:34:00 localhost kernel: usb 1-6: usb_autosuspend_device: cnt 1 -> 0
May 5 11:34:00 localhost kernel: usb usb1: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb1: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:00 localhost kernel: usb 1-6: usb_autoresume_device: cnt 2 -> 1
May 5 11:34:00 localhost kernel: usb 1-6: usb_autosuspend_device: cnt 1 -> 0
May 5 11:34:00 localhost kernel: usb usb1: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb usb1: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:01 localhost kernel: usb usb4: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:01 localhost kernel: usb usb4: autosuspend_check do_remote_wakeup=1
May 5 11:34:01 localhost kernel: usb usb4: autosuspend_check time_before
May 5 11:34:01 localhost kernel: usb usb4: usb_autosuspend_device: cnt 0 -> 0
May 5 11:34:01 localhost kernel: usb usb4: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:01 localhost kernel: usb usb4: autosuspend_check do_remote_wakeup=1
May 5 11:34:01 localhost kernel: usb usb4: autosuspend_check time_before
May 5 11:34:01 localhost kernel: usb usb4: usb_autosuspend_device: cnt 0 -> 0
May 5 11:34:01 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:01 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:01 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:01 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 5 11:34:01 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:01 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16

And so on.

Here is the usb-serial.c hack I mentioned above. It's in usb_serial_prove, right after the PL2303 hack.

#if defined(CONFIG_USB_SERIAL_EXAR) || defined(CONFIG_USB_SERIAL_EXAR_MODULE)
/* BEGIN HORRIBLE HACK FOR EXAR */
/* The descriptors aren't loony, but this is still a bit
* nasty, nonetheless. The device structures its endpoints
* the same was that CDC-ACM does, and uses an IAD to
* associate them. The first (management) interface in the
* association contains a single interrupt endpoint, and the
* second one (data) contains a bulk in and a bulk out.
*/
if (((le16_to_cpu(dev->descriptor.idVendor) == EXAR_VENDOR_ID) &&
(le16_to_cpu(dev->descriptor.idProduct) == EXAR_PRODUCT_ID_XRV1410))
|| ((le16_to_cpu(dev->descriptor.idVendor) == EXAR_VENDOR_ID) &&
(le16_to_cpu(dev->descriptor.idProduct) == EXAR_PRODUCT_ID_XRV1412))
|| ((le16_to_cpu(dev->descriptor.idVendor) == EXAR_VENDOR_ID) &&
(le16_to_cpu(dev->descriptor.idProduct) == EXAR_PRODUCT_ID_XRV1414))
|| ((le16_to_cpu(dev->descriptor.idVendor) == EXAR_VENDOR_ID) &&
(le16_to_cpu(dev->descriptor.idProduct) == EXAR_PRODUCT_ID_XRB1411))) {
struct usb_interface_assoc_descriptor *iad;

iad = interface->intf_assoc;
if (iad != NULL) {
if (interface->cur_altsetting->desc.bInterfaceNumber == iad->bFirstInterface) {
unlock_kernel();
dev_info(&interface->dev, "Skipping management interface\n");
kfree(serial);
return -ENODEV;
} else {
struct usb_interface *mgmt = usb_ifnum_to_if(dev, iad->bFirstInterface);

dev_info(&interface->dev, "Using management interface interrupt endpoints\n");
iface_desc = mgmt->cur_altsetting;
for (i = 0; i < iface_desc->desc.bNumEndpoints; ++i) {
endpoint = &iface_desc->endpoint[i].desc;
if (usb_endpoint_is_int_in(endpoint)) {
dev_info(&interface->dev, "Taking interrupt endpoint from management interface\n");
interrupt_in_endpoint[num_interrupt_in] = endpoint;
++num_interrupt_in;
}
}
}
}
}
/* END HORRIBLE HACK FOR EXAR */
#endif

Rob.




The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-05 19:03:07 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
You will have to do some debugging to find out why your driver isn't
getting suspended.
I enabled VERBOSE_DEBUG in driver.c and I get the following in the log when I attach my device.
(The messages saying "Skipping management interface", "Using management interface interrupt endpoints", and "Taking interrupt endpoint from management interface" are from a hack I have in usb-serial.c).
May 5 11:34:00 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
These -EBUSY error codes indicate that the usage_count for one of the
interfaces is nonzero. (Well, it could be something else, like the
child_count, but most likely it's the usage_count.) Add some debugging
statements to the non-is_usb_device cases in usb_runtime_*(); you may
find out which and why.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-05 19:57:24 UTC
Permalink
Post by Alan Stern
Post by Rob Duncan
May 5 11:34:00 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
These -EBUSY error codes indicate that the usage_count for one of the
interfaces is nonzero. (Well, it could be something else, like the
child_count, but most likely it's the usage_count.)
It appears that usb_autosuspend_device() is returning -EBUSY because
__pm_runtime_idle() sees !pm_children_suspended().

The child_count is 1, and ignore_children is 0.
Post by Alan Stern
Add some debugging
statements to the non-is_usb_device cases in usb_runtime_*(); you may
find out which and why.
Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-05 20:09:11 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
Post by Rob Duncan
May 5 11:34:00 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
These -EBUSY error codes indicate that the usage_count for one of the
interfaces is nonzero. (Well, it could be something else, like the
child_count, but most likely it's the usage_count.)
It appears that usb_autosuspend_device() is returning -EBUSY because
__pm_runtime_idle() sees !pm_children_suspended().
The child_count is 1, and ignore_children is 0.
Right, that's what I said: The children of a device are its interfaces.
You need to find out which interface has a positive usage_count and
why.

For an interface, the usage_count is manipulated mostly in the
non-is_usb_device() pathways of the usb_autopm_*_interface_* routines.
To confuse things, the driver and PM cores also make a few changes of
their own (especially during probing) -- but these changes should add
up to 0 in the end.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-05 20:57:28 UTC
Permalink
Post by Alan Stern
Post by Rob Duncan
Post by Alan Stern
Post by Rob Duncan
May 5 11:34:00 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 5 11:34:00 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
These -EBUSY error codes indicate that the usage_count for one of the
interfaces is nonzero. (Well, it could be something else, like the
child_count, but most likely it's the usage_count.)
It appears that usb_autosuspend_device() is returning -EBUSY because
__pm_runtime_idle() sees !pm_children_suspended().
The child_count is 1, and ignore_children is 0.
Right, that's what I said: The children of a device are its interfaces.
You need to find out which interface has a positive usage_count and
why.
OK, so even though the device's own usage_count is 0, the child_count == 1 means
that one of the interfaces are busy. Is that right?
Post by Alan Stern
For an interface, the usage_count is manipulated mostly in the
non-is_usb_device() pathways of the usb_autopm_*_interface_* routines.
To confuse things, the driver and PM cores also make a few changes of
their own (especially during probing) -- but these changes should add
up to 0 in the end.
I have VERBOSE_DEBUG enabled in driver.c, and I do not see the usb_autopm_*_interface_*
routines being called for my interfaces.

I should mention that all I am doing at this stage is attaching the device. No
application is opening it, and my driver has not made any usb_autopm_*_interface_*
calls itself. Am I right to expect my suspend routine to be called in this case?

Thanks,

Rob.


The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-05 21:24:18 UTC
Permalink
Post by Rob Duncan
OK, so even though the device's own usage_count is 0, the child_count == 1 means
that one of the interfaces are busy. Is that right?
Right. Or at least, the kernel _thinks_ one of the interfaces is busy.
Post by Rob Duncan
Post by Alan Stern
For an interface, the usage_count is manipulated mostly in the
non-is_usb_device() pathways of the usb_autopm_*_interface_* routines.
To confuse things, the driver and PM cores also make a few changes of
their own (especially during probing) -- but these changes should add
up to 0 in the end.
I have VERBOSE_DEBUG enabled in driver.c, and I do not see the usb_autopm_*_interface_*
routines being called for my interfaces.
Note that there are no debugging printk's in
usb_autopm_put_interface_no_suspend() or
usb_autopm_get_interface_no_resume(). I guess I should add some.
Anyway, you'll want to see if they are getting called.

If that doesn't show anything then you'll need to print out the values
of all the interfaces' dev.power.usage_count fields at some strategic
spots, like in usb_autoresume_device() and usb_autosuspend_device().
Post by Rob Duncan
I should mention that all I am doing at this stage is attaching the device. No
application is opening it, and my driver has not made any usb_autopm_*_interface_*
calls itself. Am I right to expect my suspend routine to be called in this case?
Yes, I think it should.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-05 22:39:51 UTC
Permalink
Post by Alan Stern
Note that there are no debugging printk's in
usb_autopm_put_interface_no_suspend() or
usb_autopm_get_interface_no_resume(). I guess I should add some.
Anyway, you'll want to see if they are getting called.
I added some tracing and they are not being called.
Post by Alan Stern
If that doesn't show anything then you'll need to print out the values
of all the interfaces' dev.power.usage_count fields at some strategic
spots, like in usb_autoresume_device() and usb_autosuspend_device().
I also added some debug printing to usb_autosuspend_device() immediately
after the existing log message. I see pm_runtime_put_sync() return -EBUSY
for the device (apparently because child_count > 0), but the usage_count
for each of my interfaces is 0.

May 5 15:01:30 localhost kernel: usb 3-3: __pm_runtime_idle !pm_children_suspended power.usage_count=0 power.ignore_children=0 power.child_count=1
May 5 15:01:30 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
May 5 15:01:30 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 5 15:01:30 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0

It at appears that the device's child_count is incremented when
usb_probe_interface() calls pm_runtime_set_active(), and is never
decremented again.

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-06 14:06:17 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
Note that there are no debugging printk's in
usb_autopm_put_interface_no_suspend() or
usb_autopm_get_interface_no_resume(). I guess I should add some.
Anyway, you'll want to see if they are getting called.
I added some tracing and they are not being called.
Post by Alan Stern
If that doesn't show anything then you'll need to print out the values
of all the interfaces' dev.power.usage_count fields at some strategic
spots, like in usb_autoresume_device() and usb_autosuspend_device().
I also added some debug printing to usb_autosuspend_device() immediately
after the existing log message. I see pm_runtime_put_sync() return -EBUSY
for the device (apparently because child_count > 0), but the usage_count
for each of my interfaces is 0.
May 5 15:01:30 localhost kernel: usb 3-3: __pm_runtime_idle !pm_children_suspended power.usage_count=0 power.ignore_children=0 power.child_count=1
May 5 15:01:30 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> -16
May 5 15:01:30 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 5 15:01:30 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
It at appears that the device's child_count is incremented when
usb_probe_interface() calls pm_runtime_set_active(), and is never
decremented again.
Okay, I see what the problem is. It's a subtle thing, involving the
difference between the runtime PM state and the usage_count. It also
involves what the driver does: If it doesn't ever call
usb_autopm_get_interface() or usb_autopm_put_interface(), should the
device be autosuspended?

I guess it should. This patch ought to fix the problem.

Alan Stern



Index: usb-2.6/drivers/usb/core/driver.c
===================================================================
--- usb-2.6.orig/drivers/usb/core/driver.c
+++ usb-2.6/drivers/usb/core/driver.c
@@ -302,13 +302,15 @@ static int usb_probe_interface(struct de

intf->condition = USB_INTERFACE_BINDING;

- /* Probed interfaces are initially active. They are
- * runtime-PM-enabled only if the driver has autosuspend support.
- * They are sensitive to their children's power states.
+ /* If the driver does not have autosuspend support then we suppress
+ * autosuspends by making its interfaces active and leaving them
+ * runtime-PM-disabled, otherwise we do the reverse. In either case,
+ * the interfaces are sensitive to their children's power states.
*/
- pm_runtime_set_active(dev);
pm_suspend_ignore_children(dev, false);
- if (driver->supports_autosuspend)
+ if (!driver->supports_autosuspend)
+ pm_runtime_set_active(dev);
+ else
pm_runtime_enable(dev);

/* Carry out a deferred switch to altsetting 0 */
@@ -438,13 +440,15 @@ int usb_driver_claim_interface(struct us

iface->condition = USB_INTERFACE_BOUND;

- /* Claimed interfaces are initially inactive (suspended). They are
- * runtime-PM-enabled only if the driver has autosuspend support.
- * They are sensitive to their children's power states.
+ /* If the driver does not have autosuspend support then we suppress
+ * autosuspends by making its interfaces active and leaving them
+ * runtime-PM-disabled, otherwise we do the reverse. In either case,
+ * the interfaces are sensitive to their children's power states.
*/
- pm_runtime_set_suspended(dev);
pm_suspend_ignore_children(dev, false);
- if (driver->supports_autosuspend)
+ if (!driver->supports_autosuspend)
+ pm_runtime_set_active(dev);
+ else
pm_runtime_enable(dev);

/* if interface was already added, bind now; else let

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-06 19:55:29 UTC
Permalink
Post by Alan Stern
Okay, I see what the problem is. It's a subtle thing, involving the
difference between the runtime PM state and the usage_count. It also
involves what the driver does: If it doesn't ever call
usb_autopm_get_interface() or usb_autopm_put_interface(), should the
device be autosuspended?
I guess it should. This patch ought to fix the problem.
Thanks, Alan. The patch does fix that problem, and uncovers the next one :-)

Now I get as far as autosuspend_check() looking to see whether the
device has been idle long enough to actually do the suspend. Something is
causing last_busy to increase, so the check is always failing.

last_busy increments very regularly by almost exactly one second every time.

May 6 12:33:53 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:53 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:53 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:53 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:53 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check do_remote_wakeup=0
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check intf0.dev.power.disable_depth=0
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check intf1.dev.power.disable_depth=0
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check time_before j=4294839654 last_busy=4294839654 autosuspend_delay=2000 suspend_time=4294841654
May 6 12:33:53 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> 0
May 6 12:33:53 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:53 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
May 6 12:33:54 localhost kernel: usb usb3: __pm_runtime_resume()!
May 6 12:33:54 localhost kernel: usb usb3: __pm_runtime_resume() returns 1!
May 6 12:33:54 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:54 localhost kernel: usb usb3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:54 localhost kernel: usb usb3: __pm_runtime_idle !pm_children_suspended power.usage_count=0 power.ignore_children=0 power.child_count=1
May 6 12:33:54 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 6 12:33:54 localhost kernel: usb usb3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check do_remote_wakeup=0
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check intf0.dev.power.disable_depth=0
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check intf1.dev.power.disable_depth=0
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check time_before j=4294839654 last_busy=4294839654 autosuspend_delay=2000 suspend_time=4294841654
May 6 12:33:54 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> 0
May 6 12:33:54 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:54 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
May 6 12:33:54 localhost kernel: usb usb3: __pm_runtime_resume()!
May 6 12:33:54 localhost kernel: usb usb3: __pm_runtime_resume() returns 1!
May 6 12:33:54 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:54 localhost kernel: usb usb3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:54 localhost kernel: usb usb3: __pm_runtime_idle !pm_children_suspended power.usage_count=0 power.ignore_children=0 power.child_count=1
May 6 12:33:54 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 6 12:33:54 localhost kernel: usb usb3: usb_autosuspend_device intf 0 usage_count=0
...
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check do_remote_wakeup=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check intf0.dev.power.disable_depth=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check intf1.dev.power.disable_depth=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check time_before j=4294840656 last_busy=4294840656 autosuspend_delay=2000 suspend_time=4294842656
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> 0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
May 6 12:33:55 localhost kernel: usb usb3: __pm_runtime_resume()!
May 6 12:33:55 localhost kernel: usb usb3: __pm_runtime_resume() returns 1!
May 6 12:33:55 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:55 localhost kernel: usb usb3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb usb3: __pm_runtime_idle !pm_children_suspended power.usage_count=0 power.ignore_children=0 power.child_count=1
May 6 12:33:55 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 6 12:33:55 localhost kernel: usb usb3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:55 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check do_remote_wakeup=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check intf0.dev.power.disable_depth=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check intf1.dev.power.disable_depth=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check time_before j=4294840656 last_busy=4294840656 autosuspend_delay=2000 suspend_time=4294842656
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> 0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
May 6 12:33:55 localhost kernel: usb usb3: __pm_runtime_resume()!
May 6 12:33:55 localhost kernel: usb usb3: __pm_runtime_resume() returns 1!
May 6 12:33:55 localhost kernel: usb usb3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:55 localhost kernel: usb usb3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb usb3: __pm_runtime_idle !pm_children_suspended power.usage_count=0 power.ignore_children=0 power.child_count=1
May 6 12:33:55 localhost kernel: usb usb3: usb_autosuspend_device: cnt 0 -> -16
May 6 12:33:55 localhost kernel: usb usb3: usb_autosuspend_device intf 0 usage_count=0

I'm trying to see what might be updating last_busy, but I'm having trouble
seeing the "big picture".

Rob.



The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-06 21:28:06 UTC
Permalink
Post by Rob Duncan
Now I get as far as autosuspend_check() looking to see whether the
device has been idle long enough to actually do the suspend. Something is
causing last_busy to increase, so the check is always failing.
last_busy increments very regularly by almost exactly one second every time.
I'll trim out the lines that don't refer to your device.
Post by Rob Duncan
May 6 12:33:53 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:53 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:53 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:53 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:53 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
The device was resumed. This sets last_busy to the current time.
Post by Rob Duncan
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check do_remote_wakeup=0
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check intf0.dev.power.disable_depth=0
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check intf1.dev.power.disable_depth=0
May 6 12:33:53 localhost kernel: usb 3-3: autosuspend_check time_before j=4294839654 last_busy=4294839654 autosuspend_delay=2000 suspend_time=4294841654
May 6 12:33:53 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> 0
May 6 12:33:53 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:53 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
usb_autosuspend_device() also sets last_busy to the current time, so of
course this suspend attempt doesn't go through. Normally there would
be another attempt after 2 seconds have passed, and it would succeed.
Post by Rob Duncan
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
But something called usb_autoresume_device(). That sets last_busy to
the current time.
Post by Rob Duncan
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check do_remote_wakeup=0
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check intf0.dev.power.disable_depth=0
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check intf1.dev.power.disable_depth=0
May 6 12:33:54 localhost kernel: usb 3-3: autosuspend_check time_before j=4294839654 last_busy=4294839654 autosuspend_delay=2000 suspend_time=4294841654
May 6 12:33:54 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> 0
May 6 12:33:54 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:54 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
And then it called usb_autosuspend_device(). (I don't understand why
the value of j here is the same as above. It should be somewhat
larger.)
Post by Rob Duncan
...
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:54 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:54 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
Before the 2-second delay elapsed, something called
usb_autoresume_device().
Post by Rob Duncan
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check do_remote_wakeup=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check intf0.dev.power.disable_depth=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check intf1.dev.power.disable_depth=0
May 6 12:33:55 localhost kernel: usb 3-3: autosuspend_check time_before j=4294840656 last_busy=4294840656 autosuspend_delay=2000 suspend_time=4294842656
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 0 -> 0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autosuspend_device intf 1 usage_count=0
And then it called usb_autosuspend_device().
Post by Rob Duncan
May 6 12:33:55 localhost kernel: usb 3-3: __pm_runtime_resume()!
May 6 12:33:55 localhost kernel: usb 3-3: __pm_runtime_resume() returns 1!
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device: cnt 1 -> 1
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 0 usage_count=0
May 6 12:33:55 localhost kernel: usb 3-3: usb_autoresume_device intf 1 usage_count=0
Before the 2-second delay elapsed, something called
usb_autoresume_device() yet again.

... You get the idea.
Post by Rob Duncan
I'm trying to see what might be updating last_busy, but I'm having trouble
seeing the "big picture".
The problem is that something is resuming your device once or twice
per second, thereby preventing it from autosuspending. You'll have to
figure out what's doing this.

You can print the value of current->comm and add a dump_stack() call to
usb_autoresume_device() -- try to trigger it only when the device in
question is yours.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-06 22:15:57 UTC
Permalink
Post by Alan Stern
The problem is that something is resuming your device once or twice
per second, thereby preventing it from autosuspending. You'll have to
figure out what's doing this.
You can print the value of current->comm and add a dump_stack() call to
usb_autoresume_device() -- try to trigger it only when the device in
question is yours.
Bingo! The culprit is pcscd. Killing it allowed my device to suspend
within a second or two. This program is the "PC/SD Smart Card Daemon",
so I'm guessing it's polling the bus to look for card insertions.

Thank you very much, Alan, for all your invaluable help.

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-07 01:14:18 UTC
Permalink
Post by Alan Stern
Okay, I see what the problem is. It's a subtle thing, involving the
difference between the runtime PM state and the usage_count. It also
involves what the driver does: If it doesn't ever call
usb_autopm_get_interface() or usb_autopm_put_interface(), should the
device be autosuspended?
I guess it should. This patch ought to fix the problem.
A side-effect of the patch is that after the suspend a subsequent open()
call fail with -EAGAIN. I added some tracing and see this:

May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume()!
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume power.disable_depth=1 returning -EAGAIN
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume() returns -11!
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_idle power.usage_count=0 power.disable_depth=1 power.runtime_status=2
May 6 18:06:09 localhost kernel: exar 3-3:1.1: usb_autopm_get_interface: cnt 0 -> -11

With disable_depth == 1 the call to pm_runtime_resume() fails with -EAGAIN.
Is there some sequence of calls I should make in my driver probe or attach
that will make the patch unnecessary?

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-07 14:27:14 UTC
Permalink
Post by Rob Duncan
A side-effect of the patch is that after the suspend a subsequent open()
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume()!
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume power.disable_depth=1 returning -EAGAIN
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume() returns -11!
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_idle power.usage_count=0 power.disable_depth=1 power.runtime_status=2
May 6 18:06:09 localhost kernel: exar 3-3:1.1: usb_autopm_get_interface: cnt 0 -> -11
With disable_depth == 1 the call to pm_runtime_resume() fails with -EAGAIN.
Is there some sequence of calls I should make in my driver probe or attach
that will make the patch unnecessary?
I don't understand. The disable_depth value should be 0 -- the patch
sets it to 0 by means of the call to pm_runtime_enable() added in
usb_probe_interface(). Can you check at that spot to see if it really
does what it's supposed to do?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-07 15:58:06 UTC
Permalink
Post by Alan Stern
Post by Rob Duncan
A side-effect of the patch is that after the suspend a subsequent open()
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume()!
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume power.disable_depth=1 returning -EAGAIN
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_resume() returns -11!
May 6 18:06:09 localhost kernel: exar 3-3:1.1: __pm_runtime_idle power.usage_count=0 power.disable_depth=1 power.runtime_status=2
May 6 18:06:09 localhost kernel: exar 3-3:1.1: usb_autopm_get_interface: cnt 0 -> -11
With disable_depth == 1 the call to pm_runtime_resume() fails with -EAGAIN.
Is there some sequence of calls I should make in my driver probe or attach
that will make the patch unnecessary?
I don't understand. The disable_depth value should be 0 -- the patch
sets it to 0 by means of the call to pm_runtime_enable() added in
usb_probe_interface(). Can you check at that spot to see if it really
does what it's supposed to do?
I added a trace immediately after the call to pm_runtime_enable() in
usb_probe_interface(). It dumps the value of disable_depth of the device
(the interface), and also the interface's parent device (the USB device
itself). Here's what I see:

May 7 08:42:03 localhost kernel: usb 3-3: adding 3-3:1.1 (config #1, interface 1)
May 7 08:42:03 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface
May 7 08:42:03 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface - got id
May 7 08:42:03 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 7 08:42:03 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface dev->power.disable_depth=1
May 7 08:42:03 localhost kernel: usb 3-3: usb_probe_interface dev->parent->power.disable_depth=0
May 7 08:42:03 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 4 -> 0
May 7 08:42:03 localhost kernel: exar 3-3:1.1: usb_probe_interface
May 7 08:42:03 localhost kernel: exar 3-3:1.1: usb_probe_interface - got id
May 7 08:42:03 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 7 08:42:03 localhost kernel: exar 3-3:1.1: usb_probe_interface dev->power.disable_depth=1
May 7 08:42:03 localhost kernel: usb 3-3: usb_probe_interface dev->parent->power.disable_depth=0

It looks like the interface is being probed twice, which I don't understand. But in
each case the interface has disable_depth set and the parent doesn't.

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-07 17:42:05 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
I don't understand. The disable_depth value should be 0 -- the patch
sets it to 0 by means of the call to pm_runtime_enable() added in
usb_probe_interface(). Can you check at that spot to see if it really
does what it's supposed to do?
I added a trace immediately after the call to pm_runtime_enable() in
usb_probe_interface(). It dumps the value of disable_depth of the device
(the interface), and also the interface's parent device (the USB device
May 7 08:42:03 localhost kernel: usb 3-3: adding 3-3:1.1 (config #1, interface 1)
May 7 08:42:03 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface
May 7 08:42:03 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface - got id
May 7 08:42:03 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 7 08:42:03 localhost kernel: usbserial_generic 3-3:1.1: usb_probe_interface dev->power.disable_depth=1
May 7 08:42:03 localhost kernel: usb 3-3: usb_probe_interface dev->parent->power.disable_depth=0
May 7 08:42:03 localhost kernel: usb 3-3: usb_autosuspend_device: cnt 4 -> 0
May 7 08:42:03 localhost kernel: exar 3-3:1.1: usb_probe_interface
May 7 08:42:03 localhost kernel: exar 3-3:1.1: usb_probe_interface - got id
May 7 08:42:03 localhost kernel: usb 3-3: usb_autoresume_device: cnt 5 -> 1
May 7 08:42:03 localhost kernel: exar 3-3:1.1: usb_probe_interface dev->power.disable_depth=1
May 7 08:42:03 localhost kernel: usb 3-3: usb_probe_interface dev->parent->power.disable_depth=0
It looks like the interface is being probed twice, which I don't understand.
The first time it is probed by the usbserial_generic driver, the second
time by your exar driver.
Post by Rob Duncan
But in
each case the interface has disable_depth set and the parent doesn't.
Ah -- this is because my patch is buggy. When a probe fails it always
calls pm_runtime_disable(), even if it didn't call pm_runtime_enable()
earlier. Thus the disable count gets incremented, and it never works
right thereafter. In fact, this bug is present in the current code as
well as in the patch.

Try this revised version of the patch instead.

Alan Stern



Index: usb-2.6/drivers/usb/core/driver.c
===================================================================
--- usb-2.6.orig/drivers/usb/core/driver.c
+++ usb-2.6/drivers/usb/core/driver.c
@@ -302,13 +302,15 @@ static int usb_probe_interface(struct de

intf->condition = USB_INTERFACE_BINDING;

- /* Probed interfaces are initially active. They are
- * runtime-PM-enabled only if the driver has autosuspend support.
- * They are sensitive to their children's power states.
+ /* If the driver does not have autosuspend support then we suppress
+ * autosuspends by making its interfaces active and leaving them
+ * runtime-PM-disabled, otherwise we do the reverse. In either case,
+ * the interfaces are sensitive to their children's power states.
*/
- pm_runtime_set_active(dev);
pm_suspend_ignore_children(dev, false);
- if (driver->supports_autosuspend)
+ if (!driver->supports_autosuspend)
+ pm_runtime_set_active(dev);
+ else
pm_runtime_enable(dev);

/* Carry out a deferred switch to altsetting 0 */
@@ -334,7 +336,8 @@ static int usb_probe_interface(struct de
usb_cancel_queued_reset(intf);

/* Unbound interfaces are always runtime-PM-disabled and -suspended */
- pm_runtime_disable(dev);
+ if (driver->supports_autosuspend)
+ pm_runtime_disable(dev);
pm_runtime_set_suspended(dev);

usb_autosuspend_device(udev);
@@ -389,7 +392,8 @@ static int usb_unbind_interface(struct d
intf->needs_remote_wakeup = 0;

/* Unbound interfaces are always runtime-PM-disabled and -suspended */
- pm_runtime_disable(dev);
+ if (driver->supports_autosuspend)
+ pm_runtime_disable(dev);
pm_runtime_set_suspended(dev);

/* Undo any residual pm_autopm_get_interface_* calls */
@@ -438,13 +442,15 @@ int usb_driver_claim_interface(struct us

iface->condition = USB_INTERFACE_BOUND;

- /* Claimed interfaces are initially inactive (suspended). They are
- * runtime-PM-enabled only if the driver has autosuspend support.
- * They are sensitive to their children's power states.
+ /* If the driver does not have autosuspend support then we suppress
+ * autosuspends by making its interfaces active and leaving them
+ * runtime-PM-disabled, otherwise we do the reverse. In either case,
+ * the interfaces are sensitive to their children's power states.
*/
- pm_runtime_set_suspended(dev);
pm_suspend_ignore_children(dev, false);
- if (driver->supports_autosuspend)
+ if (!driver->supports_autosuspend)
+ pm_runtime_set_active(dev);
+ else
pm_runtime_enable(dev);

/* if interface was already added, bind now; else let

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-07 18:09:15 UTC
Permalink
Post by Alan Stern
Ah -- this is because my patch is buggy. When a probe fails it always
calls pm_runtime_disable(), even if it didn't call pm_runtime_enable()
earlier. Thus the disable count gets incremented, and it never works
right thereafter. In fact, this bug is present in the current code as
well as in the patch.
Try this revised version of the patch instead.
It works! Thank you very much for all your help (again).

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-07 19:07:32 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
Ah -- this is because my patch is buggy. When a probe fails it always
calls pm_runtime_disable(), even if it didn't call pm_runtime_enable()
earlier. Thus the disable count gets incremented, and it never works
right thereafter. In fact, this bug is present in the current code as
well as in the patch.
Try this revised version of the patch instead.
It works! Thank you very much for all your help (again).
I couldn't have done it without your careful testing.

At least now the logic is correct -- I hope! After getting it wrong
three times, I'm not entirely confident any more.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-10 20:52:47 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
Ah -- this is because my patch is buggy. When a probe fails it always
calls pm_runtime_disable(), even if it didn't call pm_runtime_enable()
earlier. Thus the disable count gets incremented, and it never works
right thereafter. In fact, this bug is present in the current code as
well as in the patch.
Try this revised version of the patch instead.
It works! Thank you very much for all your help (again).
After looking more closely, it appears that some of the changes in the
patch aren't needed. In particular, the driver core attempts to
suspend things after probing them, so it should be okay to leave
interfaces in the active state during probe.

Please try out this new version of the patch and see if it does the
right thing.

Alan Stern


Index: usb-2.6/drivers/usb/core/driver.c
===================================================================
--- usb-2.6.orig/drivers/usb/core/driver.c
+++ usb-2.6/drivers/usb/core/driver.c
@@ -334,7 +334,8 @@ static int usb_probe_interface(struct de
usb_cancel_queued_reset(intf);

/* Unbound interfaces are always runtime-PM-disabled and -suspended */
- pm_runtime_disable(dev);
+ if (driver->supports_autosuspend)
+ pm_runtime_disable(dev);
pm_runtime_set_suspended(dev);

usb_autosuspend_device(udev);
@@ -389,7 +390,8 @@ static int usb_unbind_interface(struct d
intf->needs_remote_wakeup = 0;

/* Unbound interfaces are always runtime-PM-disabled and -suspended */
- pm_runtime_disable(dev);
+ if (driver->supports_autosuspend)
+ pm_runtime_disable(dev);
pm_runtime_set_suspended(dev);

/* Undo any residual pm_autopm_get_interface_* calls */
@@ -442,9 +444,10 @@ int usb_driver_claim_interface(struct us
* runtime-PM-enabled only if the driver has autosuspend support.
* They are sensitive to their children's power states.
*/
- pm_runtime_set_suspended(dev);
pm_suspend_ignore_children(dev, false);
- if (driver->supports_autosuspend)
+ if (!driver->supports_autosuspend)
+ pm_runtime_set_active(dev);
+ else
pm_runtime_enable(dev);

/* if interface was already added, bind now; else let

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-10 23:19:44 UTC
Permalink
Post by Alan Stern
After looking more closely, it appears that some of the changes in the
patch aren't needed. In particular, the driver core attempts to
suspend things after probing them, so it should be okay to leave
interfaces in the active state during probe.
Please try out this new version of the patch and see if it does the
right thing.
I've tried it out with my same tests and the new patch looks like it
does the right thing.

Thanks,

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-11 13:55:11 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
After looking more closely, it appears that some of the changes in the
patch aren't needed. In particular, the driver core attempts to
suspend things after probing them, so it should be okay to leave
interfaces in the active state during probe.
Please try out this new version of the patch and see if it does the
right thing.
I've tried it out with my same tests and the new patch looks like it
does the right thing.
Great! Can I add your "Tested-by:" line to the patch submission?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-11 14:06:11 UTC
Permalink
Post by Alan Stern
Post by Rob Duncan
I've tried it out with my same tests and the new patch looks like it
does the right thing.
Great! Can I add your "Tested-by:" line to the patch submission?
Yes, please do!

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Oliver Neukum
2010-05-05 17:02:32 UTC
Permalink
Post by Rob Duncan
Post by Alan Stern
It isn't. In fact, I would go so far as to say it's nearly impossible
to have power/level without power/autosuspend. Look at the code in
drivers/usb/core/sysfs.c and see what you think. You may want to put
some debugging printk statements in add_power_attributes().
Embarrassingly, it turns out that I have been looking at the wrong place in the sysfs tree. I was looking at the interface level instead of the device level; I do see the the autosuspend file there.
That explains things.
Post by Rob Duncan
But I still do not see my driver suspend entry point being called.
At a hunch, have you written "auto" into all "level" files, those
of the device and both interfaces?

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Alan Stern
2010-05-05 19:08:53 UTC
Permalink
Post by Oliver Neukum
Post by Rob Duncan
But I still do not see my driver suspend entry point being called.
At a hunch, have you written "auto" into all "level" files, those
of the device and both interfaces?
That shouldn't matter, since the runtime PM core initializes devices in
the "auto" setting and usbcore doesn't change that setting for
interfaces -- only for devices.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Rob Duncan
2010-05-05 19:58:49 UTC
Permalink
Post by Alan Stern
Post by Oliver Neukum
Post by Rob Duncan
But I still do not see my driver suspend entry point being called.
At a hunch, have you written "auto" into all "level" files, those
of the device and both interfaces?
That shouldn't matter, since the runtime PM core initializes devices in
the "auto" setting and usbcore doesn't change that setting for
interfaces -- only for devices.
I tried what Oliver suggested, and it made no difference.

Rob.

The information and any attached documents contained in this message
may be confidential and/or legally privileged. The message is
intended solely for the addressee(s). If you are not the intended
recipient, you are hereby notified that any use, dissemination, or
reproduction is strictly prohibited and may be unlawful. If you are
not the intended recipient, please contact the sender immediately by
return e-mail and destroy all copies of the original message.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Continue reading on narkive:
Loading...