libhd
5.0
|
Mouse detection. More...
Functions | |
static void | get_serial_mouse (hd_data_t *hd_data) |
static void | add_serial_mouse (hd_data_t *hd_data) |
static int | _setspeed (int fd, int old, int new, int needtowrite, unsigned short flags) |
static void | setspeed (int fd, int new, int needtowrite, unsigned short flags) |
static unsigned | chk4id (ser_device_t *mi) |
static ser_device_t * | add_ser_mouse_entry (ser_device_t **sm, ser_device_t *new_sm) |
static void | dump_ser_mouse_data (hd_data_t *hd_data) |
void | hd_scan_mouse (hd_data_t *hd_data) |
Mouse detection.
|
static |
Referenced by setspeed().
|
static |
References s_ser_device_t::next.
Referenced by get_serial_mouse().
|
static |
References add_hd_entry(), s_hd_t::attached_to, s_hd_t::base_class, bc_mouse, s_hd_t::bus, bus_serial, s_hd_t::compat_device, s_hd_t::compat_vendor, s_ser_device_t::dev_id, s_ser_device_t::dev_name, s_hd_t::device, free_mem(), s_ser_device_t::hd_idx, hd_id_t::id, s_ser_device_t::is_mouse, MAKE_ID, hd_id_t::name, name2eisa_id(), new_str(), s_ser_device_t::next, s_ser_device_t::pnp_id, sc_mou_ser, hd_data_t::ser_mouse, s_ser_device_t::serial, s_hd_t::serial, s_hd_t::sub_class, TAG_EISA, TAG_SPECIAL, s_hd_t::unix_dev_name, s_ser_device_t::user_name, s_ser_device_t::vend, and s_hd_t::vendor.
Referenced by hd_scan_mouse().
|
static |
References s_ser_device_t::bits, s_ser_device_t::buf, s_ser_device_t::buf_len, s_ser_device_t::garbage, s_ser_device_t::is_mouse, is_pnpinfo(), s_ser_device_t::non_pnp, and s_ser_device_t::pnp.
Referenced by get_serial_mouse().
|
static |
References ADD2LOG, s_ser_device_t::bits, s_ser_device_t::buf, s_ser_device_t::buf_len, s_ser_device_t::class_name, s_ser_device_t::dev_id, s_ser_device_t::dev_name, s_ser_device_t::garbage, hd_log_hex(), s_ser_device_t::is_mouse, s_ser_device_t::next, s_ser_device_t::non_pnp, s_ser_device_t::pnp, s_ser_device_t::pnp_id, s_ser_device_t::pnp_rev, hd_data_t::ser_mouse, s_ser_device_t::serial, and s_ser_device_t::user_name.
Referenced by hd_scan_mouse().
|
static |
References add_ser_mouse_entry(), s_hd_t::base_class, bc_comm, chk4id(), has_something_attached(), hd_data_t::hd, hd_id_t::id, s_hd_t::idx, new_mem(), new_str(), s_ser_device_t::next, s_hd_t::next, sc_com_ser, hd_data_t::ser_mouse, setspeed(), s_hd_t::tag_s::skip_mouse, s_hd_t::sub_class, s_hd_t::tag, and s_hd_t::unix_dev_name.
Referenced by hd_scan_mouse().
void hd_scan_mouse | ( | hd_data_t * | hd_data | ) |
References ADD2LOG, add_hd_entry(), add_serial_mouse(), s_hd_t::attached_to, s_hd_t::base_class, bc_keyboard, bc_mouse, bc_ps2, s_hd_t::bus, bus_ps2, bus_serial, hd_detail_sys_t::data, hd_data_t::data, hd_data_t::debug, s_hd_t::detail, DEV_MICE, s_ser_device_t::dev_name, DEV_PSAUX, DEV_SUNMOUSE, s_hd_t::device, dump_ser_mouse_data(), hd_data_t::flags, hd_data_t::flag_struct::forked, free_mem(), get_serial_mouse(), hd_data_t::hd, hd_data, HD_DEB_MOUSE, hd_detail_sys, hd_fork(), hd_fork_done(), hd_list(), hd_log_hex(), hd_move_to_shm(), hd_probe_feature(), hd_shm_clean(), hd_timeout(), hw_sys, hd_id_t::id, ID_TAG, ID_VALUE, s_hd_t::idx, u_hd_res_t::irq, MAKE_ID, mod_mouse, hd_data_t::module, new_str(), u_hd_res_t::next, s_ser_device_t::next, s_hd_t::next, pr_mouse, PROGRESS, remove_hd_entries(), s_hd_t::res, res_irq, sc_keyboard_kbd, sc_mou_ps2, sc_mou_sun, hd_data_t::ser_mouse, hd_data_t::shm, s_hd_t::sub_class, hd_detail_t::sys, sys_info_t::system_type, TAG_SPECIAL, res_irq_t::triggered, res_irq_t::type, hd_detail_t::type, s_hd_t::unix_dev_name, and s_hd_t::vendor.
Referenced by hd_scan_no_hal().
|
static |
References _setspeed(), s_ser_device_t::bits, s_ser_device_t::buf, s_ser_device_t::buf_len, is_pnpinfo(), s_ser_device_t::pnp_id, and s_ser_device_t::pnp_rev.
Referenced by get_serial_mouse().