Greg Erskine wrote: > Thanks chill, > > I missed the fact that your DAC has a USB hub in it. Makes thing more > complicated. > > regards > Greg
My Dragonfly shows only a single device in dmesg, but still triggers the 'remove' event several times when it is disconnected. Code: -------------------- [ 347805.68] Script parameters: restart DragonFly 1-1.1.2 [ 347805.69] DragonFly detected on 1-1.1.2 [ 347805.74] Attempting to start squeezelite Restarting Squeezelite player... Stopping Squeezelite player: Squeezelite... Starting Squeezelite player: Squeezelite... [ 347811.54] Script parameters: stop DragonFly 1-1.1.2:1.1 [ 347811.55] Script parameters: stop DragonFly 1-1.1.2:1.0 [ 347811.56] Script parameters: stop DragonFly 1-1.1.2 [ 347811.57] DragonFly on 1-1.1.2 removed Stopping Squeezelite player: Squeezelite... -------------------- So I think this is a generic issue. It's a shame that the idVendor and idProduct attributes aren't available for a 'remove' event, but maybe that's because it's too late by the time the device has been removed. ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113661 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix