View Single Post
Old 05-17-2016, 09:46 PM   #54
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
No News Is ....
Well, still it is information.

Plug in Amazon adapter (Device: PW-3, fw-5.6.1.1) -
Kernel does not recognize the addition of a device (I.E: nothing put into kernel's message buffer - zip, zero, nada, ....)

Meanwhile -
Code:
[root@kindle root]# cat /lib/udev/bin/notifyheadset

#!/bin/sh
if [ "$ACTION" = "add" ] ; then
        /usr/bin/lipc-send-event -r 3 com.lab126.hal audioHS -i 1
elif [ "$ACTION" = "remove" ] ; then
        /usr/bin/lipc-send-event -r 3 com.lab126.hal audioHS -i 0
fi

exit 0
It looks like the code to be called when the device is hotplugged is present.

Hmm....
Code:
[root@kindle root]# ACTION=add sh -x /lib/udev/bin/notifyheadset 
+ [ add = add ]
+ /usr/bin/lipc-send-event -r 3 com.lab126.hal audioHS -i 1
+ exit 0
[root@kindle root]# dmesg
[root@kindle root]#
The doorbell is present but evidently nobody is home with this firmware version.

Since I have no burning need to have my PW-3 talk to me (other than to use it as an alarm clock, sometime in the future) -
I do not intend to update my firmware in the PW-3 just for this dongle.

But those which do not have an Amazon dongle, might plug in the one that they do have and try the example 'add' command above, just to see what dmesg has to say.
I was about to try this, until I realized I cannot use usbnet ssh and usb audio at the same time. My PW3 touchscreen has been getting much less relaible, almost unusable, and tapping the power button now rarely fixes it. I mostly use it as a test devive under ssh.

To do this test, I would have to switch to ssh over wifi so I can do sound over usb. Perhaps a usb hub could allow both, but that complicates things when we are not sure it will even work in the simplest case.

ssh over wifi, later... then usb sound test. Or... background the command with a sleep, then switch usb devices devices?

Last edited by geekmaster; 08-14-2016 at 10:49 PM.
geekmaster is offline   Reply With Quote