You are not logged in.

#1 2013-01-08 15:27:31

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Lenovo Ideapad s205 ACPI Problem?

I have installed Arch linux in to subject notebook. Wile installing I skip efi support and boot with syslinux (not grub). This is first time I meet motherboard with efi support, so I'm not quite sure I have to reinstall distro. My installation works just fine except wifi and webcam. I switched off helibirnate and sleep timer in kde powermanager but I found wifi works extremly slow after half an hour (or less) inaktivity. Webcam dissapear also. Is there some kine of service that manages powersaving running with systemd or should I boot with full efi support?

Offline

#2 2013-01-09 00:37:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,131

Re: Lenovo Ideapad s205 ACPI Problem?

Is the question rhetorical or do you actually expect to get useful advice? If the latter, please peruse the links in my signature and ask a question which might actually enable people to help you. Unless you have extremely weird hardware, booting in legacy or EFI mode will make no difference to your wifi, webcam or running hamster.

Last edited by cfr (2013-01-09 00:38:10)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-01-09 06:54:51

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Re: Lenovo Ideapad s205 ACPI Problem?

Actually, I have one usfull answer. Thank you Mr. cfr. Now I can ask more general questions:
1. That is the advantage to boot in EFI mode? Dualboot?
2. How to fix problem with webcam turning off, and wifi lost speed? (I've edit /etc/systemd/logind.conf and put HandleLidSwitch=ignore. Not sure this is the answer but at the moment webcam is alive. Working arround wifi problem I set: "iw wlan0 set power_save off" not sure it helps, will see will see...)

Offline

#4 2013-01-10 02:28:21

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,131

Re: Lenovo Ideapad s205 ACPI Problem?

roginovicci wrote:

Thank you Mr. cfr.

I appreciate the thanks but not the assumption.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2013-01-10 05:53:16

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Lenovo Ideapad s205 ACPI Problem?

You are not doing very well here roginovicci... your questions are vague, and seem to indicate no level of insight whatsoever.  Typically this means that the person asking has done no reaserch whatsoever in their attempts to solve their own problems.  We are not here to hold your hand.

Offline

#6 2013-01-10 16:48:21

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Re: Lenovo Ideapad s205 ACPI Problem?

Well I wrote above a couple thing I've done to solve the problem. But the problem is still exist. After some time the web cam dissapears (no /dev/video0 device exist, wich appears after reboot) and wifi speed becomes extremly slow. It's a fresh install with kde desktop env. No special services was installed. I was trying to turn off all the power management services, as I wrote before but no sucess here. I would provide any information you ask me, but can't even imagine wich way I should dig the problem, /proc/acpi has no information on web cam and wifi devices also. Very wierd behaviour.

I'm using net-auto-wireless service enabled with systemd. Restarting service gives no result. Is there method to monitor the state of wifi device?
here is iwconfig output:
wlan0     IEEE 802.11bgn  ESSID:"cust" 
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1C:F0:8A:10:B3   
          Bit Rate=36 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=49/70  Signal level=-61 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:12   Missed beacon:0

Last edited by roginovicci (2013-01-10 17:01:09)

Offline

#7 2013-01-27 19:49:23

Izod
Member
Registered: 2013-01-26
Posts: 1

Re: Lenovo Ideapad s205 ACPI Problem?

roginovicci wrote:

After some time the web cam dissapears (no /dev/video0 device exist, wich appears after reboot)

I have the same problem with webcam. It works for nearly 20-30 mins after reboot and then /dev/video0 disappears. This appears in /var/log/messages.log during the system boot:

Jan 26 14:31:07 localhost kernel: [    9.078947] Linux video capture interface: v2.00
Jan 26 14:31:07 localhost kernel: [    9.467739] ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xf9e80000, irq=18
Jan 26 14:31:07 localhost kernel: [    9.581947] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (5986:0292)
Jan 26 14:31:07 localhost kernel: [    9.584719] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:13.2/usb2/2-3/2-3:1.0/input/input11
Jan 26 14:31:07 localhost kernel: [    9.585115] usbcore: registered new interface driver uvcvideo
Jan 26 14:31:07 localhost kernel: [    9.585123] USB Video Class driver (1.1.1)

The output of lsusb utility while webcam is still alive:

[izod@izod ~]$ lsusb
Bus 002 Device 003: ID 5986:0292 Acer, Inc 
Bus 002 Device 004: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 003 Device 002: ID 0489:e00d Foxconn / Hon Hai Broadcom Bluetooth 2.1 Device
Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
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:0001 Linux Foundation 1.1 root hub

It seems that lsusb identifies the webcam as Acer, Inc., but it works for some time. After that in /var/log/messages.log appears:

Jan 26 14:49:12 localhost kernel: [ 1100.824746] usb 2-3: reset high-speed USB device number 3 using ehci_hcd
Jan 26 14:49:43 localhost kernel: [ 1131.404083] usb 2-3: reset high-speed USB device number 3 using ehci_hcd
Jan 26 14:50:13 localhost kernel: [ 1161.973292] usb 2-3: reset high-speed USB device number 3 using ehci_hcd
Jan 26 14:50:24 localhost kernel: [ 1172.500799] usb 2-3: reset high-speed USB device number 3 using ehci_hcd
Jan 26 14:50:34 localhost kernel: [ 1182.921694] usb 2-3: USB disconnect, device number 3
Jan 26 14:50:35 localhost kernel: [ 1183.044587] usb 2-3: new high-speed USB device number 5 using ehci_hcd
Jan 26 14:51:05 localhost kernel: [ 1213.624147] usb 2-3: new high-speed USB device number 6 using ehci_hcd
Jan 26 14:51:36 localhost kernel: [ 1244.196656] usb 2-3: new high-speed USB device number 7 using ehci_hcd
Jan 26 14:51:46 localhost kernel: [ 1254.724163] usb 2-3: new high-speed USB device number 8 using ehci_hcd
Jan 26 14:51:57 localhost kernel: [ 1265.531358] usb 4-3: new full-speed USB device number 3 using ohci_hcd
Jan 26 14:51:57 localhost kernel: [ 1265.681290] usb 4-3: not running at top speed; connect to a high speed hub
Jan 26 14:51:57 localhost kernel: [ 1265.701389] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (5986:0292)
Jan 26 14:51:57 localhost kernel: [ 1265.701540] uvcvideo: No streaming interface found for terminal 3.
Jan 26 14:51:57 localhost kernel: [ 1265.701647] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:13.0/usb4/4-3/4-3:1.0/input/input17

and /dev/video0 no longer exists. The output of lsusb:

[izod@izod ~]$ lsusb
Bus 002 Device 004: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 003 Device 002: ID 0489:e00d Foxconn / Hon Hai Broadcom Bluetooth 2.1 Device
Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
Bus 004 Device 003: ID 5986:0292 Acer, Inc 
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:0001 Linux Foundation 1.1 root hub

I have the same configuration as mentioned above, except using grub instead of syslinux. Also, wi-fi works fine. Does anyone have any ideas how to fix this issue?

Offline

#8 2013-04-10 20:12:17

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Re: Lenovo Ideapad s205 ACPI Problem?

Still no idea? It seems that the usb hub down in a wile and webcam hangs here.
reset high-speed USB device number 2 using ehci_hcd -- is pointing on issure. So it's probably acpi issue

Offline

#9 2013-04-10 20:24:35

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Re: Lenovo Ideapad s205 ACPI Problem?

https://bbs.archlinux.org/viewtopic.php?id=110814 Maybe this would be helpfull to stop usb suspend.

... End it seems the modprobe -r ehci_hcd && modprobe  ehci_hcd bring webcam back.

Last edited by roginovicci (2013-04-10 20:26:42)

Offline

#10 2013-04-13 20:18:20

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Re: Lenovo Ideapad s205 ACPI Problem?

Still webcam halts. There is some parameters to check out with loading of uvcvideo module. The one is quirk. There is a part of code in kernel:
#define UVC_QUIRK_STATUS_INTERVAL<----->0x00000001
#define UVC_QUIRK_PROBE_MINMAX<><------>0x00000002
#define UVC_QUIRK_PROBE_EXTRAFIELDS<--->0x00000004
#define UVC_QUIRK_BUILTIN_ISIGHT<------>0x00000008
#define UVC_QUIRK_STREAM_NO_FID><------>0x00000010
#define UVC_QUIRK_IGNORE_SELECTOR_UNIT<>0x00000020
#define UVC_QUIRK_FIX_BANDWIDTH><------>0x00000080
#define UVC_QUIRK_PROBE_DEF<---><------>0x00000100
#define UVC_QUIRK_RESTRICT_FRAME_RATE<->0x00000200
more info here: http://www.ideasonboard.org/uvc/faq/

So quirks=128 is a qood starting point, I guess...

This will make the driver calculate the needed usb bandwidth for the camera, some devices just request the maximum value and this may cause problems if other devices are connected to the same controller.

Please let me know if some one found the problem solution.

Last edited by roginovicci (2013-04-13 20:21:30)

Offline

Board footer

Powered by FluxBB