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

From ThinkWiki
Jump to: navigation, search
m
(usb ethernet dongle)
Line 3: Line 3:
  
 
Link to X1 main page [http://www.thinkwiki.org/wiki/Category:X1 X1 main page] (with standard features list)
 
Link to X1 main page [http://www.thinkwiki.org/wiki/Category:X1 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

Revision as of 23:07, 10 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