>
>
>
> On Thu, Aug 6, 2020 at 5:36 AM Stuart Henderson <s...@spacehopper.org>
> wrote:
>
>> On 2020/08/06 00:40, Archimedes Gaviola wrote:
>> > Is there a way to have verbose USB messages in the dmesg? because I
>> want to
>>
>> You can build a kernel with "option USB_DEBUG" in kernel config
>> (e.g. /sys/arch/arm64/conf/GENERIC.MP).
>
>
> Great! Thank you Stuart, I'll try it out.
>

Hi Stuart,

I am able to re-compile the kernel with this "option USB_DEBUG" however
it's still the same USB dmesg output. I am looking at some knobs in the
sysctl but do not have any tunables pertaining to USB.

Sharing the behavior of my A4Tech KL-5 mini keyboard (20mA) , the one that
works, I just observe sometimes when switching from the default X Window to
a tty console. It will be disconnected from  wsdisplay0 and detached from
wskbd0,  ukbd0,  uhidev0,  uhid0, uhid1? The same is true with my USB
barcode scanner (though at the moment this device is only detected and
powered-up) when I scan some barcode over an item though it fails to
reflect scanned numeric codes in the tty console but the observation is the
same with the keyboard. Any hint or clue pertaining this behavior? By the
way, the barcode scanner behaves the same with the numeric keypad extension
of a keyboard that when you type series of numbers it will reflect in the
console.

1. A4Tech USB keyboard (dmesg output)

uhidev0 at uhub1 port 3 configuration 1 interface 0 "USB Adapter USB
Device" rev 1.10/0.01 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub1 port 2 configuration 1 interface 0 "SIGMACHIP USB
Keyboard" rev 1.10/1.10 addr 5
uhidev1: iclass 3/1
ukbd1 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub1 port 2 configuration 1 interface 1 "SIGMACHIP USB
Keyboard" rev 1.10/1.10 addr 5
uhidev2: iclass 3/0, 2 report ids
uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd1 detached
uhidev1 detached
uhid0 detached
uhid1 detached
uhidev2 detached
uhidev1 at uhub1 port 2 configuration 1 interface 0 "SIGMACHIP USB
Keyboard" rev 1.10/1.10 addr 5
uhidev1: iclass 3/1
ukbd1 at uhidev1: 8 variable keys, 6 key codes
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub1 port 2 configuration 1 interface 1 "SIGMACHIP USB
Keyboard" rev 1.10/1.10 addr 5
uhidev2: iclass 3/0, 2 report ids
uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0

2. USB barcode scanner (dmesg output)

uhidev0 at uhub1 port 3 configuration 1 interface 0 "USB Adapter USB
Device" rev 1.10/0.01 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
wskbd0: disconnecting from wsdisplay0
wskbd0 detached
ukbd0 detached
uhidev0 detached
uhidev0 at uhub1 port 3 configuration 1 interface 0 "USB Adapter USB
Device" rev 1.10/0.01 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0

Thanks  and best regards,
Archimedes


>
>>
>> --
> Archimedes Gaviola
>

Reply via email to