You are not logged in.

#26 2023-12-01 21:50:40

akino512
Member
Registered: 2023-11-20
Posts: 17

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

Do you use some usb soundcard or headphones?

Neither a USB sound card nor headphones are used.
---
The USB triggers after running speaker-test for the first time, but the output of speaker-test shows some errors.
Run the speaker-test again and these errors disappear.
first time run speaker-test:

speaker-test 1.2.10
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 2097152
Period size range from 64 to 1048576
Using max buffer size 2097152
Periods = 4
Unable to set hw params for playback: Input/output error
Setting of hwparams failed: Input/output error

second time run speaker-test:

speaker-test 1.2.10
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 2097152
Period size range from 64 to 1048576
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
 0 - Mono

---
When I run pulsemixer on a fresh boot, the output name says "Dummy Output".
Just a second later, it changes to "Built-in Audio analog Stereo" and USB triggers.

---
In my oppion, USB is in suspended state because the sound card did not load correctly on startup.
Running an application which is relevant to audio reload the sound card and resume USB.

Last edited by akino512 (2023-12-01 22:05:31)

Offline

#27 2023-12-01 22:28:48

seth
Member
Registered: 2012-09-03
Posts: 51,718

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

ix.io is apparently having a seizure, can you upload an updated journal to 0x0.st (preferably after activating sound/usb w/ speaker-test)?

Offline

#28 2023-12-02 12:24:06

akino512
Member
Registered: 2023-11-20
Posts: 17

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

fresh boot -> journalctl -b (http://0x0.st/Hxp4.txt) -> speaker-test -> journalctl -b (http://0x0.st/HxpJ.txt)

Offline

#29 2023-12-02 15:39:18

seth
Member
Registered: 2012-09-03
Posts: 51,718

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

The speaker-test triggers pipewire, what if you just unconditionally "systemctl --user enable pipewire.service"?

Offline

#30 2023-12-02 19:10:14

akino512
Member
Registered: 2023-11-20
Posts: 17

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

The speaker-test triggers pipewire, what if you just unconditionally "systemctl --user enable pipewire.service"?

Enabling pipeline.service can fix this USB issue. Now these USB ports always work.

So, is the following statement right?
On some laptops, the audio configuration should be set correctly, otherwise the USB port will not work.

Offline

#31 2023-12-02 20:56:08

seth
Member
Registered: 2012-09-03
Posts: 51,718

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

Your audio is/was setup correctly, but for some reason you need to trigger the audio chip in order to get the USB powered up.
That seems very HW sepcific, though.
What's the output of

lsusb

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#32 2023-12-02 21:39:22

akino512
Member
Registered: 2023-11-20
Posts: 17

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04f2:b65a Chicony Electronics Co., Ltd HD Webcam
Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 2109:0715 VIA Labs, Inc. VL817 SATA Adaptor

The last one is my USB stick. It now shows up in lsusb.

It is not easy to get the solution.
Thanks for your help.

Offline

#33 2023-12-02 21:44:30

seth
Member
Registered: 2012-09-03
Posts: 51,718

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

Can you disable the webcam in the BIOS/UEFI?
If so, can you then use USB w/o starting pipewire first?

Offline

#34 2023-12-03 07:15:48

akino512
Member
Registered: 2023-11-20
Posts: 17

Re: [SOLVED] USB ports didn't work until turned Bluetooth on/off.

seth wrote:

Can you disable the webcam in the BIOS/UEFI?
If so, can you then use USB w/o starting pipewire first?

I checked my BIOS settings. There aren't any options for the webcam.

Offline

Board footer

Powered by FluxBB