Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #224242

Re: Unidentified subject!

From songbird <songbird@anthive.com>
Newsgroups linux.debian.user
Subject Re: Unidentified subject!
Date 2020-07-01 01:40 +0200
Message-ID <Any13-8ne-3@gated-at.bofh.it> (permalink)
References <Anqdb-3iu-7@gated-at.bofh.it> <Anqdb-3iu-9@gated-at.bofh.it> <Anqdb-3iu-5@gated-at.bofh.it> <Anqwy-3oN-13@gated-at.bofh.it>
Organization the little wild kingdom

Show all headers | View raw


Dan Ritter wrote:
...
> You want to ignore the USB ports and focus on the attached
> devices. udev is the mechanism here.
>
> For example, in /etc/udev/rules.d/70-ups  I have:
>
> SUBSYSTEM=="usb", ATTR{idVendor}=="0764", ATTR{idProduct}=="0501", SYMLINK+="ups0", GROUP="nut"
>
> Which means that /dev/ups0 will be assigned to the USB device
> that has an idVendor of 0764 and an idProduct of 0501, and be
> accessible by anyone in the group nut.
>
> So if you have a MIDI keyboard with idVendor 0499 (Yamaha) and 
> idProduct 1617 (PSR-E353 digital keyboard) then you could plug
> those numbers into a rule like the one above and whenever it was
> connected, it would appear at, say, "/dev/midikb0".
>
> SUBSYSTEM=="usb", ATTR{idVendor}=="0499", ATTR{idProduct}=="1617", SYMLINK+="midikb0", GROUP="audio"
>
> lsusb (possibly with a -v) will help you find the currently
> attached devices and their numbers.
>
> Does that help?

  excellent reply thanks!


  songbird  (not the OP or in need of this, but very useful
                 information anyways...  :)

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT (for the debian-list): Re: [Rosegarden-user] Questions about audio playback and MIDI connections rhkramer@gmail.com - 2020-06-30 17:20 +0200
  Unidentified subject! Dan Ritter <dsr@randomstring.org> - 2020-06-30 17:40 +0200
    Re: Unidentified subject! songbird <songbird@anthive.com> - 2020-07-01 01:40 +0200
  Re: OT (for the debian-list): Re: [Rosegarden-user] Questions about  audio playback and MIDI connections Richard Owlett <rowlett@cloud85.net> - 2020-06-30 19:10 +0200
    Re: OT (for the debian-list): Re: [Rosegarden-user] Questions about audio playback and MIDI connections rhkramer@gmail.com - 2020-06-30 20:50 +0200
    Re: OT (for the debian-list): Re: [Rosegarden-user] Questions about  audio playback and MIDI connections davidson <davidson@freevolt.org> - 2020-06-30 22:10 +0200

csiph-web