mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
D-Modem-RE: SmartUSB56 caller ID and its extras, SmartDAA, V.22 (7d1790f)
- dmodemd --usb: SmartUSB56 caller ID and the ST75951 silicon DAA; its LEDs, wake on ring, handset, international line controls, voice codec, RHOM and buzzer (each opt-in). - SmartDAA (Conexant): its power up, line setup, hook and country table. - V.22: 1200 bit/s symbols decided around their point. - Clang preferred where it is installed. The app says the SmartUSB56 has caller ID now too. The host's USB test links D-Modem-RE's fake stick alone, without the real libusb behind it: libusb_get_port_numbers (wake on ring's, unused there) stubbed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
This commit is contained in:
4 files changed
+15
-4
No files matched your search
@@ -91,8 +91,9 @@ too, so the computer dropping DTR hangs up there as well.
|
||||
|
||||
The modem's line can also be a telephone line, through a USB modem that
|
||||
carries the modem's sound (D-Modem-RE's `usb_line.cpp`, as
|
||||
`dmodemd --usb` drives them): a Smart Link SmartUSB56 (USB 0483:7554), or
|
||||
a [pico-serial](https://github.com/Neo-Desktop/pico-serial) Line stick
|
||||
`dmodemd --usb` drives them): a Smart Link SmartUSB56 (USB 0483:7554,
|
||||
with caller ID, its ST7554 or ST75951 DAA), or a
|
||||
[pico-serial](https://github.com/Neo-Desktop/pico-serial) Line stick
|
||||
(1209:0002, a Si3056 DAA: caller ID on hook, and the country's line
|
||||
settings in its registers). The phone runs the modem; plugged into it
|
||||
(USB OTG) the stick is its line, with no SIP account or network. Settings,
|
||||
|
||||
@@ -103,7 +103,7 @@ fun UsbLineFields() {
|
||||
Column(verticalArrangement = Arrangement.spacedBy(8.dp)) {
|
||||
Text(
|
||||
"The modem dials and answers a real phone line through a USB modem: a Smart Link SmartUSB56, or a " +
|
||||
"pico-serial Line stick (with caller ID, and the country's line settings). The phone runs the modem; " +
|
||||
"pico-serial Line stick, both with caller ID (the stick takes the country's line settings too). The phone runs the modem; " +
|
||||
"the USB one is its line. No SIP account or network needed. Android asks once whether D-Modem may use it.",
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
)
|
||||
|
||||
Vendored
+1
-1
Submodule external/d-modem-re updated: ed4ee27991...7d1790ff15.
@@ -14,3 +14,13 @@ namespace dmodem_android {
|
||||
void usb_use_fd(int) {}
|
||||
|
||||
} // namespace dmodem_android
|
||||
|
||||
/* what the fake leaves to the real libusb (upstream's tests preload the
|
||||
fake in front of it; here it is linked in alone): the device's ports,
|
||||
for wake on ring's sysfs switch (UsbLine::arm_wake(), with set_wake()
|
||||
alone), unknown */
|
||||
extern "C" int LIBUSB_CALL libusb_get_port_numbers(libusb_device *,
|
||||
uint8_t *, int)
|
||||
{
|
||||
return LIBUSB_ERROR_NOT_SUPPORTED;
|
||||
}
|
||||
Reference in new issue
Block a user