- 必要という訳ではありませんが、綺麗な状態から始めるという意味では、最初にオール・リセットをしておくのが良いかも知れません。
- Enter Set Mode
- Menu 44: CI-V Transceive, OFF
Now, connect your IC-7410 and your PC with a USB cable, and let’s see if your rig is on-line.
Serial I/O
% ls -l /dev/ttyUSB* crw-rw---- 1 root dialout 188, 0 Jan 1 16:49 /dev/ttyUSB0
You will see something like this. This is the serial port with which you can talk to (and listen to) your rig for the control.
USB Audio I/F (Playback)
% aplay -l **** List of PLAYBACK Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: MID [HDA Intel MID], device 3: ALC889 Digital [ALC889 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
This is to check the available sound output devices. In this case, card 2, device 0, or hw:2,0 in ALSA’s terminology, is the USB audio interface of IC-7410.
Since we are only interested in CW, this part of the function is of no use to us, but let’s see if this I/F really works.
- Enter Set Mode
- Menu 40: DATA OFF MOD, USB
- Menu 39: USB MOD Level, 15%
- Set the rig to SSB mode, set MONITOR on, connect to a dummy load, minimize the RF power, and set TRANSMIT on!
% aplay --dump-hw-params --device=hw:2,0 test_sound.wav Playing WAVE './test_sound.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo HW Params of device "hw:2,0": -------------------- ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED FORMAT: S8 U8 S16_LE SUBFORMAT: STD SAMPLE_BITS: [8 16] FRAME_BITS: [8 32] CHANNELS: [1 2] RATE: [32000 48000] PERIOD_TIME: [1000 16384000] PERIOD_SIZE: [32 524288] PERIOD_BYTES: [64 524288] PERIODS: [2 1024] BUFFER_TIME: (1333 32768000] BUFFER_SIZE: [64 1048576] BUFFER_BYTES: [64 1048576] TICK_TIME: ALL --------------------
You will hear the sound file you are playing from your rig.
USB Audio I/F (Capture)
% arecord -l **** List of CAPTURE Hardware Devices **** card 0: MID [HDA Intel MID], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: MID [HDA Intel MID], device 2: ALC889 Alt Analog [ALC889 Alt Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 card 2: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
This shows the devices for sound capture. Again, card 2, device 0, or hw:2,0 is your rig.
% arecord --dump-hw-params --device=hw:2,0 --format=S16_LE --rate=44100 --channels=2 --file-type wav ttt.wav Recording WAVE 'ttt.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo HW Params of device "hw:2,0": -------------------- ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED FORMAT: S8 S16_LE SUBFORMAT: STD SAMPLE_BITS: [8 16] FRAME_BITS: [8 32] CHANNELS: [1 2] RATE: [8000 48000] PERIOD_TIME: [1000 65536000] PERIOD_SIZE: [16 524288] PERIOD_BYTES: [64 524288] PERIODS: [2 1024] BUFFER_TIME: (666 131072000] BUFFER_SIZE: [32 1048576] BUFFER_BYTES: [64 1048576] TICK_TIME: ALL --------------------