Difference between revisions of "Installing Gentoo on a ThinkPad X1carbon"

From ThinkWiki
Jump to: navigation, search
(usb ethernet dongle)
m (USB ethernet dongle U2L100P-Y1)
Line 10: Line 10:
 
Make menuconfig and enable the following:
 
Make menuconfig and enable the following:
  
:    Device Drivers  --->
+
            Device Drivers  --->
:[*] Network device support  --->
+
        [*] Network device support  --->
:      USB Network Adapters  --->
+
              USB Network Adapters  --->
:<M> Multi-purpose USB Networking Framework
+
        <M> Multi-purpose USB Networking Framework
:<M>  ASIX AX88xxx Based USB 2.0 Ethernet Adapters
+
        <M>  ASIX AX88xxx Based USB 2.0 Ethernet Adapters
  
 
Get the driver from
 
Get the driver from
Line 21: Line 21:
 
Unzip, edit asix.c and add the device id 0x17ef:0x7203 if it's missing
 
Unzip, edit asix.c and add the device id 0x17ef:0x7203 if it's missing
  
:static const struct usb_device_id    products [] = {
+
        static const struct usb_device_id    products [] = {
:    USB_DEVICE (0x04f1, 0x3008),
+
            USB_DEVICE (0x04f1, 0x3008),
:    .driver_info = (unsigned long) &ax8817x_info,
+
            .driver_info = (unsigned long) &ax8817x_info,
: }, {
+
        }, {
:    // Lenovo 10/100
+
            // Lenovo 10/100
:    USB_DEVICE (0x17ef, 0x7203),
+
            USB_DEVICE (0x17ef, 0x7203),
:    .driver_info = (unsigned long) &ax88772_info,
+
            .driver_info = (unsigned long) &ax88772_info,
:}, {
+
        }, {
:    // ASIX AX88772B 10/100
+
            // ASIX AX88772B 10/100
:    USB_DEVICE (0x0b95, 0x772b),
+
            USB_DEVICE (0x0b95, 0x772b),
:    .driver_info = (unsigned long) &ax88772_info,
+
            .driver_info = (unsigned long) &ax88772_info,
  
  
 
Then
 
Then
: make && make install
+
        make && make install
: modprobe asix
+
        modprobe asix

Revision as of 00:10, 11 January 2013

Specific installation notes for Gentoo on the ThinkPad X1.

Link to X1 main page X1 main page (with standard features list)

USB ethernet dongle U2L100P-Y1

This is the dongle that Lenovo ships with the X1. The device is seen by dmesg as AX88772B

Make menuconfig and enable the following:

           Device Drivers  --->
       [*] Network device support  --->
             USB Network Adapters  --->
       <M> Multi-purpose USB Networking Framework
       <M>   ASIX AX88xxx Based USB 2.0 Ethernet Adapters

Get the driver from http://www.asix.com.tw/download.php?sub=driverdetail&PItemID=105 (need v4.4.1)

Unzip, edit asix.c and add the device id 0x17ef:0x7203 if it's missing

       static const struct usb_device_id    products [] = {
            USB_DEVICE (0x04f1, 0x3008),
            .driver_info = (unsigned long) &ax8817x_info,
        }, {
           // Lenovo 10/100
           USB_DEVICE (0x17ef, 0x7203),
           .driver_info = (unsigned long) &ax88772_info,
       }, {
            // ASIX AX88772B 10/100
            USB_DEVICE (0x0b95, 0x772b),
            .driver_info = (unsigned long) &ax88772_info,


Then

        make && make install
        modprobe asix