woo!
root@debian:~# lsusb Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Hi Luke,
On Sat, Sep 28, 2013 at 6:47 PM, luke.leighton luke.leighton@gmail.com wrote:
woo!
root@debian:~# lsusb Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
here is status of the USB in mainline
http://linux-sunxi.org/User:Arokux
The on-board WLAN Adapter refuses to work with my Mele A1000. See Known issues section. Do you think you can try the mainline with flying squirrel?
Thanks, Arokux
arm-netbook mailing list arm-netbook@lists.phcomp.co.uk http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook Send large attachments to arm-netbook@files.phcomp.co.uk
On Sat, Sep 28, 2013 at 5:54 PM, Arokux X arokux@gmail.com wrote:
Hi Luke,
On Sat, Sep 28, 2013 at 6:47 PM, luke.leighton luke.leighton@gmail.com wrote:
woo!
root@debian:~# lsusb Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
here is status of the USB in mainline
http://linux-sunxi.org/User:Arokux
The on-board WLAN Adapter refuses to work with my Mele A1000. See Known issues section. Do you think you can try the mainline with flying squirrel?
... maybe. let me replicate where you've got up to, first. btw:
diff --git a/drivers/net/wireless/rtl8192cu/os_dep/linux/usb_intf.c b/drivers/ne index 79eb196..6f29109 100644 --- a/drivers/net/wireless/rtl8192cu/os_dep/linux/usb_intf.c +++ b/drivers/net/wireless/rtl8192cu/os_dep/linux/usb_intf.c @@ -1090,7 +1090,7 @@ error_exit: #include <plat/sys_config.h> extern int sw_usb_disable_hcd(__u32 usbc_no); extern int sw_usb_enable_hcd(__u32 usbc_no); -static int usb_wifi_host = 2; +static int usb_wifi_host = -1;
extern char* ifname; /* @@ -1434,14 +1434,15 @@ static int __init rtw_drv_entry(void) /* ----------get usb_wifi_usbc_num------------- */ ret = script_parser_fetch("usb_wifi_para", "usb_wifi_usbc_num", (int *)& if(ret != 0){ - ERR_8192C("ERR: script_parser_fetch usb_wifi_usbc_num failed\n") - ret = -ENOMEM; - return ret; + ERR_8192C("WARN: script_parser_fetch usb_wifi_usbc_num failed\n" + usb_wifi_host = -1; }
#ifdef CONFIG_USB_SW_SUNXI_USB - MSG_8192C("sw_usb_enable_hcd: usbc_num = %d\n", usb_wifi_host); - sw_usb_enable_hcd(usb_wifi_host); + if (usb_wifi_host == -1) { + MSG_8192C("sw_usb_enable_hcd: usbc_num = %d\n", usb_wifi_host); + sw_usb_enable_hcd(usb_wifi_host); + } #endif
DBG_8192C("\nrtw driver version=%s\n", DRIVERVERSION); @@ -1467,8 +1468,10 @@ static void __exit rtw_drv_halt(void) DBG_8192C("-rtw_drv_halt\n");
#ifdef CONFIG_USB_SW_SUNXI_USB - MSG_8192C("sw_usb_disable_hcd: usbc_num = %d\n", usb_wifi_host); - sw_usb_disable_hcd(usb_wifi_host); + if (usb_wifi_host == -1) { + MSG_8192C("sw_usb_disable_hcd: usbc_num = %d\n", usb_wifi_host); + sw_usb_disable_hcd(usb_wifi_host); + } #endif }
stops the code from fucking around with the usb hub that's connected to the flying squirrel. why the fuck would i want the entire usb hub disconnected just because the wifi happens not to be on??
*sigh*...
l.
On Sat, Sep 28, 2013 at 7:10 PM, luke.leighton luke.leighton@gmail.com wrote:
On Sat, Sep 28, 2013 at 5:54 PM, Arokux X arokux@gmail.com wrote:
Hi Luke,
On Sat, Sep 28, 2013 at 6:47 PM, luke.leighton luke.leighton@gmail.com wrote:
woo!
root@debian:~# lsusb Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
here is status of the USB in mainline
http://linux-sunxi.org/User:Arokux
The on-board WLAN Adapter refuses to work with my Mele A1000. See Known issues section. Do you think you can try the mainline with flying squirrel?
... maybe. let me replicate where you've got up to, first. btw:
diff --git a/drivers/net/wireless/rtl8192cu/os_dep/linux/usb_intf.c b/drivers/ne index 79eb196..6f29109 100644 --- a/drivers/net/wireless/rtl8192cu/os_dep/linux/usb_intf.c +++ b/drivers/net/wireless/rtl8192cu/os_dep/linux/usb_intf.c @@ -1090,7 +1090,7 @@ error_exit: #include <plat/sys_config.h> extern int sw_usb_disable_hcd(__u32 usbc_no); extern int sw_usb_enable_hcd(__u32 usbc_no); -static int usb_wifi_host = 2; +static int usb_wifi_host = -1;
extern char* ifname; /* @@ -1434,14 +1434,15 @@ static int __init rtw_drv_entry(void) /* ----------get usb_wifi_usbc_num------------- */ ret = script_parser_fetch("usb_wifi_para", "usb_wifi_usbc_num", (int *)& if(ret != 0){
ERR_8192C("ERR: script_parser_fetch usb_wifi_usbc_num failed\n")
ret = -ENOMEM;
return ret;
ERR_8192C("WARN: script_parser_fetch usb_wifi_usbc_num failed\n"
usb_wifi_host = -1; }
#ifdef CONFIG_USB_SW_SUNXI_USB
MSG_8192C("sw_usb_enable_hcd: usbc_num = %d\n", usb_wifi_host);
sw_usb_enable_hcd(usb_wifi_host);
- if (usb_wifi_host == -1) {
MSG_8192C("sw_usb_enable_hcd: usbc_num = %d\n", usb_wifi_host);
sw_usb_enable_hcd(usb_wifi_host);
- }
#endif
DBG_8192C("\nrtw driver version=%s\n", DRIVERVERSION);
@@ -1467,8 +1468,10 @@ static void __exit rtw_drv_halt(void) DBG_8192C("-rtw_drv_halt\n");
#ifdef CONFIG_USB_SW_SUNXI_USB
MSG_8192C("sw_usb_disable_hcd: usbc_num = %d\n", usb_wifi_host);
sw_usb_disable_hcd(usb_wifi_host);
- if (usb_wifi_host == -1) {
MSG_8192C("sw_usb_disable_hcd: usbc_num = %d\n", usb_wifi_host);
sw_usb_disable_hcd(usb_wifi_host);
- }
#endif }
stops the code from fucking around with the usb hub that's connected to the flying squirrel. why the fuck would i want the entire usb hub disconnected just because the wifi happens not to be on??
because it is the only device on this hub, so you'll save power. you can also try rtlwifi driver it works, so maybe no need to use a Realtek's ugly one?
A.
*sigh*...
l.
arm-netbook mailing list arm-netbook@lists.phcomp.co.uk http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook Send large attachments to arm-netbook@files.phcomp.co.uk
On Sat, Sep 28, 2013 at 6:25 PM, Arokux X arokux@gmail.com wrote:
On Sat, Sep 28, 2013 at 7:10 PM, luke.leighton luke.leighton@gmail.com wrote:
because it is the only device on this hub, so you'll save power.
normally yes, but in this case there is a 4-port USB hub on the flying squirrel PCB. if that gets disconnected it fucks with the whole tablet.
you can also try rtlwifi driver it works, so maybe no need to use a Realtek's ugly one?
will take a look. what's it called? i'm not seeing any options named "RTLWIFI" in the 3.4 sunxi config. there's RTL8150 though.
l.
p.s. yaay!
wlan0 Scan completed : Cell 01 - Address: 00:8E:F2:B7:12:2A ESSID:"virginmedia" Protocol:IEEE 802.11bg Mode:Master Frequency:2.427 GHz (Channel 4) Encryption key:on Bit Rates:54 Mb/s
On Sat, Sep 28, 2013 at 7:39 PM, luke.leighton luke.leighton@gmail.com wrote:
On Sat, Sep 28, 2013 at 6:25 PM, Arokux X arokux@gmail.com wrote:
On Sat, Sep 28, 2013 at 7:10 PM, luke.leighton luke.leighton@gmail.com wrote:
because it is the only device on this hub, so you'll save power.
normally yes, but in this case there is a 4-port USB hub on the flying squirrel PCB. if that gets disconnected it fucks with the whole tablet.
the hub was normally behind the first USB Host controller.
you can also try rtlwifi driver it works, so maybe no need to use a Realtek's ugly one?
will take a look. what's it called? i'm not seeing any options named "RTLWIFI" in the 3.4 sunxi config. there's RTL8150 though.
The option is called CONFIG_RTL8192CU. It have a few dependencies.
l.
p.s. yaay!
wlan0 Scan completed : Cell 01 - Address: 00:8E:F2:B7:12:2A ESSID:"virginmedia" Protocol:IEEE 802.11bg Mode:Master Frequency:2.427 GHz (Channel 4) Encryption key:on Bit Rates:54 Mb/s
arm-netbook mailing list arm-netbook@lists.phcomp.co.uk http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook Send large attachments to arm-netbook@files.phcomp.co.uk
On Sat, Sep 28, 2013 at 6:39 PM, luke.leighton luke.leighton@gmail.com wrote:
On Sat, Sep 28, 2013 at 6:25 PM, Arokux X arokux@gmail.com wrote:
On Sat, Sep 28, 2013 at 7:10 PM, luke.leighton luke.leighton@gmail.com wrote:
because it is the only device on this hub, so you'll save power.
normally yes, but in this case there is a 4-port USB hub on the flying squirrel PCB. if that gets disconnected it fucks with the whole tablet.
you can also try rtlwifi driver it works, so maybe no need to use a Realtek's ugly one?
will take a look. what's it called? i'm not seeing any options named "RTLWIFI" in the 3.4 sunxi config. there's RTL8150 though.
got it. CONFIG_MAC80211=m first.
On Sat, Sep 28, 2013 at 6:43 PM, luke.leighton luke.leighton@gmail.com wrote:
On Sat, Sep 28, 2013 at 6:39 PM, luke.leighton luke.leighton@gmail.com wrote:
On Sat, Sep 28, 2013 at 6:25 PM, Arokux X arokux@gmail.com wrote:
On Sat, Sep 28, 2013 at 7:10 PM, luke.leighton luke.leighton@gmail.com wrote:
because it is the only device on this hub, so you'll save power.
normally yes, but in this case there is a 4-port USB hub on the flying squirrel PCB. if that gets disconnected it fucks with the whole tablet.
you can also try rtlwifi driver it works, so maybe no need to use a Realtek's ugly one?
will take a look. what's it called? i'm not seeing any options named "RTLWIFI" in the 3.4 sunxi config. there's RTL8150 though.
got it. CONFIG_MAC80211=m first.
good tip arokux, found it. iwlist scan works great. have yet to get it to connect because duh usb networking takes priority and kills access to wicd-client.
i'll try to set up the spare USB port as a keyboard/mouse port, then i can actually log in at the LCD panel and play direct, woo!
l.
arm-netbook@lists.phcomp.co.uk